-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
445f27a
commit 1b2a7a5
Showing
1 changed file
with
37 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} |