{
  "openapi": "3.1.0",
  "info": {
    "title": "DeepSkipTrace API",
    "description": "Search DeepSkipTrace from your own programs, with the same searches, rules and skip prices as deepskiptrace.com. Make a key on the API page in DeepSkipTrace (account owners and admins) and send it with every call as `Authorization: Bearer <key>`. Guide: https://deepskiptrace.com/developers",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://deepskiptrace.com"
    }
  ],
  "paths": {
    "/api/v1/search": {
      "post": {
        "summary": "Run Search",
        "description": "Run a search. One that finds someone uses 1 skip; one that finds no one is free.\nThe same search your account ran in the last 30 days reopens free (reused: true)\nunless you send fresh: true.",
        "operationId": "run_search_api_v1_search_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchIn"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchOut"
                }
              }
            }
          },
          "401": {
            "description": "No key, a wrong key, or a key that was turned off or whose maker left the account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Out of skips, or the membership isn't active. Nothing was used",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "The login the key belongs to can't use DeepSkipTrace",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "422": {
            "description": "Not enough to search on, or more than one kind of search. Nothing was used",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "428": {
            "description": "Terms to agree to first: the key's maker (the Terms) or an owner or admin (the API agreement)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many calls this minute (see Retry-After), or a daily limit. Nothing was used",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "502": {
            "description": "The search didn't get an answer. Nothing was used: try again in a minute",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The API is switched off",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/people/{person_id}": {
      "post": {
        "summary": "Pull Forward",
        "description": "One person's full report, pulled forward from your account's saved search by the\nperson_id it listed them with (an address search's people carry it as open_url too).\nNothing is searched again. A person from an address search uses 1 skip the first time\nanyone on your account opens them, and is free after that; a person from a name, phone\nor email search is free (their report came with the search).",
        "operationId": "pull_forward_api_v1_people__person_id__post",
        "parameters": [
          {
            "name": "person_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "maxLength": 40,
              "description": "The person_id a search listed them with",
              "title": "Person Id"
            },
            "description": "The person_id a search listed them with"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenedOut"
                }
              }
            }
          },
          "401": {
            "description": "No key, a wrong key, or a key that was turned off or whose maker left the account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "Out of skips, or the membership isn't active. Nothing was used",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "The login the key belongs to can't use DeepSkipTrace",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not in your account's saved searches, or no such person in the search",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "Nothing to open (this search's people come whole), or a change at the same moment: try again",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "428": {
            "description": "Terms to agree to first: the key's maker (the Terms) or an owner or admin (the API agreement)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many calls this minute (see Retry-After), or a daily limit. Nothing was used",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The API is switched off",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/searches/{search_id}": {
      "get": {
        "summary": "Saved",
        "description": "A saved search, free: the same answer the search gave, with any reports opened since.",
        "operationId": "saved_api_v1_searches__search_id__get",
        "parameters": [
          {
            "name": "search_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "maxLength": 40,
              "title": "Search Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchOut"
                }
              }
            }
          },
          "401": {
            "description": "No key, a wrong key, or a key that was turned off or whose maker left the account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "The login the key belongs to can't use DeepSkipTrace",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Not in your account's saved searches, or no such person in the search",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "428": {
            "description": "Terms to agree to first: the key's maker (the Terms) or an owner or admin (the API agreement)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many calls this minute (see Retry-After), or a daily limit. Nothing was used",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The API is switched off",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/searches": {
      "get": {
        "summary": "History",
        "description": "Saved searches, newest first, 100 a page: the ones run by the person who made this key\n(on the site or with any of their keys), or the whole team's.",
        "operationId": "history_api_v1_searches_get",
        "parameters": [
          {
            "name": "scope",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "mine, or team (keys made by an owner or admin)",
              "default": "mine",
              "title": "Scope"
            },
            "description": "mine, or team (keys made by an owner or admin)"
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 200
                },
                {
                  "type": "null"
                }
              ],
              "title": "Cursor"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HistoryOut"
                }
              }
            }
          },
          "401": {
            "description": "No key, a wrong key, or a key that was turned off or whose maker left the account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "The login the key belongs to can't use DeepSkipTrace",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "428": {
            "description": "Terms to agree to first: the key's maker (the Terms) or an owner or admin (the API agreement)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many calls this minute (see Retry-After), or a daily limit. Nothing was used",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The API is switched off",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/account": {
      "get": {
        "summary": "Account",
        "description": "The account this key belongs to and its skips. Free.",
        "operationId": "account_api_v1_account_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountOut"
                }
              }
            }
          },
          "401": {
            "description": "No key, a wrong key, or a key that was turned off or whose maker left the account",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "The login the key belongs to can't use DeepSkipTrace",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "428": {
            "description": "Terms to agree to first: the key's maker (the Terms) or an owner or admin (the API agreement)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many calls this minute (see Retry-After), or a daily limit. Nothing was used",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "The API is switched off",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccountOut": {
        "properties": {
          "account": {
            "type": "object",
            "title": "Account",
            "description": "name, status (active, past_due, ...) and period_end"
          },
          "balance": {
            "$ref": "#/components/schemas/Balance"
          },
          "key": {
            "type": "object",
            "title": "Key",
            "description": "The key making this call: id and name"
          },
          "limits": {
            "type": "object",
            "title": "Limits",
            "description": "calls_per_minute (this key) and account_calls_per_minute (all of the account's keys together)"
          }
        },
        "type": "object",
        "required": [
          "account",
          "balance",
          "key",
          "limits"
        ],
        "title": "AccountOut"
      },
      "Address": {
        "properties": {
          "street": {
            "type": "string",
            "title": "Street"
          },
          "city": {
            "type": "string",
            "title": "City"
          },
          "state": {
            "type": "string",
            "title": "State"
          },
          "zip": {
            "type": "string",
            "title": "Zip"
          },
          "county": {
            "type": "string",
            "title": "County"
          },
          "first_seen": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Seen",
            "description": "YYYY-MM"
          },
          "last_seen": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Seen",
            "description": "YYYY-MM"
          },
          "owned": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owned",
            "description": "The person owns it today (their own addresses only)"
          },
          "owned_before": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owned Before",
            "description": "A property record at this address, but not theirs today (their own addresses only)"
          }
        },
        "type": "object",
        "required": [
          "street",
          "city",
          "state",
          "zip",
          "county"
        ],
        "title": "Address"
      },
      "Balance": {
        "properties": {
          "included": {
            "type": "integer",
            "title": "Included",
            "description": "This month's included skips left"
          },
          "purchased": {
            "type": "integer",
            "title": "Purchased",
            "description": "Purchased skips left"
          },
          "available": {
            "type": "integer",
            "title": "Available",
            "description": "Skips you can use now: included + purchased"
          },
          "in_use": {
            "type": "integer",
            "title": "In Use",
            "description": "Skips held for searches still running"
          }
        },
        "type": "object",
        "required": [
          "included",
          "purchased",
          "available",
          "in_use"
        ],
        "title": "Balance"
      },
      "Email": {
        "properties": {
          "address": {
            "type": "string",
            "title": "Address"
          },
          "inactive": {
            "type": "boolean",
            "title": "Inactive",
            "description": "True when the email's domain no longer takes mail"
          },
          "first_seen": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Seen",
            "description": "YYYY-MM"
          },
          "last_seen": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Seen",
            "description": "YYYY-MM"
          }
        },
        "type": "object",
        "required": [
          "address",
          "inactive"
        ],
        "title": "Email"
      },
      "HistoryOut": {
        "properties": {
          "searches": {
            "items": {
              "$ref": "#/components/schemas/SavedSearch"
            },
            "type": "array",
            "title": "Searches"
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cursor",
            "description": "Pass it back as ?cursor= for the next page; null at the end"
          },
          "scope": {
            "type": "string",
            "title": "Scope"
          }
        },
        "type": "object",
        "required": [
          "searches",
          "scope"
        ],
        "title": "HistoryOut"
      },
      "Loan": {
        "properties": {
          "date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date",
            "description": "YYYY-MM"
          },
          "amount": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Amount"
          },
          "type": {
            "type": "string",
            "title": "Type"
          }
        },
        "type": "object",
        "required": [
          "type"
        ],
        "title": "Loan"
      },
      "OpenedOut": {
        "properties": {
          "search_id": {
            "type": "string",
            "title": "Search Id",
            "description": "The saved search they came from"
          },
          "person_id": {
            "type": "string",
            "title": "Person Id"
          },
          "index": {
            "type": "integer",
            "title": "Index"
          },
          "skips_used": {
            "type": "integer",
            "title": "Skips Used",
            "description": "1 the first time anyone on your account opens a person from an address search, else 0"
          },
          "report": {
            "$ref": "#/components/schemas/Report"
          },
          "balance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Balance"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "search_id",
          "person_id",
          "index",
          "skips_used",
          "report"
        ],
        "title": "OpenedOut"
      },
      "Person": {
        "properties": {
          "person_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Person Id",
            "description": "DeepSkipTrace's id for this person on your account: POST /people/{person_id} pulls them forward from the saved search, for anyone on your team, every time this search is shown. null only when the search couldn't be saved"
          },
          "index": {
            "type": "integer",
            "title": "Index",
            "description": "Their place in this search"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "age": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Age"
          },
          "deceased": {
            "type": "boolean",
            "title": "Deceased"
          },
          "likely_deceased": {
            "type": "boolean",
            "title": "Likely Deceased",
            "description": "Not marked deceased, but aged 100 or older, so very likely has died"
          },
          "place": {
            "type": "string",
            "title": "Place",
            "description": "City and state of their first address"
          },
          "phone_count": {
            "type": "integer",
            "title": "Phone Count"
          },
          "relative_count": {
            "type": "integer",
            "title": "Relative Count"
          },
          "owner": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner",
            "description": "Address searches: an owner on record of the address searched (null for other searches)"
          },
          "last_seen_here": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Seen Here",
            "description": "Address searches: YYYY-MM they were last seen at the address searched"
          },
          "locked": {
            "type": "boolean",
            "title": "Locked",
            "description": "Address searches: true until your account opens this person's report (1 more skip the first time). Always false for other searches"
          },
          "open_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Open Url",
            "description": "Address searches: POST here for this person's full report, the same as POST /people/{person_id} (1 skip the first time, then free). null for other searches, whose reports come whole"
          },
          "report": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Report"
              },
              {
                "type": "null"
              }
            ],
            "description": "Their full report, or null while locked"
          }
        },
        "type": "object",
        "required": [
          "index",
          "name",
          "deceased",
          "likely_deceased",
          "place",
          "phone_count",
          "relative_count",
          "locked"
        ],
        "title": "Person",
        "description": "One person a search found. People are in the order our data ranks them: the first is\nthe best match."
      },
      "Phone": {
        "properties": {
          "number": {
            "type": "string",
            "title": "Number",
            "description": "Digits only"
          },
          "display": {
            "type": "string",
            "title": "Display",
            "examples": [
              "(608) 555-0134"
            ]
          },
          "type": {
            "type": "string",
            "title": "Type",
            "description": "mobile, landline, voip or unknown"
          },
          "carrier": {
            "type": "string",
            "title": "Carrier"
          },
          "disconnected": {
            "type": "boolean",
            "title": "Disconnected"
          },
          "business": {
            "type": "boolean",
            "title": "Business"
          },
          "flagged": {
            "type": "boolean",
            "title": "Flagged",
            "description": "True when the number may not be a real one"
          },
          "first_seen": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Seen",
            "description": "YYYY-MM"
          },
          "last_seen": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Seen",
            "description": "YYYY-MM"
          }
        },
        "type": "object",
        "required": [
          "number",
          "display",
          "type",
          "carrier",
          "disconnected",
          "business",
          "flagged"
        ],
        "title": "Phone"
      },
      "Property": {
        "properties": {
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "mailing_address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Address"
              },
              {
                "type": "null"
              }
            ],
            "description": "Where the owner gets mail, when it's elsewhere"
          },
          "owners": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Owners",
            "description": "The owners on record"
          },
          "owned_now": {
            "type": "boolean",
            "title": "Owned Now",
            "description": "This person is one of the owners on record"
          },
          "assessed_value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assessed Value"
          },
          "market_value": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Market Value"
          },
          "assessed_year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assessed Year"
          },
          "bedrooms": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bedrooms"
          },
          "bathrooms": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bathrooms"
          },
          "building_sqft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Building Sqft"
          },
          "lot_sqft": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lot Sqft"
          },
          "year_built": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Year Built"
          },
          "county": {
            "type": "string",
            "title": "County"
          },
          "parcel_number": {
            "type": "string",
            "title": "Parcel Number"
          },
          "foreclosure": {
            "type": "boolean",
            "title": "Foreclosure"
          },
          "sales": {
            "items": {
              "$ref": "#/components/schemas/Sale"
            },
            "type": "array",
            "title": "Sales",
            "description": "Recorded sales, in the order our data gives them"
          },
          "loans": {
            "items": {
              "$ref": "#/components/schemas/Loan"
            },
            "type": "array",
            "title": "Loans",
            "description": "Loans recorded with those sales, in the order our data gives them"
          }
        },
        "type": "object",
        "required": [
          "address",
          "owners",
          "owned_now",
          "county",
          "parcel_number",
          "foreclosure",
          "sales",
          "loans"
        ],
        "title": "Property"
      },
      "Relative": {
        "properties": {
          "relationship": {
            "type": "string",
            "title": "Relationship",
            "description": "Spouse, Ex-spouse, Child, Parent, Sibling, Other relative, In-law, Friend, Coworker, Landlord, Tenant, Neighbor, Past neighbor or Associate"
          },
          "group": {
            "type": "string",
            "title": "Group",
            "description": "family or associate"
          },
          "name": {
            "type": "string",
            "title": "Name"
          },
          "first_name": {
            "type": "string",
            "title": "First Name"
          },
          "last_name": {
            "type": "string",
            "title": "Last Name"
          },
          "age": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Age"
          },
          "deceased": {
            "type": "boolean",
            "title": "Deceased",
            "description": "True when we know this relative has died. False does not mean they're alive: our data doesn't mark relatives, so most who have died show false"
          },
          "likely_deceased": {
            "type": "boolean",
            "title": "Likely Deceased",
            "description": "Not marked deceased, but aged 100 or older, so very likely has died"
          },
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Address"
              },
              {
                "type": "null"
              }
            ]
          },
          "phones": {
            "items": {
              "$ref": "#/components/schemas/Phone"
            },
            "type": "array",
            "title": "Phones",
            "description": "Most relevant first"
          },
          "emails": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Emails",
            "description": "Most relevant first"
          }
        },
        "type": "object",
        "required": [
          "relationship",
          "group",
          "name",
          "first_name",
          "last_name",
          "deceased",
          "likely_deceased",
          "phones",
          "emails"
        ],
        "title": "Relative"
      },
      "Report": {
        "properties": {
          "person_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Person Id",
            "description": "The person's id on your account (see Person)"
          },
          "name": {
            "type": "string",
            "title": "Name",
            "description": "Their name as our data ranks first"
          },
          "first_name": {
            "type": "string",
            "title": "First Name"
          },
          "last_name": {
            "type": "string",
            "title": "Last Name"
          },
          "aliases": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Aliases",
            "description": "Other names they've used"
          },
          "age": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Age"
          },
          "deceased": {
            "type": "boolean",
            "title": "Deceased"
          },
          "likely_deceased": {
            "type": "boolean",
            "title": "Likely Deceased",
            "description": "Not marked deceased, but aged 100 or older, so very likely has died"
          },
          "date_of_death": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date Of Death",
            "description": "YYYY-MM, when known"
          },
          "addresses": {
            "items": {
              "$ref": "#/components/schemas/Address"
            },
            "type": "array",
            "title": "Addresses",
            "description": "Most relevant first"
          },
          "phones": {
            "items": {
              "$ref": "#/components/schemas/Phone"
            },
            "type": "array",
            "title": "Phones",
            "description": "Most relevant first"
          },
          "emails": {
            "items": {
              "$ref": "#/components/schemas/Email"
            },
            "type": "array",
            "title": "Emails",
            "description": "Most relevant first"
          },
          "properties": {
            "items": {
              "$ref": "#/components/schemas/Property"
            },
            "type": "array",
            "title": "Properties"
          },
          "relatives": {
            "items": {
              "$ref": "#/components/schemas/Relative"
            },
            "type": "array",
            "title": "Relatives",
            "description": "Most relevant first"
          }
        },
        "type": "object",
        "required": [
          "name",
          "first_name",
          "last_name",
          "aliases",
          "deceased",
          "likely_deceased",
          "addresses",
          "phones",
          "emails",
          "properties",
          "relatives"
        ],
        "title": "Report",
        "description": "Everything on one person: what the report on deepskiptrace.com shows. Every list is in\nthe order our data ranks it, so the first one is the most relevant."
      },
      "Sale": {
        "properties": {
          "date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date",
            "description": "YYYY-MM"
          },
          "price": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Price"
          },
          "seller": {
            "type": "string",
            "title": "Seller"
          },
          "buyer": {
            "type": "string",
            "title": "Buyer"
          },
          "deed_type": {
            "type": "string",
            "title": "Deed Type"
          }
        },
        "type": "object",
        "required": [
          "seller",
          "buyer",
          "deed_type"
        ],
        "title": "Sale"
      },
      "SavedSearch": {
        "properties": {
          "search_id": {
            "type": "string",
            "title": "Search Id"
          },
          "created_at": {
            "type": "string",
            "title": "Created At"
          },
          "type": {
            "type": "string",
            "title": "Type"
          },
          "query": {
            "type": "object",
            "title": "Query"
          },
          "label": {
            "type": "string",
            "title": "Label"
          },
          "results": {
            "type": "integer",
            "title": "Results"
          },
          "top": {
            "type": "string",
            "title": "Top",
            "description": "Who the search lists first"
          },
          "api_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Api Key",
            "description": "The id of the API key that ran it (null: run on the site)"
          }
        },
        "type": "object",
        "required": [
          "search_id",
          "created_at",
          "type",
          "query",
          "label",
          "results",
          "top"
        ],
        "title": "SavedSearch"
      },
      "SearchIn": {
        "properties": {
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name",
            "examples": [
              "Dana"
            ]
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name",
            "examples": [
              "Sample"
            ]
          },
          "street": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Street",
            "description": "A street address",
            "examples": [
              "123 Main St"
            ]
          },
          "city": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "City",
            "description": "With state, in place of a ZIP code"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "State",
            "description": "Two-letter code, like WI"
          },
          "zip": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Zip",
            "description": "5 digits",
            "examples": [
              "53517"
            ]
          },
          "phone": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Phone",
            "description": "10 digits, for a phone search"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email",
            "description": "For an email search"
          },
          "fresh": {
            "type": "boolean",
            "title": "Fresh",
            "description": "Search again even if your account ran this same search in the last 30 days (that one reopens free); a fresh search uses a skip",
            "default": false
          }
        },
        "type": "object",
        "title": "SearchIn",
        "description": "Who to look for. Send one kind of search: a first and last name with a ZIP code (or a\ncity and state), plus a street address to narrow it; a street address with a ZIP code\n(or a city and state) and no name, for everyone tied to that address; a phone number;\nor an email address."
      },
      "SearchOut": {
        "properties": {
          "status": {
            "type": "string",
            "title": "Status",
            "description": "found or no_match"
          },
          "type": {
            "type": "string",
            "title": "Type",
            "description": "name, address, phone or email"
          },
          "search_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Search Id",
            "description": "Reopen it free with GET /searches/{search_id}"
          },
          "created_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created At"
          },
          "reused": {
            "type": "boolean",
            "title": "Reused",
            "description": "True when this reopened a saved search: no skip was used"
          },
          "skips_used": {
            "type": "integer",
            "title": "Skips Used"
          },
          "query": {
            "type": "object",
            "title": "Query",
            "description": "The search as it was run"
          },
          "result_count": {
            "type": "integer",
            "title": "Result Count"
          },
          "truncated": {
            "type": "boolean",
            "title": "Truncated",
            "description": "True when more people matched than are listed (name, phone and email searches list the first 25)"
          },
          "people": {
            "items": {
              "$ref": "#/components/schemas/Person"
            },
            "type": "array",
            "title": "People",
            "description": "In the order our data ranks them: the best match first"
          },
          "owners_not_listed": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Owners Not Listed",
            "description": "Address searches: owners on record who aren't among the people found"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Message",
            "description": "With no_match: what to try next"
          },
          "balance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Balance"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "status",
          "type",
          "reused",
          "skips_used",
          "query",
          "result_count",
          "truncated",
          "people",
          "owners_not_listed"
        ],
        "title": "SearchOut"
      },
      "Error": {
        "type": "object",
        "properties": {
          "detail": {
            "type": "string",
            "description": "What went wrong, in a sentence"
          }
        },
        "required": [
          "detail"
        ]
      }
    },
    "securitySchemes": {
      "apiKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "Your API key: dst_live_..."
      }
    }
  },
  "security": [
    {
      "apiKey": []
    }
  ]
}
