{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.2", "modelTags": "", "$id": "https://raw.githubusercontent.com/smart-data-models/dataModel.RiskAssessment/master/CyberAnalysis/schema.json", "title": "Smart Data Models - Risk Assessment - Network Service Alert", "description": "Data model for the qualification and reporting of those alerts in a network service and its relation to the corresponding mitigation measures", "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", "description": "Property. NGSI-LD Entity Type. It must be equal to NetworkServiceAlert", "enum": [ "NetworkServiceAlert" ] }, "validTo": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/Time'. The time at which the risk materialization is started." }, "validFrom": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/Time'. The time at which the risk materialization is finished." }, "severity": { "type": "string", "enum": [ "LOW", "MEDIUM", "HIGH" ], "description": "Property. The impact generated by the associated Risk. Enum:'LOW, MEDIUM, HIGH'" }, "subcategory": { "type": "string", "description": "Property. The MITRE subcategory of an Alert." }, "category": { "type": "string", "description": "Property. The MITRE category of an Alert." }, "idCode": { "type": "string", "description": "Property. The MITRE code/id of an Alert." }, "identify": { "type": "array", "description": "Relationship. Array of URIs related to the Mitigation Measures.", "items": { "anyOf": [ { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", "description": "Property. Identifier format of any NGSI entity" }, { "type": "string", "format": "uri", "description": "Property. Identifier format of any NGSI entity" } ] } } } } ], "required": [ "id", "type" ] }