Skip to content

Commit b4d2957

Browse files
committed
Update to edition-arica of the Eiffel protocol
1 parent f83c561 commit b4d2957

23 files changed

+810
-154
lines changed

src/eiffel_graphql_api/graphql/schemas/events/json_schemas/EiffelActivityCanceledEvent.json

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@
1111
},
1212
"type": {
1313
"type": "string",
14-
"enum": ["EiffelActivityCanceledEvent"]
14+
"enum": [
15+
"EiffelActivityCanceledEvent"
16+
]
1517
},
1618
"version": {
1719
"type": "string",
18-
"enum": [ "3.0.0" ],
19-
"default": "3.0.0"
20+
"enum": [
21+
"3.2.0"
22+
],
23+
"default": "3.2.0"
2024
},
2125
"time": {
2226
"type": "integer"
@@ -63,7 +67,20 @@
6367
},
6468
"alg": {
6569
"type": "string",
66-
"enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"]
70+
"enum": [
71+
"HS256",
72+
"HS384",
73+
"HS512",
74+
"RS256",
75+
"RS384",
76+
"RS512",
77+
"ES256",
78+
"ES384",
79+
"ES512",
80+
"PS256",
81+
"PS384",
82+
"PS512"
83+
]
6784
},
6885
"publicKey": {
6986
"type": "string"
@@ -99,6 +116,9 @@
99116
"required": [
100117
"authorIdentity"
101118
]
119+
},
120+
"schemaUri": {
121+
"type": "string"
102122
}
103123
},
104124
"required": [
@@ -123,8 +143,7 @@
123143
"key": {
124144
"type": "string"
125145
},
126-
"value": {
127-
}
146+
"value": {}
128147
},
129148
"required": [
130149
"key",
@@ -147,6 +166,9 @@
147166
"target": {
148167
"type": "string",
149168
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
169+
},
170+
"domainId": {
171+
"type": "string"
150172
}
151173
},
152174
"required": [

src/eiffel_graphql_api/graphql/schemas/events/json_schemas/EiffelActivityFinishedEvent.json

Lines changed: 37 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@
1111
},
1212
"type": {
1313
"type": "string",
14-
"enum": ["EiffelActivityFinishedEvent"]
14+
"enum": [
15+
"EiffelActivityFinishedEvent"
16+
]
1517
},
1618
"version": {
1719
"type": "string",
18-
"enum": [ "3.0.0" ],
19-
"default": "3.0.0"
20+
"enum": [
21+
"3.3.0"
22+
],
23+
"default": "3.3.0"
2024
},
2125
"time": {
2226
"type": "integer"
@@ -63,7 +67,20 @@
6367
},
6468
"alg": {
6569
"type": "string",
66-
"enum": ["HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "PS256", "PS384", "PS512"]
70+
"enum": [
71+
"HS256",
72+
"HS384",
73+
"HS512",
74+
"RS256",
75+
"RS384",
76+
"RS512",
77+
"ES256",
78+
"ES384",
79+
"ES512",
80+
"PS256",
81+
"PS384",
82+
"PS512"
83+
]
6784
},
6885
"publicKey": {
6986
"type": "string"
@@ -99,6 +116,9 @@
99116
"required": [
100117
"authorIdentity"
101118
]
119+
},
120+
"schemaUri": {
121+
"type": "string"
102122
}
103123
},
104124
"required": [
@@ -139,9 +159,18 @@
139159
"items": {
140160
"type": "object",
141161
"properties": {
162+
"mediaType": {
163+
"type": "string"
164+
},
142165
"name": {
143166
"type": "string"
144167
},
168+
"tags": {
169+
"type": "array",
170+
"items": {
171+
"type": "string"
172+
}
173+
},
145174
"uri": {
146175
"type": "string"
147176
}
@@ -161,8 +190,7 @@
161190
"key": {
162191
"type": "string"
163192
},
164-
"value": {
165-
}
193+
"value": {}
166194
},
167195
"required": [
168196
"key",
@@ -188,6 +216,9 @@
188216
"target": {
189217
"type": "string",
190218
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
219+
},
220+
"domainId": {
221+
"type": "string"
191222
}
192223
},
193224
"required": [

src/eiffel_graphql_api/graphql/schemas/events/json_schemas/EiffelActivityStartedEvent.json

Lines changed: 71 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@
1111
},
1212
"type": {
1313
"type": "string",
14-
"enum": ["EiffelActivityStartedEvent"]
14+
"enum": [
15+
"EiffelActivityStartedEvent"
16+
]
1517
},
1618
"version": {
1719
"type": "string",
18-
"enum": [ "3.0.0" ],
19-
"default": "3.0.0"
20+
"enum": [
21+
"4.3.0"
22+
],
23+
"default": "4.3.0"
2024
},
2125
"time": {
2226
"type": "integer"
@@ -52,24 +56,69 @@
5256
"security": {
5357
"type": "object",
5458
"properties": {
55-
"sdm": {
59+
"authorIdentity": {
60+
"type": "string"
61+
},
62+
"integrityProtection": {
5663
"type": "object",
5764
"properties": {
58-
"authorIdentity": {
65+
"signature": {
5966
"type": "string"
6067
},
61-
"encryptedDigest": {
68+
"alg": {
69+
"type": "string",
70+
"enum": [
71+
"HS256",
72+
"HS384",
73+
"HS512",
74+
"RS256",
75+
"RS384",
76+
"RS512",
77+
"ES256",
78+
"ES384",
79+
"ES512",
80+
"PS256",
81+
"PS384",
82+
"PS512"
83+
]
84+
},
85+
"publicKey": {
6286
"type": "string"
6387
}
6488
},
6589
"required": [
66-
"authorIdentity",
67-
"encryptedDigest"
90+
"signature",
91+
"alg"
6892
],
6993
"additionalProperties": false
94+
},
95+
"sequenceProtection": {
96+
"type": "array",
97+
"items": {
98+
"type": "object",
99+
"properties": {
100+
"sequenceName": {
101+
"type": "string"
102+
},
103+
"position": {
104+
"type": "integer"
105+
}
106+
},
107+
"additionalProperties": false,
108+
"required": [
109+
"sequenceName",
110+
"position"
111+
]
112+
}
70113
}
71114
},
72-
"additionalProperties": false
115+
"additionalProperties": false,
116+
"required": [
117+
"authorIdentity"
118+
]
119+
},
120+
"schemaUri": {
121+
"type": "string"
73122
}
74123
},
75124
"required": [
@@ -91,9 +140,18 @@
91140
"items": {
92141
"type": "object",
93142
"properties": {
143+
"mediaType": {
144+
"type": "string"
145+
},
94146
"name": {
95147
"type": "string"
96148
},
149+
"tags": {
150+
"type": "array",
151+
"items": {
152+
"type": "string"
153+
}
154+
},
97155
"uri": {
98156
"type": "string"
99157
}
@@ -113,8 +171,7 @@
113171
"key": {
114172
"type": "string"
115173
},
116-
"value": {
117-
}
174+
"value": {}
118175
},
119176
"required": [
120177
"key",
@@ -137,6 +194,9 @@
137194
"target": {
138195
"type": "string",
139196
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
197+
},
198+
"domainId": {
199+
"type": "string"
140200
}
141201
},
142202
"required": [

0 commit comments

Comments
 (0)