{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$ref": "#/definitions/ModelExtensionFile",
  "definitions": {
    "ModelExtensionFile": {
      "type": "object",
      "properties": {
        "extensions": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ModelExtension"
          }
        }
      },
      "required": ["extensions"]
    },
    "ModelExtension": {
      "type": "object",
      "properties": {
        "addsTo": {
          "type": "object",
          "properties": {
            "pack": {
              "type": "string"
            },
            "extensible": {
              "type": "string"
            }
          },
          "required": ["pack", "extensible"]
        },
        "data": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/definitions/DataTuple"
            }
          }
        }
      },
      "required": ["addsTo", "data"]
    },
    "DataTuple": {
      "type": ["boolean", "number", "string"]
    }
  }
}
