{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://thesoftwarelens.com/saacip/0.2/schemas/ack-response.schema.json",
  "$comment": "SaaCIP 0.2 (https://thesoftwarelens.com/saacip/). Licensed under the Apache License 2.0.",
  "title": "SaaCIP 0.2 HTTP binding: acknowledgement response",
  "description": "200 response to POST <base>/inbox/ack/: how many of each were marked delivered.",
  "type": "object",
  "required": [
    "approvals",
    "outcomes"
  ],
  "properties": {
    "approvals": {
      "type": "integer",
      "minimum": 0
    },
    "outcomes": {
      "type": "integer",
      "minimum": 0
    },
    "work_items": {
      "type": "integer",
      "minimum": 0,
      "description": "How many handed-off items were marked delivered. Added in 0.2."
    }
  }
}
