{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/smartroutes-io/json-schema/smartroutes-io-order-status-option-schema.json",
  "title": "OrderStatusOption",
  "description": "A status your organisation can apply to an order.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/smartroutes-io-openapi.json#/components/schemas/OrderStatusOption",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "The status name, exactly as it appears on an order. Use this value to remove the status via `DELETE /order-statuses/{status}`."
    },
    "is_custom": {
      "type": "boolean",
      "description": "`true` for a status your organisation added. `false` for the SmartRoutes defaults every organisation has, which cannot be added or removed."
    }
  }
}