OrderCompensationDeleted
v0.0.1

OrderCompensationDeleted

This event is triggered when an order compensation has been deleted.

OrderCompensationDeleted Schema (json)
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "OrderCompensationDeleted",
  "required": ["detail-type", "resources", "detail", "id", "source", "time", "region", "version", "account"],
  "type": "object",
  "properties": {
    "account": {
      "type": "string"
    },
    "detail": {
      "$ref": "#/definitions/Detail"
    },
    "detail-type": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "resources": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "source": {
      "type": "string"
    },
    "time": {
      "format": "date-time",
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  },
  "definitions": {
    "Detail": {
      "properties": {
        "data": {
          "$ref": "#/definitions/Data"
        },
        "metadata": {
          "$ref": "#/definitions/Metadata"
        }
      },
      "required": ["metadata", "data"],
      "type": "object"
    },
    "Metadata": {
      "type": "object",
      "required": ["awsRequestId"],
      "properties": {
        "awsRequestId": {
          "type": "string"
        },
        "isTruncated": {
          "type": "boolean"
        }
      }
    },
    "Data": {
      "$ref": "#/definitions/OrderCompensatedDeleted"
    },
    "OrderCompensatedDeleted": {
      "type": "object",
      "required": ["id", "orderId", "timestamp", "revision"],
      "properties": {
        "id": {
          "type": "string",
          "description": "The compensation id"
        },
        "orderId": {
          "type": "string",
          "description": "The order id"
        },
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "description": "Approximately when the order compensation was deleted"
        },
        "revision": {
          "description": "The revision number of the order compensation",
          "type": "integer"
        }
      }
    }
  }
}
Last updated on 2026/3/3