{
  "$id": "https://schema.nfh.global/CancelAction/v2.0",
  "x-iri": "https://schema.nfh.global/CancelAction/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Cancel Action",
  "description": "Beckn /beckn/cancel message payload. Sent by a BAP to a BPP to request cancellation of an active contract. Set context.try to true to first retrieve cancellation terms and fees before committing. (Context wrapper stripped; only the message-content portion is inlined.)",
  "properties": {
    "contract": {
      "allOf": [
        {
          "$ref": "https://schema.nfh.global/Contract/v2.0/schema.json"
        },
        {
          "required": [
            "id"
          ]
        }
      ]
    }
  },
  "required": [
    "contract"
  ]
}
