Skip to content

Commit

Permalink
updated $schema last version
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Sep 18, 2024
1 parent 4ec4bdf commit 89173da
Showing 1 changed file with 84 additions and 84 deletions.
168 changes: 84 additions & 84 deletions Cost/schema.json
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
}
}
]
}

0 comments on commit 89173da

Please sign in to comment.