schema/metadataInfo.json in adiwg-mdjson_schemas-2.0.0.pre.alpha.13 vs schema/metadataInfo.json in adiwg-mdjson_schemas-2.0.0.pre.alpha.14
- old
+ new
@@ -60,10 +60,24 @@
"FGDC CSDGM": ["metainfo > metrd"]
},
"minItems": 1,
"items": {
"$ref": "common.json#/definitions/dateObject"
- }
+ },
+ "allOf": [{
+ "type": "array",
+ "items": [{
+ "type": "object",
+ "title": "Creation date required.",
+ "description": "A creation date must be the first object in the array.",
+ "properties": {
+ "dateType": {
+ "type": "string",
+ "enum": ["creation"]
+ }
+ }
+ }]
+ }]
},
"metadataOnlineResource": {
"type": "array",
"description": "Online location where the metadata is available.",
"translation": {},