{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evictionsapi-com/json-schema/evictionsapi-com-landlord-schema.json",
  "title": "Landlord",
  "description": "An owner the organization acts for, as a property manager: a profile reused across cases, never an account. It belongs to the organization, whatever the mode, and only live cases take one: a live key and a signed-in person see it, a test key never does. An archived landlord keeps its cases and is hidden from `GET /v1/landlords` unless `includeArchived=true`. At most 1,000 per organization, archived ones included.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evictionsapi-com-api-evictions-openapi.json#/components/schemas/Landlord",
  "type": "object",
  "required": [
    "id",
    "name",
    "isEntity",
    "plaintiffType",
    "ownerOfRecord",
    "contact",
    "notes",
    "archived",
    "caseCount",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "isEntity": {
      "type": "boolean",
      "description": "A company, trust or other entity rather than a person."
    },
    "plaintiffType": {
      "enum": [
        "individual",
        "corporation",
        "llc",
        "partnership",
        "trust",
        "estate",
        "other",
        null
      ],
      "description": "The legal type of the plaintiff, as the full service asks it; null when not given."
    },
    "ownerOfRecord": {
      "type": "string",
      "description": "The owner of record of the properties; the name unless given."
    },
    "contact": {
      "type": "object",
      "required": [
        "address",
        "phone",
        "email"
      ],
      "properties": {
        "address": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        },
        "email": {
          "type": [
            "string",
            "null"
          ],
          "format": "email"
        }
      }
    },
    "notes": {
      "type": [
        "string",
        "null"
      ],
      "description": "The organization's own notes; never on a court document."
    },
    "archived": {
      "type": "boolean"
    },
    "caseCount": {
      "type": "integer",
      "description": "How many of the organization's cases in the key's mode name this landlord."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}