{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "INTERSTAT", "$id": "https://smart-data-models.github.io/dataModel.STAT-DCAT-AP/Distribution/schema.json", "title": "Smart Data models STAT-DCAT-AP distribution of a Dataset,", "description": "This is a distribution belonging ot a dataset according to the STAT-DCAT-AP standard 1.0.1", "type": "object", "derivedFrom": "https://joinup.ec.europa.eu/sites/default/files/distribution/access_url/2019-05/0812e528-c428-4832-b674-d5b9c68d1b42/StatDCAT-AP_1.0.1.pdf", "required": [ "id", "type" ], "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "properties": { "type": { "type": "string", "enum": [ "Distribution" ], "description": "Property. NGSI entity type. It has to be Distribution" }, "accessUrl": { "type": "array", "description": "Property. Model:'https://schema.org/URL'. This property contains a URL that gives access to a Distribution of the Dataset. The resource at the access URL may contain information about how to get the Dataset.", "items": { "type": "string", "minItems": 1 } }, "description": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a free-text account of the Distribution. This property can be repeated for parallel language versions of the description.", "items": { "type": "string", "description": "Property. Every description of the distribution in a language" } }, "format": { "type": "string", "description": "Property. Model:'http://purl.org/dc/terms#MediaTypeOrExtent'. This property refers to the file format of the Distribution." }, "license": { "type": "string", "description": "Property. Model:'http://purl.org/dc/terms#LicenseDocument'. This property refers to the licence under which the Distribution is made available." }, "byteSize": { "type": "number", "description": "Property. Model:'https://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the size of a Distribution in bytes." }, "checksum": { "type": "string", "description": "Property. Model:'http://spdx.org/rdf/terms#Checksum'. This property provides a mechanism that can be used to verify that the contents of a distribution have not changed." }, "page": { "type": "array", "description": "Property. Model:'http://xmlns.com/foaf/0.1/#term_Document'. This property refers to a page or document about this Distribution.", "items": { "type": "string", "description": "Property. Every page providing information about the distribution" } }, "downloadURL": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property contains a URL that is a direct link to a downloadable file in a given format.", "items": { "type": "string", "format": "uri", "description": "Property. Every URL available for downloading" } }, "language": { "type": "array", "description": "Property. Model:'http://purl.org/dc/terms/LinguisticSystem'. This property refers to a language used in the Distribution. This property can be repeated if the metadata is provided in multiple languages.", "items": { "type": "string" } }, "conformsTo": { "type": "array", "description": "Property. Model:'http://purl.org/dc/terms/Standard'. This property refers to an established schema to which the described Distribution conforms.", "items": { "type": "string", "description": "Property. Every rule o standard the distribution complies with" } }, "mediaType": { "type": "string", "description": "Property. Model:'http://purl.org/dc/terms#MediaTypeOrExtent'. This property refers to the media type of the Distribution as defined in the official register of media types managed by IANA" }, "issued": { "type": "string", "format": "date-time", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the date of formal issuance (e.g., publication) of the Distribution." }, "rights": { "type": "string", "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property refers to a statement that specifies rights associated with the Distribution." }, "status": { "type": "string", "description": "Property. Model:'http://www.w3.org/2004/02/skos/core#Concept'. This property refers to the maturity of the Distribution. It MUST take one of the values Completed, Deprecated, Under Development, Withdrawn", "enum": [ "Completed", "Deprecated", "Under Development", "Withdrawn" ] }, "title": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a name given to the Distribution. This property can be repeated for parallel language versions of the description.", "items": { "type": "string" } }, "modified": { "type": "string", "format": "date-time", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains the most recent date on which the Distribution was changed or modified." }, "Type": { "type": "string", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property links to a type of the Distribution, e.g. that it is a visualisation." } } } ] }