{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/comingup-today/json-schema/comingup-today-managed-media-cache-device-body-schema.json",
  "title": "ManagedMediaCacheDeviceBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/comingup-today-managed-media-api-openapi.yml#/components/schemas/ManagedMediaCacheDeviceBody",
  "type": "object",
  "properties": {
    "publicKey": {
      "type": "string",
      "minLength": 32,
      "maxLength": 4096,
      "description": "RSA-OAEP public key SPKI DER, canonical base64."
    },
    "algorithm": {
      "type": "string",
      "enum": [
        "RSA-OAEP-2048-SHA256"
      ]
    },
    "protocolVersion": {
      "type": "number",
      "enum": [
        1
      ]
    }
  },
  "required": [
    "publicKey",
    "algorithm",
    "protocolVersion"
  ],
  "additionalProperties": false
}