{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dealroom/json-schema/dealroom-geo-point-list-response-schema.json",
  "title": "GeoPointListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dealroom-entities-api-openapi.yml#/components/schemas/GeoPointListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GeoPoint"
      }
    },
    "page": {
      "type": "object",
      "properties": {
        "total": {
          "type": [
            "number",
            "null"
          ]
        },
        "limit": {
          "type": "number"
        },
        "offset": {
          "type": "number"
        },
        "next_cursor": {
          "type": [
            "string",
            "null"
          ],
          "description": "Opaque cursor for the next page. Null when no further pages exist."
        },
        "prev_cursor": {
          "type": [
            "string",
            "null"
          ],
          "description": "Opaque cursor for the previous page. Null when on the first page."
        }
      },
      "required": [
        "total",
        "limit",
        "offset",
        "next_cursor",
        "prev_cursor"
      ]
    }
  },
  "required": [
    "data",
    "page"
  ],
  "$defs": {
    "GeoPoint": {
      "type": "object",
      "properties": {
        "uuid": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "lat": {
          "type": [
            "number",
            "null"
          ]
        },
        "lon": {
          "type": [
            "number",
            "null"
          ]
        },
        "hq_country": {
          "type": [
            "string",
            "null"
          ]
        },
        "hq_city": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "uuid",
        "name",
        "lat",
        "lon",
        "hq_country",
        "hq_city"
      ]
    }
  }
}