Updated
Oct 11, 2021, 11:58:29 AM
{
"$id": "https://objects.monarc.lu/schema/def/46a32545-94c5-4bcc-88bf-e65973556f7e",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"asset": {
"pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
"type": "string"
},
"authors": {
"items": {
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"measures": {
"items": {
"$comment": "UUID of a measure.",
"description": "UUID of a measure.",
"pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
"type": "string"
},
"type": "array"
},
"threat": {
"pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
"type": "string"
},
"uuid": {
"pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
"type": "string"
},
"version": {
"type": "integer"
},
"vulnerability": {
"pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
"type": "string"
}
},
"required": [
"uuid",
"asset",
"threat",
"vulnerability"
],
"title": "Validator for risks used in MONARC",
"type": "object"
}