{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getlandlens-com/json-schema/getlandlens-com-property-summary-schema.json",
  "title": "PropertySummary",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getlandlens-com-openapi.json#/components/schemas/PropertySummary",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "address": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "collegeId": {
      "type": "string"
    },
    "grade": {
      "type": [
        "string",
        "null"
      ]
    },
    "avgRating": {
      "type": "number"
    },
    "reviewCount": {
      "type": "integer"
    },
    "records": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Record"
      }
    }
  },
  "$defs": {
    "Record": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "eviction",
            "violation",
            "permit",
            "license"
          ]
        },
        "date": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        },
        "source": {
          "type": "string"
        }
      }
    }
  }
}