{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "GremlinAmp platform downloads",
  "type": "object",
  "required": [
    "schema",
    "id",
    "downloads"
  ],
  "properties": {
    "schema": {
      "const": 1
    },
    "id": {
      "const": "gremlinamp"
    },
    "downloads": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "version",
          "build",
          "url",
          "bytes",
          "sha256",
          "platform",
          "app_id",
          "title",
          "format",
          "source_url"
        ],
        "properties": {
          "version": {
            "type": "string"
          },
          "build": {
            "type": "integer",
            "minimum": 1
          },
          "url": {
            "type": "string"
          },
          "bytes": {
            "type": "integer",
            "minimum": 1
          },
          "sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "platform": {
            "type": "string"
          },
          "app_id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "source_url": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    }
  },
  "additionalProperties": true
}
