{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "SignedReleaseKey",
  "type" : "object",
  "additionalProperties" : true,
  "description" : "A signed container that provides the public key information along with a verifiable signature.",
  "properties" : {
    "release_key" : {
      "type" : "object",
      "additionalProperties" : true,
      "description" : "The release key metadata used for verifying the signature.",
      "properties" : {
        "key_id": {
          "type": "string",
          "description": "A unique identifier for the release public key."
        },
        "public_key": {
          "type": "string",
          "description": "The Base64-encoded public key associated with this release key.",
          "minLength" : 44
        }
      },
      "required" :
      [
        "key_id",
        "public_key"
      ]
    },

    "signature" : {
      "type" : "string",
      "description" : "The Base64 encoded signature over the release_key object.",
      "minLength" : 24
    }
  },

  "required" :
  [
    "release_key",
    "signature"
  ]
}
