{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aegeanbot-com/json-schema/aegeanbot-com-property-in-schema.json",
  "title": "PropertyIn",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pms-aegeanbot-com-openapi.json#/components/schemas/PropertyIn",
  "properties": {
    "creation_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Creation Key"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "currency": {
      "type": "string",
      "title": "Currency",
      "default": "EUR"
    },
    "country": {
      "type": "string",
      "title": "Country",
      "default": "GR"
    },
    "timezone": {
      "type": "string",
      "title": "Timezone",
      "default": "Europe/Athens"
    },
    "property_type": {
      "type": "string",
      "title": "Property Type",
      "default": "apartment"
    },
    "address": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address"
    },
    "city": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "City"
    },
    "state": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "State"
    },
    "zip_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Zip Code"
    },
    "lat": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat"
    },
    "lng": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lng"
    },
    "location_precision": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Location Precision"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "photos": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Photos",
      "default": []
    },
    "tags": {
      "anyOf": [
        {
          "items": {},
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tags"
    },
    "availability_source": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "none",
            "scrape",
            "ical",
            "hosthub",
            "channex"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Availability Source"
    }
  },
  "type": "object",
  "required": [
    "title"
  ]
}