Updated
Oct 11, 2021, 12:01:44 PM

{
    "$id": "https://objects.monarc.lu/schema/def/3777ff96-2d37-4ad2-8789-7aa3417b6312",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "additionalProperties": false,
    "definitions": {
        "standard": {
            "$ref": "https://objects.monarc.lu/schema/def/308deb4c-0249-43ed-9f6f-f5c60b630d8f"
        }
    },
    "properties": {
        "category": {
            "type": "string"
        },
        "code": {
            "type": "string"
        },
        "label": {
            "type": "string"
        },
        "referential": {
            "description": "UUID of the referential.",
            "pattern": "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}",
            "type": "string"
        },
        "referential_label": {
            "description": "Label of the referential.",
            "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"
        }
    },
    "required": [
        "uuid",
        "label",
        "category",
        "code",
        "referential",
        "referential_label"
    ],
    "title": "Validator for measure used in MONARC",
    "type": "object"
}