Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editor: fix editor button validation #590

Merged
merged 1 commit into from
Oct 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,12 @@
"minLength": 1
},
"titlesProper": {
"title": "Proper or uniformed title",
"title": "Proper or uniformed titles",
"description": "Uniform title, a related or an analytical title that is controlled by an authority file or list, used as an added access point.",
"type": "array",
"minItems": 1,
"items": {
"title": "Proper or uniformed title",
"type": "string",
"minLength": 1
}
Expand All @@ -502,7 +503,7 @@
"minLength": 3
},
"language": {
"title": "Language",
"title": "Languages",
"description": "List of languages for the resource.",
"type": "array",
"minItems": 1,
Expand Down Expand Up @@ -610,7 +611,7 @@
}
},
"copyrightDate": {
"title": "Copyright Date",
"title": "Copyright Dates",
"type": "array",
"minItems": 1,
"items": {
Expand Down Expand Up @@ -1151,7 +1152,7 @@
"minLength": 1
},
"formats": {
"title": "Format",
"title": "Formats",
"description": "Format of the resource, ie dimensions in cm.",
"type": "array",
"minItems": 1,
Expand Down Expand Up @@ -1192,21 +1193,23 @@
}
},
"notes": {
"title": "Note",
"title": "Notes",
"description": "Note on the resource.",
"type": "array",
"minItems": 1,
"items": {
"title": "Note",
"type": "string",
"minLength": 1
}
},
"abstracts": {
"title": "Abstract",
"title": "Abstracts",
"description": "Abstract of the resource.",
"type": "array",
"minItems": 1,
"items": {
"title": "Abstract",
"type": "string",
"minLength": 3
}
Expand Down Expand Up @@ -1257,8 +1260,8 @@
"minLength": 1
},
"note": {
"title": "Qualifier",
"description": "Qualifier of the identifier.",
"title": "Note",
"description": "Note of the identifier.",
"type": "string",
"minLength": 1
},
Expand Down Expand Up @@ -1295,11 +1298,12 @@
}
},
"subjects": {
"title": "Subject",
"title": "Subjects",
"description": "Subject of the resource.",
"type": "array",
"minItems": 1,
"items": {
"title": "Subject",
"type": "string",
"minLength": 1
}
Expand All @@ -1311,7 +1315,7 @@
"format": "uri"
},
"electronic_location": {
"title": "Electronic Location",
"title": "Electronic Locations",
"description": "Information needed to locate and access an electronic resource.",
"type": "array",
"minItems": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,12 @@
"minLength": 1
},
"titlesProper": {
"title": "Proper or uniformed title",
"title": "Proper or uniformed titles",
"description": "Uniform title, a related or an analytical title that is controlled by an authority file or list, used as an added access point.",
"type": "array",
"minItems": 1,
"items": {
"title": "Proper or uniformed title",
"type": "string",
"minLength": 1
}
Expand All @@ -502,7 +503,7 @@
"minLength": 3
},
"language": {
"title": "Language",
"title": "Languages",
"description": "List of languages for the resource.",
"type": "array",
"minItems": 1,
Expand Down Expand Up @@ -610,10 +611,11 @@
}
},
"copyrightDate": {
"title": "Copyright Date",
"title": "Copyright Dates",
"type": "array",
"minItems": 1,
"items": {
"title": "Copyright Date",
"type": "string",
"pattern": "^([\u00a9\u2117]\\s)?\\d{4}.*",
"minLength": 4
Expand Down Expand Up @@ -727,7 +729,7 @@
"minLength": 1
},
"formats": {
"title": "Format",
"title": "Formats",
"description": "Format of the resource, ie dimensions in cm.",
"type": "array",
"minItems": 1,
Expand Down Expand Up @@ -768,21 +770,23 @@
}
},
"notes": {
"title": "Note",
"title": "Notes",
"description": "Note on the resource.",
"type": "array",
"minItems": 1,
"items": {
"title": "Note",
"type": "string",
"minLength": 1
}
},
"abstracts": {
"title": "Abstract",
"title": "Abstracts",
"description": "Abstract of the resource.",
"type": "array",
"minItems": 1,
"items": {
"title": "Abstract",
"type": "string",
"minLength": 3
}
Expand Down Expand Up @@ -833,8 +837,8 @@
"minLength": 1
},
"note": {
"title": "Qualifier",
"description": "Qualifier of the identifier.",
"title": "Note",
"description": "Note of the identifier.",
"type": "string",
"minLength": 1
},
Expand Down Expand Up @@ -871,11 +875,12 @@
}
},
"subjects": {
"title": "Subject",
"title": "Subjects",
"description": "Subject of the resource.",
"type": "array",
"minItems": 1,
"items": {
"title": "Subject",
"type": "string",
"minLength": 1
}
Expand All @@ -887,7 +892,7 @@
"format": "uri"
},
"electronic_location": {
"title": "Electronic Location",
"title": "Electronic Locations",
"description": "Information needed to locate and access an electronic resource.",
"type": "array",
"minItems": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@
"type": "array",
"minItems": 1,
"items": {
"title": "Proper or uniformed title",
"type": "string",
"minLength": 1
}
Expand Down Expand Up @@ -1150,11 +1151,12 @@
"minLength": 1
},
"formats": {
"title": "Format",
"title": "Formats",
"description": "Format of the resource, ie dimensions in cm.",
"type": "array",
"minItems": 1,
"items": {
"title": "Format",
"type": "string",
"minLength": 1
}
Expand Down Expand Up @@ -1191,21 +1193,23 @@
}
},
"notes": {
"title": "Note",
"title": "Notes",
"description": "Note on the resource.",
"type": "array",
"minItems": 1,
"items": {
"title": "Note",
"type": "string",
"minLength": 1
}
},
"abstracts": {
"title": "Abstract",
"title": "Abstracts",
"description": "Abstract of the resource.",
"type": "array",
"minItems": 1,
"items": {
"title": "Abstract",
"type": "string",
"minLength": 3
}
Expand Down Expand Up @@ -1256,8 +1260,8 @@
"minLength": 1
},
"note": {
"title": "Qualifier",
"description": "Qualifier of the identifier.",
"title": "Note",
"description": "Note of the identifier.",
"type": "string",
"minLength": 1
},
Expand Down Expand Up @@ -1294,11 +1298,12 @@
}
},
"subjects": {
"title": "Subject",
"title": "Subjects",
"description": "Subject of the resource.",
"type": "array",
"minItems": 1,
"items": {
"title": "Subject",
"type": "string",
"minLength": 1
}
Expand All @@ -1310,7 +1315,7 @@
"format": "uri"
},
"electronic_location": {
"title": "Electronic Location",
"title": "Electronic Locations",
"description": "Information needed to locate and access an electronic resource.",
"type": "array",
"minItems": 1,
Expand All @@ -1319,11 +1324,13 @@
"required": [
"uri"
],
"uri": {
"title": "Uniform Resource Identifier",
"description": "Uniform Resource Identifier (URI), which provides standard syntax for locating an object using existing Internet protocols.",
"type": "string",
"format": "uri"
"properties": {
"uri": {
"title": "Uniform Resource Identifier",
"description": "Uniform Resource Identifier (URI), which provides standard syntax for locating an object using existing Internet protocols.",
"type": "string",
"format": "uri"
}
}
}
},
Expand Down
Loading