{ "id": "metadata.json#", "$schema": "http://json-schema.org/draft-04/schema#", "description": "schema for metadata section", "type": "object", "required": ["resourceInfo"], "additionalProperties": false, "properties": { "metadataInfo": { "required": ["metadataContact", "metadataCreationDate"], "additionalProperties": false, "properties": { "metadataIdentifier": { "type": "string" }, "parentMetadataIdentifier": { "type": "string" }, "metadataScope": { "type": "array", "items": { "type": "string" }, "uniqueItems": true }, "metadataContact": { "type": "array", "minItems": 1, "items": { "$ref": "contact.json#/definitions/contactRef" } }, "metadataCharacterSet": { "type": "string" }, "metadataCreationDate": { "$ref": "../schema.json#/definitions/date" }, "metadataLastUpdate": { "$ref": "../schema.json#/definitions/date" }, "metadataUri": { "$ref": "../schema.json#/definitions/uri" }, "metadataStatus": { "type": "string" }, "metadataMaintenance": { "$ref": "maintInfo.json#" } } }, "resourceInfo": { "$ref": "resourceInfo.json#" }, "distributionInfo": { "type": "array", "minItems": 1, "items": { "$ref": "distributor.json#" } }, "associatedResource": { "type": "array", "minItems": 1, "items": { "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, "type": "array", "minItems": 1, "items": { "$ref": "citation.json#" } } } }