{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$schemaVersion": "0.4.1", "modelTags": "", "$id": "https://smart-data-models.github.io/dataModel.Weather/WeatherAlert/schema.json", "title": "Smart Data Models - Weather Alert data model ", "description": "A weather alert generated by a user or device in a given location", "allOf": [ { "$ref": "https://smart-data-models.github.io/dataModel.Weather/weather-schema.json#/definitions/Weather-Alert" }, { "$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" }, { "type": "object", "properties": { "type": { "type": "string", "description": "Property. NGSI entity type. It has to be WeatherAlert", "enum": [ "WeatherAlert" ] }, "subCategory": { "$ref": "https://smart-data-models.github.io/dataModel.Weather/weather-schema.json#/definitions/WeatherAlertCategories" } } } ], "required": [ "id", "type", "alertSource", "category", "subCategory", "dateIssued" ] }