Shell · Schema

OrderItem

AviationElectric Vehicle ChargingEnergyFleet ManagementFuelGasLoyaltyLubricantsMobilityOil and GasRenewable Energy

Properties

Name Type Description
productId string
productName string
quantity number
unit string
unitPrice number
totalPrice number
View JSON Schema on GitHub

JSON Schema

shell-orderitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderItem",
  "title": "OrderItem",
  "type": "object",
  "properties": {
    "productId": {
      "type": "string"
    },
    "productName": {
      "type": "string"
    },
    "quantity": {
      "type": "number",
      "format": "float"
    },
    "unit": {
      "type": "string",
      "enum": [
        "litre",
        "kg",
        "drum",
        "pail",
        "can"
      ]
    },
    "unitPrice": {
      "type": "number",
      "format": "float"
    },
    "totalPrice": {
      "type": "number",
      "format": "float"
    }
  }
}