{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pipeshub/json-schema/pipeshub-jwks-schema.json",
  "title": "JWKS",
  "description": "JSON Web Key Set (RFC 7517).\nContains public keys for verifying token signatures.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pipeshub-openid-connect-api-openapi.yml#/components/schemas/JWKS",
  "type": "object",
  "properties": {
    "keys": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/JWK"
      },
      "description": "Array of JSON Web Keys"
    }
  },
  "$defs": {
    "JWK": {
      "type": "object",
      "description": "JSON Web Key (RFC 7517).\nPublic key for verifying JWT signatures.\n",
      "properties": {
        "kty": {
          "type": "string",
          "description": "Key type"
        },
        "use": {
          "type": "string",
          "description": "Key use (sig = signature)"
        },
        "alg": {
          "type": "string",
          "description": "Algorithm"
        },
        "kid": {
          "type": "string",
          "description": "Key ID"
        },
        "n": {
          "type": "string",
          "description": "RSA modulus (base64url encoded)"
        },
        "e": {
          "type": "string",
          "description": "RSA exponent (base64url encoded)"
        }
      }
    }
  }
}