{
    "id": "http://schemas.triniti.io/json-schema/gdbots/contexts/app/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::app:1-0-0"
        },
        "_id": {
            "type": "string",
            "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
            "pbj": {
                "type": "uuid",
                "rule": "single",
                "useTypeDefault": false
            }
        },
        "vendor": {
            "type": "string",
            "pattern": "^[\\w\\.-]+$",
            "pbj": {
                "type": "string",
                "rule": "single"
            }
        },
        "name": {
            "type": "string",
            "pattern": "^[\\w\\.-]+$",
            "pbj": {
                "type": "string",
                "rule": "single"
            }
        },
        "version": {
            "type": "string",
            "pattern": "^[\\w\\.-]+$",
            "pbj": {
                "type": "string",
                "rule": "single"
            }
        },
        "build": {
            "type": "string",
            "pattern": "^[\\w\\.-]+$",
            "pbj": {
                "type": "string",
                "rule": "single"
            }
        },
        "variant": {
            "type": "string",
            "pattern": "^[\\w\\.-]+$",
            "pbj": {
                "type": "string",
                "rule": "single"
            }
        }
    },
    "required": [
        "_schema"
    ],
    "additionalProperties": false
}