{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aloha-pos/refs/heads/main/json-schema/ncr-voyix-platform-site-schema.json",
  "title": "Site",
  "description": "A site (location) provisioned on the NCR Voyix Platform.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The alphanumeric site identifier."
    },
    "siteName": {
      "type": "string",
      "description": "Display name of the site."
    },
    "enterpriseUnitName": {
      "type": "string",
      "description": "Enterprise unit name associated with the site."
    },
    "coordinates": {
      "type": "object",
      "description": "Geographic coordinates of the site.",
      "properties": {
        "latitude": { "type": "number", "format": "double" },
        "longitude": { "type": "number", "format": "double" }
      }
    },
    "status": {
      "type": "string",
      "description": "Site lifecycle status.",
      "enum": ["ACTIVE", "INACTIVE"]
    }
  },
  "required": ["siteName", "enterpriseUnitName", "status"]
}
