From 89173da01f48e3662239c7ee78b3a0135469d7ef Mon Sep 17 00:00:00 2001 From: Alberto Abella Date: Wed, 18 Sep 2024 15:16:47 +0200 Subject: [PATCH] updated $schema last version --- Cost/schema.json | 168 +++++++++++++++++++++++------------------------ 1 file changed, 84 insertions(+), 84 deletions(-) diff --git a/Cost/schema.json b/Cost/schema.json index 56ce16f..243d36d 100644 --- a/Cost/schema.json +++ b/Cost/schema.json @@ -1,87 +1,87 @@ { - "$schema": "http://json-schema.org/schema", - "$schemaVersion": "0.0.2", - "$id": "https://smart-data-models.github.io/dataModel.CPSV-AP/Cost/schema.json", - "title": "Smart Data models - Cost schema", - "modelTags": "CEFAT4CITIES", - "description": "The Cost class represents any costs related to the execution of a Public Service that the Agent consuming it needs to pay.", - "derivedFrom": "", - "license": "", - "type": "object", - "required": [ - "id", - "type", - "identifier" - ], - "allOf": [ - { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$schemaVersion": "0.0.2", + "$id": "https://smart-data-models.github.io/dataModel.CPSV-AP/Cost/schema.json", + "title": "Smart Data models - Cost schema", + "modelTags": "CEFAT4CITIES", + "description": "The Cost class represents any costs related to the execution of a Public Service that the Agent consuming it needs to pay.", + "derivedFrom": "", + "license": "", + "type": "object", + "required": [ + "id", + "type", + "identifier" + ], + "allOf": [ + { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" + }, + { + "properties": { + "id": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" }, - { - "properties": { - "id": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/id" - }, - "dateCreated": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/dateCreated" - }, - "dateModified": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/dateModified" - }, - "source": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/source" - }, - "name": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/name" - }, - "alternateName": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/alternateName" - }, - "dataProvider": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/dataProvider" - }, - "owner": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/owner" - }, - "seeAlso": { - "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/seeAlso" - }, - "type": { - "type": "string", - "description": "Property. Model:'https://schema.org/Text'. It has to be Cost", - "enum": [ - "Cost" - ] - }, - "identifier": { - "type": "string", - "description": "Property. Model:'dct:identifier'. This property represents an Identifier for the Cost. This property should be a URI if it is modelled in RDF" - }, - "value": { - "type": "number", - "description": "Property. Model:'cv:value'. This property represents a numeric value indicating the amount of the Cost" - }, - "currency": { - "type": "string", - "description": "Property. Model:'cv:currency'. This property represents the currency in which the Cost needs to be paid and the value of the Cost is expressed. The possible values for this property are described in a controlled vocabulary. The recommended controlled vocabularies are listed in the European Publications Office's Currencies Named Authority List (NAL), following the ISO 4217 (https://op.europa.eu/en/web/eu-vocabularies/dataset/-/resource?uri=http://publications.europa.eu/resource/dataset/currency)" - }, - "description": { - "type": "string", - "description": "Property. Model:'dct:description'. This property represents a free text description of the Cost" - }, - "isDefinedBy": { - "type": "array", - "description": "Relationship. Model:'cv:isDefinedBy'. This property links the Cost class with one or more instances of the Public Organization class. This property indicates which Public Organization is the Competent Authority for defining the costs associated with the delivery of a particular Public Service", - "items": { - "type": "string", - "description": "Model:'PublicOrganisation" - } - }, - "ifAccessedThrough": { - "type": "string", - "description": "Relationship. Model:'cv:ifAccessedThrough'. Range:'Channel'. Where the cost varies depending on the channel used, for example, if accessed through an online service cf. accessed at a physical location, the cost can be linked to the channel using the If Accessed Through property" - } - } + "dateCreated": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/dateCreated" + }, + "dateModified": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/dateModified" + }, + "source": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/source" + }, + "name": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/name" + }, + "alternateName": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/alternateName" + }, + "dataProvider": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/dataProvider" + }, + "owner": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/owner" + }, + "seeAlso": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons/properties/seeAlso" + }, + "type": { + "type": "string", + "description": "Property. Model:'https://schema.org/Text'. It has to be Cost", + "enum": [ + "Cost" + ] + }, + "identifier": { + "type": "string", + "description": "Property. Model:'dct:identifier'. This property represents an Identifier for the Cost. This property should be a URI if it is modelled in RDF" + }, + "value": { + "type": "number", + "description": "Property. Model:'cv:value'. This property represents a numeric value indicating the amount of the Cost" + }, + "currency": { + "type": "string", + "description": "Property. Model:'cv:currency'. This property represents the currency in which the Cost needs to be paid and the value of the Cost is expressed. The possible values for this property are described in a controlled vocabulary. The recommended controlled vocabularies are listed in the European Publications Office's Currencies Named Authority List (NAL), following the ISO 4217 (https://op.europa.eu/en/web/eu-vocabularies/dataset/-/resource?uri=http://publications.europa.eu/resource/dataset/currency)" + }, + "description": { + "type": "string", + "description": "Property. Model:'dct:description'. This property represents a free text description of the Cost" + }, + "isDefinedBy": { + "type": "array", + "description": "Relationship. Model:'cv:isDefinedBy'. This property links the Cost class with one or more instances of the Public Organization class. This property indicates which Public Organization is the Competent Authority for defining the costs associated with the delivery of a particular Public Service", + "items": { + "type": "string", + "description": "Model:'PublicOrganisation" + } + }, + "ifAccessedThrough": { + "type": "string", + "description": "Relationship. Model:'cv:ifAccessedThrough'. Range:'Channel'. Where the cost varies depending on the channel used, for example, if accessed through an online service cf. accessed at a physical location, the cost can be linked to the channel using the If Accessed Through property" } - ] -} + } + } + ] +} \ No newline at end of file