{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adro1b33/main/json-schema/adro1b33-les-capabilities-schema.json",
  "title": "LesCapabilities",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adro1b33-les-api-openapi.yml#/components/schemas/LesCapabilities",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean"
    },
    "contractVersion": {
      "type": [
        "integer",
        "null"
      ]
    },
    "defaultGrade": {
      "enum": [
        "smoke",
        "standard",
        "precision"
      ],
      "type": "string",
      "description": "* `smoke` - Smoke (wiring test)\n* `standard` - Standard (3-level)\n* `precision` - Precision (versioned profile)",
      "x-spec-enum-id": "da381bb7cd0f6163"
    },
    "groundClearanceMin": {
      "type": "number",
      "format": "double"
    },
    "groundClearanceMax": {
      "type": "number",
      "format": "double"
    },
    "wheelTreatmentSupported": {
      "type": "boolean"
    },
    "publicationProtocol": {
      "enum": [
        "legacy",
        "native",
        "manifest"
      ],
      "type": "string",
      "description": "* `legacy` - legacy\n* `native` - native\n* `manifest` - manifest",
      "x-spec-enum-id": "11cc3e4f02bde017"
    },
    "geometryContractSupported": {
      "type": "boolean"
    },
    "grades": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "additionalProperties": {}
      }
    }
  },
  "required": [
    "contractVersion",
    "defaultGrade",
    "enabled",
    "geometryContractSupported",
    "grades",
    "groundClearanceMax",
    "groundClearanceMin",
    "publicationProtocol",
    "wheelTreatmentSupported"
  ]
}