{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "", "$id": "https://raw.githubusercontent.com/smart-data-models/dataModel.RiskAssessment/master/CyberAnalysis/schema.json", "title": "Smart Data Models - Risk Assessment - CyberAnalysis Entity", "description": "Entity that represents analysis performed by digital tools to detect for example, network traffic anomalies", "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 CyberAnalysis", "enum": [ "CyberAnalysis" ] }, "validTo": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/Time'. The time at which the risk materialziation is started" }, "validFrom": { "type": "string", "format": "date-time", "description": "Property. Model:'https://schema.org/Time'. The time at which the risk materialziation is finished" }, "analysisType": { "type": "string", "description": "Property. The type of analysis" }, "affects": { "type": "array", "description": "Relationship. Array of URIs related to the area in which the risk could affect", "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" } ] } }, "generate": { "type": "array", "description": "Relationship. Array of URIs related to the area in which the risk could affect", "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" ] }