{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/v2json/main/json-schema/v2json-decode-request-schema.json",
  "title": "DecodeRequest",
  "x-generated": "2026-10-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/v2json-openapi.json#/components/schemas/DecodeRequest",
  "properties": {
    "hex": {
      "type": "string",
      "maxLength": 20000,
      "minLength": 2,
      "title": "Hex",
      "description": "Hex-encoded UPER bytes (with or without 0x prefix)."
    },
    "type": {
      "type": "string",
      "enum": [
        "auto",
        "cam",
        "cam_en",
        "cam_ts",
        "denm",
        "denm_en",
        "denm_ts",
        "cpm",
        "poim",
        "saem",
        "vam",
        "mapem",
        "spatem",
        "srem",
        "ssem",
        "ivim",
        "rtcmem"
      ],
      "title": "Type",
      "description": "Message type hint. 'auto' detects from messageID byte.",
      "default": "auto"
    },
    "enrich": {
      "type": "boolean",
      "title": "Enrich",
      "description": "Add readable _* sibling fields.",
      "default": true
    }
  },
  "type": "object",
  "required": [
    "hex"
  ]
}