{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://structure.api-evangelist.com/acuity-brands/acuity-brands-order-structure.json",
  "title": "Order",
  "description": "An Acuity Brands order with status and shipment information",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "string"
    },
    "purchaseOrderNumber": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "orderDate": {
      "type": "string"
    },
    "estimatedShipDate": {
      "type": "string"
    },
    "actualShipDate": {
      "type": "string"
    },
    "lineItems": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "totalAmount": {
      "type": "number"
    },
    "shipToAddress": {
      "type": "object"
    }
  }
}