{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mojang/json-schema/mojang-public-keys-schema.json",
  "title": "PublicKeys",
  "description": "Mojang public keys for verifying signatures.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mojang-keys-api-openapi.yml#/components/schemas/PublicKeys",
  "type": "object",
  "properties": {
    "profilePropertyKeys": {
      "type": "array",
      "description": "Keys used to verify session-profile property signatures.",
      "items": {
        "$ref": "#/$defs/PublicKeyEntry"
      }
    },
    "playerCertificateKeys": {
      "type": "array",
      "description": "Keys used to verify player chat-signature certificates.",
      "items": {
        "$ref": "#/$defs/PublicKeyEntry"
      }
    },
    "authenticationKeys": {
      "type": "array",
      "description": "Keys used to verify Mojang authentication tokens.",
      "items": {
        "$ref": "#/$defs/PublicKeyEntry"
      }
    }
  },
  "$defs": {
    "PublicKeyEntry": {
      "type": "object",
      "description": "A single Base64-encoded DER public key entry.",
      "required": [
        "publicKey"
      ],
      "properties": {
        "publicKey": {
          "type": "string",
          "description": "Base64-encoded DER public key."
        }
      }
    }
  }
}