{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "nameType": { "type": "string", "enum": [ "Organizational", "Personal" ] }, "nameIdentifiers": { "type": "array", "items": { "type": "object", "properties": { "nameIdentifier": {"type": "string"}, "nameIdentifierScheme": {"type": "string"}, "schemeURI": {"type": "string", "format": "uri"} }, "required": ["nameIdentifier", "nameIdentifierScheme"] }, "uniqueItems": true }, "affiliations": { "type": "array", "items": { "type": "object", "properties": { "affiliation": {"type": "string"} }, "required": ["affiliation"] }, "uniqueItems": true }, "titleType": { "type": "string", "enum": [ "AlternativeTitle", "Subtitle", "TranslatedTitle", "Other" ] }, "contributorType": { "type": "string", "enum": [ "ContactPerson", "DataCollector", "DataCurator", "DataManager", "Distributor", "Editor", "HostingInstitution", "Producer", "ProjectLeader", "ProjectManager", "ProjectMember", "RegistrationAgency", "RegistrationAuthority", "RelatedPerson", "Researcher", "ResearchGroup", "RightsHolder", "Sponsor", "Supervisor", "WorkPackageLeader", "Other" ] }, "date": { "type": "string", "anyOf": [ {"format": "date"}, {"format": "date-time"} ] }, "dateType": { "type": "string", "enum": [ "Accepted", "Available", "Copyrighted", "Collected", "Created", "Issued", "Submitted", "Updated", "Valid", "Withdrawn", "Other" ] }, "resourceTypeGeneral": { "type": "string", "enum": [ "Audiovisual", "Collection", "DataPaper", "Dataset", "Event", "Image", "InteractiveResource", "Model", "PhysicalObject", "Service", "Software", "Sound", "Text", "Workflow", "Other" ] }, "relatedIdentifierType": { "type": "string", "enum": [ "ARK", "arXiv", "bibcode", "DOI", "EAN13", "EISSN", "Handle", "IGSN", "ISBN", "ISSN", "ISTC", "LISSN", "LSID", "PMID", "PURL", "UPC", "URL", "URN", "w3id" ] }, "relationType": { "type": "string", "enum": [ "IsCitedBy", "Cites", "IsSupplementTo", "IsSupplementedBy", "IsContinuedBy", "Continues", "IsDescribedBy", "Describes", "HasMetadata", "IsMetadataFor", "HasVersion", "IsVersionOf", "IsNewVersionOf", "IsPreviousVersionOf", "IsPartOf", "HasPart", "IsReferencedBy", "References", "IsDocumentedBy", "Documents", "IsCompiledBy", "Compiles", "IsVariantFormOf", "IsOriginalFormOf", "IsIdenticalTo", "IsReviewedBy", "Reviews", "IsDerivedFrom", "IsSourceOf", "IsRequiredBy", "Requires", "IsObsoletedBy", "Obsoletes" ] }, "descriptionType": { "type": "string", "enum": [ "Abstract", "Methods", "SeriesInformation", "TableOfContents", "TechnicalInfo", "Other" ] }, "geoLocationPoint": { "type": "object", "properties": { "pointLongitude": {"$ref": "#/definitions/longitude"}, "pointLatitude": {"$ref": "#/definitions/latitude"} }, "required": ["pointLongitude", "pointLatitude"] }, "longitude": { "type": "number", "minimum": -180, "maximum": 180 }, "latitude": { "type": "number", "minimum": -90, "maximum": 90 }, "funderIdentifierType": { "type": "string", "enum": [ "ISNI", "GRID", "Crossref Funder ID", "Other" ] } }, "type": "object", "properties": { "types": { "type": "object", "properties": { "resourceType": {"type": "string"}, "resourceTypeGeneral": {"$ref": "#/definitions/resourceTypeGeneral"} }, "required": ["resourceType", "resourceTypeGeneral"] }, "identifiers": { "type": "array", "items":{ "type": "object", "properties": { "identifier": {"type": "string"}, "identifierType": {"type": "string"} }, "required": ["identifier", "identifierType"] }, "minItems": 1, "uniqueItems": true }, "creators": { "type": "array", "items": { "type": "object", "properties": { "name": {"type": "string"}, "nameType": {"$ref": "#/definitions/nameType"}, "givenName": {"type": "string"}, "familyName": {"type": "string"}, "nameIdentifiers": {"$ref": "#/definitions/nameIdentifiers"}, "affiliations": {"$ref": "#/definitions/affiliations"}, "lang": {"type": "string"} }, "required": ["name"] }, "minItems": 1, "uniqueItems": true }, "titles": { "type": "array", "items": { "type": "object", "properties": { "title": {"type": "string"}, "titleType": {"$ref": "#/definitions/titleType"}, "lang": {"type": "string"} }, "required": ["title"] }, "minItems": 1, "uniqueItems": true }, "publisher": { "type": "string" }, "publicationYear": { "type": "string" }, "subjects": { "type": "array", "items": { "type": "object", "properties": { "subject": {"type": "string"}, "subjectScheme": {"type": "string"}, "schemeURI": {"type": "string", "format": "uri"}, "valueURI": {"type": "string", "format": "uri"}, "lang": {"type": "string"} }, "required": ["subject"] }, "uniqueItems": true }, "contributors": { "type": "array", "items": { "type": "object", "properties": { "contributorType": {"$ref": "#/definitions/contributorType"}, "name": {"type": "string"}, "nameType": {"$ref": "#/definitions/nameType"}, "givenName": {"type": "string"}, "familyName": {"type": "string"}, "nameIdentifiers": {"$ref": "#/definitions/nameIdentifiers"}, "affiliations": {"$ref": "#/definitions/affiliations"}, "lang": {"type": "string"} }, "required": ["contributorType", "name"] }, "uniqueItems": true }, "dates": { "type": "array", "items": { "type": "object", "properties": { "date": {"$ref": "#/definitions/date"}, "dateType": {"$ref": "#/definitions/dateType"}, "dateInformation": {"type": "string"} }, "required": ["date", "dateType"] }, "uniqueItems": true }, "language": { "type": "string", "$comment": "Primary language of the resource. Allowed values are taken from IETF BCP 47, ISO 639-1 language codes." }, "alternateIdentifiers": { "type": "array", "items": { "type": "object", "properties": { "alternateIdentifier": {"type": "string"}, "alternateIdentifierType": {"type": "string"} }, "required": ["alternateIdentifier", "alternateIdentifierType"] }, "uniqueItems": true }, "relatedIdentifiers": { "type": "array", "items": { "type": "object", "properties": { "relatedIdentifier": {"type": "string"}, "relatedIdentifierType": {"$ref": "#/definitions/relatedIdentifierType"}, "relationType": {"$ref": "#/definitions/relationType"}, "relatedMetadataScheme": {"type": "string"}, "schemeURI": {"type": "string", "format": "uri"}, "schemeType": {"type": "string"}, "resourceTypeGeneral": {"$ref": "#/definitions/resourceTypeGeneral"} }, "required": ["relatedIdentifier", "relatedIdentifierType", "relationType"], "if": { "properties": { "relationType": {"enum": ["HasMetadata", "IsMetadataFor"]} } }, "else": { "$comment": "these properties may only be used with relation types HasMetadata/IsMetadataFor", "properties": { "relatedMetadataScheme": false, "schemeURI": false, "schemeType": false } } }, "uniqueItems": true }, "sizes": { "type": "array", "items": { "type": "string" }, "uniqueItems": true }, "formats": { "type": "array", "items": { "type": "string" }, "uniqueItems": true }, "version": { "type": "string" }, "rightsList": { "type": "array", "items": { "type": "object", "properties": { "rights": {"type": "string"}, "rightsURI": {"type": "string", "format": "uri"}, "rightsIdentifier": {"type": "string"}, "rightsIdentifierScheme": {"type": "string"}, "schemeURI": {"type": "string", "format": "uri"}, "lang": {"type": "string"} } }, "uniqueItems": true }, "descriptions": { "type": "array", "items": { "type": "object", "properties": { "description": {"type": "string"}, "descriptionType": {"$ref": "#/definitions/descriptionType"}, "lang": {"type": "string"} }, "required": ["description", "descriptionType"] }, "uniqueItems": true }, "geoLocations": { "type": "array", "items": { "type": "object", "properties": { "geoLocationPlace": {"type": "string"}, "geoLocationPoint": {"$ref": "#/definitions/geoLocationPoint"}, "geoLocationBox": { "type": "object", "properties": { "westBoundLongitude": {"$ref": "#/definitions/longitude"}, "eastBoundLongitude": {"$ref": "#/definitions/longitude"}, "southBoundLatitude": {"$ref": "#/definitions/latitude"}, "northBoundLatitude": {"$ref": "#/definitions/latitude"} }, "required": ["westBoundLongitude", "eastBoundLongitude", "southBoundLatitude", "northBoundLatitude"] }, "geoLocationPolygons": { "type": "array", "items": { "type": "object", "properties": { "polygonPoints": { "type": "array", "items": {"$ref": "#/definitions/geoLocationPoint"}, "minItems": 4 }, "inPolygonPoint": {"$ref": "#/definitions/geoLocationPoint"} }, "required": ["polygonPoints"] }, "uniqueItems": true } } }, "uniqueItems": true }, "fundingReferences": { "type": "array", "items": { "type": "object", "properties": { "funderName": {"type": "string"}, "funderIdentifier": {"type": "string"}, "funderIdentifierType": {"$ref": "#/definitions/funderIdentifierType"}, "awardNumber": {"type": "string"}, "awardURI": {"type": "string", "format": "uri"}, "awardTitle": {"type": "string"} }, "required": ["funderName"] }, "uniqueItems": true }, "schemaVersion": { "type": "string", "const": "http://datacite.org/schema/kernel-4" } }, "additionalProperties": false }