{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CustomSigningKeyJWK",
  "title": "CustomSigningKeyJWK",
  "type": "object",
  "description": "JWK representing a custom public signing key.",
  "additionalProperties": false,
  "required": [
    "kty"
  ],
  "properties": {
    "kty": {
      "$ref": "#/components/schemas/CustomSigningKeyTypeEnum"
    },
    "kid": {
      "type": "string",
      "description": "Key identifier"
    },
    "use": {
      "$ref": "#/components/schemas/CustomSigningKeyUseEnum"
    },
    "key_ops": {
      "type": "array",
      "description": "Key operations",
      "minItems": 1,
      "items": {
        "$ref": "#/components/schemas/CustomSigningKeyOperationEnum"
      }
    },
    "alg": {
      "$ref": "#/components/schemas/CustomSigningKeyAlgorithmEnum"
    },
    "n": {
      "type": "string",
      "description": "Key modulus"
    },
    "e": {
      "type": "string",
      "description": "Key exponent"
    },
    "crv": {
      "$ref": "#/components/schemas/CustomSigningKeyCurveEnum"
    },
    "x": {
      "type": "string",
      "description": "X coordinate"
    },
    "y": {
      "type": "string",
      "description": "Y coordinate"
    },
    "x5u": {
      "type": "string",
      "description": "X.509 URL"
    },
    "x5c": {
      "type": "array",
      "description": "X.509 certificate chain",
      "minItems": 1,
      "items": {
        "type": "string"
      }
    },
    "x5t": {
      "type": "string",
      "description": "X.509 certificate SHA-1 thumbprint"
    },
    "x5t#S256": {
      "type": "string",
      "description": "X.509 certificate SHA-256 thumbprint"
    }
  }
}