Updated
Feb 21, 2022, 1:49:09 PM

{
    "$id": "https://objects.monarc.lu/schema/def/24d133a5-fab5-4be6-b455-55068cee7a28",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
        "label": {
            "default": "",
            "examples": [
                "ISO / NIST"
            ],
            "pattern": "^(.*)$",
            "title": "The Label Schema",
            "type": "string"
        },
        "refs": {
            "items": {
                "type": "string"
            },
            "minItems": 1,
            "type": "array"
        },
        "security referentials UUID": {
            "items": {
                "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
                "type": "string"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
        },
        "uuid": {
            "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
            "type": "string"
        },
        "values": {
            "$id": "/properties/values",
            "items": {
                "$id": "/properties/values/items",
                "properties": {
                    "control": {
                        "$id": "/properties/values/items/properties/control",
                        "default": "",
                        "examples": [
                            "UUID1"
                        ],
                        "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
                        "title": "The Control-uuid Schema",
                        "type": "string"
                    },
                    "match": {
                        "$id": "/properties/values/items/properties/match",
                        "default": "",
                        "examples": [
                            "UUID2"
                        ],
                        "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
                        "title": "The Match-uuid Schema",
                        "type": "string"
                    }
                },
                "required": [
                    "control",
                    "match"
                ],
                "title": "The Items Schema",
                "type": "object"
            },
            "title": "The Mapping Schema",
            "type": "array"
        },
        "version": {
            "type": "integer"
        }
    },
    "required": [
        "security referentials UUID",
        "uuid",
        "version",
        "label",
        "values"
    ],
    "title": "Mappings between measures of two security referentials.",
    "type": "object"
}