{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/swopme-co/json-schema/swopme-co-get-api-v5-merchant-locations-response-schema.json",
  "title": "GetApiV5MerchantLocationsResponse",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/swopme-co-openapi-generated.yml#/components/schemas/GetApiV5MerchantLocationsResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "locationId": {
            "type": "string"
          },
          "merchantId": {
            "type": "string"
          },
          "micrositeId": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "location": {
            "type": "object",
            "properties": {
              "lat": {
                "type": "number"
              },
              "lng": {
                "type": "number"
              }
            }
          },
          "radiusMeters": {
            "type": "integer"
          },
          "status": {
            "type": "string"
          },
          "viewerIsMerchant": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      }
    }
  }
}