{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/knoxcall/json-schema/knoxcall-sealing-bundle-schema.json",
  "title": "SealingBundle",
  "description": "Public material a browser needs to seal values client-side. Contains no private material.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/knoxcall-encryption-api-openapi.yml#/components/schemas/SealingBundle",
  "type": "object",
  "properties": {
    "public_key_raw": {
      "type": "string",
      "description": "The key's public half as a raw uncompressed P-256 point (65 bytes, base64url)."
    },
    "key_ref": {
      "type": "object",
      "description": "Reference identifying which key sealed values will decrypt under.",
      "properties": {
        "tenant_id": {
          "type": "string",
          "format": "uuid"
        },
        "app_key_id": {
          "type": "string",
          "format": "uuid",
          "description": "The transit key UUID."
        },
        "key_version": {
          "type": "integer"
        }
      }
    }
  }
}