@accordproject/concerto-cto 4.2.0 → 5.0.0-beta.2
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.
- package/dist/esm/chunk-ADOFOC62.mjs +381 -0
- package/dist/esm/chunk-ADOFOC62.mjs.map +7 -0
- package/dist/esm/chunk-ADZEFNZ5.mjs +46 -0
- package/dist/esm/chunk-ADZEFNZ5.mjs.map +7 -0
- package/dist/esm/chunk-AKCFZ6K2.mjs +53 -0
- package/dist/esm/chunk-AKCFZ6K2.mjs.map +7 -0
- package/dist/esm/chunk-L6QXUSLL.mjs +819 -0
- package/dist/esm/chunk-L6QXUSLL.mjs.map +7 -0
- package/dist/esm/chunk-WNU2QZFD.mjs +40 -0
- package/dist/esm/chunk-WNU2QZFD.mjs.map +7 -0
- package/dist/esm/chunk-Z274WV22.mjs +11851 -0
- package/dist/esm/chunk-Z274WV22.mjs.map +7 -0
- package/dist/esm/external.mjs +15 -0
- package/dist/esm/external.mjs.map +7 -0
- package/dist/esm/index.mjs +23 -0
- package/dist/esm/index.mjs.map +7 -0
- package/dist/esm/parseexception.mjs +12 -0
- package/dist/esm/parseexception.mjs.map +7 -0
- package/dist/esm/parserMain.mjs +16 -0
- package/dist/esm/parserMain.mjs.map +7 -0
- package/dist/esm/printer.mjs +12 -0
- package/dist/esm/printer.mjs.map +7 -0
- package/dist/esm-browser/chunk-5Z2F6LHO.mjs +933 -0
- package/dist/esm-browser/chunk-5Z2F6LHO.mjs.map +7 -0
- package/dist/esm-browser/chunk-E5UYTZNO.mjs +1696 -0
- package/dist/esm-browser/chunk-E5UYTZNO.mjs.map +7 -0
- package/dist/esm-browser/chunk-HZQXVGUH.mjs +56 -0
- package/dist/esm-browser/chunk-HZQXVGUH.mjs.map +7 -0
- package/dist/esm-browser/chunk-MSZDQHW6.mjs +66 -0
- package/dist/esm-browser/chunk-MSZDQHW6.mjs.map +7 -0
- package/dist/esm-browser/chunk-OMK4IF4X.mjs +48 -0
- package/dist/esm-browser/chunk-OMK4IF4X.mjs.map +7 -0
- package/dist/esm-browser/chunk-TQPDAJQB.mjs +11851 -0
- package/dist/esm-browser/chunk-TQPDAJQB.mjs.map +7 -0
- package/dist/esm-browser/chunk-W7LTTM2O.mjs +385 -0
- package/dist/esm-browser/chunk-W7LTTM2O.mjs.map +7 -0
- package/dist/esm-browser/external.mjs +14 -0
- package/dist/esm-browser/external.mjs.map +7 -0
- package/dist/esm-browser/index.mjs +27 -0
- package/dist/esm-browser/index.mjs.map +7 -0
- package/dist/esm-browser/parseexception.mjs +10 -0
- package/dist/esm-browser/parseexception.mjs.map +7 -0
- package/dist/esm-browser/parserMain.mjs +15 -0
- package/dist/esm-browser/parserMain.mjs.map +7 -0
- package/dist/esm-browser/printer.mjs +11 -0
- package/dist/esm-browser/printer.mjs.map +7 -0
- package/dist/external.d.ts +11 -5
- package/dist/external.js +6 -2
- package/dist/external.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +11 -8
- package/dist/index.js.map +1 -1
- package/dist/parseexception.d.ts +2 -1
- package/dist/parseexception.js +6 -4
- package/dist/parseexception.js.map +1 -1
- package/dist/parser.js +379 -176
- package/dist/parser.js.map +1 -1
- package/dist/parserMain.d.ts +5 -5
- package/dist/parserMain.js +47 -6
- package/dist/parserMain.js.map +1 -1
- package/dist/printer.d.ts +3 -3
- package/dist/printer.js +40 -8
- package/dist/printer.js.map +1 -1
- package/package.json +19 -11
- package/dist/concerto-cto.js +0 -2
- package/dist/concerto-cto.js.LICENSE.txt +0 -12
|
@@ -0,0 +1,1696 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS,
|
|
3
|
+
init_browser_process_shim
|
|
4
|
+
} from "./chunk-MSZDQHW6.mjs";
|
|
5
|
+
|
|
6
|
+
// node_modules/@accordproject/concerto-metamodel/lib/metamodel.json
|
|
7
|
+
var require_metamodel = __commonJS({
|
|
8
|
+
"node_modules/@accordproject/concerto-metamodel/lib/metamodel.json"(exports, module) {
|
|
9
|
+
module.exports = {
|
|
10
|
+
$class: "concerto.metamodel@1.0.0.Model",
|
|
11
|
+
decorators: [
|
|
12
|
+
{
|
|
13
|
+
$class: "concerto.metamodel@1.0.0.Decorator",
|
|
14
|
+
name: "DotNetNamespace",
|
|
15
|
+
arguments: [
|
|
16
|
+
{
|
|
17
|
+
$class: "concerto.metamodel@1.0.0.DecoratorString",
|
|
18
|
+
value: "AccordProject.Concerto.Metamodel"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
namespace: "concerto.metamodel@1.0.0",
|
|
24
|
+
imports: [],
|
|
25
|
+
declarations: [
|
|
26
|
+
{
|
|
27
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
28
|
+
name: "Position",
|
|
29
|
+
isAbstract: false,
|
|
30
|
+
properties: [
|
|
31
|
+
{
|
|
32
|
+
$class: "concerto.metamodel@1.0.0.IntegerProperty",
|
|
33
|
+
name: "line",
|
|
34
|
+
isArray: false,
|
|
35
|
+
isOptional: false
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
$class: "concerto.metamodel@1.0.0.IntegerProperty",
|
|
39
|
+
name: "column",
|
|
40
|
+
isArray: false,
|
|
41
|
+
isOptional: false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
$class: "concerto.metamodel@1.0.0.IntegerProperty",
|
|
45
|
+
name: "offset",
|
|
46
|
+
isArray: false,
|
|
47
|
+
isOptional: false
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
53
|
+
name: "Range",
|
|
54
|
+
isAbstract: false,
|
|
55
|
+
properties: [
|
|
56
|
+
{
|
|
57
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
58
|
+
name: "start",
|
|
59
|
+
type: {
|
|
60
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
61
|
+
name: "Position"
|
|
62
|
+
},
|
|
63
|
+
isArray: false,
|
|
64
|
+
isOptional: false
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
68
|
+
name: "end",
|
|
69
|
+
type: {
|
|
70
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
71
|
+
name: "Position"
|
|
72
|
+
},
|
|
73
|
+
isArray: false,
|
|
74
|
+
isOptional: false
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
78
|
+
name: "source",
|
|
79
|
+
isArray: false,
|
|
80
|
+
isOptional: true
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
86
|
+
name: "TypeIdentifier",
|
|
87
|
+
isAbstract: false,
|
|
88
|
+
properties: [
|
|
89
|
+
{
|
|
90
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
91
|
+
name: "name",
|
|
92
|
+
isArray: false,
|
|
93
|
+
isOptional: false
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
97
|
+
name: "namespace",
|
|
98
|
+
isArray: false,
|
|
99
|
+
isOptional: true
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
103
|
+
name: "resolvedName",
|
|
104
|
+
isArray: false,
|
|
105
|
+
isOptional: true
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
111
|
+
name: "DecoratorLiteral",
|
|
112
|
+
isAbstract: true,
|
|
113
|
+
properties: [
|
|
114
|
+
{
|
|
115
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
116
|
+
name: "location",
|
|
117
|
+
type: {
|
|
118
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
119
|
+
name: "Range"
|
|
120
|
+
},
|
|
121
|
+
isArray: false,
|
|
122
|
+
isOptional: true
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
128
|
+
name: "DecoratorString",
|
|
129
|
+
isAbstract: false,
|
|
130
|
+
properties: [
|
|
131
|
+
{
|
|
132
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
133
|
+
name: "value",
|
|
134
|
+
isArray: false,
|
|
135
|
+
isOptional: false
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
superType: {
|
|
139
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
140
|
+
name: "DecoratorLiteral"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
145
|
+
name: "DecoratorNumber",
|
|
146
|
+
isAbstract: false,
|
|
147
|
+
properties: [
|
|
148
|
+
{
|
|
149
|
+
$class: "concerto.metamodel@1.0.0.DoubleProperty",
|
|
150
|
+
name: "value",
|
|
151
|
+
isArray: false,
|
|
152
|
+
isOptional: false
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
superType: {
|
|
156
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
157
|
+
name: "DecoratorLiteral"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
162
|
+
name: "DecoratorBoolean",
|
|
163
|
+
isAbstract: false,
|
|
164
|
+
properties: [
|
|
165
|
+
{
|
|
166
|
+
$class: "concerto.metamodel@1.0.0.BooleanProperty",
|
|
167
|
+
name: "value",
|
|
168
|
+
isArray: false,
|
|
169
|
+
isOptional: false
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
superType: {
|
|
173
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
174
|
+
name: "DecoratorLiteral"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
179
|
+
name: "DecoratorTypeReference",
|
|
180
|
+
isAbstract: false,
|
|
181
|
+
properties: [
|
|
182
|
+
{
|
|
183
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
184
|
+
name: "type",
|
|
185
|
+
type: {
|
|
186
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
187
|
+
name: "TypeIdentifier"
|
|
188
|
+
},
|
|
189
|
+
isArray: false,
|
|
190
|
+
isOptional: false
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
$class: "concerto.metamodel@1.0.0.BooleanProperty",
|
|
194
|
+
name: "isArray",
|
|
195
|
+
isArray: false,
|
|
196
|
+
isOptional: false,
|
|
197
|
+
defaultValue: false
|
|
198
|
+
}
|
|
199
|
+
],
|
|
200
|
+
superType: {
|
|
201
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
202
|
+
name: "DecoratorLiteral"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
207
|
+
name: "Decorator",
|
|
208
|
+
isAbstract: false,
|
|
209
|
+
properties: [
|
|
210
|
+
{
|
|
211
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
212
|
+
name: "name",
|
|
213
|
+
isArray: false,
|
|
214
|
+
isOptional: false
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
218
|
+
name: "arguments",
|
|
219
|
+
type: {
|
|
220
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
221
|
+
name: "DecoratorLiteral"
|
|
222
|
+
},
|
|
223
|
+
isArray: true,
|
|
224
|
+
isOptional: true
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
228
|
+
name: "location",
|
|
229
|
+
type: {
|
|
230
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
231
|
+
name: "Range"
|
|
232
|
+
},
|
|
233
|
+
isArray: false,
|
|
234
|
+
isOptional: true
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
240
|
+
name: "Identified",
|
|
241
|
+
isAbstract: false,
|
|
242
|
+
properties: []
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
246
|
+
name: "IdentifiedBy",
|
|
247
|
+
isAbstract: false,
|
|
248
|
+
properties: [
|
|
249
|
+
{
|
|
250
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
251
|
+
name: "name",
|
|
252
|
+
isArray: false,
|
|
253
|
+
isOptional: false
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
superType: {
|
|
257
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
258
|
+
name: "Identified"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
263
|
+
name: "Declaration",
|
|
264
|
+
isAbstract: true,
|
|
265
|
+
properties: [
|
|
266
|
+
{
|
|
267
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
268
|
+
name: "name",
|
|
269
|
+
isArray: false,
|
|
270
|
+
isOptional: false,
|
|
271
|
+
validator: {
|
|
272
|
+
$class: "concerto.metamodel@1.0.0.StringRegexValidator",
|
|
273
|
+
pattern: "^(\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4})(?:\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4}|\\p{Mn}|\\p{Mc}|\\p{Nd}|\\p{Pc}|\\u200C|\\u200D)*$",
|
|
274
|
+
flags: "u"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
279
|
+
name: "decorators",
|
|
280
|
+
type: {
|
|
281
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
282
|
+
name: "Decorator"
|
|
283
|
+
},
|
|
284
|
+
isArray: true,
|
|
285
|
+
isOptional: true
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
289
|
+
name: "location",
|
|
290
|
+
type: {
|
|
291
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
292
|
+
name: "Range"
|
|
293
|
+
},
|
|
294
|
+
isArray: false,
|
|
295
|
+
isOptional: true
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
301
|
+
name: "MapKeyType",
|
|
302
|
+
isAbstract: true,
|
|
303
|
+
properties: [
|
|
304
|
+
{
|
|
305
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
306
|
+
name: "decorators",
|
|
307
|
+
type: {
|
|
308
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
309
|
+
name: "Decorator"
|
|
310
|
+
},
|
|
311
|
+
isArray: true,
|
|
312
|
+
isOptional: true
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
316
|
+
name: "location",
|
|
317
|
+
type: {
|
|
318
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
319
|
+
name: "Range"
|
|
320
|
+
},
|
|
321
|
+
isArray: false,
|
|
322
|
+
isOptional: true
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
328
|
+
name: "MapValueType",
|
|
329
|
+
isAbstract: true,
|
|
330
|
+
properties: [
|
|
331
|
+
{
|
|
332
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
333
|
+
name: "decorators",
|
|
334
|
+
type: {
|
|
335
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
336
|
+
name: "Decorator"
|
|
337
|
+
},
|
|
338
|
+
isArray: true,
|
|
339
|
+
isOptional: true
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
343
|
+
name: "location",
|
|
344
|
+
type: {
|
|
345
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
346
|
+
name: "Range"
|
|
347
|
+
},
|
|
348
|
+
isArray: false,
|
|
349
|
+
isOptional: true
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
355
|
+
name: "MapDeclaration",
|
|
356
|
+
isAbstract: false,
|
|
357
|
+
properties: [
|
|
358
|
+
{
|
|
359
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
360
|
+
name: "key",
|
|
361
|
+
type: {
|
|
362
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
363
|
+
name: "MapKeyType"
|
|
364
|
+
},
|
|
365
|
+
isArray: false,
|
|
366
|
+
isOptional: false
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
370
|
+
name: "value",
|
|
371
|
+
type: {
|
|
372
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
373
|
+
name: "MapValueType"
|
|
374
|
+
},
|
|
375
|
+
isArray: false,
|
|
376
|
+
isOptional: false
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
superType: {
|
|
380
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
381
|
+
name: "Declaration"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
386
|
+
name: "StringMapKeyType",
|
|
387
|
+
isAbstract: false,
|
|
388
|
+
properties: [],
|
|
389
|
+
superType: {
|
|
390
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
391
|
+
name: "MapKeyType"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
396
|
+
name: "DateTimeMapKeyType",
|
|
397
|
+
isAbstract: false,
|
|
398
|
+
properties: [],
|
|
399
|
+
superType: {
|
|
400
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
401
|
+
name: "MapKeyType"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
406
|
+
name: "ObjectMapKeyType",
|
|
407
|
+
isAbstract: false,
|
|
408
|
+
properties: [
|
|
409
|
+
{
|
|
410
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
411
|
+
name: "type",
|
|
412
|
+
type: {
|
|
413
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
414
|
+
name: "TypeIdentifier"
|
|
415
|
+
},
|
|
416
|
+
isArray: false,
|
|
417
|
+
isOptional: false
|
|
418
|
+
}
|
|
419
|
+
],
|
|
420
|
+
superType: {
|
|
421
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
422
|
+
name: "MapKeyType"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
427
|
+
name: "BooleanMapValueType",
|
|
428
|
+
isAbstract: false,
|
|
429
|
+
properties: [],
|
|
430
|
+
superType: {
|
|
431
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
432
|
+
name: "MapValueType"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
437
|
+
name: "DateTimeMapValueType",
|
|
438
|
+
isAbstract: false,
|
|
439
|
+
properties: [],
|
|
440
|
+
superType: {
|
|
441
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
442
|
+
name: "MapValueType"
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
447
|
+
name: "StringMapValueType",
|
|
448
|
+
isAbstract: false,
|
|
449
|
+
properties: [],
|
|
450
|
+
superType: {
|
|
451
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
452
|
+
name: "MapValueType"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
457
|
+
name: "IntegerMapValueType",
|
|
458
|
+
isAbstract: false,
|
|
459
|
+
properties: [],
|
|
460
|
+
superType: {
|
|
461
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
462
|
+
name: "MapValueType"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
467
|
+
name: "LongMapValueType",
|
|
468
|
+
isAbstract: false,
|
|
469
|
+
properties: [],
|
|
470
|
+
superType: {
|
|
471
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
472
|
+
name: "MapValueType"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
477
|
+
name: "DoubleMapValueType",
|
|
478
|
+
isAbstract: false,
|
|
479
|
+
properties: [],
|
|
480
|
+
superType: {
|
|
481
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
482
|
+
name: "MapValueType"
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
487
|
+
name: "ObjectMapValueType",
|
|
488
|
+
isAbstract: false,
|
|
489
|
+
properties: [
|
|
490
|
+
{
|
|
491
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
492
|
+
name: "type",
|
|
493
|
+
type: {
|
|
494
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
495
|
+
name: "TypeIdentifier"
|
|
496
|
+
},
|
|
497
|
+
isArray: false,
|
|
498
|
+
isOptional: false
|
|
499
|
+
}
|
|
500
|
+
],
|
|
501
|
+
superType: {
|
|
502
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
503
|
+
name: "MapValueType"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
508
|
+
name: "RelationshipMapValueType",
|
|
509
|
+
isAbstract: false,
|
|
510
|
+
properties: [
|
|
511
|
+
{
|
|
512
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
513
|
+
name: "type",
|
|
514
|
+
type: {
|
|
515
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
516
|
+
name: "TypeIdentifier"
|
|
517
|
+
},
|
|
518
|
+
isArray: false,
|
|
519
|
+
isOptional: false
|
|
520
|
+
}
|
|
521
|
+
],
|
|
522
|
+
superType: {
|
|
523
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
524
|
+
name: "MapValueType"
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
529
|
+
name: "EnumDeclaration",
|
|
530
|
+
isAbstract: false,
|
|
531
|
+
properties: [
|
|
532
|
+
{
|
|
533
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
534
|
+
name: "properties",
|
|
535
|
+
type: {
|
|
536
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
537
|
+
name: "EnumProperty"
|
|
538
|
+
},
|
|
539
|
+
isArray: true,
|
|
540
|
+
isOptional: false
|
|
541
|
+
}
|
|
542
|
+
],
|
|
543
|
+
superType: {
|
|
544
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
545
|
+
name: "Declaration"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
550
|
+
name: "EnumProperty",
|
|
551
|
+
isAbstract: false,
|
|
552
|
+
properties: [
|
|
553
|
+
{
|
|
554
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
555
|
+
name: "name",
|
|
556
|
+
isArray: false,
|
|
557
|
+
isOptional: false,
|
|
558
|
+
validator: {
|
|
559
|
+
$class: "concerto.metamodel@1.0.0.StringRegexValidator",
|
|
560
|
+
pattern: "^(\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4})(?:\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4}|\\p{Mn}|\\p{Mc}|\\p{Nd}|\\p{Pc}|\\u200C|\\u200D)*$",
|
|
561
|
+
flags: "u"
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
566
|
+
name: "decorators",
|
|
567
|
+
type: {
|
|
568
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
569
|
+
name: "Decorator"
|
|
570
|
+
},
|
|
571
|
+
isArray: true,
|
|
572
|
+
isOptional: true
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
576
|
+
name: "location",
|
|
577
|
+
type: {
|
|
578
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
579
|
+
name: "Range"
|
|
580
|
+
},
|
|
581
|
+
isArray: false,
|
|
582
|
+
isOptional: true
|
|
583
|
+
}
|
|
584
|
+
]
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
588
|
+
name: "ConceptDeclaration",
|
|
589
|
+
isAbstract: false,
|
|
590
|
+
properties: [
|
|
591
|
+
{
|
|
592
|
+
$class: "concerto.metamodel@1.0.0.BooleanProperty",
|
|
593
|
+
name: "isAbstract",
|
|
594
|
+
isArray: false,
|
|
595
|
+
isOptional: false,
|
|
596
|
+
defaultValue: false
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
600
|
+
name: "identified",
|
|
601
|
+
type: {
|
|
602
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
603
|
+
name: "Identified"
|
|
604
|
+
},
|
|
605
|
+
isArray: false,
|
|
606
|
+
isOptional: true
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
610
|
+
name: "superType",
|
|
611
|
+
type: {
|
|
612
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
613
|
+
name: "TypeIdentifier"
|
|
614
|
+
},
|
|
615
|
+
isArray: false,
|
|
616
|
+
isOptional: true
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
620
|
+
name: "properties",
|
|
621
|
+
type: {
|
|
622
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
623
|
+
name: "Property"
|
|
624
|
+
},
|
|
625
|
+
isArray: true,
|
|
626
|
+
isOptional: false
|
|
627
|
+
}
|
|
628
|
+
],
|
|
629
|
+
superType: {
|
|
630
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
631
|
+
name: "Declaration"
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
636
|
+
name: "AssetDeclaration",
|
|
637
|
+
isAbstract: false,
|
|
638
|
+
properties: [],
|
|
639
|
+
superType: {
|
|
640
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
641
|
+
name: "ConceptDeclaration"
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
646
|
+
name: "ParticipantDeclaration",
|
|
647
|
+
isAbstract: false,
|
|
648
|
+
properties: [],
|
|
649
|
+
superType: {
|
|
650
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
651
|
+
name: "ConceptDeclaration"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
656
|
+
name: "TransactionDeclaration",
|
|
657
|
+
isAbstract: false,
|
|
658
|
+
properties: [],
|
|
659
|
+
superType: {
|
|
660
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
661
|
+
name: "ConceptDeclaration"
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
666
|
+
name: "EventDeclaration",
|
|
667
|
+
isAbstract: false,
|
|
668
|
+
properties: [],
|
|
669
|
+
superType: {
|
|
670
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
671
|
+
name: "ConceptDeclaration"
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
676
|
+
name: "Property",
|
|
677
|
+
isAbstract: true,
|
|
678
|
+
properties: [
|
|
679
|
+
{
|
|
680
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
681
|
+
name: "name",
|
|
682
|
+
isArray: false,
|
|
683
|
+
isOptional: false,
|
|
684
|
+
validator: {
|
|
685
|
+
$class: "concerto.metamodel@1.0.0.StringRegexValidator",
|
|
686
|
+
pattern: "^(\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4})(?:\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4}|\\p{Mn}|\\p{Mc}|\\p{Nd}|\\p{Pc}|\\u200C|\\u200D)*$",
|
|
687
|
+
flags: "u"
|
|
688
|
+
}
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
$class: "concerto.metamodel@1.0.0.BooleanProperty",
|
|
692
|
+
name: "isArray",
|
|
693
|
+
isArray: false,
|
|
694
|
+
isOptional: false,
|
|
695
|
+
defaultValue: false
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
$class: "concerto.metamodel@1.0.0.BooleanProperty",
|
|
699
|
+
name: "isOptional",
|
|
700
|
+
isArray: false,
|
|
701
|
+
isOptional: false,
|
|
702
|
+
defaultValue: false
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
706
|
+
name: "sizeValidator",
|
|
707
|
+
type: {
|
|
708
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
709
|
+
name: "CollectionSizeValidator"
|
|
710
|
+
},
|
|
711
|
+
isArray: false,
|
|
712
|
+
isOptional: true
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
716
|
+
name: "decorators",
|
|
717
|
+
type: {
|
|
718
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
719
|
+
name: "Decorator"
|
|
720
|
+
},
|
|
721
|
+
isArray: true,
|
|
722
|
+
isOptional: true
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
726
|
+
name: "location",
|
|
727
|
+
type: {
|
|
728
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
729
|
+
name: "Range"
|
|
730
|
+
},
|
|
731
|
+
isArray: false,
|
|
732
|
+
isOptional: true
|
|
733
|
+
}
|
|
734
|
+
]
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
738
|
+
name: "CollectionSizeValidator",
|
|
739
|
+
isAbstract: false,
|
|
740
|
+
properties: [
|
|
741
|
+
{
|
|
742
|
+
$class: "concerto.metamodel@1.0.0.IntegerProperty",
|
|
743
|
+
name: "minSize",
|
|
744
|
+
isArray: false,
|
|
745
|
+
isOptional: true
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
$class: "concerto.metamodel@1.0.0.IntegerProperty",
|
|
749
|
+
name: "maxSize",
|
|
750
|
+
isArray: false,
|
|
751
|
+
isOptional: true
|
|
752
|
+
}
|
|
753
|
+
]
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
757
|
+
name: "RelationshipProperty",
|
|
758
|
+
isAbstract: false,
|
|
759
|
+
properties: [
|
|
760
|
+
{
|
|
761
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
762
|
+
name: "type",
|
|
763
|
+
type: {
|
|
764
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
765
|
+
name: "TypeIdentifier"
|
|
766
|
+
},
|
|
767
|
+
isArray: false,
|
|
768
|
+
isOptional: false
|
|
769
|
+
}
|
|
770
|
+
],
|
|
771
|
+
superType: {
|
|
772
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
773
|
+
name: "Property"
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
778
|
+
name: "ObjectProperty",
|
|
779
|
+
isAbstract: false,
|
|
780
|
+
properties: [
|
|
781
|
+
{
|
|
782
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
783
|
+
name: "defaultValue",
|
|
784
|
+
isArray: false,
|
|
785
|
+
isOptional: true
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
789
|
+
name: "type",
|
|
790
|
+
type: {
|
|
791
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
792
|
+
name: "TypeIdentifier"
|
|
793
|
+
},
|
|
794
|
+
isArray: false,
|
|
795
|
+
isOptional: false
|
|
796
|
+
}
|
|
797
|
+
],
|
|
798
|
+
superType: {
|
|
799
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
800
|
+
name: "Property"
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
805
|
+
name: "BooleanProperty",
|
|
806
|
+
isAbstract: false,
|
|
807
|
+
properties: [
|
|
808
|
+
{
|
|
809
|
+
$class: "concerto.metamodel@1.0.0.BooleanProperty",
|
|
810
|
+
name: "defaultValue",
|
|
811
|
+
isArray: false,
|
|
812
|
+
isOptional: true
|
|
813
|
+
}
|
|
814
|
+
],
|
|
815
|
+
superType: {
|
|
816
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
817
|
+
name: "Property"
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
822
|
+
name: "DateTimeProperty",
|
|
823
|
+
isAbstract: false,
|
|
824
|
+
properties: [],
|
|
825
|
+
superType: {
|
|
826
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
827
|
+
name: "Property"
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
832
|
+
name: "StringProperty",
|
|
833
|
+
isAbstract: false,
|
|
834
|
+
properties: [
|
|
835
|
+
{
|
|
836
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
837
|
+
name: "defaultValue",
|
|
838
|
+
isArray: false,
|
|
839
|
+
isOptional: true
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
843
|
+
name: "validator",
|
|
844
|
+
type: {
|
|
845
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
846
|
+
name: "StringRegexValidator"
|
|
847
|
+
},
|
|
848
|
+
isArray: false,
|
|
849
|
+
isOptional: true
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
853
|
+
name: "lengthValidator",
|
|
854
|
+
type: {
|
|
855
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
856
|
+
name: "StringLengthValidator"
|
|
857
|
+
},
|
|
858
|
+
isArray: false,
|
|
859
|
+
isOptional: true
|
|
860
|
+
}
|
|
861
|
+
],
|
|
862
|
+
superType: {
|
|
863
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
864
|
+
name: "Property"
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
869
|
+
name: "StringRegexValidator",
|
|
870
|
+
isAbstract: false,
|
|
871
|
+
properties: [
|
|
872
|
+
{
|
|
873
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
874
|
+
name: "pattern",
|
|
875
|
+
isArray: false,
|
|
876
|
+
isOptional: false
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
880
|
+
name: "flags",
|
|
881
|
+
isArray: false,
|
|
882
|
+
isOptional: false
|
|
883
|
+
}
|
|
884
|
+
]
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
888
|
+
name: "StringLengthValidator",
|
|
889
|
+
isAbstract: false,
|
|
890
|
+
properties: [
|
|
891
|
+
{
|
|
892
|
+
$class: "concerto.metamodel@1.0.0.IntegerProperty",
|
|
893
|
+
name: "minLength",
|
|
894
|
+
isArray: false,
|
|
895
|
+
isOptional: true
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
$class: "concerto.metamodel@1.0.0.IntegerProperty",
|
|
899
|
+
name: "maxLength",
|
|
900
|
+
isArray: false,
|
|
901
|
+
isOptional: true
|
|
902
|
+
}
|
|
903
|
+
]
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
907
|
+
name: "DoubleProperty",
|
|
908
|
+
isAbstract: false,
|
|
909
|
+
properties: [
|
|
910
|
+
{
|
|
911
|
+
$class: "concerto.metamodel@1.0.0.DoubleProperty",
|
|
912
|
+
name: "defaultValue",
|
|
913
|
+
isArray: false,
|
|
914
|
+
isOptional: true
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
918
|
+
name: "validator",
|
|
919
|
+
type: {
|
|
920
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
921
|
+
name: "DoubleDomainValidator"
|
|
922
|
+
},
|
|
923
|
+
isArray: false,
|
|
924
|
+
isOptional: true
|
|
925
|
+
}
|
|
926
|
+
],
|
|
927
|
+
superType: {
|
|
928
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
929
|
+
name: "Property"
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
934
|
+
name: "DoubleDomainValidator",
|
|
935
|
+
isAbstract: false,
|
|
936
|
+
properties: [
|
|
937
|
+
{
|
|
938
|
+
$class: "concerto.metamodel@1.0.0.DoubleProperty",
|
|
939
|
+
name: "lower",
|
|
940
|
+
isArray: false,
|
|
941
|
+
isOptional: true
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
$class: "concerto.metamodel@1.0.0.DoubleProperty",
|
|
945
|
+
name: "upper",
|
|
946
|
+
isArray: false,
|
|
947
|
+
isOptional: true
|
|
948
|
+
}
|
|
949
|
+
]
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
953
|
+
name: "IntegerProperty",
|
|
954
|
+
isAbstract: false,
|
|
955
|
+
properties: [
|
|
956
|
+
{
|
|
957
|
+
$class: "concerto.metamodel@1.0.0.IntegerProperty",
|
|
958
|
+
name: "defaultValue",
|
|
959
|
+
isArray: false,
|
|
960
|
+
isOptional: true
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
964
|
+
name: "validator",
|
|
965
|
+
type: {
|
|
966
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
967
|
+
name: "IntegerDomainValidator"
|
|
968
|
+
},
|
|
969
|
+
isArray: false,
|
|
970
|
+
isOptional: true
|
|
971
|
+
}
|
|
972
|
+
],
|
|
973
|
+
superType: {
|
|
974
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
975
|
+
name: "Property"
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
980
|
+
name: "IntegerDomainValidator",
|
|
981
|
+
isAbstract: false,
|
|
982
|
+
properties: [
|
|
983
|
+
{
|
|
984
|
+
$class: "concerto.metamodel@1.0.0.IntegerProperty",
|
|
985
|
+
name: "lower",
|
|
986
|
+
isArray: false,
|
|
987
|
+
isOptional: true
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
$class: "concerto.metamodel@1.0.0.IntegerProperty",
|
|
991
|
+
name: "upper",
|
|
992
|
+
isArray: false,
|
|
993
|
+
isOptional: true
|
|
994
|
+
}
|
|
995
|
+
]
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
999
|
+
name: "LongProperty",
|
|
1000
|
+
isAbstract: false,
|
|
1001
|
+
properties: [
|
|
1002
|
+
{
|
|
1003
|
+
$class: "concerto.metamodel@1.0.0.LongProperty",
|
|
1004
|
+
name: "defaultValue",
|
|
1005
|
+
isArray: false,
|
|
1006
|
+
isOptional: true
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
1010
|
+
name: "validator",
|
|
1011
|
+
type: {
|
|
1012
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1013
|
+
name: "LongDomainValidator"
|
|
1014
|
+
},
|
|
1015
|
+
isArray: false,
|
|
1016
|
+
isOptional: true
|
|
1017
|
+
}
|
|
1018
|
+
],
|
|
1019
|
+
superType: {
|
|
1020
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1021
|
+
name: "Property"
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1026
|
+
name: "LongDomainValidator",
|
|
1027
|
+
isAbstract: false,
|
|
1028
|
+
properties: [
|
|
1029
|
+
{
|
|
1030
|
+
$class: "concerto.metamodel@1.0.0.LongProperty",
|
|
1031
|
+
name: "lower",
|
|
1032
|
+
isArray: false,
|
|
1033
|
+
isOptional: true
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
$class: "concerto.metamodel@1.0.0.LongProperty",
|
|
1037
|
+
name: "upper",
|
|
1038
|
+
isArray: false,
|
|
1039
|
+
isOptional: true
|
|
1040
|
+
}
|
|
1041
|
+
]
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1045
|
+
name: "AliasedType",
|
|
1046
|
+
isAbstract: false,
|
|
1047
|
+
properties: [
|
|
1048
|
+
{
|
|
1049
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1050
|
+
name: "name",
|
|
1051
|
+
isArray: false,
|
|
1052
|
+
isOptional: false
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1056
|
+
name: "aliasedName",
|
|
1057
|
+
isArray: false,
|
|
1058
|
+
isOptional: false
|
|
1059
|
+
}
|
|
1060
|
+
]
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1064
|
+
name: "Import",
|
|
1065
|
+
isAbstract: true,
|
|
1066
|
+
properties: [
|
|
1067
|
+
{
|
|
1068
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1069
|
+
name: "namespace",
|
|
1070
|
+
isArray: false,
|
|
1071
|
+
isOptional: false
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1075
|
+
name: "uri",
|
|
1076
|
+
isArray: false,
|
|
1077
|
+
isOptional: true
|
|
1078
|
+
}
|
|
1079
|
+
]
|
|
1080
|
+
},
|
|
1081
|
+
{
|
|
1082
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1083
|
+
name: "ImportAll",
|
|
1084
|
+
isAbstract: false,
|
|
1085
|
+
properties: [],
|
|
1086
|
+
superType: {
|
|
1087
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1088
|
+
name: "Import"
|
|
1089
|
+
}
|
|
1090
|
+
},
|
|
1091
|
+
{
|
|
1092
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1093
|
+
name: "ImportType",
|
|
1094
|
+
isAbstract: false,
|
|
1095
|
+
properties: [
|
|
1096
|
+
{
|
|
1097
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1098
|
+
name: "name",
|
|
1099
|
+
isArray: false,
|
|
1100
|
+
isOptional: false
|
|
1101
|
+
}
|
|
1102
|
+
],
|
|
1103
|
+
superType: {
|
|
1104
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1105
|
+
name: "Import"
|
|
1106
|
+
}
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1110
|
+
name: "ImportTypes",
|
|
1111
|
+
isAbstract: false,
|
|
1112
|
+
properties: [
|
|
1113
|
+
{
|
|
1114
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1115
|
+
name: "types",
|
|
1116
|
+
isArray: true,
|
|
1117
|
+
isOptional: false
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
1121
|
+
name: "aliasedTypes",
|
|
1122
|
+
type: {
|
|
1123
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1124
|
+
name: "AliasedType"
|
|
1125
|
+
},
|
|
1126
|
+
isArray: true,
|
|
1127
|
+
isOptional: true
|
|
1128
|
+
}
|
|
1129
|
+
],
|
|
1130
|
+
superType: {
|
|
1131
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1132
|
+
name: "Import"
|
|
1133
|
+
}
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1137
|
+
name: "Model",
|
|
1138
|
+
isAbstract: false,
|
|
1139
|
+
properties: [
|
|
1140
|
+
{
|
|
1141
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1142
|
+
name: "namespace",
|
|
1143
|
+
isArray: false,
|
|
1144
|
+
isOptional: false
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1148
|
+
name: "sourceUri",
|
|
1149
|
+
isArray: false,
|
|
1150
|
+
isOptional: true
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1154
|
+
name: "concertoVersion",
|
|
1155
|
+
isArray: false,
|
|
1156
|
+
isOptional: true
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
1160
|
+
name: "imports",
|
|
1161
|
+
type: {
|
|
1162
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1163
|
+
name: "Import"
|
|
1164
|
+
},
|
|
1165
|
+
isArray: true,
|
|
1166
|
+
isOptional: true
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
1170
|
+
name: "declarations",
|
|
1171
|
+
type: {
|
|
1172
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1173
|
+
name: "Declaration"
|
|
1174
|
+
},
|
|
1175
|
+
isArray: true,
|
|
1176
|
+
isOptional: true
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
1180
|
+
name: "decorators",
|
|
1181
|
+
type: {
|
|
1182
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1183
|
+
name: "Decorator"
|
|
1184
|
+
},
|
|
1185
|
+
isArray: true,
|
|
1186
|
+
isOptional: true
|
|
1187
|
+
}
|
|
1188
|
+
]
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1192
|
+
name: "Models",
|
|
1193
|
+
isAbstract: false,
|
|
1194
|
+
properties: [
|
|
1195
|
+
{
|
|
1196
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
1197
|
+
name: "models",
|
|
1198
|
+
type: {
|
|
1199
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1200
|
+
name: "Model"
|
|
1201
|
+
},
|
|
1202
|
+
isArray: true,
|
|
1203
|
+
isOptional: false
|
|
1204
|
+
}
|
|
1205
|
+
]
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1209
|
+
name: "ScalarDeclaration",
|
|
1210
|
+
isAbstract: true,
|
|
1211
|
+
properties: [
|
|
1212
|
+
{
|
|
1213
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1214
|
+
name: "namespace",
|
|
1215
|
+
isArray: false,
|
|
1216
|
+
isOptional: true
|
|
1217
|
+
}
|
|
1218
|
+
],
|
|
1219
|
+
superType: {
|
|
1220
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1221
|
+
name: "Declaration"
|
|
1222
|
+
}
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1226
|
+
name: "BooleanScalar",
|
|
1227
|
+
isAbstract: false,
|
|
1228
|
+
properties: [
|
|
1229
|
+
{
|
|
1230
|
+
$class: "concerto.metamodel@1.0.0.BooleanProperty",
|
|
1231
|
+
name: "defaultValue",
|
|
1232
|
+
isArray: false,
|
|
1233
|
+
isOptional: true
|
|
1234
|
+
}
|
|
1235
|
+
],
|
|
1236
|
+
superType: {
|
|
1237
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1238
|
+
name: "ScalarDeclaration"
|
|
1239
|
+
}
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1243
|
+
name: "IntegerScalar",
|
|
1244
|
+
isAbstract: false,
|
|
1245
|
+
properties: [
|
|
1246
|
+
{
|
|
1247
|
+
$class: "concerto.metamodel@1.0.0.IntegerProperty",
|
|
1248
|
+
name: "defaultValue",
|
|
1249
|
+
isArray: false,
|
|
1250
|
+
isOptional: true
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
1254
|
+
name: "validator",
|
|
1255
|
+
type: {
|
|
1256
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1257
|
+
name: "IntegerDomainValidator"
|
|
1258
|
+
},
|
|
1259
|
+
isArray: false,
|
|
1260
|
+
isOptional: true
|
|
1261
|
+
}
|
|
1262
|
+
],
|
|
1263
|
+
superType: {
|
|
1264
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1265
|
+
name: "ScalarDeclaration"
|
|
1266
|
+
}
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1270
|
+
name: "LongScalar",
|
|
1271
|
+
isAbstract: false,
|
|
1272
|
+
properties: [
|
|
1273
|
+
{
|
|
1274
|
+
$class: "concerto.metamodel@1.0.0.LongProperty",
|
|
1275
|
+
name: "defaultValue",
|
|
1276
|
+
isArray: false,
|
|
1277
|
+
isOptional: true
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
1281
|
+
name: "validator",
|
|
1282
|
+
type: {
|
|
1283
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1284
|
+
name: "LongDomainValidator"
|
|
1285
|
+
},
|
|
1286
|
+
isArray: false,
|
|
1287
|
+
isOptional: true
|
|
1288
|
+
}
|
|
1289
|
+
],
|
|
1290
|
+
superType: {
|
|
1291
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1292
|
+
name: "ScalarDeclaration"
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1297
|
+
name: "DoubleScalar",
|
|
1298
|
+
isAbstract: false,
|
|
1299
|
+
properties: [
|
|
1300
|
+
{
|
|
1301
|
+
$class: "concerto.metamodel@1.0.0.DoubleProperty",
|
|
1302
|
+
name: "defaultValue",
|
|
1303
|
+
isArray: false,
|
|
1304
|
+
isOptional: true
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
1308
|
+
name: "validator",
|
|
1309
|
+
type: {
|
|
1310
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1311
|
+
name: "DoubleDomainValidator"
|
|
1312
|
+
},
|
|
1313
|
+
isArray: false,
|
|
1314
|
+
isOptional: true
|
|
1315
|
+
}
|
|
1316
|
+
],
|
|
1317
|
+
superType: {
|
|
1318
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1319
|
+
name: "ScalarDeclaration"
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1324
|
+
name: "StringScalar",
|
|
1325
|
+
isAbstract: false,
|
|
1326
|
+
properties: [
|
|
1327
|
+
{
|
|
1328
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1329
|
+
name: "defaultValue",
|
|
1330
|
+
isArray: false,
|
|
1331
|
+
isOptional: true
|
|
1332
|
+
},
|
|
1333
|
+
{
|
|
1334
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
1335
|
+
name: "validator",
|
|
1336
|
+
type: {
|
|
1337
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1338
|
+
name: "StringRegexValidator"
|
|
1339
|
+
},
|
|
1340
|
+
isArray: false,
|
|
1341
|
+
isOptional: true
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
$class: "concerto.metamodel@1.0.0.ObjectProperty",
|
|
1345
|
+
name: "lengthValidator",
|
|
1346
|
+
type: {
|
|
1347
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1348
|
+
name: "StringLengthValidator"
|
|
1349
|
+
},
|
|
1350
|
+
isArray: false,
|
|
1351
|
+
isOptional: true
|
|
1352
|
+
}
|
|
1353
|
+
],
|
|
1354
|
+
superType: {
|
|
1355
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1356
|
+
name: "ScalarDeclaration"
|
|
1357
|
+
}
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
$class: "concerto.metamodel@1.0.0.ConceptDeclaration",
|
|
1361
|
+
name: "DateTimeScalar",
|
|
1362
|
+
isAbstract: false,
|
|
1363
|
+
properties: [
|
|
1364
|
+
{
|
|
1365
|
+
$class: "concerto.metamodel@1.0.0.StringProperty",
|
|
1366
|
+
name: "defaultValue",
|
|
1367
|
+
isArray: false,
|
|
1368
|
+
isOptional: true
|
|
1369
|
+
}
|
|
1370
|
+
],
|
|
1371
|
+
superType: {
|
|
1372
|
+
$class: "concerto.metamodel@1.0.0.TypeIdentifier",
|
|
1373
|
+
name: "ScalarDeclaration"
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
]
|
|
1377
|
+
};
|
|
1378
|
+
}
|
|
1379
|
+
});
|
|
1380
|
+
|
|
1381
|
+
// node_modules/@accordproject/concerto-metamodel/lib/metamodel.js
|
|
1382
|
+
var require_metamodel2 = __commonJS({
|
|
1383
|
+
"node_modules/@accordproject/concerto-metamodel/lib/metamodel.js"(exports, module) {
|
|
1384
|
+
"use strict";
|
|
1385
|
+
init_browser_process_shim();
|
|
1386
|
+
var metaModelCto = '/*\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@DotNetNamespace("AccordProject.Concerto.Metamodel")\nnamespace concerto.metamodel@1.0.0\n\nconcept Position {\n o Integer line\n o Integer column\n o Integer offset\n}\n\nconcept Range {\n o Position start\n o Position end\n o String source optional\n}\n\nconcept TypeIdentifier {\n o String name\n o String namespace optional\n o String resolvedName optional\n}\n\nabstract concept DecoratorLiteral {\n o Range location optional\n}\n\nconcept DecoratorString extends DecoratorLiteral {\n o String value\n}\n\nconcept DecoratorNumber extends DecoratorLiteral {\n o Double value\n}\n\nconcept DecoratorBoolean extends DecoratorLiteral {\n o Boolean value\n}\n\nconcept DecoratorTypeReference extends DecoratorLiteral {\n o TypeIdentifier type\n o Boolean isArray default=false\n}\n\nconcept Decorator {\n o String name\n o DecoratorLiteral[] arguments optional\n o Range location optional\n}\n\nconcept Identified {\n}\n\nconcept IdentifiedBy extends Identified {\n o String name\n}\n\nabstract concept Declaration {\n o String name regex=/^(\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4})(?:\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4}|\\p{Mn}|\\p{Mc}|\\p{Nd}|\\p{Pc}|\\u200C|\\u200D)*$/u\n o Decorator[] decorators optional\n o Range location optional\n}\n\nabstract concept MapKeyType {\n o Decorator[] decorators optional\n o Range location optional\n}\n\nabstract concept MapValueType {\n o Decorator[] decorators optional\n o Range location optional\n}\n\nconcept MapDeclaration extends Declaration {\n o MapKeyType key\n o MapValueType value\n}\n\nconcept StringMapKeyType extends MapKeyType {}\nconcept DateTimeMapKeyType extends MapKeyType {}\n\nconcept ObjectMapKeyType extends MapKeyType {\n o TypeIdentifier type\n}\n\nconcept BooleanMapValueType extends MapValueType {}\nconcept DateTimeMapValueType extends MapValueType {}\nconcept StringMapValueType extends MapValueType {}\nconcept IntegerMapValueType extends MapValueType {}\nconcept LongMapValueType extends MapValueType {}\nconcept DoubleMapValueType extends MapValueType {}\n\nconcept ObjectMapValueType extends MapValueType {\n o TypeIdentifier type\n}\n\nconcept RelationshipMapValueType extends MapValueType {\n o TypeIdentifier type\n}\n\nconcept EnumDeclaration extends Declaration {\n o EnumProperty[] properties\n}\n\nconcept EnumProperty {\n o String name regex=/^(\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4})(?:\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4}|\\p{Mn}|\\p{Mc}|\\p{Nd}|\\p{Pc}|\\u200C|\\u200D)*$/u\n o Decorator[] decorators optional\n o Range location optional\n}\n\nconcept ConceptDeclaration extends Declaration {\n o Boolean isAbstract default=false\n o Identified identified optional\n o TypeIdentifier superType optional\n o Property[] properties\n}\n\nconcept AssetDeclaration extends ConceptDeclaration {\n}\n\nconcept ParticipantDeclaration extends ConceptDeclaration {\n}\n\nconcept TransactionDeclaration extends ConceptDeclaration {\n}\n\nconcept EventDeclaration extends ConceptDeclaration {\n}\n\nabstract concept Property {\n o String name regex=/^(\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4})(?:\\p{Lu}|\\p{Ll}|\\p{Lt}|\\p{Lm}|\\p{Lo}|\\p{Nl}|\\$|_|\\\\u[0-9A-Fa-f]{4}|\\p{Mn}|\\p{Mc}|\\p{Nd}|\\p{Pc}|\\u200C|\\u200D)*$/u\n o Boolean isArray default=false\n o Boolean isOptional default=false\n o CollectionSizeValidator sizeValidator optional\n o Decorator[] decorators optional\n o Range location optional\n}\n\nconcept CollectionSizeValidator {\n o Integer minSize optional\n o Integer maxSize optional\n}\n\nconcept RelationshipProperty extends Property {\n o TypeIdentifier type\n}\n\nconcept ObjectProperty extends Property {\n o String defaultValue optional\n o TypeIdentifier type\n}\n\nconcept BooleanProperty extends Property {\n o Boolean defaultValue optional\n}\n\nconcept DateTimeProperty extends Property {\n}\n\nconcept StringProperty extends Property {\n o String defaultValue optional\n o StringRegexValidator validator optional\n o StringLengthValidator lengthValidator optional\n}\n\nconcept StringRegexValidator {\n o String pattern\n o String flags\n}\n\nconcept StringLengthValidator {\n o Integer minLength optional\n o Integer maxLength optional\n}\n\nconcept DoubleProperty extends Property {\n o Double defaultValue optional\n o DoubleDomainValidator validator optional\n}\n\nconcept DoubleDomainValidator {\n o Double lower optional\n o Double upper optional\n}\n\nconcept IntegerProperty extends Property {\n o Integer defaultValue optional\n o IntegerDomainValidator validator optional\n}\n\nconcept IntegerDomainValidator {\n o Integer lower optional\n o Integer upper optional\n}\n\nconcept LongProperty extends Property {\n o Long defaultValue optional\n o LongDomainValidator validator optional\n}\n\nconcept LongDomainValidator {\n o Long lower optional\n o Long upper optional\n}\n\nconcept AliasedType{\n o String name\n o String aliasedName\n}\nabstract concept Import {\n o String namespace\n o String uri optional\n}\n\nconcept ImportAll extends Import {\n}\n\nconcept ImportType extends Import {\n o String name\n}\n\nconcept ImportTypes extends Import {\n o String[] types\n o AliasedType[] aliasedTypes optional\n}\n\nconcept Model {\n o String namespace\n o String sourceUri optional\n o String concertoVersion optional\n o Import[] imports optional\n o Declaration[] declarations optional\n o Decorator[] decorators optional\n}\n\nconcept Models {\n o Model[] models\n}\n\nabstract concept ScalarDeclaration extends Declaration {\n o String namespace optional\n}\n\nconcept BooleanScalar extends ScalarDeclaration {\n o Boolean defaultValue optional\n}\n\nconcept IntegerScalar extends ScalarDeclaration {\n o Integer defaultValue optional\n o IntegerDomainValidator validator optional\n}\n\nconcept LongScalar extends ScalarDeclaration {\n o Long defaultValue optional\n o LongDomainValidator validator optional\n}\n\nconcept DoubleScalar extends ScalarDeclaration {\n o Double defaultValue optional\n o DoubleDomainValidator validator optional\n}\n\nconcept StringScalar extends ScalarDeclaration {\n o String defaultValue optional\n o StringRegexValidator validator optional\n o StringLengthValidator lengthValidator optional\n}\n\nconcept DateTimeScalar extends ScalarDeclaration {\n o String defaultValue optional\n}\n';
|
|
1387
|
+
module.exports = metaModelCto;
|
|
1388
|
+
}
|
|
1389
|
+
});
|
|
1390
|
+
|
|
1391
|
+
// node_modules/@accordproject/concerto-metamodel/lib/metamodelutil.js
|
|
1392
|
+
var require_metamodelutil = __commonJS({
|
|
1393
|
+
"node_modules/@accordproject/concerto-metamodel/lib/metamodelutil.js"(exports, module) {
|
|
1394
|
+
"use strict";
|
|
1395
|
+
init_browser_process_shim();
|
|
1396
|
+
var metaModelAst = require_metamodel();
|
|
1397
|
+
var MetaModelNamespace = "concerto.metamodel@1.0.0";
|
|
1398
|
+
var metaModelCto = require_metamodel2();
|
|
1399
|
+
function findNamespace(priorModels, namespace) {
|
|
1400
|
+
return priorModels.models.find((thisModel) => thisModel.namespace === namespace);
|
|
1401
|
+
}
|
|
1402
|
+
function findDeclaration(thisModel, name) {
|
|
1403
|
+
return thisModel.declarations.find((thisDecl) => thisDecl.name === name);
|
|
1404
|
+
}
|
|
1405
|
+
function createNameTable(priorModels, metaModel) {
|
|
1406
|
+
const concertoNs = "concerto@1.0.0";
|
|
1407
|
+
const table = {
|
|
1408
|
+
"Concept": { namespace: concertoNs, name: "Concept" },
|
|
1409
|
+
"Asset": { namespace: concertoNs, name: "Asset" },
|
|
1410
|
+
"Participant": { namespace: concertoNs, name: "Participant" },
|
|
1411
|
+
"Transaction": { namespace: concertoNs, name: "Transaction" },
|
|
1412
|
+
"Event": { namespace: concertoNs, name: "Event" }
|
|
1413
|
+
};
|
|
1414
|
+
(metaModel.imports || []).forEach((imp) => {
|
|
1415
|
+
const namespace = imp.namespace;
|
|
1416
|
+
const modelFile = findNamespace(priorModels, namespace);
|
|
1417
|
+
if (imp.$class === `${MetaModelNamespace}.ImportType`) {
|
|
1418
|
+
if (!findDeclaration(modelFile, imp.name)) {
|
|
1419
|
+
throw new Error(`Declaration ${imp.name} in namespace ${namespace} not found`);
|
|
1420
|
+
}
|
|
1421
|
+
table[imp.name] = { namespace, name: imp.name };
|
|
1422
|
+
} else if (imp.$class === `${MetaModelNamespace}.ImportTypes`) {
|
|
1423
|
+
const aliasedMap = imp.aliasedTypes ? new Map(imp.aliasedTypes.map(({ name, aliasedName }) => [name, aliasedName])) : /* @__PURE__ */ new Map();
|
|
1424
|
+
imp.types.forEach((type) => {
|
|
1425
|
+
const localName = aliasedMap.get(type) || type;
|
|
1426
|
+
if (!findDeclaration(modelFile, type)) {
|
|
1427
|
+
throw new Error(`Declaration ${type} in namespace ${namespace} not found`);
|
|
1428
|
+
}
|
|
1429
|
+
table[localName] = localName !== type ? { namespace, name: localName, resolvedName: type } : { namespace, name: type };
|
|
1430
|
+
});
|
|
1431
|
+
} else {
|
|
1432
|
+
(modelFile.declarations || []).forEach((decl) => {
|
|
1433
|
+
table[decl.name] = { namespace, name: decl.name };
|
|
1434
|
+
});
|
|
1435
|
+
}
|
|
1436
|
+
});
|
|
1437
|
+
(metaModel.declarations || []).forEach((decl) => {
|
|
1438
|
+
table[decl.name] = { namespace: metaModel.namespace, name: decl.name };
|
|
1439
|
+
});
|
|
1440
|
+
return table;
|
|
1441
|
+
}
|
|
1442
|
+
function resolveName(name, table) {
|
|
1443
|
+
if (!table[name]) {
|
|
1444
|
+
throw new Error(`Name ${name} not found`);
|
|
1445
|
+
}
|
|
1446
|
+
return table[name].namespace;
|
|
1447
|
+
}
|
|
1448
|
+
function resolveTypeNames(metaModel, table) {
|
|
1449
|
+
(metaModel.decorators || []).forEach((decorator) => {
|
|
1450
|
+
resolveTypeNames(decorator, table);
|
|
1451
|
+
});
|
|
1452
|
+
switch (metaModel.$class) {
|
|
1453
|
+
case `${MetaModelNamespace}.Model`:
|
|
1454
|
+
{
|
|
1455
|
+
(metaModel.declarations || []).forEach((decl) => {
|
|
1456
|
+
resolveTypeNames(decl, table);
|
|
1457
|
+
});
|
|
1458
|
+
}
|
|
1459
|
+
break;
|
|
1460
|
+
case `${MetaModelNamespace}.EnumDeclaration`:
|
|
1461
|
+
case `${MetaModelNamespace}.AssetDeclaration`:
|
|
1462
|
+
case `${MetaModelNamespace}.ConceptDeclaration`:
|
|
1463
|
+
case `${MetaModelNamespace}.EventDeclaration`:
|
|
1464
|
+
case `${MetaModelNamespace}.TransactionDeclaration`:
|
|
1465
|
+
case `${MetaModelNamespace}.ParticipantDeclaration`:
|
|
1466
|
+
{
|
|
1467
|
+
if (metaModel.superType) {
|
|
1468
|
+
const name = metaModel.superType.name;
|
|
1469
|
+
metaModel.superType.namespace = resolveName(name, table);
|
|
1470
|
+
metaModel.superType.name = table[name].name;
|
|
1471
|
+
if (table[name]?.resolvedName) {
|
|
1472
|
+
metaModel.superType.resolvedName = table[name].resolvedName;
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
(metaModel.properties || []).forEach((property) => {
|
|
1476
|
+
resolveTypeNames(property, table);
|
|
1477
|
+
});
|
|
1478
|
+
}
|
|
1479
|
+
break;
|
|
1480
|
+
case `${MetaModelNamespace}.MapDeclaration`:
|
|
1481
|
+
{
|
|
1482
|
+
resolveTypeNames(metaModel.key, table);
|
|
1483
|
+
resolveTypeNames(metaModel.value, table);
|
|
1484
|
+
}
|
|
1485
|
+
break;
|
|
1486
|
+
case `${MetaModelNamespace}.Decorator`:
|
|
1487
|
+
{
|
|
1488
|
+
(metaModel.arguments || []).forEach((argument) => {
|
|
1489
|
+
resolveTypeNames(argument, table);
|
|
1490
|
+
});
|
|
1491
|
+
}
|
|
1492
|
+
break;
|
|
1493
|
+
case `${MetaModelNamespace}.ObjectProperty`:
|
|
1494
|
+
case `${MetaModelNamespace}.RelationshipProperty`:
|
|
1495
|
+
case `${MetaModelNamespace}.DecoratorTypeReference`:
|
|
1496
|
+
case `${MetaModelNamespace}.ObjectMapKeyType`:
|
|
1497
|
+
case `${MetaModelNamespace}.ObjectMapValueType`:
|
|
1498
|
+
case `${MetaModelNamespace}.RelationshipMapValueType`:
|
|
1499
|
+
{
|
|
1500
|
+
metaModel.type.namespace = resolveName(metaModel.type.name, table);
|
|
1501
|
+
metaModel.type.name = table[metaModel.type.name].name;
|
|
1502
|
+
if (table[metaModel.type.name]?.resolvedName) {
|
|
1503
|
+
metaModel.type.resolvedName = table[metaModel.type.name].resolvedName;
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
break;
|
|
1507
|
+
case `${MetaModelNamespace}.StringScalar`:
|
|
1508
|
+
case `${MetaModelNamespace}.BooleanScalar`:
|
|
1509
|
+
case `${MetaModelNamespace}.DateTimeScalar`:
|
|
1510
|
+
case `${MetaModelNamespace}.DoubleScalar`:
|
|
1511
|
+
case `${MetaModelNamespace}.LongScalar`:
|
|
1512
|
+
case `${MetaModelNamespace}.IntegerScalar`:
|
|
1513
|
+
{
|
|
1514
|
+
metaModel.namespace = resolveName(metaModel.name, table);
|
|
1515
|
+
metaModel.name = table[metaModel.name].name;
|
|
1516
|
+
}
|
|
1517
|
+
break;
|
|
1518
|
+
default: {
|
|
1519
|
+
if (!metaModel.$class) {
|
|
1520
|
+
throw new Error(`Unrecognized $class ${String(metaModel.$class)}`);
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
}
|
|
1524
|
+
return metaModel;
|
|
1525
|
+
}
|
|
1526
|
+
function resolveLocalNames(priorModels, metaModel) {
|
|
1527
|
+
const result = JSON.parse(JSON.stringify(metaModel));
|
|
1528
|
+
const nameTable = createNameTable(priorModels, metaModel);
|
|
1529
|
+
resolveTypeNames(result, nameTable);
|
|
1530
|
+
return result;
|
|
1531
|
+
}
|
|
1532
|
+
function resolveLocalNamesForAll(allModels) {
|
|
1533
|
+
const result = {
|
|
1534
|
+
$class: `${MetaModelNamespace}.Models`,
|
|
1535
|
+
models: []
|
|
1536
|
+
};
|
|
1537
|
+
allModels.models.forEach((metaModel) => {
|
|
1538
|
+
const resolved = resolveLocalNames(allModels, metaModel);
|
|
1539
|
+
result.models.push(resolved);
|
|
1540
|
+
});
|
|
1541
|
+
return result;
|
|
1542
|
+
}
|
|
1543
|
+
function importFullyQualifiedNames(imp) {
|
|
1544
|
+
const result = [];
|
|
1545
|
+
switch (imp.$class) {
|
|
1546
|
+
case `${MetaModelNamespace}.ImportAll`:
|
|
1547
|
+
result.push(`${imp.namespace}.*`);
|
|
1548
|
+
break;
|
|
1549
|
+
case `${MetaModelNamespace}.ImportType`:
|
|
1550
|
+
result.push(`${imp.namespace}.${imp.name}`);
|
|
1551
|
+
break;
|
|
1552
|
+
case `${MetaModelNamespace}.ImportTypes`:
|
|
1553
|
+
{
|
|
1554
|
+
imp.types.forEach((type) => {
|
|
1555
|
+
result.push(`${imp.namespace}.${type}`);
|
|
1556
|
+
});
|
|
1557
|
+
}
|
|
1558
|
+
break;
|
|
1559
|
+
default:
|
|
1560
|
+
throw new Error(`Unrecognized imports ${imp.$class}`);
|
|
1561
|
+
}
|
|
1562
|
+
return result;
|
|
1563
|
+
}
|
|
1564
|
+
function getExternalImports(ast) {
|
|
1565
|
+
const uriMap = {};
|
|
1566
|
+
if (ast.imports) {
|
|
1567
|
+
ast.imports.forEach((imp) => {
|
|
1568
|
+
const fqns = importFullyQualifiedNames(imp);
|
|
1569
|
+
if (imp.uri) {
|
|
1570
|
+
uriMap[fqns[0]] = imp.uri;
|
|
1571
|
+
}
|
|
1572
|
+
});
|
|
1573
|
+
}
|
|
1574
|
+
return uriMap;
|
|
1575
|
+
}
|
|
1576
|
+
module.exports = {
|
|
1577
|
+
metaModelAst,
|
|
1578
|
+
metaModelCto,
|
|
1579
|
+
resolveLocalNames,
|
|
1580
|
+
resolveLocalNamesForAll,
|
|
1581
|
+
importFullyQualifiedNames,
|
|
1582
|
+
getExternalImports
|
|
1583
|
+
};
|
|
1584
|
+
}
|
|
1585
|
+
});
|
|
1586
|
+
|
|
1587
|
+
// node_modules/@accordproject/concerto-metamodel/lib/dcsmodel.js
|
|
1588
|
+
var require_dcsmodel = __commonJS({
|
|
1589
|
+
"node_modules/@accordproject/concerto-metamodel/lib/dcsmodel.js"(exports, module) {
|
|
1590
|
+
"use strict";
|
|
1591
|
+
init_browser_process_shim();
|
|
1592
|
+
var DcsCto = `/*
|
|
1593
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
1594
|
+
* you may not use this file except in compliance with the License.
|
|
1595
|
+
* You may obtain a copy of the License at
|
|
1596
|
+
*
|
|
1597
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
1598
|
+
*
|
|
1599
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
1600
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1601
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1602
|
+
* See the License for the specific language governing permissions and
|
|
1603
|
+
* limitations under the License.
|
|
1604
|
+
*/
|
|
1605
|
+
|
|
1606
|
+
namespace org.accordproject.decoratorcommands@0.4.0
|
|
1607
|
+
|
|
1608
|
+
import concerto.metamodel@1.0.0.Decorator
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* A reference to an existing named & versioned DecoratorCommandSet
|
|
1612
|
+
*/
|
|
1613
|
+
concept DecoratorCommandSetReference {
|
|
1614
|
+
o String name
|
|
1615
|
+
o String version
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* Whether to upsert or append the decorator
|
|
1620
|
+
*/
|
|
1621
|
+
enum CommandType {
|
|
1622
|
+
o UPSERT
|
|
1623
|
+
o APPEND
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* Which models elements to add the decorator to. Any null
|
|
1628
|
+
* elements are 'wildcards'.
|
|
1629
|
+
*/
|
|
1630
|
+
concept CommandTarget {
|
|
1631
|
+
o String namespace optional
|
|
1632
|
+
o String declaration optional
|
|
1633
|
+
o String property optional
|
|
1634
|
+
o String[] properties optional // property and properties are mutually exclusive
|
|
1635
|
+
o String type optional
|
|
1636
|
+
o MapElement mapElement optional
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* Map Declaration elements which might be used as a target
|
|
1641
|
+
*/
|
|
1642
|
+
enum MapElement {
|
|
1643
|
+
o KEY
|
|
1644
|
+
o VALUE
|
|
1645
|
+
o KEY_VALUE
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* Applies a decorator to a given target
|
|
1650
|
+
*/
|
|
1651
|
+
concept Command {
|
|
1652
|
+
o CommandTarget target
|
|
1653
|
+
o Decorator decorator
|
|
1654
|
+
o CommandType type
|
|
1655
|
+
o String decoratorNamespace optional
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* A named and versioned set of commands. Includes are supported for modularity/reuse.
|
|
1660
|
+
*/
|
|
1661
|
+
concept DecoratorCommandSet {
|
|
1662
|
+
o String name
|
|
1663
|
+
o String version
|
|
1664
|
+
o DecoratorCommandSetReference[] includes optional // not yet supported
|
|
1665
|
+
o Command[] commands
|
|
1666
|
+
}`;
|
|
1667
|
+
var DcsNamespace = "org.accordproject.decoratorcommands@0.4.0";
|
|
1668
|
+
module.exports = {
|
|
1669
|
+
DcsCto,
|
|
1670
|
+
DcsNamespace
|
|
1671
|
+
};
|
|
1672
|
+
}
|
|
1673
|
+
});
|
|
1674
|
+
|
|
1675
|
+
// node_modules/@accordproject/concerto-metamodel/index.js
|
|
1676
|
+
var require_concerto_metamodel = __commonJS({
|
|
1677
|
+
"node_modules/@accordproject/concerto-metamodel/index.js"(exports) {
|
|
1678
|
+
"use strict";
|
|
1679
|
+
init_browser_process_shim();
|
|
1680
|
+
var MetaModelUtil = require_metamodelutil();
|
|
1681
|
+
var { DcsCto, DcsNamespace } = require_dcsmodel();
|
|
1682
|
+
var MetaModelNamespace = (
|
|
1683
|
+
/** @type {string} */
|
|
1684
|
+
"concerto.metamodel@1.0.0"
|
|
1685
|
+
);
|
|
1686
|
+
exports.MetaModelUtil = MetaModelUtil;
|
|
1687
|
+
exports.MetaModelNamespace = MetaModelNamespace;
|
|
1688
|
+
exports.DcsCto = DcsCto;
|
|
1689
|
+
exports.DcsNamespace = DcsNamespace;
|
|
1690
|
+
}
|
|
1691
|
+
});
|
|
1692
|
+
|
|
1693
|
+
export {
|
|
1694
|
+
require_concerto_metamodel
|
|
1695
|
+
};
|
|
1696
|
+
//# sourceMappingURL=chunk-E5UYTZNO.mjs.map
|