{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.Weather/WeatherAlert/schema.json", "title": "Weather Alarm data model JSON Schema", "description": "A weather alert generated by a user or device in a given location", "allOf": [ { "$ref": "https://smart-data-models.github.io/dataModel.Alert/alert-schema.json#/definitions/Common-Alert" }, { "type": "object", "properties": { "category": { "type": "string", "description": "Property. Category of the entity", "enum": [ "weather" ] }, "subCategory": { "$ref": "https://smart-data-models.github.io/dataModel.Weather/weather-schema.json#/definitions/WeatherAlertCategories" } } } ], "required": [ "id", "type", "alertSource", "category", "subCategory", "dateIssued" ] }