{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hmcts/json-schema/hmcts-criminal-justice-area-get-dto-schema.json",
  "title": "criminal-justice-area-get-dto",
  "description": "Immutable DTO representing a Criminal Justice Area.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hmcts-criminal-justice-areas-api-openapi.yml#/components/schemas/criminal-justice-area-get-dto",
  "properties": {
    "code": {
      "description": "Code that identifies the Criminal Justice Area.",
      "type": "string"
    },
    "description": {
      "description": "Human-readable name of the Criminal Justice Area.",
      "type": "string"
    }
  },
  "required": [
    "code",
    "description"
  ],
  "type": "object"
}