{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "JsonWebKey",
  "type": "object",
  "description": "JSON Web Key (JWK) representation of a key.",
  "properties": {
    "kid": {
      "type": "string",
      "description": "Key identifier."
    },
    "kty": {
      "type": "string",
      "description": "Key type (e.g., RSA, EC, oct, oct-HSM)."
    },
    "key_ops": {
      "type": "array",
      "description": "Allowed key operations."
    },
    "n": {
      "type": "string",
      "description": "RSA modulus."
    },
    "e": {
      "type": "string",
      "description": "RSA public exponent."
    },
    "d": {
      "type": "string",
      "description": "RSA private exponent."
    },
    "dp": {
      "type": "string",
      "description": "RSA private key parameter."
    },
    "dq": {
      "type": "string",
      "description": "RSA private key parameter."
    },
    "qi": {
      "type": "string",
      "description": "RSA private key parameter."
    },
    "p": {
      "type": "string",
      "description": "RSA secret prime."
    },
    "q": {
      "type": "string",
      "description": "RSA secret prime."
    },
    "k": {
      "type": "string",
      "description": "Symmetric key."
    },
    "crv": {
      "type": "string",
      "description": "Elliptic curve name."
    },
    "x": {
      "type": "string",
      "description": "X component of an EC public key."
    },
    "y": {
      "type": "string",
      "description": "Y component of an EC public key."
    }
  }
}