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 17, 2024
1 parent aab339d commit 98ca546
Showing 1 changed file with 57 additions and 57 deletions.
114 changes: 57 additions & 57 deletions WasteContainerIsle/schema.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,62 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"modelTags": "",
"$id": "https://smart-data-models.github.io/dataModel.WasteManagement/WasteContainerIsle/schema.json",
"title": " - Waste Management / Waste Container Isle",
"description": "A waste container isle",
"type": "object",
"allOf": [
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons"
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schemaVersion": "0.0.1",
"modelTags": "",
"$id": "https://smart-data-models.github.io/dataModel.WasteManagement/WasteContainerIsle/schema.json",
"title": " - Waste Management / Waste Container Isle",
"description": "A waste container isle",
"type": "object",
"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": [
"WasteContainerIsle"
],
"description": "Property. NGSI Entity Type: It has to be WasteContainerIsle"
},
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons"
"features": {
"type": "array",
"description": "Property. A list of features provided by the isle",
"items": {
"type": "string",
"enum": [
"containerFix",
"underground",
"fenced",
"other"
]
},
"minItems": 1,
"uniqueItems": true
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"WasteContainerIsle"
],
"description": "Property. NGSI Entity Type: It has to be WasteContainerIsle"
},
"features": {
"type": "array",
"description": "Property. A list of features provided by the isle",
"items": {
"type": "string",
"enum": [
"containerFix",
"underground",
"fenced",
"other"
]
},
"minItems": 1,
"uniqueItems": true
},
"insertHolesNumber": {
"type": "number",
"minimum": 0,
"description": "Property. Number of insert holes the isle has. Model:'https://schema.org/Number'"
},
"refWasteContainer": {
"type": "array",
"items": {
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType"
},
"minItems": 1,
"uniqueItems": true,
"description": "Property. List of containers present in the isle. Model:'http://schema.org/URL'"
}
}
"insertHolesNumber": {
"type": "number",
"minimum": 0,
"description": "Property. Number of insert holes the isle has. Model:'https://schema.org/Number'"
},
"refWasteContainer": {
"type": "array",
"items": {
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType"
},
"minItems": 1,
"uniqueItems": true,
"description": "Property. List of containers present in the isle. Model:'http://schema.org/URL'"
}
],
"required": [
"id",
"type",
"location"
]
}
}
],
"required": [
"id",
"type",
"location"
]
}

0 comments on commit 98ca546

Please sign in to comment.