{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/absence-io/json-schema/absence-io-location-list-response-schema.json",
  "title": "LocationListResponse",
  "description": "Paginated list response containing location records.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/absence-io-locations-api-openapi.yml#/components/schemas/LocationListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "Array of location records.",
      "items": {
        "$ref": "#/$defs/Location"
      }
    },
    "skip": {
      "type": "integer"
    },
    "limit": {
      "type": "integer"
    },
    "count": {
      "type": "integer"
    }
  },
  "$defs": {
    "Location": {
      "title": "Location",
      "description": "An office or work location.",
      "type": "object",
      "properties": {
        "_id": {
          "type": "string",
          "description": "Unique identifier of the location."
        },
        "name": {
          "type": "string",
          "description": "Name of the location."
        },
        "timezone": {
          "type": "string",
          "description": "Timezone identifier for this location."
        },
        "country": {
          "type": "string",
          "description": "Country code for the location."
        }
      }
    }
  }
}