{
  "$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-upload-key-and-certificate-request-schema.json",
  "title": "io.token.proto.gateway.UploadKeyAndCertificateRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/token-io-secrets-api-openapi.yml#/components/schemas/io.token.proto.gateway.UploadKeyAndCertificateRequest",
  "type": "object",
  "properties": {
    "keyAndCertificate": {
      "$ref": "#/$defs/io.token.proto.gateway.UploadKeyAndCertificate"
    },
    "keys": {
      "$ref": "#/$defs/io.token.proto.gateway.UploadKeys"
    }
  },
  "$defs": {
    "io.token.proto.gateway.UploadKeyAndCertificate": {
      "type": "object",
      "properties": {
        "certificate": {
          "type": "string"
        },
        "certificateName": {
          "type": "string"
        },
        "privateKey": {
          "type": "string"
        }
      }
    },
    "io.token.proto.gateway.UploadKeys": {
      "type": "object",
      "properties": {
        "privateKey": {
          "type": "string"
        },
        "publicKey": {
          "type": "string"
        }
      }
    }
  }
}