Shell · Schema

Order

AviationElectric Vehicle ChargingEnergyFleet ManagementFuelGasLoyaltyLubricantsMobilityOil and GasRenewable Energy

Properties

Name Type Description
orderId string
accountNumber string
status string
orderDate string
expectedDeliveryDate string
deliveryAddress object
items array
totalAmount number
currency string
tracking object
View JSON Schema on GitHub

JSON Schema

shell-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Order",
  "title": "Order",
  "type": "object",
  "properties": {
    "orderId": {
      "type": "string"
    },
    "accountNumber": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "Pending",
        "Confirmed",
        "Processing",
        "Shipped",
        "Delivered",
        "Cancelled"
      ]
    },
    "orderDate": {
      "type": "string",
      "format": "date-time"
    },
    "expectedDeliveryDate": {
      "type": "string",
      "format": "date"
    },
    "deliveryAddress": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "street": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      }
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OrderItem"
      }
    },
    "totalAmount": {
      "type": "number",
      "format": "float"
    },
    "currency": {
      "type": "string"
    },
    "tracking": {
      "type": "object"
    }
  }
}