{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://artifacts.apis.io/fareharbor/json-schema/fareharbor-lodgings-response-json-schema-schema.json",
  "title": "LODGINGS_RESPONSE_JSON_SCHEMA",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fareharbor-lodging-endpoints-api-openapi.yml#/components/schemas/LODGINGS_RESPONSE_JSON_SCHEMA",
  "additionalProperties": false,
  "definitions": {
    "lodging": {
      "additionalProperties": false,
      "properties": {
        "address": {
          "description": "The lodging's address.",
          "type": "string"
        },
        "is_self_lodging": {
          "description": "Whether the lodging is a customer provided, non-hotel lodging (e.g. private residence).",
          "type": "boolean"
        },
        "name": {
          "description": "The lodging's name.",
          "type": "string"
        },
        "phone": {
          "description": "The lodging's phone number.",
          "type": "string"
        },
        "pk": {
          "description": "The lodging's unique ID.",
          "format": "int32",
          "type": "number"
        },
        "url": {
          "description": "The lodging's URL.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "pk",
        "name",
        "phone",
        "address",
        "url",
        "is_self_lodging"
      ],
      "type": "object"
    }
  },
  "properties": {
    "lodgings": {
      "items": {
        "$ref": "#/$defs/lodging"
      },
      "type": "array"
    }
  },
  "required": [
    "lodgings"
  ],
  "type": "object"
}