{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.2", "modelTags": "", "$id": "https://smart-data-models.github.io/dataModel.DCAT-AP/DataService/schema.json", "title": "Data Service DCAT-AP 2.1.1 schema - extended", "description": "Data Service adapted from DCAT-AP 2.1.1 specification, but extended with additional properties and compatible with NGSI standard", "type": "object", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "properties": { "type": { "type": "string", "enum": [ "DataService" ], "description": "Property. NGSI Entity type. It has to be DataService" }, "id": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" }, "endPointURL": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. The root location or primary endpoint of the service (an IRI)", "items": { "type": "string", "format": "uri", "minItems": 1, "description": "Property. Every root location" } }, "title": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a name given to the Data Service. This property can be repeated for parallel language versions of the name", "items": { "type": "string", "description": "Property. The title in one language" } }, "endPointDescription": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Resource'. This property contains a description of the services available via the end-points, including their operations, parameters etc. The property gives specific details of the actual endpoint instances, while dct:conformsTo is used to indicate the general standard or specification that the endpoints implement", "items": { "type": "string", "description": "Property. Every service available at an end-point" } }, "servesDataset": { "type": "array", "description": "Property. Model:'http://www.w3.org/ns/dcat#Dataset'. This property refers to a collection of data that this data service can distribute", "items": { "type": "string", "description": "Property. Every dataset distributed" } }, "accessRights": { "type": "string", "description": "Property. Model:'http://purl.org/dc/terms/RightsStatement'. This property MAY include information regarding access or restrictions based on privacy, security, or other policies" }, "description": { "type": "array", "description": "Property. Model:'http://www.w3.org/2000/01/rdf-schema#Literal'. This property contains a free-text account of the Data Service. This property can be repeated for parallel language versions of the description", "items": { "type": "string", "description": "Property. Every description in a language" } }, "license": { "type": "string", "description": "Property. Model:'http://purl.org/dc/terms/LicenseDocument'. This property contains the licence under which the Data service is made available" } } } ], "required": [ "endPointURL", "id", "title", "type" ] }