{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/v2json/main/json-schema/v2json-encode-request-schema.json",
  "title": "EncodeRequest",
  "x-generated": "2026-10-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/v2json-openapi.json#/components/schemas/EncodeRequest",
  "properties": {
    "payload": {
      "additionalProperties": true,
      "type": "object",
      "title": "Payload",
      "description": "Bare decoded message: no wrapper, no _* keys."
    },
    "type": {
      "type": "string",
      "title": "Type",
      "description": "Explicit type; no 'auto'. CAM needs cam_en or cam_ts."
    }
  },
  "type": "object",
  "required": [
    "payload",
    "type"
  ]
}