{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/housingfax-com/json-schema/housingfax-com-list-checks-output-schema.json",
  "title": "ListChecksOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/housingfax-com-api-openapi.json#/components/schemas/ListChecksOutput",
  "type": "object",
  "properties": {
    "contract": {
      "type": "string",
      "const": "agent-api-1.3.0"
    },
    "language": {
      "type": "string",
      "enum": [
        "es",
        "en",
        "de",
        "nl",
        "fr"
      ]
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "checks": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "number": {
            "type": "integer",
            "minimum": 1,
            "maximum": 99
          },
          "key": {
            "type": "string",
            "enum": [
              "aluminosis",
              "iee",
              "risks_by_year",
              "asbestos",
              "cadastral_record",
              "building_condition",
              "energy_certificate",
              "land_history",
              "ground_motion",
              "geology_and_drainage",
              "flooding",
              "seismic",
              "radon",
              "sun_hours",
              "solar_potential",
              "price_and_market",
              "surroundings_and_noise",
              "land_affections",
              "land_classification",
              "climate_and_light",
              "wildfire",
              "industrial_facilities",
              "public_safety"
            ]
          },
          "title": {
            "type": "string",
            "minLength": 1,
            "maxLength": 600
          },
          "question": {
            "type": "string",
            "minLength": 1,
            "maxLength": 600
          },
          "integration": {
            "type": "string",
            "enum": [
              "integrated",
              "pending_integration"
            ]
          },
          "includedIn": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "free",
                "simple",
                "complete"
              ]
            }
          }
        },
        "required": [
          "number",
          "key",
          "title",
          "question",
          "integration",
          "includedIn"
        ],
        "additionalProperties": false
      }
    },
    "semaphore": {
      "type": "object",
      "properties": {
        "ok": {
          "type": "string",
          "minLength": 1,
          "maxLength": 600
        },
        "attention": {
          "type": "string",
          "minLength": 1,
          "maxLength": 600
        },
        "no_data": {
          "type": "string",
          "minLength": 1,
          "maxLength": 600
        },
        "not_included": {
          "type": "string",
          "minLength": 1,
          "maxLength": 600
        }
      },
      "required": [
        "ok",
        "attention",
        "no_data",
        "not_included"
      ],
      "additionalProperties": false
    },
    "methodologyUrl": {
      "type": "string",
      "maxLength": 400,
      "pattern": "^https:\\/\\/[^\\s]+$"
    }
  },
  "required": [
    "contract",
    "language",
    "count",
    "checks",
    "semaphore",
    "methodologyUrl"
  ],
  "additionalProperties": false
}