{
    "id": "http://schemas.triniti.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,
            "pbj": {
                "type": "string",
                "rule": "single",
                "format": "slug"
            }
        },
        "region": {
            "type": "string",
            "pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
            "minLength": 0,
            "maxLength": 20,
            "pbj": {
                "type": "string",
                "rule": "single",
                "format": "slug"
            }
        },
        "zone": {
            "type": "string",
            "pattern": "^([\\w\\/-]|[\\w-][\\w\\/-]*[\\w-])$",
            "minLength": 0,
            "maxLength": 20,
            "pbj": {
                "type": "string",
                "rule": "single",
                "format": "slug"
            }
        },
        "instance_id": {
            "type": "string",
            "pattern": "^[\\w\\.-]+$",
            "pbj": {
                "type": "string",
                "rule": "single"
            }
        },
        "instance_type": {
            "type": "string",
            "pattern": "^[\\w\\.-]+$",
            "pbj": {
                "type": "string",
                "rule": "single"
            }
        }
    },
    "required": [
        "_schema"
    ],
    "additionalProperties": false
}