{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/token-io/main/json-schema/token-io-io-token-proto-gateway-add-member-key-request-schema.json",
  "title": "io.token.proto.gateway.AddMemberKeyRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/token-io-members-api-openapi.yml#/components/schemas/io.token.proto.gateway.AddMemberKeyRequest",
  "type": "object",
  "properties": {
    "keyAlgorithm": {
      "$ref": "#/$defs/io.token.proto.common.security.Key.Algorithm"
    },
    "publicKey": {
      "type": "string"
    }
  },
  "$defs": {
    "io.token.proto.common.security.Key.Algorithm": {
      "enum": [
        "INVALID_ALGORITHM",
        "ED25519",
        "ECDSA_SHA256",
        "RS256",
        "RS512"
      ],
      "default": "INVALID_ALGORITHM",
      "type": "string"
    }
  }
}