{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compuute-se/json-schema/compuute-se-validate-response-schema.json",
  "title": "ValidateResponse",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/leads-compuute-se-openapi.json#/components/schemas/ValidateResponse",
  "properties": {
    "results": {
      "items": {
        "$ref": "#/$defs/LeadValidation"
      },
      "type": "array",
      "title": "Results"
    },
    "total_checked": {
      "type": "integer",
      "title": "Total Checked"
    },
    "valid_count": {
      "type": "integer",
      "title": "Valid Count"
    },
    "stale_count": {
      "type": "integer",
      "title": "Stale Count"
    },
    "unreachable_count": {
      "type": "integer",
      "title": "Unreachable Count"
    },
    "not_found_count": {
      "type": "integer",
      "title": "Not Found Count"
    }
  },
  "type": "object",
  "required": [
    "results",
    "total_checked",
    "valid_count",
    "stale_count",
    "unreachable_count",
    "not_found_count"
  ],
  "$defs": {
    "LeadValidation": {
      "properties": {
        "lead_id": {
          "type": "string",
          "format": "uuid",
          "title": "Lead Id"
        },
        "company_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Company Name"
        },
        "website": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Website"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "freshness_days": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Freshness Days"
        },
        "website_reachable": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Website Reachable"
        },
        "detail": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Detail"
        }
      },
      "type": "object",
      "required": [
        "lead_id",
        "status"
      ],
      "title": "LeadValidation"
    }
  }
}