{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Describes the foundations of all NMOS resources",
    "properties": {
        "description": {
            "description": "Detailed description of the resource",
            "type": "string"
        },
        "id": {
            "description": "Globally unique identifier for the resource",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
            "type": "string"
        },
        "label": {
            "description": "Freeform string label for the resource",
            "type": "string"
        },
        "tags": {
            "description": "Key value set of freeform string tags to aid in filtering resources. Values should be represented as an array of strings. Can be empty.",
            "patternProperties": {
                "": {
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "version": {
            "description": "String formatted TAI timestamp (<seconds>:<nanoseconds>) indicating precisely when an attribute of the resource last changed",
            "pattern": "^[0-9]+:[0-9]+$",
            "type": "string"
        }
    },
    "required": [
        "id",
        "version",
        "label",
        "description",
        "tags"
    ],
    "title": "Base resource",
    "type": "object"
}
