@ixo/editor 6.32.0 → 6.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,214 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://ixo.world/schemas/qi/action-manifest-v2.schema.json",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "required": [
7
+ "manifestVersion",
8
+ "manifestId",
9
+ "generatedAt",
10
+ "package",
11
+ "issuer",
12
+ "compatibility",
13
+ "actions",
14
+ "primitives",
15
+ "integrity"
16
+ ],
17
+ "properties": {
18
+ "manifestVersion": {
19
+ "const": "2.0"
20
+ },
21
+ "manifestId": {
22
+ "type": "string",
23
+ "minLength": 1
24
+ },
25
+ "generatedAt": {
26
+ "type": "string",
27
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$"
28
+ },
29
+ "package": {
30
+ "type": "object",
31
+ "additionalProperties": false,
32
+ "required": [
33
+ "name",
34
+ "version",
35
+ "sourceCommit"
36
+ ],
37
+ "properties": {
38
+ "name": {
39
+ "type": "string",
40
+ "minLength": 1
41
+ },
42
+ "version": {
43
+ "type": "string",
44
+ "minLength": 1
45
+ },
46
+ "sourceCommit": {
47
+ "type": "string",
48
+ "minLength": 1
49
+ },
50
+ "buildId": {
51
+ "type": "string",
52
+ "minLength": 1
53
+ },
54
+ "distributionUrl": {
55
+ "type": "string",
56
+ "pattern": "^[a-zA-Z][a-zA-Z0-9+.-]*:"
57
+ }
58
+ }
59
+ },
60
+ "issuer": {
61
+ "type": "object",
62
+ "additionalProperties": false,
63
+ "required": [
64
+ "did",
65
+ "verificationMethod"
66
+ ],
67
+ "properties": {
68
+ "did": {
69
+ "type": "string",
70
+ "pattern": "^did:[a-z0-9]+:.+"
71
+ },
72
+ "verificationMethod": {
73
+ "type": "string",
74
+ "pattern": "^did:[a-z0-9]+:.+#.+"
75
+ }
76
+ }
77
+ },
78
+ "compatibility": {
79
+ "type": "object",
80
+ "additionalProperties": false,
81
+ "required": [
82
+ "engine",
83
+ "flowSchemaVersions",
84
+ "features"
85
+ ],
86
+ "properties": {
87
+ "engine": {
88
+ "type": "object",
89
+ "additionalProperties": false,
90
+ "required": [
91
+ "versionRange"
92
+ ],
93
+ "properties": {
94
+ "versionRange": {
95
+ "type": "string",
96
+ "minLength": 1
97
+ }
98
+ }
99
+ },
100
+ "flowSchemaVersions": {
101
+ "type": "array",
102
+ "minItems": 1,
103
+ "uniqueItems": true,
104
+ "items": {
105
+ "type": "string",
106
+ "minLength": 1
107
+ }
108
+ },
109
+ "features": {
110
+ "type": "array",
111
+ "minItems": 1,
112
+ "uniqueItems": true,
113
+ "items": {
114
+ "type": "string",
115
+ "minLength": 1
116
+ }
117
+ }
118
+ }
119
+ },
120
+ "actions": {
121
+ "type": "array",
122
+ "items": {
123
+ "$ref": "#/$defs/contract"
124
+ }
125
+ },
126
+ "primitives": {
127
+ "type": "array",
128
+ "items": {
129
+ "$ref": "#/$defs/contract"
130
+ }
131
+ },
132
+ "integrity": {
133
+ "type": "object",
134
+ "additionalProperties": false,
135
+ "required": [
136
+ "canonicalization",
137
+ "digest",
138
+ "signature"
139
+ ],
140
+ "properties": {
141
+ "canonicalization": {
142
+ "const": "RFC8785"
143
+ },
144
+ "digest": {
145
+ "type": "object",
146
+ "additionalProperties": false,
147
+ "required": [
148
+ "algorithm",
149
+ "value"
150
+ ],
151
+ "properties": {
152
+ "algorithm": {
153
+ "const": "SHA-256"
154
+ },
155
+ "value": {
156
+ "type": "string",
157
+ "pattern": "^sha256:[0-9a-f]{64}$"
158
+ }
159
+ }
160
+ },
161
+ "signature": {
162
+ "type": "object",
163
+ "additionalProperties": false,
164
+ "required": [
165
+ "algorithm",
166
+ "verificationMethod",
167
+ "value"
168
+ ],
169
+ "properties": {
170
+ "algorithm": {
171
+ "type": "string",
172
+ "minLength": 1
173
+ },
174
+ "verificationMethod": {
175
+ "type": "string",
176
+ "pattern": "^did:[a-z0-9]+:.+#.+"
177
+ },
178
+ "value": {
179
+ "type": "string",
180
+ "minLength": 1
181
+ }
182
+ }
183
+ }
184
+ }
185
+ }
186
+ },
187
+ "$defs": {
188
+ "contract": {
189
+ "type": "object",
190
+ "required": [
191
+ "type",
192
+ "contractVersion"
193
+ ],
194
+ "properties": {
195
+ "type": {
196
+ "type": "string",
197
+ "minLength": 1
198
+ },
199
+ "contractVersion": {
200
+ "type": "string",
201
+ "minLength": 1
202
+ },
203
+ "aliases": {
204
+ "type": "array",
205
+ "uniqueItems": true,
206
+ "items": {
207
+ "type": "string",
208
+ "minLength": 1
209
+ }
210
+ }
211
+ }
212
+ }
213
+ }
214
+ }