{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/courtdelta-com/json-schema/courtdelta-com-charge-schema.json",
  "title": "Charge",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/courtdelta-com-openapi.yml#/components/schemas/Charge",
  "type": "object",
  "properties": {
    "offense": {
      "type": "string"
    },
    "statute": {
      "type": "string"
    },
    "degree": {
      "type": "string"
    },
    "citation": {
      "type": "string"
    },
    "offenseDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "MM/DD/YYYY the offense occurred — distinct from the case's filedOn, and usually what someone means by 'when was this?'. Null when the register omits it."
    },
    "agency": {
      "type": [
        "string",
        "null"
      ],
      "description": "Citing/charging law-enforcement agency, e.g. 'State Highway Patrol Troop D District 1'."
    },
    "actual_speed": {
      "type": [
        "string",
        "null"
      ],
      "description": "Charged speed, mph (speeding offenses)."
    },
    "speed_limit": {
      "type": [
        "string",
        "null"
      ]
    },
    "school_zone": {
      "type": [
        "string",
        "null"
      ]
    },
    "construction_zone": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}