{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/prospectapis/json-schema/prospectapis-website-contacts-result-schema.json",
  "title": "WebsiteContactsResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/prospectapis-email-verification-api-openapi.yml#/components/schemas/WebsiteContactsResult",
  "type": "object",
  "properties": {
    "key": {
      "type": "object",
      "properties": {
        "company_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "domain": {
          "type": "string"
        }
      }
    },
    "company_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "domain": {
      "type": "string"
    },
    "url": {
      "type": [
        "string",
        "null"
      ]
    },
    "objective": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "ok",
        "no_contacts",
        "unreadable",
        "robots_disallowed"
      ]
    },
    "contacts": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WebsiteContact"
      }
    },
    "people_found": {
      "type": "integer"
    },
    "addresses_found": {
      "type": "integer"
    },
    "pages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "http_status": {
            "type": [
              "integer",
              "null"
            ]
          },
          "outcome": {
            "type": "string",
            "enum": [
              "read",
              "not_found",
              "blocked",
              "http_error",
              "timeout",
              "too_large",
              "error",
              "offsite_redirect",
              "too_many_redirects",
              "not_html",
              "robots_disallowed",
              "duplicate"
            ]
          },
          "bytes": {
            "type": "integer"
          }
        }
      }
    },
    "robots": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "ok",
            "absent",
            "unreachable"
          ]
        },
        "disallowed": {
          "type": "integer"
        }
      }
    },
    "charged_contacts": {
      "type": "integer"
    },
    "amount_usd": {
      "type": "number"
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "checked_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "$defs": {
    "WebsiteContact": {
      "type": "object",
      "properties": {
        "rank": {
          "type": "integer",
          "minimum": 1
        },
        "fingerprint": {
          "type": "string",
          "pattern": "^[0-9a-f]{64}$",
          "description": "Stable across runs: sha256 of person, domain and the folded name for a person; of inbox, domain and the address otherwise."
        },
        "source_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "description": "The page the contact was first found on."
        },
        "kind": {
          "type": "string",
          "enum": [
            "person",
            "role_inbox",
            "unattributed"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "first_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "last_name": {
          "type": [
            "string",
            "null"
          ]
        },
        "role": {
          "type": [
            "string",
            "null"
          ]
        },
        "role_fit": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "email_method": {
          "type": "string",
          "enum": [
            "published",
            "pattern_verified",
            "catch_all_guess",
            "none"
          ]
        },
        "pattern": {
          "type": [
            "string",
            "null"
          ]
        },
        "verification": {
          "type": [
            "object",
            "null"
          ],
          "description": "The mailbox verdict for this address, or null when it was not checked.",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "valid",
                "invalid",
                "catch-all",
                "unknown"
              ]
            },
            "score": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100
            },
            "recommendation": {
              "type": "string",
              "enum": [
                "send",
                "send_with_caution",
                "retry_later",
                "do_not_send"
              ]
            },
            "reason": {
              "type": "string"
            },
            "reason_text": {
              "type": "string"
            }
          }
        },
        "charged": {
          "type": "boolean"
        },
        "evidence": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              },
              "source_type": {
                "type": "string",
                "enum": [
                  "jsonld",
                  "meta_author",
                  "feed",
                  "team_text",
                  "mailto",
                  "text"
                ]
              },
              "snippet": {
                "type": "string",
                "maxLength": 200
              }
            }
          }
        }
      }
    }
  }
}