{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hmcts/json-schema/hmcts-search-input-definition-schema.json",
  "title": "SearchInputDefinition",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hmcts-display-api-openapi.yml#/components/schemas/SearchInputDefinition",
  "type": "object",
  "properties": {
    "fields": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SearchInputFields"
      }
    }
  },
  "$defs": {
    "SearchInputFields": {
      "type": "object",
      "properties": {
        "case_type_id": {
          "type": "string"
        },
        "case_field_id": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "order": {
          "type": "integer",
          "format": "int32"
        }
      }
    }
  }
}