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 445f27a commit 1b2a7a5
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions VibrationsObserved/schema.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
{
"$schema": "http://json-schema.org/schema#",
"$schemaVersion": "0.0.1",
"modelTags": "",
"$id": "https://smart-data-models.github.io/dataModel.Building/VibrationsObserved/schema.json",
"title": " Smart Data Models - vibrations Observed",
"description": "The vibrations observed in a specific place.",
"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.Building/VibrationsObserved/schema.json",
"title": " Smart Data Models - vibrations Observed",
"description": "The vibrations observed in a specific place.",
"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": [
"VibrationsObserved"
],
"description": "Property. NGSI-LD Entity Type. It has to be VibrationsObserved"
},
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons"
"dateObserved": {
"type": "string",
"format": "date-time",
"description": "Property. Date and time of the observation in ISO8601"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"VibrationsObserved"
],
"description": "Property. NGSI-LD Entity Type. It has to be VibrationsObserved"
},
"dateObserved": {
"type": "string",
"format": "date-time",
"description": "Property. Date and time of the observation in ISO8601"
},
"accelerationMeasured": {
"type": "number",
"description": "Property. Model:'https://schema.org/Number'. Magnitude of the vibrations observed (e.g. Earthquake) or other floor movements. Units:'m/s2'"
}
}
"accelerationMeasured": {
"type": "number",
"description": "Property. Model:'https://schema.org/Number'. Magnitude of the vibrations observed (e.g. Earthquake) or other floor movements. Units:'m/s2'"
}
],
"required": [
"id",
"dateObserved",
"accelerationMeasured"
]
}
}
],
"required": [
"id",
"dateObserved",
"accelerationMeasured"
]
}

0 comments on commit 1b2a7a5

Please sign in to comment.