{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/subastech-com/json-schema/subastech-com-busqueda-schema.json",
  "title": "Busqueda",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/subastech-com-openapi.json#/components/schemas/Busqueda",
  "type": "object",
  "required": [
    "q",
    "directHit",
    "chips",
    "freeText",
    "listUrl"
  ],
  "properties": {
    "q": {
      "type": "string"
    },
    "directHit": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "chips": {
      "type": "object",
      "properties": {
        "type": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "muni": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "description": "prov:muni"
              },
              "label": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "min": {
      "type": [
        "number",
        "null"
      ]
    },
    "max": {
      "type": [
        "number",
        "null"
      ]
    },
    "areaMin": {
      "type": [
        "number",
        "null"
      ]
    },
    "areaMax": {
      "type": [
        "number",
        "null"
      ]
    },
    "freeText": {
      "type": "string"
    },
    "listUrl": {
      "type": "string",
      "format": "uri",
      "description": "/v1/subastas con los filtros ya aplicados"
    }
  }
}