{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://github.com/smart-data-models/dataModel.DCAT-AP/blob/master/Dataset/schema.json", "title": "Dataset DCAT-AP 2.0 schema", "description": "Dataset Schema meeting DCAT-AP 2.0 specification", "type": "object", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "properties": { "type": { "type": "string", "enum": [ "Dataset" ], "description": "Property. NGSI type. It has to be Dataset" }, "datasetDescription": { "type": "array", "description": "Property. This property contains a free-text account of the Dataset. It corresponds with the 'description' mandatory property of DCAT-AP 2.0.1. This property can be repeated for parallel language versions of the description.", "items": { "type": "string" } }, "title": { "type": "array", "description": "Property. This property contains a name given to the Dataset. It corresponds with the 'Title' mandatory property of DCAT-AP 2.0.1. This property can be repeated for parallel language versions of the name.", "items": { "type": "string" } }, "contactPoint": { "type": "array", "description": "Property. Model:'vcard:Kind'. It corresponds with the 'contact point' mandatory property of DCAT-AP 2.0.1. This property contains contact information that can be used for sending comments about the Dataset.", "items": { "type": "string" } }, "datasetDistribution": { "type": "array", "description": "Property. This property links the Dataset to an available Distributions. It corresponds with the 'dataset distribution' mandatory property of DCAT-AP 2.0.1. Model:'dcat:distribution'", "items": { "type": "string", "format": "uri" } }, "keyword": { "type": "array", "description": "Property. This property contains a keyword or tag, describing the Dataset. Model:'dcat:keyword'", "items": { "type": "string" } }, "publisher": { "description": "Property. Model:'foaf:Agent'. This property refers to an entity (organisation) responsible for making the Dataset available", "type": "string" }, "spatial": { "description": "Geoproperty. Model:'dct:Location'. This property refers to a geographic region that is covered by the Dataset", "type": "array", "items": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons/properties/location" } }, "temporal": { "description": "Property. This property refers to a temporal period that the Dataset covers. Model:'dct:PeriodOfTime'", "type": "array", "items": { "type": "string", "format": "date-time" } }, "theme": { "description": "Property. Model:'dcat:theme'. This property refers to a category of the Dataset. A Dataset may be associated with multiple themes", "type": "array", "items": { "type": "string" } }, "accessRights": { "type": "string", "description": "Property. Model:'foaf:Agent'. This property refers to information that indicates whether the Dataset is open data, has access restrictions or is not public. A controlled vocabulary with three members (:public, :restricted, :non-public) will be created and maintained by the Publications Office of the EU. Enum:'public, restricted, non-public'", "enum": [ "public", "restricted", "non-public" ] }, "creator": { "type": "string", "description": "Property. Model:'dct:creator'. This property refers to the entity primarily responsible for producing the catalogue" }, "documentation": { "description": "Property. Model:'foaf:Document'. This property refers to a page or document about this Dataset", "type": "array", "items": { "type": "string", "format": "uri" } }, "frequency": { "type": "string", "description": "Property. Model:'dct:Frequency'. This property refers to the frequency at which the Dataset is updated." }, "hasVersion": { "type": "array", "description": "Property. This property refers to a related Dataset that is a version, edition, or adaptation of the described Dataset.", "items": { "type": "string", "format": "uri" } }, "identifier": { "type": "array", "description": "Property. Model:'dct:identifier'. This property contains the main identifier for the Dataset, e.g. the URI or other unique identifier in the context of the Catalogue", "items": { "type": "string", "format": "uri" } }, "isReferencedBy": { "type": "array", "description": "Property. Model:'dct:isVersionOf'. This property refers to a related Dataset of which the described Dataset is a version, edition, or adaptation", "items": { "type": "string", "format": "uri" } }, "isVersionOf": { "type": "array", "description": "Property. Model:'dct:identifier'. This property contains the main identifier for the Dataset, e.g. the URI or other unique identifier in the context of the Catalogue", "items": { "type": "string", "format": "uri" } }, "landingPage": { "description": "Property. Model:'dcat:landingPage'. This property refers to a web page that provides access to the Dataset, its Distributions and/or additional information. It is intended to point to a landing page at the original data provider, not to a page on a site of a third party, such as an aggregator.", "type": "array", "items": { "type": "string", "format": "uri" } }, "language": { "type": "array", "description": "Property. Model:'dct:LinguisticSystem'. This property refers to a language of the Dataset. This property can be repeated if there are multiple languages in the Dataset.", "items": { "type": "string" } }, "otherIdentifier": { "type": "array", "description": "Property. Model:'dct:identifier'. This property refers to a secondary identifier of the Dataset, such as MAST/ADS, DataCite, DOI, EZID or W3ID.", "items": { "type": "string", "format": "uri" } }, "provenance": { "type": "array", "description": "Property. Model:'dct:ProvenanceStatement'. This property contains a statement about the lineage of a Dataset.", "items": { "type": "string" } }, "qualifiedAttribution": { "type": "array", "description": "Property. Model:'prov:qualifiedAttribution'. This property is about a related resource, such as a publication, that references, cites, or otherwise points to the dataset.", "items": { "type": "string" } }, "qualifiedRelation": { "type": "array", "description": "Property. Model:'dcat:Relationship'. This property is about a related resource, such as a publication, that references, cites, or otherwise points to the dataset", "items": { "type": "string", "format": "uri" } }, "relatedResource": { "type": "array", "description": "Property. Model:'rdfs:Resource'. This property refers to a related resource", "items": { "type": "string", "format": "uri" } }, "releaseDate": { "type": "string", "description": "Property. Model:'dct:issued'. This property contains the date of formal issuance (e.g., publication) of the Dataset.", "format": "date-time" }, "sample": { "type": "array", "description": "Property. Model:'rdfs:Resource'. This property refers to a sample distribution of the dataset", "items": { "type": "string", "format": "uri" } }, "datasetSource": { "type": "array", "description": "Property. Model:'rdfs:Resource'. It corresponds with the property 'source' from DCAT-AP 2.0.1. This property refers to a related Dataset from which the described Dataset is derived.", "items": { "type": "string", "format": "uri" } }, "spatialResolution": { "type": "array", "description": "Property. Model:'dcat:spatialResolutionIn Meters'. This property refers to the minimum spatial separation resolvable in a dataset, measured in meters", "items": { "type": "number" } }, "temporalResolution": { "type": "array", "description": "Property. Model:'dcat:temporalResolution'. This property refers to the minimum time period resolvable in the dataset.", "items": { "type": "number" } }, "datasetType": { "type": "string", "description": "Property. Model:'dct:type'. This property refers to the type of the Dataset. It corresponds to the property 'Type' of the DCAT 2.0.1. A controlled vocabulary for the values has not been established." }, "updateDate": { "type": "string", "format": "date-time", "description": "Property. Model:'dct:modified'. This property contains the most recent date on which the Dataset was changed or modified." }, "version": { "type": "string", "description": "Property. Model:'owl:versionInfo'. This property contains a version number or other version designation of the Dataset" }, "versionNotes": { "type": "array", "description": "Property. Model:'adms:versionNotes'. This property contains a description of the differences between this version and a previous version of the Dataset. This property can be repeated for parallel language versions of the version notes.", "items": { "type": "string" } }, "wasGeneratedBy": { "description": "Property. Model:'prov:wasGeneratedBy'. This property contains a description of the differences between this version and a previous version of the Dataset. This property can be repeated for parallel language versions of the version notes.", "type": "array", "items": { "type": "string" } } } } ], "required": [ "id", "type", "datasetDescription", "title" ] }