{
  "$schema": "https://json-schema.org/draft-07/schema",
  "definitions": {
    "sha256": {
      "pattern": "[A-Z0-9]{64}",
      "type": "string"
    }
  },
  "properties": {
    "Applications": {
      "items": {
        "properties": {
          "DmgUrl": {
            "format": "uri",
            "type": "string"
          },
          "InstallerPath": {
            "type": "string"
          },
          "Name": {
            "type": "string"
          },
          "Sha256": {
            "$ref": "#/definitions/sha256"
          },
          "TestCommand": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "Brew": {
      "items": {
        "properties": {
          "Kind": {
            "enum": [
              "cask"
            ],
            "type": "string"
          },
          "Name": {
            "type": "string"
          }
        },
        "required": [
          "Name"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "VBoxExtensions": {
      "items": {
        "properties": {
          "FullName": {
            "type": "string"
          },
          "Name": {
            "type": "string"
          },
          "Sha256": {
            "$ref": "#/definitions/sha256"
          },
          "Url": {
            "format": "uri",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "Applications",
    "Brew",
    "VBoxExtensions"
  ],
  "type": "object"
}