{
    "id": "http://schemas.gdbots.io/json-schema/gdbots/contexts/cloud/1-0-0.json#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "_schema": {
            "type": "string",
            "pattern": "^pbj:([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+):([0-9]+-[0-9]+-[0-9]+)$",
            "default": "pbj:gdbots:contexts::cloud:1-0-0"
        },
        "provider": {
            "type": "string",
            "pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
            "minLength": 0,
            "maxLength": 20
        },
        "region": {
            "type": "string",
            "pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
            "minLength": 0,
            "maxLength": 20
        },
        "zone": {
            "type": "string",
            "pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
            "minLength": 0,
            "maxLength": 20
        },
        "instance_id": {
            "type": "string",
            "pattern": "^[\\w\\.-]+$"
        },
        "instance_type": {
            "type": "string",
            "pattern": "^[\\w\\.-]+$"
        }
    },
    "required": [
        "_schema"
    ],
    "additionalProperties": false
}