{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kibo-commerce/main/json-schema/kibo-commerce-location-response-schema.json",
  "title": "LocationResponse",
  "description": "Location Response Object",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kibo-commerce-inventory-openapi.yml#/components/schemas/LocationResponse",
  "properties": {
    "active": {
      "description": "Flag for whether the location is active",
      "type": "boolean"
    },
    "countryCode": {
      "description": "Country Code",
      "type": "string"
    },
    "directShip": {
      "description": "Flag for whether the location allows Direct Ship (STH) orders",
      "type": "boolean"
    },
    "express": {
      "description": "Flag for whether the location is express enabled or not",
      "type": "boolean"
    },
    "includeInAggregate": {
      "description": "Flag for whether the location is to be included in aggregate exports",
      "type": "boolean"
    },
    "includeInLocationExport": {
      "description": "Flag for whether the location is to be included in location exports",
      "type": "boolean"
    },
    "latitude": {
      "description": "Latitude",
      "type": "number"
    },
    "locationCode": {
      "description": "Location Code",
      "type": "string"
    },
    "locationID": {
      "description": "Internal Location ID",
      "type": "integer"
    },
    "locationName": {
      "description": "Location Name",
      "type": "string"
    },
    "longitude": {
      "description": "Longitude",
      "type": "number"
    },
    "messages": {
      "description": "List of messages",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "numResults": {
      "description": "Number of results",
      "type": "integer"
    },
    "pickup": {
      "description": "Flag for whether the location allows Pickup (BOPIS) orders",
      "type": "boolean"
    },
    "postalCode": {
      "description": "Postal Code",
      "type": "string"
    },
    "success": {
      "description": "Flag for success",
      "type": "boolean"
    },
    "tenantID": {
      "description": "Tenant ID",
      "type": "integer"
    },
    "transferEnabled": {
      "description": "Flag for whether the location allows Transfer orders",
      "type": "boolean"
    },
    "wmsEnabled": {
      "description": "Flag for whether the location is WMS Enabled",
      "type": "boolean"
    }
  },
  "type": "object"
}