{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://corecharge.cloud/developers/specs/frame.schema.json",
  "title": "CoreCharge cabinet protocol v1.51 frame",
  "description": "Raw ASCII wire frame. Command-specific field order is defined in protocol-v1.51-command-catalog.json.",
  "type": "string",
  "minLength": 9,
  "maxLength": 8192,
  "pattern": "^\\{[A-Z]{2}(?:,[ -~]*)?,[0-9A-F]{4}\\}$",
  "examples": [
    "{CQ,17000000,0,6F75}",
    "{RS,17000007,DEVICE-000001,1,2,PB-000001,88,1,1,D1B9}"
  ]
}
