@accordproject/concerto-cto 4.2.0 → 5.0.0-beta.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.
- package/dist/esm/chunk-ADZEFNZ5.mjs +46 -0
- package/dist/esm/chunk-ADZEFNZ5.mjs.map +7 -0
- package/dist/esm/chunk-JIDG6RUM.mjs +11851 -0
- package/dist/esm/chunk-JIDG6RUM.mjs.map +7 -0
- package/dist/esm/chunk-KXXMUWWS.mjs +370 -0
- package/dist/esm/chunk-KXXMUWWS.mjs.map +7 -0
- package/dist/esm/chunk-N5WVDVIT.mjs +831 -0
- package/dist/esm/chunk-N5WVDVIT.mjs.map +7 -0
- package/dist/esm/chunk-TXONDDFZ.mjs +53 -0
- package/dist/esm/chunk-TXONDDFZ.mjs.map +7 -0
- package/dist/esm/chunk-WNU2QZFD.mjs +40 -0
- package/dist/esm/chunk-WNU2QZFD.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-ABBFUZVB.mjs +374 -0
- package/dist/esm-browser/chunk-ABBFUZVB.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-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-SEXNR5Y5.mjs +11851 -0
- package/dist/esm-browser/chunk-SEXNR5Y5.mjs.map +7 -0
- package/dist/esm-browser/chunk-VCWYA55K.mjs +933 -0
- package/dist/esm-browser/chunk-VCWYA55K.mjs.map +7 -0
- package/dist/esm-browser/chunk-YAX4W2RL.mjs +56 -0
- package/dist/esm-browser/chunk-YAX4W2RL.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 +374 -171
- 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 +4 -1
- 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,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../node_modules/@accordproject/concerto-metamodel/lib/metamodel.json", "../../node_modules/@accordproject/concerto-metamodel/lib/metamodel.js", "../../node_modules/@accordproject/concerto-metamodel/lib/metamodelutil.js", "../../node_modules/@accordproject/concerto-metamodel/lib/dcsmodel.js", "../../node_modules/@accordproject/concerto-metamodel/index.js"],
|
|
4
|
+
"sourcesContent": ["{\n \"$class\": \"concerto.metamodel@1.0.0.Model\",\n \"decorators\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.Decorator\",\n \"name\": \"DotNetNamespace\",\n \"arguments\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.DecoratorString\",\n \"value\": \"AccordProject.Concerto.Metamodel\"\n }\n ]\n }\n ],\n \"namespace\": \"concerto.metamodel@1.0.0\",\n \"imports\": [],\n \"declarations\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"Position\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.IntegerProperty\",\n \"name\": \"line\",\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.IntegerProperty\",\n \"name\": \"column\",\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.IntegerProperty\",\n \"name\": \"offset\",\n \"isArray\": false,\n \"isOptional\": false\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"Range\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"start\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Position\"\n },\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"end\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Position\"\n },\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"source\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"TypeIdentifier\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"name\",\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"namespace\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"resolvedName\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DecoratorLiteral\",\n \"isAbstract\": true,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"location\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Range\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DecoratorString\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"value\",\n \"isArray\": false,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"DecoratorLiteral\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DecoratorNumber\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.DoubleProperty\",\n \"name\": \"value\",\n \"isArray\": false,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"DecoratorLiteral\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DecoratorBoolean\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.BooleanProperty\",\n \"name\": \"value\",\n \"isArray\": false,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"DecoratorLiteral\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DecoratorTypeReference\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"type\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"TypeIdentifier\"\n },\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.BooleanProperty\",\n \"name\": \"isArray\",\n \"isArray\": false,\n \"isOptional\": false,\n \"defaultValue\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"DecoratorLiteral\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"Decorator\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"name\",\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"arguments\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"DecoratorLiteral\"\n },\n \"isArray\": true,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"location\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Range\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"Identified\",\n \"isAbstract\": false,\n \"properties\": []\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"IdentifiedBy\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"name\",\n \"isArray\": false,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Identified\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"Declaration\",\n \"isAbstract\": true,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"name\",\n \"isArray\": false,\n \"isOptional\": false,\n \"validator\": {\n \"$class\": \"concerto.metamodel@1.0.0.StringRegexValidator\",\n \"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)*$\",\n \"flags\": \"u\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"decorators\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Decorator\"\n },\n \"isArray\": true,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"location\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Range\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"MapKeyType\",\n \"isAbstract\": true,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"decorators\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Decorator\"\n },\n \"isArray\": true,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"location\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Range\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"MapValueType\",\n \"isAbstract\": true,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"decorators\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Decorator\"\n },\n \"isArray\": true,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"location\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Range\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"MapDeclaration\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"key\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapKeyType\"\n },\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"value\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapValueType\"\n },\n \"isArray\": false,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Declaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"StringMapKeyType\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapKeyType\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DateTimeMapKeyType\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapKeyType\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"ObjectMapKeyType\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"type\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"TypeIdentifier\"\n },\n \"isArray\": false,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapKeyType\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"BooleanMapValueType\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapValueType\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DateTimeMapValueType\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapValueType\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"StringMapValueType\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapValueType\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"IntegerMapValueType\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapValueType\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"LongMapValueType\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapValueType\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DoubleMapValueType\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapValueType\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"ObjectMapValueType\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"type\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"TypeIdentifier\"\n },\n \"isArray\": false,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapValueType\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"RelationshipMapValueType\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"type\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"TypeIdentifier\"\n },\n \"isArray\": false,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"MapValueType\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"EnumDeclaration\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"properties\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"EnumProperty\"\n },\n \"isArray\": true,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Declaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"EnumProperty\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"name\",\n \"isArray\": false,\n \"isOptional\": false,\n \"validator\": {\n \"$class\": \"concerto.metamodel@1.0.0.StringRegexValidator\",\n \"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)*$\",\n \"flags\": \"u\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"decorators\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Decorator\"\n },\n \"isArray\": true,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"location\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Range\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"ConceptDeclaration\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.BooleanProperty\",\n \"name\": \"isAbstract\",\n \"isArray\": false,\n \"isOptional\": false,\n \"defaultValue\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"identified\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Identified\"\n },\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"superType\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"TypeIdentifier\"\n },\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"properties\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Property\"\n },\n \"isArray\": true,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Declaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"AssetDeclaration\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"ConceptDeclaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"ParticipantDeclaration\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"ConceptDeclaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"TransactionDeclaration\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"ConceptDeclaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"EventDeclaration\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"ConceptDeclaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"Property\",\n \"isAbstract\": true,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"name\",\n \"isArray\": false,\n \"isOptional\": false,\n \"validator\": {\n \"$class\": \"concerto.metamodel@1.0.0.StringRegexValidator\",\n \"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)*$\",\n \"flags\": \"u\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.BooleanProperty\",\n \"name\": \"isArray\",\n \"isArray\": false,\n \"isOptional\": false,\n \"defaultValue\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.BooleanProperty\",\n \"name\": \"isOptional\",\n \"isArray\": false,\n \"isOptional\": false,\n \"defaultValue\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"sizeValidator\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"CollectionSizeValidator\"\n },\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"decorators\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Decorator\"\n },\n \"isArray\": true,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"location\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Range\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"CollectionSizeValidator\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.IntegerProperty\",\n \"name\": \"minSize\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.IntegerProperty\",\n \"name\": \"maxSize\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"RelationshipProperty\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"type\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"TypeIdentifier\"\n },\n \"isArray\": false,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Property\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"ObjectProperty\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"type\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"TypeIdentifier\"\n },\n \"isArray\": false,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Property\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"BooleanProperty\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.BooleanProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Property\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DateTimeProperty\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Property\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"StringProperty\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"validator\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"StringRegexValidator\"\n },\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"lengthValidator\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"StringLengthValidator\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Property\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"StringRegexValidator\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"pattern\",\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"flags\",\n \"isArray\": false,\n \"isOptional\": false\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"StringLengthValidator\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.IntegerProperty\",\n \"name\": \"minLength\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.IntegerProperty\",\n \"name\": \"maxLength\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DoubleProperty\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.DoubleProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"validator\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"DoubleDomainValidator\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Property\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DoubleDomainValidator\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.DoubleProperty\",\n \"name\": \"lower\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.DoubleProperty\",\n \"name\": \"upper\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"IntegerProperty\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.IntegerProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"validator\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"IntegerDomainValidator\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Property\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"IntegerDomainValidator\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.IntegerProperty\",\n \"name\": \"lower\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.IntegerProperty\",\n \"name\": \"upper\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"LongProperty\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.LongProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"validator\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"LongDomainValidator\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Property\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"LongDomainValidator\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.LongProperty\",\n \"name\": \"lower\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.LongProperty\",\n \"name\": \"upper\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"AliasedType\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"name\",\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"aliasedName\",\n \"isArray\": false,\n \"isOptional\": false\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"Import\",\n \"isAbstract\": true,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"namespace\",\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"uri\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"ImportAll\",\n \"isAbstract\": false,\n \"properties\": [],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Import\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"ImportType\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"name\",\n \"isArray\": false,\n \"isOptional\": false\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Import\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"ImportTypes\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"types\",\n \"isArray\": true,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"aliasedTypes\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"AliasedType\"\n },\n \"isArray\": true,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Import\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"Model\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"namespace\",\n \"isArray\": false,\n \"isOptional\": false\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"sourceUri\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"concertoVersion\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"imports\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Import\"\n },\n \"isArray\": true,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"declarations\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Declaration\"\n },\n \"isArray\": true,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"decorators\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Decorator\"\n },\n \"isArray\": true,\n \"isOptional\": true\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"Models\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"models\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Model\"\n },\n \"isArray\": true,\n \"isOptional\": false\n }\n ]\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"ScalarDeclaration\",\n \"isAbstract\": true,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"namespace\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"Declaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"BooleanScalar\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.BooleanProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"ScalarDeclaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"IntegerScalar\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.IntegerProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"validator\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"IntegerDomainValidator\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"ScalarDeclaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"LongScalar\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.LongProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"validator\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"LongDomainValidator\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"ScalarDeclaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DoubleScalar\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.DoubleProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"validator\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"DoubleDomainValidator\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"ScalarDeclaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"StringScalar\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"validator\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"StringRegexValidator\"\n },\n \"isArray\": false,\n \"isOptional\": true\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ObjectProperty\",\n \"name\": \"lengthValidator\",\n \"type\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"StringLengthValidator\"\n },\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"ScalarDeclaration\"\n }\n },\n {\n \"$class\": \"concerto.metamodel@1.0.0.ConceptDeclaration\",\n \"name\": \"DateTimeScalar\",\n \"isAbstract\": false,\n \"properties\": [\n {\n \"$class\": \"concerto.metamodel@1.0.0.StringProperty\",\n \"name\": \"defaultValue\",\n \"isArray\": false,\n \"isOptional\": true\n }\n ],\n \"superType\": {\n \"$class\": \"concerto.metamodel@1.0.0.TypeIdentifier\",\n \"name\": \"ScalarDeclaration\"\n }\n }\n ]\n}\n", "/*\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/* eslint-disable */\n\n'use strict';\n\n/**\n * The metamodel itself, as a CTO string\n */\nconst 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\";\n\nmodule.exports = metaModelCto;\n", "/*\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'use strict';\n\n/**\n * The metamodel itself, as an AST.\n * @type unknown\n */\nconst metaModelAst = require('./metamodel.json');\n\n/**\n * The namespace for the metamodel\n */\nconst MetaModelNamespace = 'concerto.metamodel@1.0.0';\n\n/**\n * The metamodel itself, as a CTO string\n */\nconst metaModelCto = require('./metamodel.js');\n\n/**\n * Find the model for a given namespace\n * @param {*} priorModels - known models\n * @param {string} namespace - the namespace\n * @return {*} the model\n */\nfunction findNamespace(priorModels, namespace) {\n return priorModels.models.find((thisModel) => thisModel.namespace === namespace);\n}\n\n/**\n * Find a declaration for a given name in a model\n * @param {*} thisModel - the model\n * @param {string} name - the declaration name\n * @return {*} the declaration\n */\nfunction findDeclaration(thisModel, name) {\n return thisModel.declarations.find((thisDecl) => thisDecl.name === name);\n}\n\n/**\n * Create a name resolution table\n * @param {*} priorModels - known models\n * @param {object} metaModel - the metamodel (JSON)\n * @return {object} mapping from a name to its namespace\n */\nfunction createNameTable(priorModels, metaModel) {\n const concertoNs = 'concerto@1.0.0';\n const table = {\n 'Concept': {namespace: concertoNs, name: 'Concept'},\n 'Asset': {namespace: concertoNs, name: 'Asset'},\n 'Participant': {namespace: concertoNs, name: 'Participant'},\n 'Transaction': {namespace: concertoNs, name: 'Transaction'},\n 'Event': {namespace: concertoNs, name: 'Event'},\n };\n\n // First list the imported names in order (overriding as we go along)\n (metaModel.imports || []).forEach((imp) => {\n const namespace = imp.namespace;\n const modelFile = findNamespace(priorModels, namespace);\n if (imp.$class === `${MetaModelNamespace}.ImportType`) {\n if (!findDeclaration(modelFile, imp.name)) {\n throw new Error(`Declaration ${imp.name} in namespace ${namespace} not found`);\n }\n table[imp.name] = {namespace, name: imp.name};\n } else if (imp.$class === `${MetaModelNamespace}.ImportTypes`) {\n // Create a map of aliased types if they exist, otherwise initialize an empty map.\n const aliasedMap = imp.aliasedTypes\n ? new Map(imp.aliasedTypes.map(({ name, aliasedName }) => [name, aliasedName]))\n : new Map();\n imp.types.forEach((type) => {\n // 'localName' is the identifier used to refer to the imported type, as it can be aliased..\n const localName = aliasedMap.get(type) || type;\n\n // Verify if the type declaration exists in the model file.\n // Here, 'type' refers to the actual declaration name within the model file that is being imported.\n if (!findDeclaration(modelFile, type)) {\n throw new Error(`Declaration ${type} in namespace ${namespace} not found`);\n }\n table[localName] = localName !== type ? {namespace, name: localName, resolvedName: type} : {namespace, name: type};\n });\n } else {\n (modelFile.declarations || []).forEach((decl) => {\n table[decl.name] = {namespace, name: decl.name};\n });\n }\n });\n\n // Then add the names local to this metaModel (overriding as we go along)\n (metaModel.declarations || []).forEach((decl) => {\n table[decl.name] = {namespace: metaModel.namespace, name: decl.name};\n });\n\n return table;\n}\n\n/**\n * Resolve a name using the name table\n * @param {string} name - the name of the type to resolve\n * @param {object} table - the name table\n * @return {string} the namespace for that name\n */\nfunction resolveName(name, table) {\n if (!table[name]) {\n throw new Error(`Name ${name} not found`);\n }\n return table[name].namespace;\n}\n\n/**\n * Name resolution for metamodel\n * @param {object} metaModel - the metamodel (JSON)\n * @param {object} table - the name table\n * @return {object} the metamodel with fully qualified names\n */\nfunction resolveTypeNames(metaModel, table) {\n // any element can have a decorator (including primitive fields) , so lets resolve those first\n (metaModel.decorators || []).forEach((decorator) => {\n resolveTypeNames(decorator, table);\n });\n\n switch (metaModel.$class) {\n case `${MetaModelNamespace}.Model`: {\n (metaModel.declarations || []).forEach((decl) => {\n resolveTypeNames(decl, table);\n });\n }\n break;\n case `${MetaModelNamespace}.EnumDeclaration`:\n case `${MetaModelNamespace}.AssetDeclaration`:\n case `${MetaModelNamespace}.ConceptDeclaration`:\n case `${MetaModelNamespace}.EventDeclaration`:\n case `${MetaModelNamespace}.TransactionDeclaration`:\n case `${MetaModelNamespace}.ParticipantDeclaration`: {\n if (metaModel.superType) {\n const name = metaModel.superType.name;\n metaModel.superType.namespace = resolveName(name, table);\n metaModel.superType.name = table[name].name;\n if (table[name]?.resolvedName) {\n metaModel.superType.resolvedName = table[name].resolvedName;\n }\n }\n (metaModel.properties || []).forEach((property) => {\n resolveTypeNames(property, table);\n });\n }\n break;\n case `${MetaModelNamespace}.MapDeclaration`: {\n resolveTypeNames(metaModel.key, table);\n resolveTypeNames(metaModel.value, table);\n }\n break;\n case `${MetaModelNamespace}.Decorator`: {\n (metaModel.arguments || []).forEach((argument) => {\n resolveTypeNames(argument, table);\n });\n }\n break;\n case `${MetaModelNamespace}.ObjectProperty`:\n case `${MetaModelNamespace}.RelationshipProperty`:\n case `${MetaModelNamespace}.DecoratorTypeReference`:\n case `${MetaModelNamespace}.ObjectMapKeyType`:\n case `${MetaModelNamespace}.ObjectMapValueType`:\n case `${MetaModelNamespace}.RelationshipMapValueType`: {\n metaModel.type.namespace = resolveName(metaModel.type.name, table);\n metaModel.type.name = table[metaModel.type.name].name;\n if (table[metaModel.type.name]?.resolvedName) {\n metaModel.type.resolvedName = table[metaModel.type.name].resolvedName;\n }\n }\n break;\n case `${MetaModelNamespace}.StringScalar`:\n case `${MetaModelNamespace}.BooleanScalar`:\n case `${MetaModelNamespace}.DateTimeScalar`:\n case `${MetaModelNamespace}.DoubleScalar`:\n case `${MetaModelNamespace}.LongScalar`:\n case `${MetaModelNamespace}.IntegerScalar`: {\n metaModel.namespace = resolveName(metaModel.name, table);\n metaModel.name = table[metaModel.name].name;\n }\n break;\n default: {\n if (!metaModel.$class) {\n throw new Error(`Unrecognized $class ${String(metaModel.$class)}`);\n }\n }\n }\n return metaModel;\n}\n\n/**\n * Resolve the namespace for names in the metamodel\n * @param {*} priorModels - known models\n * @param {object} metaModel - the MetaModel\n * @return {object} the resolved metamodel\n */\nfunction resolveLocalNames(priorModels, metaModel) {\n const result = JSON.parse(JSON.stringify(metaModel));\n const nameTable = createNameTable(priorModels, metaModel);\n // This adds the fully qualified names to the same object\n resolveTypeNames(result, nameTable);\n return result;\n}\n\n/**\n * Resolve the namespace for names in the metamodel\n * @param {*} allModels - known models\n * @return {object} the resolved metamodel\n */\nfunction resolveLocalNamesForAll(allModels) {\n const result = {\n $class: `${MetaModelNamespace}.Models`,\n models: [],\n };\n allModels.models.forEach((metaModel) => {\n const resolved = resolveLocalNames(allModels, metaModel);\n result.models.push(resolved);\n });\n return result;\n}\n\n/**\n * Return the fully qualified name for an import\n * @param {object} imp - the import\n * @return {string[]} - the fully qualified names for that import\n * @private\n */\nfunction importFullyQualifiedNames(imp) {\n const result = [];\n\n switch (imp.$class) {\n case `${MetaModelNamespace}.ImportAll`:\n result.push(`${imp.namespace}.*`);\n break;\n case `${MetaModelNamespace}.ImportType`:\n result.push(`${imp.namespace}.${imp.name}`);\n break;\n case `${MetaModelNamespace}.ImportTypes`: {\n imp.types.forEach(type => {\n result.push(`${imp.namespace}.${type}`);\n });\n }\n break;\n default:\n throw new Error(`Unrecognized imports ${imp.$class}`);\n }\n return result;\n}\n\n/**\n * Returns an object that maps from the import declarations to the URIs specified\n * @param {*} ast - the model ast\n * @return {Object} keys are import declarations, values are URIs\n * @private\n */\nfunction getExternalImports(ast) {\n const uriMap = {};\n if (ast.imports) {\n ast.imports.forEach((imp) => {\n const fqns = importFullyQualifiedNames(imp);\n if (imp.uri) {\n uriMap[fqns[0]] = imp.uri;\n }\n });\n }\n return uriMap;\n}\n\nmodule.exports = {\n metaModelAst,\n metaModelCto,\n resolveLocalNames,\n resolveLocalNamesForAll,\n importFullyQualifiedNames,\n getExternalImports,\n};\n", "/*\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/* eslint-disable */\n\n'use strict';\n\nconst DcsCto = \"/*\\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\\nnamespace org.accordproject.decoratorcommands@0.4.0\\n\\nimport concerto.metamodel@1.0.0.Decorator\\n\\n/**\\n * A reference to an existing named & versioned DecoratorCommandSet\\n */\\nconcept DecoratorCommandSetReference {\\n o String name\\n o String version\\n}\\n\\n/**\\n * Whether to upsert or append the decorator\\n */\\nenum CommandType {\\n o UPSERT\\n o APPEND\\n}\\n\\n/**\\n * Which models elements to add the decorator to. Any null\\n * elements are 'wildcards'.\\n */\\nconcept CommandTarget {\\n o String namespace optional\\n o String declaration optional\\n o String property optional\\n o String[] properties optional // property and properties are mutually exclusive\\n o String type optional\\n o MapElement mapElement optional\\n}\\n\\n/**\\n * Map Declaration elements which might be used as a target\\n */\\nenum MapElement {\\n o KEY\\n o VALUE\\n o KEY_VALUE\\n}\\n\\n/**\\n * Applies a decorator to a given target\\n */\\nconcept Command {\\n o CommandTarget target\\n o Decorator decorator\\n o CommandType type\\n o String decoratorNamespace optional\\n}\\n\\n/**\\n * A named and versioned set of commands. Includes are supported for modularity/reuse.\\n */\\nconcept DecoratorCommandSet {\\n o String name\\n o String version\\n o DecoratorCommandSetReference[] includes optional // not yet supported\\n o Command[] commands\\n}\";\nconst DcsNamespace = \"org.accordproject.decoratorcommands@0.4.0\";\nmodule.exports = {\n DcsCto,\n DcsNamespace\n};", "/*\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'use strict';\n\n/**\n * Concerto metamodel management. Concerto is a framework for defining domain\n * specific models.\n *\n * @module concerto-metamodel\n */\n\n// MetaModel handling\nconst MetaModelUtil = require('./lib/metamodelutil');\nconst { DcsCto, DcsNamespace } = require('./lib/dcsmodel');\n\n// Two details below are deliberate, and both matter to cjs-module-lexer - the\n// static analyzer Node's ESM loader uses to detect the named exports of a\n// CommonJS module. The exports are assigned individually rather than as a\n// single `module.exports = { ... }` object, and MetaModelNamespace is a local\n// binding rather than an inline string literal. Within an object literal the\n// lexer only recognises shorthand and `key: identifier` entries, so the\n// previous `MetaModelNamespace: 'concerto.metamodel@1.0.0'` halted its scan\n// and silently hid DcsCto and DcsNamespace from ESM `import { ... }`.\nconst MetaModelNamespace = /** @type {string} */ ('concerto.metamodel@1.0.0');\n\nexports.MetaModelUtil = MetaModelUtil;\nexports.MetaModelNamespace = MetaModelNamespace;\nexports.DcsCto = DcsCto;\nexports.DcsNamespace = DcsNamespace;\n"],
|
|
5
|
+
"mappings": ";;;;;;AAAA;AAAA;AAAA;AAAA,MACE,QAAU;AAAA,MACV,YAAc;AAAA,QACZ;AAAA,UACE,QAAU;AAAA,UACV,MAAQ;AAAA,UACR,WAAa;AAAA,YACX;AAAA,cACE,QAAU;AAAA,cACV,OAAS;AAAA,YACX;AAAA,UACF;AAAA,QACF;AAAA,MACF;AAAA,MACA,WAAa;AAAA,MACb,SAAW,CAAC;AAAA,MACZ,cAAgB;AAAA,QACd;AAAA,UACE,QAAU;AAAA,UACV,MAAQ;AAAA,UACR,YAAc;AAAA,UACd,YAAc;AAAA,YACZ;AAAA,cACE,QAAU;AAAA,cACV,MAAQ;AAAA,cACR,SAAW;AAAA,cACX,YAAc;AAAA,YAChB;AAAA,YACA;AAAA,cACE,QAAU;AAAA,cACV,MAAQ;AAAA,cACR,SAAW;AAAA,cACX,YAAc;AAAA,YAChB;AAAA,YACA;AAAA,cACE,QAAU;AAAA,cACV,MAAQ;AAAA,cACR,SAAW;AAAA,cACX,YAAc;AAAA,YAChB;AAAA,UACF;AAAA,QACF;AAAA,QACA;AAAA,UACE,QAAU;AAAA,UACV,MAAQ;AAAA,UACR,YAAc;AAAA,UACd,YAAc;AAAA,Y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;AC/RA;AAAA;AAAA;AAAA;AAkBA,QAAM,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACf,QAAM,eAAe;AACrB,WAAO,UAAU;AAAA,MACb;AAAA,MACA;AAAA,IACJ;AAAA;AAAA;;;ACvBA;AAAA;AAAA;AAAA;AAwBA,QAAM,gBAAgB;AACtB,QAAM,EAAE,QAAQ,aAAa,IAAI;AAUjC,QAAM;AAAA;AAAA,MAA4C;AAAA;AAElD,YAAQ,gBAAgB;AACxB,YAAQ,qBAAqB;AAC7B,YAAQ,SAAS;AACjB,YAAQ,eAAe;AAAA;AAAA;",
|
|
6
|
+
"names": ["require_metamodel"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __esm = (fn, res) => function __init() {
|
|
8
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
9
|
+
};
|
|
10
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
11
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from))
|
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
20
|
+
};
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
29
|
+
|
|
30
|
+
// ../../scripts/browser-process-shim.js
|
|
31
|
+
var globals, fallback, process;
|
|
32
|
+
var init_browser_process_shim = __esm({
|
|
33
|
+
"../../scripts/browser-process-shim.js"() {
|
|
34
|
+
globals = typeof globalThis !== "undefined" ? globalThis : {};
|
|
35
|
+
fallback = {
|
|
36
|
+
env: {},
|
|
37
|
+
platform: "browser",
|
|
38
|
+
/**
|
|
39
|
+
* Stand-in for Node's process.emitWarning.
|
|
40
|
+
*
|
|
41
|
+
* @param {string} message - the warning text
|
|
42
|
+
* @param {string} [type] - the warning type
|
|
43
|
+
*/
|
|
44
|
+
emitWarning(message, type) {
|
|
45
|
+
console.warn(type ? `${type}: ${message}` : message);
|
|
46
|
+
},
|
|
47
|
+
/**
|
|
48
|
+
* Stand-in for Node's process.cwd.
|
|
49
|
+
*
|
|
50
|
+
* @return {string} the notional working directory
|
|
51
|
+
*/
|
|
52
|
+
cwd() {
|
|
53
|
+
return "/";
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
process = globals.process || fallback;
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
__commonJS,
|
|
62
|
+
__toESM,
|
|
63
|
+
process,
|
|
64
|
+
init_browser_process_shim
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=chunk-MSZDQHW6.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../scripts/browser-process-shim.js"],
|
|
4
|
+
"sourcesContent": ["/*\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/*\n * Injected into the browser ESM build (see scripts/build-esm.js) to bind the\n * free `process` identifier the sources and their dependencies use \u2014\n * `process.env.TZ` in the serializer, `process.emitWarning` in warning.ts,\n * `process.env.NODE_ENV` inside bundled deps.\n *\n * Leaving it free pushes the problem onto every downstream browser bundler.\n * webpack consumers in particular inject `process: 'process/browser'` through\n * ProvidePlugin, and that extensionless request is rejected as not fully\n * specified when the module it lands in is a .mjs file:\n *\n * Module not found: Can't resolve 'process/browser'\n * BREAKING CHANGE: ... resolved as fully specified\n *\n * The shim defers to a real `globalThis.process` whenever the page has one, so\n * a consumer's own polyfill still wins; the fallback only covers what these\n * packages actually read.\n */\n\nconst globals = typeof globalThis !== 'undefined' ? globalThis : {};\n\nconst fallback = {\n env: {},\n platform: 'browser',\n /**\n * Stand-in for Node's process.emitWarning.\n *\n * @param {string} message - the warning text\n * @param {string} [type] - the warning type\n */\n emitWarning(message, type) {\n // eslint-disable-next-line no-console\n console.warn(type ? `${type}: ${message}` : message);\n },\n /**\n * Stand-in for Node's process.cwd.\n *\n * @return {string} the notional working directory\n */\n cwd() {\n return '/';\n },\n};\n\nexport const process = globals.process || fallback;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAiCM,SAEA,UAuBO;AA1Db;AAAA;AAiCA,IAAM,UAAU,OAAO,eAAe,cAAc,aAAa,CAAC;AAElE,IAAM,WAAW;AAAA,MACb,KAAK,CAAC;AAAA,MACN,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAOV,YAAY,SAAS,MAAM;AAEvB,gBAAQ,KAAK,OAAO,GAAG,IAAI,KAAK,OAAO,KAAK,OAAO;AAAA,MACvD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAMA,MAAM;AACF,eAAO;AAAA,MACX;AAAA,IACJ;AAEO,IAAM,UAAU,QAAQ,WAAW;AAAA;AAAA;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import {
|
|
2
|
+
init_browser_process_shim
|
|
3
|
+
} from "./chunk-MSZDQHW6.mjs";
|
|
4
|
+
|
|
5
|
+
// src/parseexception.ts
|
|
6
|
+
init_browser_process_shim();
|
|
7
|
+
import { BaseFileException } from "@accordproject/concerto-util";
|
|
8
|
+
var ParseException = class extends BaseFileException {
|
|
9
|
+
/**
|
|
10
|
+
* Create an ParseException
|
|
11
|
+
* @param {string} message - the message for the exception
|
|
12
|
+
* @param {string | object} [fileLocation] - the file location associated with the exception
|
|
13
|
+
* @param {string} [fileName] - the file name associated with the exception
|
|
14
|
+
* @param {string} [fullMessageOverride] - the pre-existing full message
|
|
15
|
+
* @param {string} [component] - the component which throws this error
|
|
16
|
+
*/
|
|
17
|
+
constructor(message, fileLocation, fileName, fullMessageOverride, component) {
|
|
18
|
+
let fullMessage = message;
|
|
19
|
+
let suffix = "";
|
|
20
|
+
if (fileName) {
|
|
21
|
+
suffix += " File " + fileName;
|
|
22
|
+
}
|
|
23
|
+
if (fileLocation) {
|
|
24
|
+
if (fileLocation.end && fileLocation.start) {
|
|
25
|
+
if (fileLocation.end.offset && fileLocation.start.offset) {
|
|
26
|
+
if (fileLocation.end.offset - fileLocation.start.offset === 1) {
|
|
27
|
+
fileLocation.end.column = fileLocation.start.column;
|
|
28
|
+
fileLocation.end.offset = fileLocation.start.offset;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
if (suffix) {
|
|
33
|
+
suffix += " line " + fileLocation.start.line + " column " + fileLocation.start.column;
|
|
34
|
+
} else {
|
|
35
|
+
suffix += " Line " + fileLocation.start.line + " column " + fileLocation.start.column;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
fullMessage += suffix;
|
|
39
|
+
super(message, fileLocation, fullMessageOverride || fullMessage, fileName, component);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
var parseexception_default = ParseException;
|
|
43
|
+
|
|
44
|
+
export {
|
|
45
|
+
ParseException,
|
|
46
|
+
parseexception_default
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=chunk-OMK4IF4X.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/parseexception.ts"],
|
|
4
|
+
"sourcesContent": ["/*\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\nimport { BaseFileException } from '@accordproject/concerto-util';\n\n/**\n * Exception throws when a Concerto file is syntactically invalid\n * @extends BaseFileException\n * @see See {@link BaseFileException}\n * @class\n * @memberof module:concerto-core\n * @private\n */\nclass ParseException extends (BaseFileException as any) {\n /**\n * Create an ParseException\n * @param {string} message - the message for the exception\n * @param {string | object} [fileLocation] - the file location associated with the exception\n * @param {string} [fileName] - the file name associated with the exception\n * @param {string} [fullMessageOverride] - the pre-existing full message\n * @param {string} [component] - the component which throws this error\n */\n constructor(message: string, fileLocation?: {\n start: {\n line: number;\n column: number;\n offset: number;\n };\n end?: {\n line: number;\n column: number;\n offset: number;\n };\n }, fileName?: string, fullMessageOverride?: string, component?: string) {\n let fullMessage = message;\n let suffix = '';\n\n // Add the file name onto the message if it has been set.\n if (fileName) {\n suffix += ' File ' + fileName;\n }\n\n // The parser does not give us back the end location of an invalid token.\n // Making the end column equal to the start column makes use of\n // vscodes default behaviour of selecting an entire word\n if (fileLocation) {\n if (fileLocation.end && fileLocation.start) {\n if (fileLocation.end.offset && fileLocation.start.offset) {\n if (fileLocation.end.offset - fileLocation.start.offset === 1) {\n fileLocation.end.column = fileLocation.start.column;\n fileLocation.end.offset = fileLocation.start.offset;\n }\n }\n }\n if (suffix) {\n suffix+= ' line ' + fileLocation.start.line + ' column ' + fileLocation.start.column;\n } else {\n suffix+= ' Line ' + fileLocation.start.line + ' column ' + fileLocation.start.column;\n }\n }\n\n fullMessage += suffix;\n super(message, fileLocation, fullMessageOverride || fullMessage, fileName, component);\n }\n}\n\nexport { ParseException };\nexport default ParseException; "],
|
|
5
|
+
"mappings": ";;;;;AAAA;AAcA,SAAS,yBAAyB;AAUlC,IAAM,iBAAN,cAA8B,kBAA0B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASpD,YAAY,SAAiB,cAW1B,UAAmB,qBAA8B,WAAoB;AACpE,QAAI,cAAc;AAClB,QAAI,SAAS;AAGb,QAAI,UAAU;AACV,gBAAU,WAAW;AAAA,IACzB;AAKA,QAAI,cAAc;AACd,UAAI,aAAa,OAAO,aAAa,OAAO;AACxC,YAAI,aAAa,IAAI,UAAU,aAAa,MAAM,QAAQ;AACtD,cAAI,aAAa,IAAI,SAAS,aAAa,MAAM,WAAW,GAAG;AAC3D,yBAAa,IAAI,SAAS,aAAa,MAAM;AAC7C,yBAAa,IAAI,SAAS,aAAa,MAAM;AAAA,UACjD;AAAA,QACJ;AAAA,MACJ;AACA,UAAI,QAAQ;AACR,kBAAS,WAAW,aAAa,MAAM,OAAO,aAAa,aAAa,MAAM;AAAA,MAClF,OAAO;AACH,kBAAS,WAAW,aAAa,MAAM,OAAO,aAAa,aAAa,MAAM;AAAA,MAClF;AAAA,IACJ;AAEA,mBAAe;AACf,UAAM,SAAS,cAAc,uBAAuB,aAAa,UAAU,SAAS;AAAA,EACxF;AACJ;AAGA,IAAO,yBAAQ;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|