{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cipherhub-cloud/json-schema/cipherhub-cloud-protection-key-response-schema.json",
  "title": "ProtectionKeyResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cipherhub-cloud-openapi.yaml#/components/schemas/ProtectionKeyResponse",
  "type": "object",
  "required": [
    "key_id",
    "public_key",
    "algorithm"
  ],
  "properties": {
    "key_id": {
      "type": "string",
      "description": "Server protection key identifier used in `EncryptedApiRequest.key_id`."
    },
    "public_key": {
      "type": "string",
      "description": "Server ECC ECDH public key in PEM format."
    },
    "algorithm": {
      "type": "string",
      "enum": [
        "ECC_ECDH"
      ],
      "description": "Protection-key algorithm. Current value is `ECC_ECDH`."
    }
  }
}