{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/alert-camp/json-schema/alert-camp-platform-list-response-schema.json",
  "title": "PlatformListResponse",
  "description": "Wrapper response for ``GET /platforms``.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/alert-camp-platforms-v4-api-openapi.yml#/components/schemas/PlatformListResponse",
  "properties": {
    "platforms": {
      "items": {
        "$ref": "#/$defs/PlatformResponse"
      },
      "type": "array",
      "title": "Platforms"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    }
  },
  "type": "object",
  "required": [
    "platforms",
    "total"
  ],
  "$defs": {
    "PlatformResponse": {
      "properties": {
        "id": {
          "type": "string",
          "maxLength": 50,
          "title": "Id"
        },
        "name": {
          "type": "string",
          "maxLength": 100,
          "title": "Name"
        },
        "scanner_name": {
          "type": "string",
          "maxLength": 50,
          "title": "Scanner Name"
        },
        "quota_bucket": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Quota Bucket"
        },
        "country": {
          "type": "string",
          "maxLength": 10,
          "title": "Country"
        },
        "base_booking_url": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 255
            },
            {
              "type": "null"
            }
          ],
          "title": "Base Booking Url"
        },
        "website_url": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 255
            },
            {
              "type": "null"
            }
          ],
          "title": "Website Url"
        },
        "is_active": {
          "type": "boolean",
          "title": "Is Active",
          "default": true
        },
        "show_quota_banner": {
          "type": "boolean",
          "title": "Show Quota Banner",
          "default": true
        },
        "immediate_poll_all": {
          "type": "boolean",
          "title": "Immediate Poll All",
          "default": false
        },
        "has_equipment_filter": {
          "type": "boolean",
          "title": "Has Equipment Filter",
          "default": false
        },
        "has_pets_filter": {
          "type": "boolean",
          "title": "Has Pets Filter",
          "default": false
        },
        "has_electricity_data": {
          "type": "boolean",
          "title": "Has Electricity Data",
          "default": false
        },
        "has_accessibility_data": {
          "type": "boolean",
          "title": "Has Accessibility Data",
          "default": false
        },
        "has_pull_through_data": {
          "type": "boolean",
          "title": "Has Pull Through Data",
          "default": false
        },
        "has_split_stay": {
          "type": "boolean",
          "title": "Has Split Stay",
          "default": false
        },
        "has_cross_listings": {
          "type": "boolean",
          "title": "Has Cross Listings",
          "default": false
        },
        "requires_paid_tier": {
          "type": "boolean",
          "title": "Requires Paid Tier",
          "default": false
        },
        "requires_url": {
          "type": "boolean",
          "title": "Requires Url",
          "default": true
        },
        "requires_resource_id": {
          "type": "boolean",
          "title": "Requires Resource Id",
          "default": false
        },
        "booking_roofed_tab_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Booking Roofed Tab Id"
        },
        "booking_roofed_category_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Booking Roofed Category Id"
        },
        "booking_camping_tab_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Booking Camping Tab Id"
        },
        "booking_camping_category_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Booking Camping Category Id"
        },
        "hides_party_size_for_camping": {
          "type": "boolean",
          "title": "Hides Party Size For Camping",
          "default": false
        },
        "has_van_equipment_category": {
          "type": "boolean",
          "title": "Has Van Equipment Category",
          "default": false
        },
        "icon_key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Icon Key"
        },
        "expected_url_domain": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Expected Url Domain"
        },
        "reservation_url_template": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Reservation Url Template"
        },
        "has_site_map": {
          "type": "boolean",
          "title": "Has Site Map",
          "default": false
        },
        "has_geographic_site_picker": {
          "type": "boolean",
          "title": "Has Geographic Site Picker",
          "default": false
        },
        "has_geo_campground_photo_site_picker": {
          "type": "boolean",
          "title": "Has Geo Campground Photo Site Picker",
          "default": false
        },
        "has_canoe_camping": {
          "type": "boolean",
          "title": "Has Canoe Camping",
          "default": false
        },
        "has_backcountry": {
          "type": "boolean",
          "title": "Has Backcountry",
          "default": false
        },
        "has_day_use": {
          "type": "boolean",
          "title": "Has Day Use",
          "default": false
        },
        "has_backcountry_zone": {
          "type": "boolean",
          "title": "Has Backcountry Zone",
          "default": false
        },
        "has_entry_date_quota": {
          "type": "boolean",
          "title": "Has Entry Date Quota",
          "default": false
        },
        "has_release_schedule": {
          "type": "boolean",
          "title": "Has Release Schedule",
          "default": false
        },
        "fetch_is_month_bucketed": {
          "type": "boolean",
          "title": "Fetch Is Month Bucketed",
          "default": false
        },
        "has_sequence_constraint": {
          "type": "boolean",
          "title": "Has Sequence Constraint",
          "default": false
        },
        "supports_routes": {
          "type": "boolean",
          "title": "Supports Routes",
          "default": false
        },
        "zone_is_trip_unit": {
          "type": "boolean",
          "title": "Zone Is Trip Unit",
          "default": false
        },
        "party_size_gates_inventory": {
          "type": "boolean",
          "title": "Party Size Gates Inventory",
          "default": false
        },
        "webview_booking": {
          "type": "boolean",
          "title": "Webview Booking",
          "default": false
        },
        "webview_route_booking": {
          "type": "boolean",
          "title": "Webview Route Booking",
          "default": false
        },
        "webview_inject_script": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Webview Inject Script"
        },
        "webview_preseed_origin": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Webview Preseed Origin"
        },
        "webview_user_agent": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Webview User Agent"
        },
        "backcountry_has_equipment_filter": {
          "type": "boolean",
          "title": "Backcountry Has Equipment Filter",
          "default": false
        },
        "backcountry_equipment_category_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Backcountry Equipment Category Id"
        },
        "canoe_camping_equipment_category_id": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Canoe Camping Equipment Category Id"
        },
        "canoe_camping_has_equipment_filter": {
          "type": "boolean",
          "title": "Canoe Camping Has Equipment Filter",
          "default": false
        },
        "has_hot_spot": {
          "type": "boolean",
          "title": "Has Hot Spot",
          "default": true
        },
        "max_date_range_days": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Max Date Range Days"
        },
        "max_stay_nights": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Max Stay Nights"
        },
        "date_range_cap_enabled": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Date Range Cap Enabled"
        },
        "max_advance_days": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Max Advance Days"
        },
        "advance_days_cap_enabled": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "Advance Days Cap Enabled"
        },
        "monitoring_disabled": {
          "type": "boolean",
          "title": "Monitoring Disabled",
          "default": false
        }
      },
      "type": "object",
      "required": [
        "id",
        "name",
        "scanner_name",
        "country"
      ],
      "title": "PlatformResponse",
      "description": "Public-facing platform metadata returned by ``GET /platforms``."
    }
  }
}