{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/asendia/main/json-schema/asendia-void-sales-order-schema.json",
  "title": "VoidSalesOrder",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asendia-a1-fulfillment-openapi.yml#/components/schemas/VoidSalesOrder",
  "required": [
    "accountNumber",
    "orderNumber",
    "processingLocation"
  ],
  "type": "object",
  "properties": {
    "orderNumber": {
      "minLength": 5,
      "type": "string",
      "description": "The Order Number of the Sales Order"
    },
    "accountNumber": {
      "maxLength": 12,
      "minLength": 5,
      "type": "string",
      "description": "Asendia's account number designated for the shipper. This will be provided at account setup."
    },
    "processingLocation": {
      "maxLength": 3,
      "minLength": 3,
      "type": "string",
      "description": "The Asendia's location in where the physical package will be processed.\r\nPossible values: SFO, MIA, JFK, PHL, ORD, LAX, SLC, TOR, CAL"
    }
  },
  "additionalProperties": false
}