{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RentalProperty",
  "title": "RentalProperty",
  "type": "object",
  "properties": {
    "propertyId": {
      "type": "string"
    },
    "propertyName": {
      "type": "string"
    },
    "address": {
      "type": "object",
      "properties": {
        "line1": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      }
    },
    "listingPlatforms": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Platforms where the property is listed (e.g., Airbnb, VRBO)"
    },
    "propertyType": {
      "type": "string",
      "enum": [
        "House",
        "Apartment",
        "Condo",
        "Room",
        "Other"
      ]
    }
  }
}