json icon

Contract Activation Requested

v1.0.0events

A user saved a contract for activation. cna-nexus's activation consumer turns it ACTIVE and creates or updates the franchise unit it governs.

1{
2  "$schema": "https://json-schema.org/draft/2020-12/schema",
3  "title": "ContractActivationRequested payload",
4  "type": "object",
5  "additionalProperties": false,
6  "properties": {
7    "contractId": {
8      "type": "string",
9      "description": "Contract id (UUID) in cna-nexus contract.contracts. Kafka message key."
10    },
11    "userId": {
12      "type": "string",
13      "description": "User who saved the contract (authorization.users). Recorded as the author of the audit rows written by the activation."
14    }
15  },
16  "required": ["contractId", "userId"]
17}
18

Details

Format
JSON Schema
Resource
events
Filename
schema.json

Versions