Economic Group Updated
v1.0.0eventsAn economic group changed in CNA Nexus - renamed, toggled active or soft-deleted (there is no delete event). cna-one mirrors the new state by id.
1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "title": "EconomicGroupUpdated payload",
4 "type": "object",
5 "additionalProperties": false,
6 "properties": {
7 "id": {
8 "type": "string",
9 "description": "Economic group id (UUID). Kafka message key; cna-one mirrors the group under this id."
10 },
11 "name": {
12 "type": "string",
13 "description": "Group name, unique among non-deleted groups."
14 },
15 "isActive": {
16 "type": "boolean",
17 "description": "Whether the group is active. False after a soft delete."
18 },
19 "createdAt": {
20 "type": "string",
21 "format": "date-time",
22 "description": "Creation instant. Absent from cna-one's copy of the type."
23 },
24 "updatedAt": {
25 "type": "string",
26 "format": "date-time",
27 "description": "Last update instant. Absent from cna-one's copy of the type."
28 },
29 "deletedAt": {
30 "type": ["string", "null"],
31 "format": "date-time",
32 "description": "Soft-delete instant, or null. Always present as a key."
33 }
34 },
35 "required": ["id", "name", "isActive", "createdAt", "updatedAt", "deletedAt"]
36}
37Details
- Format
- JSON Schema
- Resource
- events
- Filename
- schema.json