{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hg-insights/json-schema/hg-insights-contract-search-response-schema.json",
  "title": "ContractSearchResponse",
  "description": "Paginated list of contracts matching the search criteria.",
  "x-generated": "2026-12-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hg-insights-openapi.yaml#/components/schemas/ContractSearchResponse",
  "properties": {
    "count": {
      "description": "Total number of contracts matching the filters (before pagination)",
      "type": "integer",
      "x-struct": null,
      "x-validate": null
    },
    "records": {
      "description": "List of contract records matching the search criteria",
      "items": {
        "type": "object",
        "x-struct": null,
        "x-validate": null
      },
      "type": "array",
      "x-struct": null,
      "x-validate": null
    }
  },
  "required": [
    "count",
    "records"
  ],
  "type": "object",
  "x-struct": "Elixir.TalariaWeb.Schemas.V2.Contracts.Search.Response",
  "x-validate": null
}