schema/schema/metadata.json in adiwg-json_schemas-0.4.0 vs schema/schema/metadata.json in adiwg-json_schemas-0.5.0

- old
+ new

@@ -32,17 +32,17 @@ }, "metadataCharacterSet": { "type": "string" }, "metadataCreationDate": { - "$ref": "../schema.json#definitions/date" + "$ref": "../schema.json#/definitions/date" }, "metadataLastUpdate": { - "$ref": "../schema.json#definitions/date" + "$ref": "../schema.json#/definitions/date" }, "metadataUri": { - "$ref": "../schema.json#definitions/uri" + "$ref": "../schema.json#/definitions/uri" }, "metadataStatus": { "type": "string" }, "metadataMaintenance": { @@ -59,21 +59,34 @@ "items": { "$ref": "./distributor.json#" } }, "associatedResource": { - "additionalProperties": false, "type": "array", "minItems": 1, "items": { - "associationType": { - "type": "string" - }, - "resourceType": { - "type": "string" - }, - "resourceCitation": { - "$ref": "./citation.json#" + "type": "object", + "required": ["associationType", "resourceType"], + "additionalProperties": false, + "properties": { + "associationType": { + "type": "string" + }, + "resourceType": { + "type": "string" + }, + "resourceCitation": { + "$ref": "./citation.json#" + }, + "metadataCitation": { + "$ref": "./citation.json#" + }, + "resourceIdentifier": { + "type": "array", + "items": { + "$ref": "./citation.json#/definitions/resourceIdentifier" + } + } } } }, "additionalDocumentation": { "additionalProperties": false, \ No newline at end of file