diff --git a/dmn-core/src/main/java/com/gs/dmn/transformation/DMNToJavaTransformer.java b/dmn-core/src/main/java/com/gs/dmn/transformation/DMNToJavaTransformer.java index 86a31d83d..c4a8d96ab 100644 --- a/dmn-core/src/main/java/com/gs/dmn/transformation/DMNToJavaTransformer.java +++ b/dmn-core/src/main/java/com/gs/dmn/transformation/DMNToJavaTransformer.java @@ -12,15 +12,30 @@ */ package com.gs.dmn.transformation; +import com.gs.dmn.DMNModelRepository; +import com.gs.dmn.ast.TDefinitions; +import com.gs.dmn.context.DMNContext; import com.gs.dmn.dialect.DMNDialectDefinition; +import com.gs.dmn.el.analysis.semantics.type.Type; import com.gs.dmn.log.BuildLogger; +import com.gs.dmn.runtime.DMNRuntimeException; +import com.gs.dmn.runtime.metadata.DMNMetadata; +import com.gs.dmn.serialization.JsonSerializer; import com.gs.dmn.serialization.TypeDeserializationConfigurer; import com.gs.dmn.tck.ast.TestCases; +import com.gs.dmn.transformation.basic.BasicDMNToNativeTransformer; import com.gs.dmn.transformation.lazy.LazyEvaluationDetector; import com.gs.dmn.transformation.template.TemplateProvider; import com.gs.dmn.validation.DMNValidator; +import java.io.File; +import java.nio.file.Path; +import java.util.List; +import java.util.stream.Collectors; + public class DMNToJavaTransformer extends AbstractDMNToNativeTransformer { + public static final String DMN_METADATA_FILE_NAME = "DMNMetadata"; + public DMNToJavaTransformer(DMNDialectDefinition dialectDefinition, DMNValidator dmnValidator, DMNTransformer dmnTransformer, TemplateProvider templateProvider, LazyEvaluationDetector lazyEvaluationDetector, TypeDeserializationConfigurer typeDeserializationConfigurer, InputParameters inputParameters, BuildLogger logger) { super(dialectDefinition, dmnValidator, dmnTransformer, templateProvider, lazyEvaluationDetector, typeDeserializationConfigurer, inputParameters, logger); } @@ -29,4 +44,40 @@ public DMNToJavaTransformer(DMNDialectDefinition dmnTransformer, DMNModelRepository dmnModelRepository, Path outputPath) { + super.transform(dmnTransformer, dmnModelRepository, outputPath); + + // Generate metadata + processManifest(dmnTransformer, DMN_METADATA_FILE_NAME, outputPath); + } + + private void processManifest(BasicDMNToNativeTransformer dmnTransformer, String jsonFileName, Path outputPath) { + String javaPackageName = dmnTransformer.nativeRootPackageName(); + String filePath = javaPackageName.replace('.', '/'); + String fileExtension = ".json"; + + try { + DMNToManifestTransformer dmnToManifestTransformer = new DMNToManifestTransformer(dmnTransformer, logger); + List dmnNamespaces = getNamespaces(dmnTransformer.getDMNModelRepository().getAllDefinitions()); + String nativeNamespace = dmnTransformer.nativeRootPackageName(); + String dmnVersion = this.inputParameters.getDmnVersion(); + String modelVersion = this.inputParameters.getModelVersion(); + String platformVersion = this.inputParameters.getPlatformVersion(); + DMNMetadata manifest = dmnToManifestTransformer.toManifest(dmnNamespaces, nativeNamespace, dmnVersion, modelVersion, platformVersion); + File resultFile = this.templateProcessor.makeOutputFile(outputPath, filePath, jsonFileName, fileExtension); + JsonSerializer.OBJECT_MAPPER.writerWithDefaultPrettyPrinter().writeValue(resultFile, manifest); + } catch (Exception e) { + throw new DMNRuntimeException("Cannot process manifest file", e); + } + } + + private List getNamespaces(List allDefinitions) { + if (allDefinitions == null) { + return null; + } else { + return allDefinitions.stream().map(TDefinitions::getNamespace).collect(Collectors.toList()); + } + } } diff --git a/dmn-core/src/main/java/com/gs/dmn/transformation/DMNToKotlinTransformer.java b/dmn-core/src/main/java/com/gs/dmn/transformation/DMNToKotlinTransformer.java index eaf7aa0a1..0e030875b 100644 --- a/dmn-core/src/main/java/com/gs/dmn/transformation/DMNToKotlinTransformer.java +++ b/dmn-core/src/main/java/com/gs/dmn/transformation/DMNToKotlinTransformer.java @@ -20,7 +20,7 @@ import com.gs.dmn.transformation.template.TemplateProvider; import com.gs.dmn.validation.DMNValidator; -public class DMNToKotlinTransformer extends AbstractDMNToNativeTransformer { +public class DMNToKotlinTransformer extends DMNToJavaTransformer { public DMNToKotlinTransformer(DMNDialectDefinition dialectDefinition, DMNValidator dmnValidator, DMNTransformer dmnTransformer, TemplateProvider templateProvider, LazyEvaluationDetector lazyEvaluationDetector, TypeDeserializationConfigurer typeDeserializationConfigurer, InputParameters inputParameters, BuildLogger logger) { super(dialectDefinition, dmnValidator, dmnTransformer, templateProvider, lazyEvaluationDetector, typeDeserializationConfigurer, inputParameters, logger); } diff --git a/dmn-signavio/src/main/java/com/gs/dmn/signavio/transformation/DMNToManifestTransformer.java b/dmn-core/src/main/java/com/gs/dmn/transformation/DMNToManifestTransformer.java similarity index 69% rename from dmn-signavio/src/main/java/com/gs/dmn/signavio/transformation/DMNToManifestTransformer.java rename to dmn-core/src/main/java/com/gs/dmn/transformation/DMNToManifestTransformer.java index 98c7281f5..793cf273a 100644 --- a/dmn-signavio/src/main/java/com/gs/dmn/signavio/transformation/DMNToManifestTransformer.java +++ b/dmn-core/src/main/java/com/gs/dmn/transformation/DMNToManifestTransformer.java @@ -10,16 +10,15 @@ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the * specific language governing permissions and limitations under the License. */ -package com.gs.dmn.signavio.transformation; +package com.gs.dmn.transformation; import com.gs.dmn.DMNModelRepository; import com.gs.dmn.QualifiedName; import com.gs.dmn.ast.*; import com.gs.dmn.context.DMNContext; +import com.gs.dmn.log.BuildLogger; import com.gs.dmn.runtime.DMNRuntimeException; import com.gs.dmn.runtime.metadata.*; -import com.gs.dmn.signavio.SignavioDMNModelRepository; -import com.gs.dmn.signavio.transformation.basic.BasicSignavioDMNToJavaTransformer; import com.gs.dmn.transformation.basic.BasicDMNToNativeTransformer; import java.util.ArrayList; @@ -29,20 +28,22 @@ import static com.gs.dmn.serialization.DMNVersion.DMN_11; public class DMNToManifestTransformer { - private final BasicDMNToNativeTransformer dmnTransformer; - private final DMNModelRepository dmnModelRepository; + protected final BasicDMNToNativeTransformer dmnTransformer; + protected final DMNModelRepository dmnModelRepository; + private final BuildLogger logger; - public DMNToManifestTransformer(BasicDMNToNativeTransformer dmnTransformer) { + public DMNToManifestTransformer(BasicDMNToNativeTransformer dmnTransformer, BuildLogger logger) { this.dmnModelRepository = dmnTransformer.getDMNModelRepository(); this.dmnTransformer = dmnTransformer; + this.logger = logger; } - public DMNMetadata toManifest(String dmnNamespace, String nativeNamespace, String dmnVersion, String modelVersion, String platformVersion) { - DMNMetadata manifest = new DMNMetadata(dmnNamespace, nativeNamespace, dmnVersion, modelVersion, platformVersion); + public DMNMetadata toManifest(List dmnNamespaces, String nativeNamespace, String dmnVersion, String modelVersion, String platformVersion) { + DMNMetadata manifest = new DMNMetadata(dmnNamespaces, nativeNamespace, dmnVersion, modelVersion, platformVersion); for (TDefinitions definitions: this.dmnModelRepository.getAllDefinitions()) { // Add types for (TItemDefinition itemDefinition : this.dmnModelRepository.findItemDefinitions(definitions)) { - com.gs.dmn.runtime.metadata.Type type = makeMetadataType(definitions, itemDefinition); + Type type = makeMetadataType(definitions, itemDefinition); manifest.addType(type); } // Add elements @@ -51,11 +52,11 @@ public DMNMetadata toManifest(String dmnNamespace, String nativeNamespace, Strin manifest.addElement(element); } for (TBusinessKnowledgeModel bkm : this.dmnModelRepository.findBKMs(definitions)) { - com.gs.dmn.runtime.metadata.BKM element = makeMetadataBKM(definitions, bkm); + BKM element = makeMetadataBKM(definitions, bkm); manifest.addElement(element); } for (TDecision decision : this.dmnModelRepository.findDecisions(definitions)) { - com.gs.dmn.runtime.metadata.Decision element = makeMetadataDecision(definitions, decision); + Decision element = makeMetadataDecision(definitions, decision); manifest.addElement(element); } } @@ -65,20 +66,20 @@ public DMNMetadata toManifest(String dmnNamespace, String nativeNamespace, Strin // // Types // - private com.gs.dmn.runtime.metadata.Type makeMetadataType(TDefinitions model, TItemDefinition itemDefinition) { + private Type makeMetadataType(TDefinitions model, TItemDefinition itemDefinition) { String id = itemDefinition.getId(); String name = itemDefinition.getName(); String label = itemDefinition.getLabel(); boolean isCollection = itemDefinition.isIsCollection(); - com.gs.dmn.runtime.metadata.QName typeRef = makeMetadataTypeRef(model, QualifiedName.toQualifiedName(model, itemDefinition.getTypeRef())); + QName typeRef = makeMetadataTypeRef(model, QualifiedName.toQualifiedName(model, itemDefinition.getTypeRef())); String allowedValues = makeMetadataAllowedValues(itemDefinition.getAllowedValues()); List children = itemDefinition.getItemComponent(); - com.gs.dmn.runtime.metadata.Type type; + Type type; if (children == null || children.isEmpty()) { type = new TypeReference(id, name, label, isCollection, typeRef, allowedValues); } else { - List subTypes = new ArrayList<>(); + List subTypes = new ArrayList<>(); for (TItemDefinition child : children) { subTypes.add(makeMetadataType(model, child)); } @@ -87,13 +88,13 @@ private com.gs.dmn.runtime.metadata.Type makeMetadataType(TDefinitions model, TI return type; } - private com.gs.dmn.runtime.metadata.QName makeMetadataTypeRef(TDefinitions model, QualifiedName typeRef) { + protected QName makeMetadataTypeRef(TDefinitions model, QualifiedName typeRef) { if (this.dmnModelRepository.isNull(typeRef)) { return null; } String importName = typeRef.getNamespace(); String namespace = findNamespace(model, importName); - return new com.gs.dmn.runtime.metadata.QName(namespace, typeRef.getLocalPart()); + return new QName(namespace, typeRef.getLocalPart()); } private String makeMetadataAllowedValues(TUnaryTests allowedValues) { @@ -124,56 +125,72 @@ private InputData makeMetadataInputData(com.gs.dmn.DRGElementReference knowledgeReferences = makeMetadataKnowledgeReferences(bkm.getKnowledgeRequirement()); return new BKM(id, name, label, diagramId, shapeId, javaParameterName, javaTypeName, javaOutputTypeName, typeRef, knowledgeReferences); } - private Decision makeMetadataDecision(TDefinitions definitions, TDecision decision) { + protected Decision makeMetadataDecision(TDefinitions definitions, TDecision decision) { String id = decision.getId(); - String diagramId = ((SignavioDMNModelRepository) this.dmnModelRepository).getDiagramId(decision); - String shapeId = ((SignavioDMNModelRepository) this.dmnModelRepository).getShapeId(decision); + String diagramId = getDiagramId(decision); + String shapeId = getShapeId(decision); String name = decision.getName(); String label = decision.getLabel(); String nativeParameterName = this.dmnTransformer.namedElementVariableName(decision); String nativeTypeName = this.dmnTransformer.qualifiedName(this.dmnTransformer.nativeModelPackageName(definitions.getName()), this.dmnTransformer.drgElementClassName(decision)); - String nativeOutputTypeName = this.dmnTransformer.drgElementOutputType(decision); - com.gs.dmn.runtime.metadata.QName typeRef = makeMetadataTypeRef(definitions, QualifiedName.toQualifiedName(definitions, decision.getVariable().getTypeRef())); + String nativeOutputTypeName = getJavaTypeName(decision); + QName typeRef = makeMetadataTypeRef(definitions, QualifiedName.toQualifiedName(definitions, decision.getVariable().getTypeRef())); List references = makeMetadataInformationReferences(decision); List knowledgeReferences = makeMetadataKnowledgeReferences(decision.getKnowledgeRequirement()); - List extensions = ((BasicSignavioDMNToJavaTransformer) this.dmnTransformer).makeMetadataExtensions(decision); + List extensions = null; List transitiveRequiredInputs = makeTransitiveRequiredInputs(decision); String protoRequestName = this.dmnTransformer.qualifiedRequestMessageName(decision); String protoResponseName = this.dmnTransformer.qualifiedResponseMessageName(decision); return new Decision(id, name, label, diagramId, shapeId, nativeParameterName, nativeTypeName, nativeOutputTypeName, typeRef, references, knowledgeReferences, extensions, transitiveRequiredInputs, protoRequestName, protoResponseName); } + protected String getDiagramId(TDRGElement element) { + return null; + } + + protected String getShapeId(TDRGElement element) { + return null; + } + + private String getJavaTypeName(TDRGElement element) { + try { + return this.dmnTransformer.drgElementOutputType(element); + } catch (Exception e) { + logger.error(e.getMessage()); + return Object.class.getName(); + } + } // // References // - private List makeMetadataKnowledgeReferences(List knowledgeRequirementList) { + protected List makeMetadataKnowledgeReferences(List knowledgeRequirementList) { List references = new ArrayList<>(); for (TKnowledgeRequirement knowledgeRequirement : knowledgeRequirementList) { addMetadataReference(references, knowledgeRequirement.getRequiredKnowledge()); @@ -182,7 +199,7 @@ private List makeMetadataKnowledgeReferences(List makeMetadataInformationReferences(TDecision decision) { + protected List makeMetadataInformationReferences(TDecision decision) { List references = new ArrayList<>(); List informationRequirementList = decision.getInformationRequirement(); for (TInformationRequirement informationRequirement : informationRequirementList) { @@ -192,7 +209,7 @@ private List makeMetadataInformationReferences(TDecision de return references; } - private List makeTransitiveRequiredInputs(TDecision element) { + protected List makeTransitiveRequiredInputs(TDecision element) { com.gs.dmn.DRGElementReference reference = this.dmnModelRepository.makeDRGElementReference(element); List> drgElementReferences = this.dmnTransformer.inputDataClosure(reference); return drgElementReferences.stream().map(this::makeMetadataInputData).collect(Collectors.toList()); diff --git a/dmn-runtime/src/main/java/com/gs/dmn/runtime/metadata/DMNMetadata.java b/dmn-runtime/src/main/java/com/gs/dmn/runtime/metadata/DMNMetadata.java index 9113c44ec..c6ea25faf 100644 --- a/dmn-runtime/src/main/java/com/gs/dmn/runtime/metadata/DMNMetadata.java +++ b/dmn-runtime/src/main/java/com/gs/dmn/runtime/metadata/DMNMetadata.java @@ -21,12 +21,12 @@ import java.util.List; import java.util.stream.Collectors; -@JsonPropertyOrder(value = {"dmnVersion", "modelVersion", "platformVersion", "dmnNamespace", "nativeNamespace", "types", "elements"}) +@JsonPropertyOrder(value = {"dmnVersion", "modelVersion", "platformVersion", "dmnNamespaces", "nativeNamespace", "types", "elements"}) public class DMNMetadata { private String dmnVersion; private String modelVersion; private String platformVersion; - private String dmnNamespace; + private List dmnNamespaces; private String nativeNamespace; private final List types = new ArrayList<>(); private final List elements = new ArrayList<>(); @@ -35,17 +35,17 @@ public class DMNMetadata { public DMNMetadata() { } - public DMNMetadata(String dmnNamespace, String nativeNamespace, String dmnVersion, String modelVersion, String platformVersion) { + public DMNMetadata(List dmnNamespaces, String nativeNamespace, String dmnVersion, String modelVersion, String platformVersion) { this.dmnVersion = dmnVersion; this.modelVersion = modelVersion; this.platformVersion = platformVersion; - this.dmnNamespace = dmnNamespace; + this.dmnNamespaces = dmnNamespaces; this.nativeNamespace = nativeNamespace; } - @JsonGetter("dmnNamespace") - public String getDmnNamespace() { - return dmnNamespace; + @JsonGetter("dmnNamespaces") + public List getDmnNamespaces() { + return dmnNamespaces; } @JsonGetter("nativeNamespace") diff --git a/dmn-runtime/src/main/java/com/gs/dmn/runtime/metadata/MetadataValidator.java b/dmn-runtime/src/main/java/com/gs/dmn/runtime/metadata/MetadataValidator.java index d0b2c66d5..7f36305cf 100644 --- a/dmn-runtime/src/main/java/com/gs/dmn/runtime/metadata/MetadataValidator.java +++ b/dmn-runtime/src/main/java/com/gs/dmn/runtime/metadata/MetadataValidator.java @@ -17,6 +17,7 @@ import org.slf4j.LoggerFactory; import java.io.InputStream; +import java.lang.annotation.Annotation; import java.util.List; public class MetadataValidator { @@ -44,6 +45,12 @@ public boolean validate(String pkg, ClassLoader classLoader) { } private boolean isGenerated(Class aClass) { - return aClass.getAnnotation(com.gs.dmn.runtime.annotation.DRGElement.class) != null; + for (Annotation annotation : aClass.getAnnotations()) { + String name = annotation.annotationType().getName(); + if (name.endsWith(com.gs.dmn.runtime.annotation.DRGElement.class.getName())) { + return true; + } + } + return false; } } diff --git a/dmn-runtime/src/main/java/com/gs/dmn/serialization/JsonSerializer.java b/dmn-runtime/src/main/java/com/gs/dmn/serialization/JsonSerializer.java index 29f467d50..f530f504a 100644 --- a/dmn-runtime/src/main/java/com/gs/dmn/serialization/JsonSerializer.java +++ b/dmn-runtime/src/main/java/com/gs/dmn/serialization/JsonSerializer.java @@ -13,6 +13,7 @@ package com.gs.dmn.serialization; import com.fasterxml.jackson.annotation.JsonAutoDetect; +import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.SerializationFeature; @@ -26,6 +27,7 @@ public class JsonSerializer { public static final ObjectMapper OBJECT_MAPPER; + public static final ObjectMapper VERBOSE_OBJECT_MAPPER; static { SimpleModule module = new SimpleModule(); @@ -33,6 +35,18 @@ public class JsonSerializer { module.addDeserializer(XMLGregorianCalendar.class, new XMLGregorianCalendarDeserializer()); OBJECT_MAPPER = JsonMapper.builder() + .addModule(module) + .addModule(new JavaTimeModule()) + .disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS) + .serializationInclusion(JsonInclude.Include.NON_NULL) + .serializationInclusion(JsonInclude.Include.NON_ABSENT) + .visibility(PropertyAccessor.FIELD, JsonAutoDetect.Visibility.NONE) + .visibility(PropertyAccessor.GETTER, JsonAutoDetect.Visibility.PUBLIC_ONLY) + .visibility(PropertyAccessor.SETTER, JsonAutoDetect.Visibility.PUBLIC_ONLY) + .visibility(PropertyAccessor.CREATOR, JsonAutoDetect.Visibility.NONE) + .build(); + + VERBOSE_OBJECT_MAPPER = JsonMapper.builder() .addModule(module) .addModule(new JavaTimeModule()) .disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS) diff --git a/dmn-runtime/src/test/java/com/gs/dmn/runtime/discovery/DecisionDiscoveryTest.java b/dmn-runtime/src/test/java/com/gs/dmn/runtime/discovery/DecisionDiscoveryTest.java index 6676cc68c..bfb5e3473 100644 --- a/dmn-runtime/src/test/java/com/gs/dmn/runtime/discovery/DecisionDiscoveryTest.java +++ b/dmn-runtime/src/test/java/com/gs/dmn/runtime/discovery/DecisionDiscoveryTest.java @@ -15,8 +15,10 @@ import org.junit.jupiter.api.Test; import java.util.Set; +import java.util.stream.Collectors; import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; public class DecisionDiscoveryTest { private final DecisionDiscovery decisionDiscovery = new DecisionDiscovery(); @@ -24,8 +26,7 @@ public class DecisionDiscoveryTest { @Test public void testDiscovery() { Set> decisions = decisionDiscovery.discover("com.gs"); - assertEquals(1, decisions.size()); - Class first = decisions.iterator().next(); - assertEquals("com.gs.dmn.runtime.discovery.NopDecision", first.getName()); + assertEquals(2, decisions.size()); + assertTrue(decisions.stream().map(Class::getName).collect(Collectors.toList()).contains("com.gs.dmn.runtime.discovery.NopDecision")); } } \ No newline at end of file diff --git a/dmn-runtime/src/test/java/com/gs/dmn/runtime/metadata/AssessApplicantAge.java b/dmn-runtime/src/test/java/com/gs/dmn/runtime/metadata/AssessApplicantAge.java new file mode 100644 index 000000000..b851560a6 --- /dev/null +++ b/dmn-runtime/src/test/java/com/gs/dmn/runtime/metadata/AssessApplicantAge.java @@ -0,0 +1,39 @@ +package com.gs.dmn.runtime.metadata; + +import java.util.Map; + +@javax.annotation.Generated(value = {"signavio-decision.ftl", "assessApplicantAge"}) +@com.gs.dmn.runtime.annotation.DRGElement( + namespace = "com.gs.dmn.generated.composite_example_credit_decision", + name = "assessApplicantAge", + label = "Assess applicant age", + elementKind = com.gs.dmn.runtime.annotation.DRGElementKind.DECISION, + expressionKind = com.gs.dmn.runtime.annotation.ExpressionKind.DECISION_TABLE, + hitPolicy = com.gs.dmn.runtime.annotation.HitPolicy.UNIQUE, + rulesCount = 3 +) +public class AssessApplicantAge extends com.gs.dmn.signavio.runtime.DefaultSignavioBaseDecision { + public static final com.gs.dmn.runtime.listener.DRGElement DRG_ELEMENT_METADATA = new com.gs.dmn.runtime.listener.DRGElement( + "com.gs.dmn.generated.composite_example_credit_decision", + "assessApplicantAge", + "Assess applicant age", + com.gs.dmn.runtime.annotation.DRGElementKind.DECISION, + com.gs.dmn.runtime.annotation.ExpressionKind.DECISION_TABLE, + com.gs.dmn.runtime.annotation.HitPolicy.UNIQUE, + 3 + ); + + public AssessApplicantAge() { + } + + @Override() + public java.math.BigDecimal applyMap(Map input_, com.gs.dmn.runtime.ExecutionContext context_) { + try { + return null; + } catch (Exception e) { + logError("Cannot apply decision 'AssessApplicantAge'", e); + return null; + } + } + +} diff --git a/dmn-runtime/src/test/java/com/gs/dmn/runtime/metadata/MetadataValidatorTest.java b/dmn-runtime/src/test/java/com/gs/dmn/runtime/metadata/MetadataValidatorTest.java index d1ec5599a..eb035c5c2 100644 --- a/dmn-runtime/src/test/java/com/gs/dmn/runtime/metadata/MetadataValidatorTest.java +++ b/dmn-runtime/src/test/java/com/gs/dmn/runtime/metadata/MetadataValidatorTest.java @@ -14,13 +14,19 @@ import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertTrue; public class MetadataValidatorTest { private final MetadataValidator validator = new MetadataValidator(); + @Test + public void testMetadataWhenMissing() { + assertFalse(validator.validate("com.gs.dmn.runtime.missing", this.getClass().getClassLoader()), "Invalid metadata"); + } + @Test public void testMetadata() { - assertEquals(false, validator.validate("com.gs.dmn.runtime.metadata", this.getClass().getClassLoader()), "Invalid metadata"); + assertTrue(validator.validate("com.gs.dmn.runtime.metadata", this.getClass().getClassLoader()), "Invalid metadata"); } } diff --git a/dmn-runtime/src/test/java/com/gs/dmn/serialization/DefaultSignavioJsonSerializerTest.java b/dmn-runtime/src/test/java/com/gs/dmn/serialization/DefaultSignavioJsonSerializerTest.java index cc44a323b..f10a0ae0e 100644 --- a/dmn-runtime/src/test/java/com/gs/dmn/serialization/DefaultSignavioJsonSerializerTest.java +++ b/dmn-runtime/src/test/java/com/gs/dmn/serialization/DefaultSignavioJsonSerializerTest.java @@ -40,12 +40,14 @@ import static com.gs.dmn.serialization.DefaultStandardJsonSerializerTest.DATE_TIME_TEST_DATA; import static com.gs.dmn.serialization.DefaultStandardJsonSerializerTest.TIME_TEST_DATA; import static com.gs.dmn.serialization.JsonSerializer.OBJECT_MAPPER; -import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; public class DefaultSignavioJsonSerializerTest extends AbstractJsonSerializerTest { private final DefaultSignavioLib lib = (DefaultSignavioLib) makeFEELLib(); private final String numberListListText = "[ [ 1, 2 ] ]"; private final List rangeList = new ArrayList<>(Collections.singletonList(new Range(true, 0, false, 1))); + private final List
addressList = new ArrayList<>(Collections.singletonList(new AddressImpl("line", "post code"))); @Test public void testPersonSerialization() throws Exception { @@ -65,6 +67,7 @@ public void testPersonSerialization() throws Exception { person.setAT("AT"); person.setAt("at"); person.setRanges(rangeList); + person.setAddresses(addressList); String personText = readJson("expected/json/person.json"); compareJson(personText, prettyPrinter().writeValueAsString(person)); @@ -89,7 +92,7 @@ public void testPersonDeserialization() throws Exception { assertTrue(lib.durationEqual(lib.duration("P2DT20H"), person.getDaysAndTimeDuration())); assertTrue(lib.stringEqual("AT", person.getAT())); assertTrue(lib.stringEqual("at", person.getAt())); - assertNull(person.getAddresses()); + assertEquals(this.addressList, person.getAddresses()); assertEquals(this.rangeList, person.getRanges()); } diff --git a/dmn-runtime/src/test/resources/com/gs/dmn/runtime/metadata/DMNMetadata.json b/dmn-runtime/src/test/resources/com/gs/dmn/runtime/metadata/DMNMetadata.json new file mode 100644 index 000000000..9e76fe2a6 --- /dev/null +++ b/dmn-runtime/src/test/resources/com/gs/dmn/runtime/metadata/DMNMetadata.json @@ -0,0 +1,117 @@ +{ + "dmnVersion" : "1.4", + "modelVersion" : "1.0", + "platformVersion" : "8.5.1-SNAPSHOT", + "dmnNamespaces" : [ "http://www.dmn.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml" ], + "nativeNamespace" : "com.gs.dmn.runtime.metadata", + "types" : [ { + "@kind" : "compositeType", + "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763", + "isCollection" : false, + "label" : "Applicant", + "name" : "applicant", + "types" : [ { + "@kind" : "referenceType", + "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-1", + "isCollection" : false, + "label" : "Age", + "name" : "age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-2", + "isCollection" : false, + "label" : "Credit score", + "name" : "creditScore", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-0", + "isCollection" : false, + "label" : "Name", + "name" : "name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-4", + "isCollection" : true, + "label" : "Prior issues", + "name" : "priorIssues", + "typeRef" : { + "localName" : "creditIssueType", + "namespace" : "http://www.dmn.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml" + } + } ] + }, { + "@kind" : "referenceType", + "id" : "id-747970848a049f329dae6329a0601f86", + "isCollection" : false, + "label" : "Assess applicant age", + "name" : "assessApplicantAge", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "id-8a4fb941ebc03bbe6df3c7615cb14852", + "isCollection" : true, + "label" : "Process prior issues", + "name" : "processPriorIssues", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "id-d2376567fde3c9400ee327ecec21e36d", + "javaParameterName" : "applicant", + "javaTypeName" : "com.gs.dmn.runtime.metadata.type.Applicant", + "label" : "Applicant", + "name" : "applicant", + "typeRef" : { + "localName" : "applicant", + "namespace" : "http://www.dmn.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml" + } + }, { + "@kind" : "decision", + "id" : "id-98f1b72e74edaaae8d7fd9043f7e1bc4", + "informationReferences" : [ { + "reference" : "id-d2376567fde3c9400ee327ecec21e36d" + } ], + "javaOutputTypeName" : "java.math.BigDecimal", + "javaParameterName" : "assessApplicantAge", + "javaTypeName" : "com.gs.dmn.runtime.metadata.AssessApplicantAge", + "knowledgeReferences" : [ ], + "label" : "Assess applicant age", + "name" : "assessApplicantAge", + "protoRequestName" : "com.gs.dmn.runtime.metadata.proto.AssessApplicantAgeRequest", + "protoResponseName" : "com.gs.dmn.runtime.metadata.proto.AssessApplicantAgeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "id-d2376567fde3c9400ee327ecec21e36d", + "javaParameterName" : "applicant", + "javaTypeName" : "com.gs.dmn.runtime.metadata.type.Applicant", + "label" : "Applicant", + "name" : "applicant", + "typeRef" : { + "localName" : "applicant", + "namespace" : "http://www.dmn.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml" + } + } ], + "typeRef" : { + "localName" : "assessApplicantAge", + "namespace" : "http://www.dmn.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml" + } + } ] +} \ No newline at end of file diff --git a/dmn-runtime/src/test/resources/expected/json/list-of-list-of-person.json b/dmn-runtime/src/test/resources/expected/json/list-of-list-of-person.json index f40746910..f05ef60bf 100644 --- a/dmn-runtime/src/test/resources/expected/json/list-of-list-of-person.json +++ b/dmn-runtime/src/test/resources/expected/json/list-of-list-of-person.json @@ -1,6 +1,4 @@ [ [ { - "514 AT" : null, - "AT" : null, "Addresses" : [ { "Line" : "11", "Postcode" : "11" @@ -8,17 +6,5 @@ "Line" : "12", "Postcode" : "12" } ], - "Date and Time List" : null, - "Date and Time of Birth" : null, - "Date of Birth" : null, - "Days and Time Duration" : null, - "First Name" : null, - "Gender" : null, - "ID" : 1, - "Last Name" : null, - "List" : null, - "Married" : null, - "Ranges" : null, - "Time of Birth" : null, - "Years and Months Duration" : null + "ID" : 1 } ] ] \ No newline at end of file diff --git a/dmn-runtime/src/test/resources/expected/json/list-of-person.json b/dmn-runtime/src/test/resources/expected/json/list-of-person.json index 37db88e18..6c495f601 100644 --- a/dmn-runtime/src/test/resources/expected/json/list-of-person.json +++ b/dmn-runtime/src/test/resources/expected/json/list-of-person.json @@ -1,6 +1,4 @@ [ { - "514 AT" : null, - "AT" : null, "Addresses" : [ { "Line" : "11", "Postcode" : "11" @@ -8,17 +6,5 @@ "Line" : "12", "Postcode" : "12" } ], - "Date and Time List" : null, - "Date and Time of Birth" : null, - "Date of Birth" : null, - "Days and Time Duration" : null, - "First Name" : null, - "Gender" : null, - "ID" : 1, - "Last Name" : null, - "List" : null, - "Married" : null, - "Ranges" : null, - "Time of Birth" : null, - "Years and Months Duration" : null + "ID" : 1 } ] \ No newline at end of file diff --git a/dmn-runtime/src/test/resources/expected/json/person.json b/dmn-runtime/src/test/resources/expected/json/person.json index ac22895ad..386897299 100644 --- a/dmn-runtime/src/test/resources/expected/json/person.json +++ b/dmn-runtime/src/test/resources/expected/json/person.json @@ -1,7 +1,10 @@ { "514 AT" : "at", "AT" : "AT", - "Addresses" : null, + "Addresses" : [ { + "Line" : "line", + "Postcode" : "line" + } ], "Date and Time List" : [ "2016-08-01T12:00:00Z" ], "Date and Time of Birth" : "2016-08-01T12:00:00Z", "Date of Birth" : "2017-01-03", diff --git a/dmn-signavio-it/dmn-signavio-it-kotlin-translator/src/test/java/com/gs/dmn/generated/example_credit_decision/AbstractTraceListenerTest.java b/dmn-signavio-it/dmn-signavio-it-kotlin-translator/src/test/java/com/gs/dmn/generated/example_credit_decision/AbstractTraceListenerTest.java index b6c5dcad5..cf2cbee07 100644 --- a/dmn-signavio-it/dmn-signavio-it-kotlin-translator/src/test/java/com/gs/dmn/generated/example_credit_decision/AbstractTraceListenerTest.java +++ b/dmn-signavio-it/dmn-signavio-it-kotlin-translator/src/test/java/com/gs/dmn/generated/example_credit_decision/AbstractTraceListenerTest.java @@ -39,7 +39,7 @@ protected URI resource(String path) { protected File writeNodes(Object nodes) throws IOException { File actualOutputFile = File.createTempFile("trace", "trc"); - JsonSerializer.OBJECT_MAPPER.writeValue(actualOutputFile, nodes); + JsonSerializer.VERBOSE_OBJECT_MAPPER.writeValue(actualOutputFile, nodes); return actualOutputFile; } diff --git a/dmn-signavio-it/dmn-signavio-it-translator/src/test/java/com/gs/dmn/generated/example_credit_decision/AbstractTraceListenerTest.java b/dmn-signavio-it/dmn-signavio-it-translator/src/test/java/com/gs/dmn/generated/example_credit_decision/AbstractTraceListenerTest.java index b6c5dcad5..cf2cbee07 100644 --- a/dmn-signavio-it/dmn-signavio-it-translator/src/test/java/com/gs/dmn/generated/example_credit_decision/AbstractTraceListenerTest.java +++ b/dmn-signavio-it/dmn-signavio-it-translator/src/test/java/com/gs/dmn/generated/example_credit_decision/AbstractTraceListenerTest.java @@ -39,7 +39,7 @@ protected URI resource(String path) { protected File writeNodes(Object nodes) throws IOException { File actualOutputFile = File.createTempFile("trace", "trc"); - JsonSerializer.OBJECT_MAPPER.writeValue(actualOutputFile, nodes); + JsonSerializer.VERBOSE_OBJECT_MAPPER.writeValue(actualOutputFile, nodes); return actualOutputFile; } diff --git a/dmn-signavio/src/main/java/com/gs/dmn/signavio/transformation/SignavioDMNToJavaTransformer.java b/dmn-signavio/src/main/java/com/gs/dmn/signavio/transformation/SignavioDMNToJavaTransformer.java index 0c43cd629..694d1e028 100644 --- a/dmn-signavio/src/main/java/com/gs/dmn/signavio/transformation/SignavioDMNToJavaTransformer.java +++ b/dmn-signavio/src/main/java/com/gs/dmn/signavio/transformation/SignavioDMNToJavaTransformer.java @@ -35,12 +35,14 @@ import java.io.File; import java.nio.file.Path; +import java.util.List; +import java.util.stream.Collectors; import static com.gs.dmn.serialization.DMNSerializer.isDMNFile; import static com.gs.dmn.signavio.extension.SignavioExtension.SIG_EXT_NAMESPACE; +import static com.gs.dmn.transformation.DMNToJavaTransformer.DMN_METADATA_FILE_NAME; public class SignavioDMNToJavaTransformer extends AbstractDMNToNativeTransformer { - private static final String DMN_METADATA_FILE_NAME = "DMNMetadata"; private final String schemaNamespace; public SignavioDMNToJavaTransformer(DMNDialectDefinition dialectDefinition, DMNValidator dmnValidator, DMNTransformer dmnTransformer, TemplateProvider templateProvider, LazyEvaluationDetector lazyEvaluationDetector, TypeDeserializationConfigurer typeDeserializationConfigurer, InputParameters inputParameters, BuildLogger logger) { @@ -82,17 +84,25 @@ private void processManifest(BasicDMNToNativeTransformer dmnTr String fileExtension = ".json"; try { - DMNToManifestTransformer dmnToManifestTransformer = new DMNToManifestTransformer(dmnTransformer); - String dmnNamespace = dmnTransformer.getDMNModelRepository().getRootDefinitions().getNamespace(); + SignavioDMNToManifestTransformer dmnToManifestTransformer = new SignavioDMNToManifestTransformer(dmnTransformer, logger); + List dmnNamespaces = getNamespaces(dmnTransformer.getDMNModelRepository().getAllDefinitions()); String nativeNamespace = dmnTransformer.nativeRootPackageName(); String dmnVersion = this.inputParameters.getDmnVersion(); String modelVersion = this.inputParameters.getModelVersion(); String platformVersion = this.inputParameters.getPlatformVersion(); - DMNMetadata manifest = dmnToManifestTransformer.toManifest(dmnNamespace, nativeNamespace, dmnVersion, modelVersion, platformVersion); + DMNMetadata manifest = dmnToManifestTransformer.toManifest(dmnNamespaces, nativeNamespace, dmnVersion, modelVersion, platformVersion); File resultFile = this.templateProcessor.makeOutputFile(outputPath, filePath, jsonFileName, fileExtension); JsonSerializer.OBJECT_MAPPER.writerWithDefaultPrettyPrinter().writeValue(resultFile, manifest); } catch (Exception e) { throw new DMNRuntimeException("Cannot process manifest file", e); } } + + private List getNamespaces(List allDefinitions) { + if (allDefinitions == null) { + return null; + } else { + return allDefinitions.stream().map(TDefinitions::getNamespace).collect(Collectors.toList()); + } + } } diff --git a/dmn-signavio/src/main/java/com/gs/dmn/signavio/transformation/SignavioDMNToManifestTransformer.java b/dmn-signavio/src/main/java/com/gs/dmn/signavio/transformation/SignavioDMNToManifestTransformer.java new file mode 100644 index 000000000..daa5a8283 --- /dev/null +++ b/dmn-signavio/src/main/java/com/gs/dmn/signavio/transformation/SignavioDMNToManifestTransformer.java @@ -0,0 +1,36 @@ +/* + * Copyright 2016 Goldman Sachs. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. + * + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the + * specific language governing permissions and limitations under the License. + */ +package com.gs.dmn.signavio.transformation; + +import com.gs.dmn.ast.TDRGElement; +import com.gs.dmn.context.DMNContext; +import com.gs.dmn.log.BuildLogger; +import com.gs.dmn.signavio.SignavioDMNModelRepository; +import com.gs.dmn.transformation.DMNToManifestTransformer; +import com.gs.dmn.transformation.basic.BasicDMNToNativeTransformer; + +public class SignavioDMNToManifestTransformer extends DMNToManifestTransformer { + public SignavioDMNToManifestTransformer(BasicDMNToNativeTransformer dmnTransformer, BuildLogger logger) { + super(dmnTransformer, logger); + } + + @Override + protected String getDiagramId(TDRGElement element) { + return ((SignavioDMNModelRepository) this.dmnModelRepository).getDiagramId(element); + } + + @Override + protected String getShapeId(TDRGElement element) { + return ((SignavioDMNModelRepository) this.dmnModelRepository).getShapeId(element); + } +} diff --git a/dmn-tck-it/dmn-tck-it-kotlin-translator/src/test/java/com/gs/dmn/generated/tck/cl3_0020_vacation_days/AbstractTraceListenerTest.java b/dmn-tck-it/dmn-tck-it-kotlin-translator/src/test/java/com/gs/dmn/generated/tck/cl3_0020_vacation_days/AbstractTraceListenerTest.java index 739990826..12395f32c 100644 --- a/dmn-tck-it/dmn-tck-it-kotlin-translator/src/test/java/com/gs/dmn/generated/tck/cl3_0020_vacation_days/AbstractTraceListenerTest.java +++ b/dmn-tck-it/dmn-tck-it-kotlin-translator/src/test/java/com/gs/dmn/generated/tck/cl3_0020_vacation_days/AbstractTraceListenerTest.java @@ -39,7 +39,7 @@ protected URI resource(String path) { protected File writeNodes(Object nodes) throws IOException { File actualOutputFile = File.createTempFile("trace", "trc"); - JsonSerializer.OBJECT_MAPPER.writeValue(actualOutputFile, nodes); + JsonSerializer.VERBOSE_OBJECT_MAPPER.writeValue(actualOutputFile, nodes); return actualOutputFile; } diff --git a/dmn-tck-it/dmn-tck-it-translator/src/test/java/com/gs/dmn/generated/tck/cl3_0020_vacation_days/AbstractTraceListenerTest.java b/dmn-tck-it/dmn-tck-it-translator/src/test/java/com/gs/dmn/generated/tck/cl3_0020_vacation_days/AbstractTraceListenerTest.java index 739990826..12395f32c 100644 --- a/dmn-tck-it/dmn-tck-it-translator/src/test/java/com/gs/dmn/generated/tck/cl3_0020_vacation_days/AbstractTraceListenerTest.java +++ b/dmn-tck-it/dmn-tck-it-translator/src/test/java/com/gs/dmn/generated/tck/cl3_0020_vacation_days/AbstractTraceListenerTest.java @@ -39,7 +39,7 @@ protected URI resource(String path) { protected File writeNodes(Object nodes) throws IOException { File actualOutputFile = File.createTempFile("trace", "trc"); - JsonSerializer.OBJECT_MAPPER.writeValue(actualOutputFile, nodes); + JsonSerializer.VERBOSE_OBJECT_MAPPER.writeValue(actualOutputFile, nodes); return actualOutputFile; } diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/bkmfrombkm/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/bkmfrombkm/DMNMetadata.json index 3826171d9..6ebc5e451 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/bkmfrombkm/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/bkmfrombkm/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/af75837563be485d941eba0f9bf7a5f4.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/af75837563be485d941eba0f9bf7a5f4.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-d3511d979e1a6102d0ae5b5034548a79", "isCollection" : false, "label" : "d", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-625818e1d9698c8571030551007e11cd", "isCollection" : false, "label" : "date", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-8620b54ef01371b34a9b595524377df0", "isCollection" : true, "label" : "date formula", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-524d3740b1b7c6ca8d96761707be6cc2", "isCollection" : false, "label" : "date input", @@ -50,7 +46,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-ed40fa7086eb55f685aecd4d3e967715", "isCollection" : true, "label" : "date operators", @@ -61,7 +56,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-6c2042cac154ecdf69796fb6830f6a4d", "isCollection" : false, "label" : "datetime", @@ -72,7 +66,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-2e86f546a454ab9c359fe81c2ae62fc9", "isCollection" : true, "label" : "datetime formula", @@ -83,7 +76,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-b66c57221477a778ba352d6a75b5e362", "isCollection" : true, "label" : "datetime operators", @@ -94,7 +86,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-ac984fcc92ce261ac864bc3cc578b8a0", "isCollection" : false, "label" : "decide", @@ -105,7 +96,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-a41c25033284ed36338bbd16aa1a0c66", "isCollection" : false, "label" : "final decision", @@ -116,7 +106,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-b1eecadc91133fbcdeafeb845a8fa18c", "isCollection" : false, "label" : "pick", @@ -127,7 +116,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-9fa5a1c91a673bbe7d29ce8954cace64", "isCollection" : false, "label" : "sum", @@ -138,7 +126,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-1c03bb6329adf7ed49ec1c2e43c202cb", "isCollection" : false, "label" : "t", @@ -149,7 +136,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-0f66dfb51b4590f1bbb199c8cba31e0b", "isCollection" : false, "label" : "time", @@ -160,7 +146,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-423de30cf97b14350a84d8adbbaa7a9a", "isCollection" : false, "label" : "time 2", @@ -171,7 +156,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5c3ea7caaa4392612044ad738d737916", "isCollection" : true, "label" : "time formula", @@ -182,7 +166,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5c16baceefdefc717204a488d2215234", "isCollection" : false, "label" : "time input", @@ -193,7 +176,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-01b5ed4317631ed94dd66d0694d39ea3", "isCollection" : true, "label" : "time operators", @@ -309,53 +291,31 @@ } }, { "@kind" : "bkm", - "diagramId" : null, "id" : "id-54abdc8cd2a3bf611355cb527afdee76", "javaOutputTypeName" : "List", "javaParameterName" : "importedLogicDates", "javaTypeName" : "ImportedLogicDates", "knowledgeReferences" : [ ], - "label" : null, - "name" : "importedLogicDates", - "shapeId" : null, - "typeRef" : { - "localName" : "dateOperators", - "namespace" : "http://www.provider.com/dmn/1.1/diagram/af75837563be485d941eba0f9bf7a5f4.xml" - } + "name" : "importedLogicDates" }, { "@kind" : "bkm", - "diagramId" : null, "id" : "id-e69096ed8b4cc8e1792af85e0354305e", "javaOutputTypeName" : "List", "javaParameterName" : "importedLogicTime", "javaTypeName" : "ImportedLogicTime", "knowledgeReferences" : [ ], - "label" : null, - "name" : "importedLogicTime", - "shapeId" : null, - "typeRef" : { - "localName" : "timeOperators", - "namespace" : "http://www.provider.com/dmn/1.1/diagram/af75837563be485d941eba0f9bf7a5f4.xml" - } + "name" : "importedLogicTime" }, { "@kind" : "bkm", - "diagramId" : null, "id" : "id-eda600519e4faa40c5130e00f1de55da", "javaOutputTypeName" : "String", "javaParameterName" : "logic", "javaTypeName" : "Logic", "knowledgeReferences" : [ ], - "label" : null, - "name" : "logic", - "shapeId" : null, - "typeRef" : { - "localName" : "finalDecision", - "namespace" : "http://www.provider.com/dmn/1.1/diagram/af75837563be485d941eba0f9bf7a5f4.xml" - } + "name" : "logic" }, { "@kind" : "decision", "diagramId" : "49d3d4b6e9ea4843831d30152855b089", - "extensions" : [ ], "id" : "id-1543aa52b5d4185035045b104fa815f2", "informationReferences" : [ { "reference" : "id-dd85852f8845e2ef306e65974c8926ce" @@ -390,7 +350,6 @@ }, { "@kind" : "decision", "diagramId" : "49d3d4b6e9ea4843831d30152855b089", - "extensions" : [ ], "id" : "id-87769fde5d56837ec2ee380eac24606a", "informationReferences" : [ { "reference" : "id-dd85852f8845e2ef306e65974c8926ce" @@ -425,7 +384,6 @@ }, { "@kind" : "decision", "diagramId" : "49d3d4b6e9ea4843831d30152855b089", - "extensions" : [ ], "id" : "id-f620185ec9fdf81fe951dbaecaa5b0ef", "informationReferences" : [ { "reference" : "id-f6f7cf95c788b905c4a684e273c1a8cb" @@ -460,7 +418,6 @@ }, { "@kind" : "decision", "diagramId" : "49d3d4b6e9ea4843831d30152855b089", - "extensions" : [ ], "id" : "id-6cbafc16177989848019c8827a9eff2b", "informationReferences" : [ { "reference" : "id-f6f7cf95c788b905c4a684e273c1a8cb" @@ -495,7 +452,6 @@ }, { "@kind" : "decision", "diagramId" : "49d3d4b6e9ea4843831d30152855b089", - "extensions" : [ ], "id" : "id-5441c3b27f8f18e44d483f7b83fc2e71", "informationReferences" : [ { "reference" : "id-eea61a93f3a2d565213a29f0e7adfc35" @@ -571,7 +527,6 @@ }, { "@kind" : "decision", "diagramId" : "af75837563be485d941eba0f9bf7a5f4", - "extensions" : [ ], "id" : "id-8a57c9f0da820fe8d95116c7f371000c", "informationReferences" : [ { "reference" : "id-889f4d0596091ce3a3499de047a7cda8" @@ -625,7 +580,6 @@ }, { "@kind" : "decision", "diagramId" : "892847fc44e2440a8e88aaf72fed0acc", - "extensions" : [ ], "id" : "id-627d52dc77f9f49546680eea3c86ac99", "informationReferences" : [ { "reference" : "id-d377d9806b9371d4738a769442dcad86" @@ -664,7 +618,6 @@ }, { "@kind" : "decision", "diagramId" : "892847fc44e2440a8e88aaf72fed0acc", - "extensions" : [ ], "id" : "id-dd9df4daf2704f1fe3ec955ae5205714", "informationReferences" : [ { "reference" : "id-a74f217c55ddf7ff6b0b3bb039b6c159" @@ -703,7 +656,6 @@ }, { "@kind" : "decision", "diagramId" : "892847fc44e2440a8e88aaf72fed0acc", - "extensions" : [ ], "id" : "id-cb2b53f8a8c905a87a5ee8f5011c784f", "informationReferences" : [ { "reference" : "id-dd9df4daf2704f1fe3ec955ae5205714" @@ -753,7 +705,6 @@ }, { "@kind" : "decision", "diagramId" : "49d3d4b6e9ea4843831d30152855b089", - "extensions" : [ ], "id" : "id-eea61a93f3a2d565213a29f0e7adfc35", "informationReferences" : [ { "reference" : "id-87769fde5d56837ec2ee380eac24606a" @@ -818,7 +769,6 @@ }, { "@kind" : "decision", "diagramId" : "49d3d4b6e9ea4843831d30152855b089", - "extensions" : [ ], "id" : "id-74af98ad18a65d77b3516e4851bb98d5", "informationReferences" : [ { "reference" : "id-f620185ec9fdf81fe951dbaecaa5b0ef" @@ -896,7 +846,6 @@ }, { "@kind" : "decision", "diagramId" : "49d3d4b6e9ea4843831d30152855b089", - "extensions" : [ ], "id" : "id-b408b591374d084218a55a6a94a6e9b2", "informationReferences" : [ { "reference" : "id-b65d014e4d3d09e33a141cb5dacf40e9" @@ -946,7 +895,6 @@ }, { "@kind" : "decision", "diagramId" : "49d3d4b6e9ea4843831d30152855b089", - "extensions" : [ ], "id" : "id-61674927aa39072b58f3c83404c7afe8", "informationReferences" : [ { "reference" : "id-1c021e3eeddf5997e55573482372124e" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/bkmwithliteralexpression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/bkmwithliteralexpression/DMNMetadata.json index 1eaa9fc6b..4a1a5a986 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/bkmwithliteralexpression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/bkmwithliteralexpression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/ec84b81482a64a2fbfcec8b1c831507a.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/ec84b81482a64a2fbfcec8b1c831507a.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-cfb183c0dff64e7be9bf40eaa7d7e24f", "isCollection" : true, "label" : "AddExtraValues", @@ -39,7 +38,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-d9300bf45dca08d13616bb8a4170713f", "isCollection" : true, "label" : "blacklist", @@ -50,7 +48,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-347228e999de5473563937e8d3e53f6f", "isCollection" : true, "label" : "censored", @@ -61,7 +58,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-fafd23830cc56e6ff675eede684fade9", "isCollection" : true, "label" : "labels", @@ -72,7 +68,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-46ced4f5b1d812afb211821c5fcb6f88", "isCollection" : true, "label" : "ListOfNumbers ", @@ -83,7 +78,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-19ea86e4f092a06d72b61d2df96cee63", "isCollection" : true, "label" : "names", @@ -94,7 +88,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-69279c742ad4e325bab8eb13f7eeb7b1", "isCollection" : true, "label" : "numz", @@ -171,7 +164,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-bbb3994480399c21530a7552b5dbe378", "isCollection" : true, "label" : "RemoveValues", @@ -182,7 +174,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e398cfc28beb4535a6a7941a4c6a0906", "isCollection" : true, "label" : "removeall", @@ -210,7 +201,6 @@ "name" : "zip", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-1cc592260665a3398ca58ba543890435-relation-e", "isCollection" : false, "label" : "e", @@ -221,7 +211,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-1cc592260665a3398ca58ba543890435-relation-n", "isCollection" : false, "label" : "n", @@ -232,7 +221,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-1cc592260665a3398ca58ba543890435-relation-t", "isCollection" : false, "label" : "t", @@ -427,23 +415,15 @@ } }, { "@kind" : "bkm", - "diagramId" : null, "id" : "id-4ecc9fcbcbc3e186853a8eda0fcc6152", "javaOutputTypeName" : "List", "javaParameterName" : "litexpLogic", "javaTypeName" : "LitexpLogic", "knowledgeReferences" : [ ], - "label" : null, - "name" : "litexpLogic", - "shapeId" : null, - "typeRef" : { - "localName" : "zip", - "namespace" : "http://www.provider.com/dmn/1.1/diagram/ec84b81482a64a2fbfcec8b1c831507a.xml" - } + "name" : "litexpLogic" }, { "@kind" : "decision", "diagramId" : "c1089e2d60624540a6c2f0ca255b5a30", - "extensions" : [ ], "id" : "id-152912036c3a6ec96d94e14df468121d", "informationReferences" : [ { "reference" : "id-49a0b1514526cc5c351725952b97cf88" @@ -478,7 +458,6 @@ }, { "@kind" : "decision", "diagramId" : "c1089e2d60624540a6c2f0ca255b5a30", - "extensions" : [ ], "id" : "id-eaf5b49a5e2c1d7de51e8ae6511e7208", "informationReferences" : [ { "reference" : "id-5625da51edf477244d62662a1ded6503" @@ -528,7 +507,6 @@ }, { "@kind" : "decision", "diagramId" : "c1089e2d60624540a6c2f0ca255b5a30", - "extensions" : [ ], "id" : "id-e4404fa72a2b8c4b8769b37da79907d1", "informationReferences" : [ { "reference" : "id-fac22fa67c8f3f94341bdb53501e3d24" @@ -606,7 +584,6 @@ }, { "@kind" : "decision", "diagramId" : "ec84b81482a64a2fbfcec8b1c831507a", - "extensions" : [ ], "id" : "id-31f4b9e68dbee2c424d8ce3be8bd9a26", "informationReferences" : [ { "reference" : "id-56b1a6a297cc92034538927584917a9d" @@ -735,7 +712,6 @@ }, { "@kind" : "decision", "diagramId" : "c1089e2d60624540a6c2f0ca255b5a30", - "extensions" : [ ], "id" : "id-13ff0a6716e4b5fc477d1ea94c1610ba", "informationReferences" : [ { "reference" : "id-5625da51edf477244d62662a1ded6503" @@ -785,7 +761,6 @@ }, { "@kind" : "decision", "diagramId" : "c1089e2d60624540a6c2f0ca255b5a30", - "extensions" : [ ], "id" : "id-1e5f881bbedf7e9d52113f4e8c0cacbd", "informationReferences" : [ { "reference" : "id-152912036c3a6ec96d94e14df468121d" @@ -820,7 +795,6 @@ }, { "@kind" : "decision", "diagramId" : "c1089e2d60624540a6c2f0ca255b5a30", - "extensions" : [ ], "id" : "id-83c46ce653e47a796a6ab6e02fcc60c6", "informationReferences" : [ { "reference" : "id-f3e6c25ca841af737ce5aae0c99e4a18" @@ -870,7 +844,6 @@ }, { "@kind" : "decision", "diagramId" : "c1089e2d60624540a6c2f0ca255b5a30", - "extensions" : [ ], "id" : "id-fac22fa67c8f3f94341bdb53501e3d24", "informationReferences" : [ { "reference" : "id-4b4f366aa8841be4c01b4d148feb88bb" @@ -920,7 +893,6 @@ }, { "@kind" : "decision", "diagramId" : "c1089e2d60624540a6c2f0ca255b5a30", - "extensions" : [ ], "id" : "id-902bd3c70ca2f8cc65dc57c27d3fe133", "informationReferences" : [ { "reference" : "id-1e5f881bbedf7e9d52113f4e8c0cacbd" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/childlinked/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/childlinked/DMNMetadata.json index 064939350..e253dac60 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/childlinked/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/childlinked/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/e514b8c455264f77addcb9d04c542a78.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/e514b8c455264f77addcb9d04c542a78.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-8552694f8a0c79e716a0748eefa6d0d3", "isCollection" : false, "label" : "abc", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-97c4cdbd7c8cbc1026deb46114c4b31f", "isCollection" : false, "label" : "num", @@ -43,7 +41,6 @@ }, { "@kind" : "decision", "diagramId" : "e514b8c455264f77addcb9d04c542a78", - "extensions" : [ ], "id" : "id-8aa9e01f79dfa6faf953cbccb36e9ead", "informationReferences" : [ { "reference" : "id-14745a7c4578ede73ab28a1e32b8fb7e" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/comparelists/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/comparelists/DMNMetadata.json index 8087c71e9..2be20fa47 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/comparelists/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/comparelists/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/b01e263f2b324caab26b2040a56f8ed1.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/b01e263f2b324caab26b2040a56f8ed1.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-83cde38cae6fb88fa2b0b60d889edc7f", "isCollection" : false, "label" : "CompareLists", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-68963481b22658309fd42c897c073179", "isCollection" : true, "label" : "L1", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-bd134e2aee1e38ec68713df525f3c803", "isCollection" : false, "label" : "L1", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-6bc6b348ba2839e23331a7b199827083", "isCollection" : false, "label" : "L2", @@ -50,7 +46,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-3e4b1ab9080c10718b462486a8b53b10", "isCollection" : true, "label" : "L2", @@ -61,7 +56,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-24c3c4b31f9c9b30cf6903a94a463940", "isCollection" : true, "label" : "ProcessL1", @@ -72,7 +66,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-fffc3923579df8b2213338522a4ba887", "isCollection" : false, "label" : "ProcessL2", @@ -137,7 +130,6 @@ }, { "@kind" : "decision", "diagramId" : "b01e263f2b324caab26b2040a56f8ed1", - "extensions" : [ ], "id" : "id-7ce5a28270591ab6ea62106c41a4fb00", "informationReferences" : [ { "reference" : "id-25e971f05b702ab8597bbb1f3b75cf07" @@ -187,13 +179,6 @@ }, { "@kind" : "decision", "diagramId" : "b01e263f2b324caab26b2040a56f8ed1", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "COLLECT", - "iterationExpression" : "l1", - "iteratorShapeId" : "id-25e971f05b702ab8597bbb1f3b75cf07", - "topLevelDecisionId" : "id-a3c62ff45f0bd75a182001a4d02db12d" - } ], "id" : "id-02d5100f5bf2c2cd802d2113b1b69bea", "informationReferences" : [ { "reference" : "id-443c5fd59a4562199fb2274772bed1e0" @@ -241,13 +226,6 @@ }, { "@kind" : "decision", "diagramId" : "b01e263f2b324caab26b2040a56f8ed1", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "SUM", - "iterationExpression" : "l23", - "iteratorShapeId" : "id-7f96d0514cd87698d0599338ff82ebaa", - "topLevelDecisionId" : "id-7ce5a28270591ab6ea62106c41a4fb00" - } ], "id" : "id-a3c62ff45f0bd75a182001a4d02db12d", "informationReferences" : [ { "reference" : "id-dc4c9d01f9fbcd564f1aaf2a9d2bc649" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/complex-mid/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/complex-mid/DMNMetadata.json index 88255179f..dc43c9676 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/complex-mid/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/complex-mid/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/3652588c6383423c9774f4dfd4393cb1.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/3652588c6383423c9774f4dfd4393cb1.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-106c441cd62367c88758962cff427424", "isCollection" : true, "label" : "Big mid", @@ -56,7 +55,6 @@ "name" : "testPeopleType", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-509d57e00a823edb6857ed145d1f0b4b-relation-0", "isCollection" : true, "label" : "TestPersonType", @@ -85,7 +83,6 @@ "name" : "testPersonType", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-9187b71a2091ed5d0030ddaaf4b0b07d-relation-1", "isCollection" : false, "label" : "Age", @@ -96,7 +93,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-9187b71a2091ed5d0030ddaaf4b0b07d-relation-0", "isCollection" : false, "label" : "Name", @@ -107,7 +103,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-9187b71a2091ed5d0030ddaaf4b0b07d-relation-2", "isCollection" : true, "label" : "Properties", @@ -119,7 +114,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-9da1e1e3140d3a13da9fbd3b77d85666", "isCollection" : false, "label" : "top decision", @@ -171,13 +165,6 @@ }, { "@kind" : "decision", "diagramId" : "3652588c6383423c9774f4dfd4393cb1", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "COLLECT", - "iterationExpression" : "testPeopleType.testPersonType", - "iteratorShapeId" : "id-e801f20a6a898682c3b5e22db82de47b", - "topLevelDecisionId" : "id-b4717b9aa316e3d6266365a4ae6cf873" - } ], "id" : "id-519b91fe7a0fd84ede349e72ff1344e8", "informationReferences" : [ { "reference" : "id-76acfc10261ddc2fe0ac3081483133ad" @@ -212,7 +199,6 @@ }, { "@kind" : "decision", "diagramId" : "3652588c6383423c9774f4dfd4393cb1", - "extensions" : [ ], "id" : "id-54e777f1b3e48362bf9e79c6d305e91d", "informationReferences" : [ { "reference" : "id-66be7cc5d14947682f8a060a30da5fa0" @@ -247,7 +233,6 @@ }, { "@kind" : "decision", "diagramId" : "3652588c6383423c9774f4dfd4393cb1", - "extensions" : [ ], "id" : "id-db8a303073ca6775c192503c81230235", "informationReferences" : [ { "reference" : "id-e801f20a6a898682c3b5e22db82de47b" @@ -282,13 +267,6 @@ }, { "@kind" : "decision", "diagramId" : "3652588c6383423c9774f4dfd4393cb1", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "COLLECT", - "iterationExpression" : "testPersonType6_iterator.properties", - "iteratorShapeId" : "id-66be7cc5d14947682f8a060a30da5fa0", - "topLevelDecisionId" : "id-54e777f1b3e48362bf9e79c6d305e91d" - } ], "id" : "id-dfce3b29b4d620c67860613f0681a5c0", "informationReferences" : [ { "reference" : "id-e801f20a6a898682c3b5e22db82de47b" @@ -323,7 +301,6 @@ }, { "@kind" : "decision", "diagramId" : "3652588c6383423c9774f4dfd4393cb1", - "extensions" : [ ], "id" : "id-b4717b9aa316e3d6266365a4ae6cf873", "informationReferences" : [ { "reference" : "id-db8a303073ca6775c192503c81230235" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/decision-with-annotations/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/decision-with-annotations/DMNMetadata.json index 9d6e2f665..b716d58b6 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/decision-with-annotations/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/decision-with-annotations/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/decc8a26dfaa47dc87eea384f5598ffd.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/decc8a26dfaa47dc87eea384f5598ffd.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-b44e259629dcec308db23011ab8ac3d0", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-f3470367f2f5354c448fd2551e889508", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-71dbbea6c716212dcc667644c5b7487a", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-91d1a0779c6062d480c5944150aab8e2", "isCollection" : false, "label" : "NumberInput", @@ -67,7 +63,6 @@ "name" : "person", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-10edc449ea7a601271d9bdea97cf4d59-relation-1", "isCollection" : false, "label" : "age", @@ -78,7 +73,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-10edc449ea7a601271d9bdea97cf4d59-relation-0", "isCollection" : false, "label" : "name", @@ -90,7 +84,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-97edc0210ca71740e7606073aaf27a5f", "isCollection" : false, "label" : "StringInput", @@ -181,7 +174,6 @@ }, { "@kind" : "decision", "diagramId" : "decc8a26dfaa47dc87eea384f5598ffd", - "extensions" : [ ], "id" : "id-0f0801a66fe697bff21186134406da6e", "informationReferences" : [ { "reference" : "id-22ae16971705e9cc9b1251061f15b3c6" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/dotproduct/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/dotproduct/DMNMetadata.json index 513f283ce..9234bb66e 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/dotproduct/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/dotproduct/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/8a7911e71e72444995f084b28688a37d.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/8a7911e71e72444995f084b28688a37d.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-1e9e162eba639b50f06952097d940e71", "isCollection" : true, "label" : "A", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-352c907696a8ab0cc447e936250bdaf0", "isCollection" : true, "label" : "B", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7b8af19dd27e9c0f4888173b313847dd", "isCollection" : false, "label" : "CalculateDotProduct", @@ -45,7 +42,6 @@ "name" : "componentwise", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-ee77256def8518b808e5146468faa79a-relation-A", "isCollection" : false, "label" : "A", @@ -56,7 +52,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-ee77256def8518b808e5146468faa79a-relation-B", "isCollection" : false, "label" : "B", @@ -74,7 +69,6 @@ "name" : "componentwise3", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-3a255d41c38b03f9f153b7aee466a3d8-relation-A", "isCollection" : false, "label" : "A", @@ -85,7 +79,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-3a255d41c38b03f9f153b7aee466a3d8-relation-B", "isCollection" : false, "label" : "B", @@ -103,7 +96,6 @@ "name" : "dotProduct", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-db4a017c02c6d05e82a4ec69018994e5-relation-33D4DAAE-6A47-4341-A786-0FDBCFDE69B9", "isCollection" : false, "label" : "DotProduct", @@ -114,7 +106,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-db4a017c02c6d05e82a4ec69018994e5-relation-EF300D73-8FDC-477B-AB45-3D7C5377C4D3", "isCollection" : false, "label" : "Output Message", @@ -126,7 +117,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-a7af705c8200b580a7a8dc0019f5e4c0", "isCollection" : false, "label" : "Product", @@ -178,13 +168,6 @@ }, { "@kind" : "decision", "diagramId" : "8a7911e71e72444995f084b28688a37d", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "SUM", - "iterationExpression" : "componentwise", - "iteratorShapeId" : "id-54f8e155f1f2006935392fe9388aecd8", - "topLevelDecisionId" : "id-f81df5fbf8c656c93161473592b57cd7" - } ], "id" : "id-e000d735a85c259cf896f9950c114272", "informationReferences" : [ { "reference" : "id-7df618c5da17b151ff28d2fd28831a50" @@ -232,7 +215,6 @@ }, { "@kind" : "decision", "diagramId" : "8a7911e71e72444995f084b28688a37d", - "extensions" : [ ], "id" : "id-7df618c5da17b151ff28d2fd28831a50", "informationReferences" : [ { "reference" : "id-bc00e56f88a2f91ed150a0b28b321f86" @@ -282,7 +264,6 @@ }, { "@kind" : "decision", "diagramId" : "8a7911e71e72444995f084b28688a37d", - "extensions" : [ ], "id" : "id-a437bbbbccd004f9881b74dc21fa058c", "informationReferences" : [ { "reference" : "id-bc00e56f88a2f91ed150a0b28b321f86" @@ -334,7 +315,6 @@ }, { "@kind" : "decision", "diagramId" : "8a7911e71e72444995f084b28688a37d", - "extensions" : [ ], "id" : "id-f81df5fbf8c656c93161473592b57cd7", "informationReferences" : [ { "reference" : "id-54f8e155f1f2006935392fe9388aecd8" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/example-credit-decision/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/example-credit-decision/DMNMetadata.json index 7f4d96f79..007a2af2b 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/example-credit-decision/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/example-credit-decision/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -12,7 +12,6 @@ "name" : "applicant", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-1", "isCollection" : false, "label" : "Age", @@ -23,7 +22,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-2", "isCollection" : false, "label" : "Credit score", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-0", "isCollection" : false, "label" : "Name", @@ -45,7 +42,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-4", "isCollection" : true, "label" : "Prior issues", @@ -57,7 +53,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-747970848a049f329dae6329a0601f86", "isCollection" : false, "label" : "Assess applicant age", @@ -68,7 +63,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-bb09635d62df507f5a1c18a6b6dbe4c2", "isCollection" : false, "label" : "Assess issue", @@ -79,7 +73,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-886f8868546e44421c28582adfb5d720", "isCollection" : false, "label" : "Assess issue risk", @@ -90,7 +83,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-51fbdbe450548506ab83bc067833e138", "isCollection" : false, "label" : "Compare against lending threshold", @@ -129,7 +121,6 @@ "name" : "generateOutputData", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Assessment", "isCollection" : false, "label" : "Assessment", @@ -140,7 +131,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Decision", "isCollection" : false, "label" : "Decision", @@ -151,7 +141,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Issue", "isCollection" : false, "label" : "Issue", @@ -163,7 +152,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-4cb80be6fb604151f1e9edf9c3cbe2e7", "isCollection" : false, "label" : "Lending threshold", @@ -185,7 +173,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-6cf70bdf6bd2e4c75faf286e36bd6caf", "isCollection" : false, "label" : "Prior issue", @@ -196,7 +183,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-8a4fb941ebc03bbe6df3c7615cb14852", "isCollection" : true, "label" : "Process prior issues", @@ -261,7 +247,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-98f1b72e74edaaae8d7fd9043f7e1bc4", "informationReferences" : [ { "reference" : "id-d2376567fde3c9400ee327ecec21e36d" @@ -296,7 +281,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-0f2f9823e96f0599d2739fda4c5b3c79", "informationReferences" : [ { "reference" : "id-5dc69eb6de3b736e08d2029ca5ae436c" @@ -346,13 +330,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "SUM", - "iterationExpression" : "processPriorIssues", - "iteratorShapeId" : "id-78d6a4b25e15dc5d22fe0cce65554804", - "topLevelDecisionId" : "id-0f2f9823e96f0599d2739fda4c5b3c79" - } ], "id" : "id-90d13f677a4e3f0f8230a12f15301f00", "informationReferences" : [ { "reference" : "id-bdfc5bfa4ce80fd221463ee66b277220" @@ -400,7 +377,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-8369770df890b566296308a9deebec47", "informationReferences" : [ { "reference" : "id-5a7daa825c6a7542e30184a94034b435" @@ -465,7 +441,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-f3dfdd3ac42c255265e190eaf50dd65d", "informationReferences" : [ { "reference" : "id-5b83918d6fc820d73123e7ca0e6d3ca6" @@ -530,7 +505,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-5b83918d6fc820d73123e7ca0e6d3ca6", "informationReferences" : [ { "reference" : "id-8369770df890b566296308a9deebec47" @@ -591,7 +565,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-bdfc5bfa4ce80fd221463ee66b277220", "informationReferences" : [ { "reference" : "id-d2376567fde3c9400ee327ecec21e36d" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/executionanalysistestmodel/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/executionanalysistestmodel/DMNMetadata.json index 8ecae9fbb..759e7ff54 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/executionanalysistestmodel/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/executionanalysistestmodel/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/afb776a3dcf84f12b17e44405f5c80c5.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/afb776a3dcf84f12b17e44405f5c80c5.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-6ce42a8c0eea3bbe6ab0bada9ba7c8ee", "isCollection" : false, "label" : "InputValue", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-97fec8c8fd84bcb52ab0b71518b67b1b", "isCollection" : true, "label" : "OutputExecutionAnalysisResult", @@ -43,7 +41,6 @@ }, { "@kind" : "decision", "diagramId" : "afb776a3dcf84f12b17e44405f5c80c5", - "extensions" : [ ], "id" : "id-ee3f38c075678c97d13964afb28201c0", "informationReferences" : [ { "reference" : "id-6930c8ee3021fb2c24a1d2caefc53607" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/externalfunctions/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/externalfunctions/DMNMetadata.json index 672841950..52b9b4266 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/externalfunctions/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/externalfunctions/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/1b49e2cbacaf470fb5d093be73afd27e.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/1b49e2cbacaf470fb5d093be73afd27e.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -50,7 +50,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-b7a901cd8a62b411508d6009ad035fa3", "isCollection" : false, "label" : "FetchForexRate", @@ -61,7 +60,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-3e59f08bb6f957f7a7397815e0a7e19c", "isCollection" : false, "label" : "IsForexRateRequired", @@ -72,7 +70,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-f5d6e5f1e9501ebd74b2eaf8185d97b9", "isCollection" : false, "label" : "IsForexRateRquired", @@ -105,7 +102,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-2abc0e3c45a66f5c63fe09aa1b7f986d", "isCollection" : false, "label" : "TaxChargeType", @@ -133,7 +129,6 @@ "name" : "transaction", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-1", "isCollection" : false, "label" : "buySellIndicator", @@ -144,7 +139,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-6", "isCollection" : false, "label" : "clearingAgent", @@ -155,7 +149,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-11", "isCollection" : false, "label" : "commision", @@ -166,7 +159,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-13", "isCollection" : false, "label" : "currencyCode", @@ -177,7 +169,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-7", "isCollection" : false, "label" : "deliveryInstruction", @@ -188,7 +179,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-8", "isCollection" : false, "label" : "executionCapacity", @@ -199,7 +189,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-12", "isCollection" : false, "label" : "executionMarket", @@ -210,7 +199,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-4", "isCollection" : false, "label" : "exerciseAssign", @@ -221,7 +209,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-2", "isCollection" : false, "label" : "offeringType", @@ -232,7 +219,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-10", "isCollection" : false, "label" : "price", @@ -243,7 +229,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-9", "isCollection" : false, "label" : "quantity", @@ -254,7 +239,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-5", "isCollection" : false, "label" : "settlementDate", @@ -265,7 +249,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-be754680052cab3cbc460b9d49c26cc8-relation-0", "isCollection" : false, "label" : "tradeDate", @@ -283,7 +266,6 @@ "name" : "transactionTaxMetaData", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e084a745b70b5346d1e25a2ff40ffcbb-relation-4", "isCollection" : false, "label" : "assetClass", @@ -294,7 +276,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e084a745b70b5346d1e25a2ff40ffcbb-relation-3", "isCollection" : false, "label" : "jurisdiction", @@ -305,7 +286,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e084a745b70b5346d1e25a2ff40ffcbb-relation-1", "isCollection" : false, "label" : "taxType", @@ -371,7 +351,6 @@ }, { "@kind" : "decision", "diagramId" : "1b49e2cbacaf470fb5d093be73afd27e", - "extensions" : [ ], "id" : "id-4f18f3443d3d744beac363432b71a024", "informationReferences" : [ { "reference" : "id-2f33ede6cf73874d2adc0c7b93b1f310" @@ -447,7 +426,6 @@ }, { "@kind" : "decision", "diagramId" : "1b49e2cbacaf470fb5d093be73afd27e", - "extensions" : [ ], "id" : "id-9bc027574845882aabcbef16b9124927", "informationReferences" : [ { "reference" : "id-891be9d7cc75911daea588a9a342b6af" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/multi-list-output-top-decision/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/multi-list-output-top-decision/DMNMetadata.json index 9252d82a1..675b79366 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/multi-list-output-top-decision/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/multi-list-output-top-decision/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/6776bb215482477ba041c80c9c559985.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/6776bb215482477ba041c80c9c559985.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -12,7 +12,6 @@ "name" : "compile", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-38d39468f927e30338568ce127ca32ce-relation-FB2519CA-D8C5-4B12-95A3-459DE0620707", "isCollection" : false, "label" : "avg of numbers", @@ -23,7 +22,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-38d39468f927e30338568ce127ca32ce-relation-23505F12-A51D-4951-8043-CB7FEABACB2A", "isCollection" : false, "label" : "name", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-38d39468f927e30338568ce127ca32ce-relation-7A604A9E-F65E-4397-9F48-7DFEA129340B", "isCollection" : false, "label" : "Next traffic light", @@ -46,7 +43,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-35d74b55c04d0bf1caaa7dfdfc3b897a", "isCollection" : false, "label" : "name", @@ -57,7 +53,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-26e02236d62542bd188c0240077d40e7", "isCollection" : true, "label" : "numbers", @@ -120,7 +115,6 @@ }, { "@kind" : "decision", "diagramId" : "6776bb215482477ba041c80c9c559985", - "extensions" : [ ], "id" : "id-c234d0eaf09115adcd0ae840adeb1055", "informationReferences" : [ { "reference" : "id-c0237273c0ebfd8069dc25efc55db05a" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/npevalidation2/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/npevalidation2/DMNMetadata.json index de97f14b3..9cc69c1c9 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/npevalidation2/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/npevalidation2/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/5417bfd1893048bc9ca18c51aa11b7f0.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/5417bfd1893048bc9ca18c51aa11b7f0.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-84291715d65602fd9b10b2c56f8be43c", "isCollection" : true, "label" : "accessCertainTemporalUnits", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-dbae2a4bdfd5a41dccc6120e3c34fc73", "isCollection" : true, "label" : "ages", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-c94502c16226a212a739a89706866bdd", "isCollection" : false, "label" : "buildDateStringInAnnotation", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7bc60c39d0f8fb9a9f5c0735e830196d", "isCollection" : false, "label" : "day", @@ -50,7 +46,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-f00d13a795789b6f3aa31d4a830fa5bb", "isCollection" : true, "label" : "describeAgesList", @@ -67,7 +62,6 @@ "name" : "generateTemporalObjects", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-9a6cde3460b63379a2b6b1975c71a962-relation-E9BD5C28-E92A-4BC5-BC7E-49327A0EE1F2", "isCollection" : false, "label" : "date", @@ -78,7 +72,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-9a6cde3460b63379a2b6b1975c71a962-relation-EFD96D34-5FD3-4E2A-93D4-FBBB037E3EB6", "isCollection" : false, "label" : "datetime", @@ -90,7 +83,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-4605f9af9fc8f0f3a6e95ccab70c8d86", "isCollection" : false, "label" : "hour", @@ -101,7 +93,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-d3146fe44546fe51058649d51dbf0b5e", "isCollection" : false, "label" : "minute", @@ -112,7 +103,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-d26a5bc335ee8f2c7b901208bb065221", "isCollection" : false, "label" : "month", @@ -123,7 +113,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-b74e094e716a3f25c739985c993ab62e", "isCollection" : true, "label" : "names", @@ -134,7 +123,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7d58e0cd86828258cfc1bf6cfbdf62a2", "isCollection" : false, "label" : "negateSecond", @@ -145,7 +133,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-b887e8de51c1d0e42e01c9612594aee7", "isCollection" : true, "label" : "noRuleMatchesMultiHit", @@ -156,7 +143,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e61c037b1838b818c2cb1b4f3365c05e", "isCollection" : false, "label" : "noRuleMatchesSingleHit", @@ -167,7 +153,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-f5fd1d4856d5557b1616b2a953cfd433", "isCollection" : false, "label" : "second", @@ -184,7 +169,6 @@ "name" : "temporalDiffs", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-4112719dfdd7e3c70cca71905be01f13-relation-8B4B1873-E167-4850-8046-288DF48F5F0C", "isCollection" : false, "label" : "dateDiff", @@ -195,7 +179,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-4112719dfdd7e3c70cca71905be01f13-relation-8BFCCBC6-9B20-456E-A18F-45DD04BA64F8", "isCollection" : false, "label" : "dateTimeDiff", @@ -207,7 +190,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e334c76d86614a9e29544828ee6f408b", "isCollection" : false, "label" : "year", @@ -224,7 +206,6 @@ "name" : "zip", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e062979c36671bb3ba9768fcb54a1f4a-relation-ages", "isCollection" : false, "label" : "ages", @@ -235,7 +216,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e062979c36671bb3ba9768fcb54a1f4a-relation-agesListDescription", "isCollection" : false, "label" : "agesListDescription", @@ -246,7 +226,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e062979c36671bb3ba9768fcb54a1f4a-relation-dateDiffs", "isCollection" : false, "label" : "dateDiffs", @@ -257,7 +236,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e062979c36671bb3ba9768fcb54a1f4a-relation-dateTimeDiffs", "isCollection" : false, "label" : "dateTimeDiffs", @@ -268,7 +246,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e062979c36671bb3ba9768fcb54a1f4a-relation-names", "isCollection" : false, "label" : "names", @@ -279,7 +256,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e062979c36671bb3ba9768fcb54a1f4a-relation-temporalUnits", "isCollection" : false, "label" : "temporalUnits", @@ -397,7 +373,6 @@ }, { "@kind" : "decision", "diagramId" : "5417bfd1893048bc9ca18c51aa11b7f0", - "extensions" : [ ], "id" : "id-33b38ba8b896a9204958529ad488d8ac", "informationReferences" : [ { "reference" : "id-3ca7d494cdd72647ecd98949e80d821e" @@ -497,7 +472,6 @@ }, { "@kind" : "decision", "diagramId" : "5417bfd1893048bc9ca18c51aa11b7f0", - "extensions" : [ ], "id" : "id-0720f23b4aa8e0e34802e93c84775319", "informationReferences" : [ { "reference" : "id-9ca60c7d715a2606bbd2efb76548af3b" @@ -562,7 +536,6 @@ }, { "@kind" : "decision", "diagramId" : "5417bfd1893048bc9ca18c51aa11b7f0", - "extensions" : [ ], "id" : "id-7535944522df431ce0f2814e96991193", "informationReferences" : [ { "reference" : "id-6d8d1e429666b8ff1897bf3f6ac82986" @@ -597,7 +570,6 @@ }, { "@kind" : "decision", "diagramId" : "5417bfd1893048bc9ca18c51aa11b7f0", - "extensions" : [ ], "id" : "id-3ca7d494cdd72647ecd98949e80d821e", "informationReferences" : [ { "reference" : "id-9ca60c7d715a2606bbd2efb76548af3b" @@ -707,7 +679,6 @@ }, { "@kind" : "decision", "diagramId" : "5417bfd1893048bc9ca18c51aa11b7f0", - "extensions" : [ ], "id" : "id-28993e328332eed1a055cf5d390c813c", "informationReferences" : [ { "reference" : "id-5ca7d94b08d7732cd963c2a10e2488b5" @@ -742,7 +713,6 @@ }, { "@kind" : "decision", "diagramId" : "5417bfd1893048bc9ca18c51aa11b7f0", - "extensions" : [ ], "id" : "id-2a03a3567af4c8c0c2a3ece074212d8e", "informationReferences" : [ { "reference" : "id-5ca7d94b08d7732cd963c2a10e2488b5" @@ -777,7 +747,6 @@ }, { "@kind" : "decision", "diagramId" : "5417bfd1893048bc9ca18c51aa11b7f0", - "extensions" : [ ], "id" : "id-40a629b73fd6d126e856925937ad32e0", "informationReferences" : [ { "reference" : "id-5ca7d94b08d7732cd963c2a10e2488b5" @@ -812,7 +781,6 @@ }, { "@kind" : "decision", "diagramId" : "5417bfd1893048bc9ca18c51aa11b7f0", - "extensions" : [ ], "id" : "id-993ac52eeceddf3affb202a39903c2c8", "informationReferences" : [ { "reference" : "id-3ca7d494cdd72647ecd98949e80d821e" @@ -912,7 +880,6 @@ }, { "@kind" : "decision", "diagramId" : "5417bfd1893048bc9ca18c51aa11b7f0", - "extensions" : [ ], "id" : "id-149048fe2cdc6e00767dc7404c469504", "informationReferences" : [ { "reference" : "id-6d8d1e429666b8ff1897bf3f6ac82986" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/null-safe-tests/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/null-safe-tests/DMNMetadata.json index c8e70d9ad..c1df4378b 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/null-safe-tests/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/null-safe-tests/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/7a41c638739441ef88d9fe7501233ef8.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/7a41c638739441ef88d9fe7501233ef8.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-2cc3214320632e21fa06a8e4df51a01f", "isCollection" : false, "label" : "allFalseAggregation", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-471466181fede0d84c7df0e9fe289a0e", "isCollection" : false, "label" : "allTogether", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-358fb3eef70f854067115a7957b8e757", "isCollection" : false, "label" : "allTrueAggregation", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-8834daef08074502f6114c3bbfa67ff0", "isCollection" : false, "label" : "anyTrueAggregation", @@ -50,7 +46,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-8266402525c1150efdfd6183507e6980", "isCollection" : false, "label" : "arithmetic", @@ -61,7 +56,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-94010e51fff3246bb81ff073cc030cbd", "isCollection" : false, "label" : "booleanA", @@ -72,7 +66,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-ab8b01c0dd497fcde9fd1ca33e705e55", "isCollection" : false, "label" : "booleanAllFalse", @@ -83,7 +76,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-9e082ad3b2250f1df8027ba40689b23d", "isCollection" : false, "label" : "booleanAllTrue", @@ -94,7 +86,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-334e50482f30ae457540df3012c193da", "isCollection" : false, "label" : "booleanAnyTrue", @@ -105,7 +96,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-cb5f8f251c78a1fa0f3c14922aa163db", "isCollection" : false, "label" : "booleanB ", @@ -116,7 +106,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7c2fce8ec22887bb67f15d0c4b81af86", "isCollection" : true, "label" : "booleanList", @@ -127,7 +116,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-eabe544d9031007a7c789c332a5f01b7", "isCollection" : true, "label" : "comparator ", @@ -138,7 +126,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-566c0c1e6205c278494e9c4fb97e6a29", "isCollection" : false, "label" : "date ", @@ -149,7 +136,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-ede7794c2ca519e4b2483cb568d7de67", "isCollection" : false, "label" : "dateTime", @@ -160,7 +146,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-c0a0a5abc1125fd69627af517c1b7a3b", "isCollection" : false, "label" : "formattingAndCoercing", @@ -171,7 +156,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-05ead685d65ac4d20c5b6150cc46ca4a", "isCollection" : false, "label" : "keepInput_allFalse", @@ -182,7 +166,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-9203cd168799b29b1e95772a8e9868fd", "isCollection" : false, "label" : "keepInput_allTrue", @@ -193,7 +176,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-f2a735669eb978daaf9c21a6a7e6970d", "isCollection" : false, "label" : "keepInput_anyTrue", @@ -204,7 +186,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-d6e1e7be21c12b57a61c8f97cb7d614b", "isCollection" : false, "label" : "listHandling", @@ -215,7 +196,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-85b56ea918b2fb3cd2b9d0d11c6b7206", "isCollection" : false, "label" : "logical ", @@ -226,7 +206,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-1faba55e4fd5e1351ff3e3332db2f2c7", "isCollection" : false, "label" : "numberA", @@ -237,7 +216,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-62a3564431596dc382ef27011f0def3e", "isCollection" : false, "label" : "numberB", @@ -248,7 +226,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-3730312cd03e8f285381a7502e3337b6", "isCollection" : true, "label" : "numberList", @@ -259,7 +236,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-bd26355ac1241c457f913b2bfa56e370", "isCollection" : false, "label" : "partA", @@ -270,7 +246,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-cae5425f1c4591f8a4537d12d74ec6de", "isCollection" : false, "label" : "partB", @@ -281,7 +256,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-d913ed2cea97609a881358d9d0cfa746", "isCollection" : false, "label" : "partC", @@ -292,7 +266,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-03ec1b690e33459b90b16efc9685ddd2", "isCollection" : false, "label" : "statistical", @@ -303,7 +276,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-9d843f44d8ac1071405e1cedc0d97648", "isCollection" : false, "label" : "string", @@ -314,7 +286,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-6ccacae7c10f7ecc54a1d2c197a35221", "isCollection" : false, "label" : "stringHandling", @@ -325,7 +296,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-37f7779f9f670999279937e94332d604", "isCollection" : false, "label" : "stringHandlingComparator", @@ -336,7 +306,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-ef9ae8d5f1d1cd3109e72799b860b153", "isCollection" : true, "label" : "stringList", @@ -347,7 +316,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-9dc928bec6c5c35a28acf175efb0cedc", "isCollection" : false, "label" : "temporal", @@ -358,7 +326,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-8ffcf107aef36a1e7334d8a2d6b9b5ce", "isCollection" : true, "label" : "temporalComparator ", @@ -369,7 +336,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-42e5206b1e875f9b9fdcabcec1bca7ae", "isCollection" : false, "label" : "temporalDiff", @@ -380,7 +346,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-c3fcae69eb4b4cbbaedb71f007ba1806", "isCollection" : false, "label" : "time ", @@ -575,13 +540,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "ALLFALSE", - "iterationExpression" : "booleanList", - "iteratorShapeId" : "id-79ac9fb1afa596bbb0db5c6a5257a8b6", - "topLevelDecisionId" : "id-21fa2a4ecb92ec37652f13671be694a2" - } ], "id" : "id-12f8c62e129adc2b235f1819817022ec", "informationReferences" : [ { "reference" : "id-963dd1faff03c460abb0bb16855be442" @@ -616,7 +574,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-26dd50ab439aa5d5392f972084733182", "informationReferences" : [ { "reference" : "id-aa6192796546dfbb201e1a17f1711b12" @@ -785,13 +742,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "ALLTRUE", - "iterationExpression" : "booleanList", - "iteratorShapeId" : "id-0999a54b4e2887b6404fe10e4639a1d6", - "topLevelDecisionId" : "id-4396518e644ea96eb89ee72817af5157" - } ], "id" : "id-990fc1682febe5e206a9e367470fa4b5", "informationReferences" : [ { "reference" : "id-963dd1faff03c460abb0bb16855be442" @@ -826,13 +776,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "ANYTRUE", - "iterationExpression" : "booleanList", - "iteratorShapeId" : "id-4b393744e05965a1928ecb455ab42308", - "topLevelDecisionId" : "id-87919f1fc05a6c8813d8c16a2851de23" - } ], "id" : "id-499a1aeffa9f16f776cba221110df81a", "informationReferences" : [ { "reference" : "id-963dd1faff03c460abb0bb16855be442" @@ -867,7 +810,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-6ae008320d1d55b977bc3dd10a3725eb", "informationReferences" : [ { "reference" : "id-f444fe9b45d132962058826c7ce0e254" @@ -932,7 +874,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-9f6598201a6d97e53905786b994d3523", "informationReferences" : [ { "reference" : "id-c736af77b66969d175933720059dec48" @@ -967,7 +908,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-f6f0c41b65035466a4cbaafab2e35265", "informationReferences" : [ { "reference" : "id-1c122325d0f516d01f33e3c10ec7bf61" @@ -1017,7 +957,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-21fa2a4ecb92ec37652f13671be694a2", "informationReferences" : [ { "reference" : "id-79ac9fb1afa596bbb0db5c6a5257a8b6" @@ -1052,7 +991,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-4396518e644ea96eb89ee72817af5157", "informationReferences" : [ { "reference" : "id-0999a54b4e2887b6404fe10e4639a1d6" @@ -1087,7 +1025,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-87919f1fc05a6c8813d8c16a2851de23", "informationReferences" : [ { "reference" : "id-4b393744e05965a1928ecb455ab42308" @@ -1122,7 +1059,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-68e1bf98ec7c27a9dd0b29b04c5479bb", "informationReferences" : [ { "reference" : "id-f444fe9b45d132962058826c7ce0e254" @@ -1172,7 +1108,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-d844337c47e4efb641f61e447347b1a9", "informationReferences" : [ { "reference" : "id-e266bf27f575f63084511773f3a737c6" @@ -1222,7 +1157,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-c766b420761d4a1c594e4caabdd5d4be", "informationReferences" : [ { "reference" : "id-499a1aeffa9f16f776cba221110df81a" @@ -1261,7 +1195,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-7db1ff2909dfa8e87829969a4f2b0bee", "informationReferences" : [ { "reference" : "id-5b07c9711db6376713296511215c7644" @@ -1358,7 +1291,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-aa6192796546dfbb201e1a17f1711b12", "informationReferences" : [ { "reference" : "id-e531076a8bd1457bfe3bcc7cdf1a2637" @@ -1451,7 +1383,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-5b07c9711db6376713296511215c7644", "informationReferences" : [ { "reference" : "id-f444fe9b45d132962058826c7ce0e254" @@ -1486,7 +1417,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-a7895d8e6af939a1e7cafb3317d8a423", "informationReferences" : [ { "reference" : "id-b9fd8fd2303ab43c6c19e8ba30a50116" @@ -1551,7 +1481,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-d5f34819daa731749e8a2e610010899d", "informationReferences" : [ { "reference" : "id-a7895d8e6af939a1e7cafb3317d8a423" @@ -1612,7 +1541,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-e531076a8bd1457bfe3bcc7cdf1a2637", "informationReferences" : [ { "reference" : "id-de95e2868799a862ed04920c276bffa1" @@ -1647,7 +1575,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-72c343df36c2e2018dae168097967162", "informationReferences" : [ { "reference" : "id-de95e2868799a862ed04920c276bffa1" @@ -1682,7 +1609,6 @@ }, { "@kind" : "decision", "diagramId" : "7a41c638739441ef88d9fe7501233ef8", - "extensions" : [ ], "id" : "id-29cf8a82fee3b01a2e0f13fa89ecb697", "informationReferences" : [ { "reference" : "id-5d1954e864444e9ebb079558da384758" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/nullcomplextypeaccess/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/nullcomplextypeaccess/DMNMetadata.json index 2f7eb37bd..603d5b497 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/nullcomplextypeaccess/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/nullcomplextypeaccess/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/7f0dd69d49504172be8e6e3c23d8ed63.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/7f0dd69d49504172be8e6e3c23d8ed63.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-036f5df10a02fc4f4e16de67b34f3618", "isCollection" : false, "label" : "a", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-454c54ab23301f00dd5186779a80d786", "isCollection" : false, "label" : "b", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-251ab0dcbaed195dcd42f54db23b9466", "isCollection" : false, "label" : "bb", @@ -45,7 +42,6 @@ "name" : "incompleteDecisionTable", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-03a762b8be79b9820f82ca915536cabb-relation-3611E9FC-EF9C-4B4A-A32B-CFD57AE625A8", "isCollection" : false, "label" : "a", @@ -56,7 +52,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-03a762b8be79b9820f82ca915536cabb-relation-01DFD749-1DF4-4791-B631-4848A1F04D44", "isCollection" : false, "label" : "b", @@ -68,7 +63,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-a360c1bdbf6f006dd5490c42d12a6da3", "isCollection" : false, "label" : "InputString", @@ -79,7 +73,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-6638960da9b1c3664d33d9e1cde4324a", "isCollection" : false, "label" : "TestNullComplexTypeAccess", @@ -105,7 +98,6 @@ }, { "@kind" : "decision", "diagramId" : "7f0dd69d49504172be8e6e3c23d8ed63", - "extensions" : [ ], "id" : "id-a396af58800e8f6a8de6c4d8ba8f4236", "informationReferences" : [ { "reference" : "id-0ff9eb79f707e780099161b4b4c56746" @@ -140,7 +132,6 @@ }, { "@kind" : "decision", "diagramId" : "7f0dd69d49504172be8e6e3c23d8ed63", - "extensions" : [ ], "id" : "id-00afd29eedb73034d4c3726f1f77ad54", "informationReferences" : [ { "reference" : "id-a396af58800e8f6a8de6c4d8ba8f4236" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/nulls-with-zip-function/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/nulls-with-zip-function/DMNMetadata.json index d8bd0aa63..303be70b9 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/nulls-with-zip-function/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/nulls-with-zip-function/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/7bf105649e8445b39cb4d936497fbc1c.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/7bf105649e8445b39cb4d936497fbc1c.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-c45ea1e81f294d1f76a0eb10009ead0a", "isCollection" : false, "label" : "do something", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-52de484b6bcbe3d7f1fa7fdabd31dbf5", "isCollection" : true, "label" : "inputA", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-398f2c4664180c9b2b696444d7ccd6c3", "isCollection" : true, "label" : "inputB", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-db263452d6ebb807f0ad1fdafc9398f9", "isCollection" : true, "label" : "mid", @@ -56,7 +52,6 @@ "name" : "zip", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-63ce85051c606c9854e624874392899b-relation-inputA", "isCollection" : false, "label" : "inputA", @@ -67,7 +62,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-63ce85051c606c9854e624874392899b-relation-inputB", "isCollection" : false, "label" : "inputB", @@ -85,7 +79,6 @@ "name" : "zip3", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-1b4b35ce9f961726ac5d267843377e53-relation-inputA", "isCollection" : false, "label" : "inputA", @@ -96,7 +89,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-1b4b35ce9f961726ac5d267843377e53-relation-inputB", "isCollection" : false, "label" : "inputB", @@ -149,7 +141,6 @@ }, { "@kind" : "decision", "diagramId" : "7bf105649e8445b39cb4d936497fbc1c", - "extensions" : [ ], "id" : "id-187b2eb75bfbb6c127a12941ba205766", "informationReferences" : [ { "reference" : "id-d4987419a2b1fc654221251bbec3102e" @@ -184,13 +175,6 @@ }, { "@kind" : "decision", "diagramId" : "7bf105649e8445b39cb4d936497fbc1c", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "COLLECT", - "iterationExpression" : "zip", - "iteratorShapeId" : "id-d4987419a2b1fc654221251bbec3102e", - "topLevelDecisionId" : "id-187b2eb75bfbb6c127a12941ba205766" - } ], "id" : "id-98462c7836419969c81cf315b2ac7d43", "informationReferences" : [ { "reference" : "id-2541b6ae8c42dcbb7520840fa5766842" @@ -238,7 +222,6 @@ }, { "@kind" : "decision", "diagramId" : "7bf105649e8445b39cb4d936497fbc1c", - "extensions" : [ ], "id" : "id-2541b6ae8c42dcbb7520840fa5766842", "informationReferences" : [ { "reference" : "id-58adb0c8c137e2f5cdd9c6b8672cde12" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/parentlinked/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/parentlinked/DMNMetadata.json index 445320fb0..9c80dd69d 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/parentlinked/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/parentlinked/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/80afa9e878bb4885a8f5be36b6f16abc.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/80afa9e878bb4885a8f5be36b6f16abc.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-b06eb129b14470365f5372c2e46a27f3", "isCollection" : false, "label" : "abc", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-e49de84a20b6287cfdee3034b2107068", "isCollection" : false, "label" : "num", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-87d760e7d14455750f2b0af746d82902", "isCollection" : false, "label" : "SomethingElse", @@ -54,7 +51,6 @@ }, { "@kind" : "decision", "diagramId" : "c3d5f975281b4d2f829ee2c77b320f01", - "extensions" : [ ], "id" : "id-cd02eb803eaf0f5bf6ae1823636939db", "informationReferences" : [ { "reference" : "id-633e1930a1ad44cae56744496cd663d3" @@ -89,7 +85,6 @@ }, { "@kind" : "decision", "diagramId" : "80afa9e878bb4885a8f5be36b6f16abc", - "extensions" : [ ], "id" : "id-7c5358c692497488ed1b1023189410fb", "informationReferences" : [ { "reference" : "id-cd02eb803eaf0f5bf6ae1823636939db" @@ -124,7 +119,6 @@ }, { "@kind" : "decision", "diagramId" : "80afa9e878bb4885a8f5be36b6f16abc", - "extensions" : [ ], "id" : "id-6c8cb98cfc4743b1066d1f6ed28f3f10", "informationReferences" : [ { "reference" : "id-7c5358c692497488ed1b1023189410fb" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-bkm/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-bkm/DMNMetadata.json index 92531a969..f6c458135 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-bkm/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-bkm/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/2521256910f54d44b0a90fa88a1aa917.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/2521256910f54d44b0a90fa88a1aa917.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-d8d2409326ca95ebc06b54a4f32d82b9", "isCollection" : false, "label" : "A", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7529a16fb8fb3ac44ab132893d08aabc", "isCollection" : false, "label" : "A", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5c3a857c933c219de1462d611ecf644b", "isCollection" : false, "label" : "B", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-bbd21642e140be5214da01c35869ad84", "isCollection" : false, "label" : "B", @@ -50,7 +46,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-b8bf75fc98d4d6a0e0e8cb2ce9fcfee8", "isCollection" : false, "label" : "SUM", @@ -114,23 +109,15 @@ } }, { "@kind" : "bkm", - "diagramId" : null, "id" : "id-74659018eb94601d9ccd8bcb2443688e", "javaOutputTypeName" : "java.math.BigDecimal", "javaParameterName" : "bKM", "javaTypeName" : "BKM", "knowledgeReferences" : [ ], - "label" : null, - "name" : "bKM", - "shapeId" : null, - "typeRef" : { - "localName" : "sUM", - "namespace" : "http://www.provider.com/dmn/1.1/diagram/2521256910f54d44b0a90fa88a1aa917.xml" - } + "name" : "bKM" }, { "@kind" : "decision", "diagramId" : "0cad6eb96bfc4b638250c73ff90f439b", - "extensions" : [ ], "id" : "id-806148ab1843f34bf4e461a8ed442b97", "informationReferences" : [ { "reference" : "id-6941daac7dedcf760459bef259f2b83c" @@ -180,7 +167,6 @@ }, { "@kind" : "decision", "diagramId" : "2521256910f54d44b0a90fa88a1aa917", - "extensions" : [ ], "id" : "id-c9af84da6920472f7e8311c719099aac", "informationReferences" : [ { "reference" : "id-f1336e666ce4588d576ac630e3a0935c" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-external-function/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-external-function/DMNMetadata.json index 3144986a4..49d710ebf 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-external-function/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-external-function/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/c5718c9e0d74413e9371e1c26c4ebef9.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/c5718c9e0d74413e9371e1c26c4ebef9.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-df984ee0568058421c514368c18c9d6c", "isCollection" : false, "label" : "A", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-0b3fb377439b3c54772591ba3475ee73", "isCollection" : false, "label" : "B", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-028f1243d02d7dbfe98813969d4f6a19", "isCollection" : false, "label" : "Decision", @@ -67,7 +64,6 @@ }, { "@kind" : "decision", "diagramId" : "c5718c9e0d74413e9371e1c26c4ebef9", - "extensions" : [ ], "id" : "id-04494bc9ee85e8ee15276fe57dfd7504", "informationReferences" : [ { "reference" : "id-10403bb637fc37587a8a51587a70d76a" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-user-function/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-user-function/DMNMetadata.json index 6543bce91..c189ceebf 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-user-function/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/simple-decision-with-user-function/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/de7a0645edac43999154e9b141c9d66a.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/de7a0645edac43999154e9b141c9d66a.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-943ec7bf40aa94e2393d76932fb16bcd", "isCollection" : false, "label" : "Age", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-45a52f4c1355c1d61f98c2af8407aa0c", "isCollection" : false, "label" : "Decision", @@ -43,7 +41,6 @@ }, { "@kind" : "decision", "diagramId" : "de7a0645edac43999154e9b141c9d66a", - "extensions" : [ ], "id" : "id-bbddb8a0fd9791e12ae899b179c6eeb3", "informationReferences" : [ { "reference" : "id-8b2dfaff5fd0522dcd630c363d26c907" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/test-zip/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/test-zip/DMNMetadata.json index 4fbabf61a..c2bbc0e75 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/test-zip/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/test-zip/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/2798610dcc0f4068861fcb0f4af25ac7.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/2798610dcc0f4068861fcb0f4af25ac7.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7ed2c81605534972b0f40dd0f1f193c1", "isCollection" : true, "label" : "A", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-ae2671fcf4b52e33a1a6470d04d6a3ca", "isCollection" : true, "label" : "B", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5acae66d9c658f02878c6bc4e0c9a5d0", "isCollection" : false, "label" : "Body ", @@ -45,7 +42,6 @@ "name" : "it", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-683ee4c21044b4895f6a25ba740bd9f1-relation-A", "isCollection" : false, "label" : "A", @@ -56,7 +52,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-683ee4c21044b4895f6a25ba740bd9f1-relation-B", "isCollection" : false, "label" : "B", @@ -68,7 +63,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-99d65c1ec6c81f281b2f1e6ec9d72012", "isCollection" : true, "label" : "Loop", @@ -85,7 +79,6 @@ "name" : "zip1", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5ed86e2d3fa2432baa7f913f68654972-relation-A", "isCollection" : false, "label" : "A", @@ -96,7 +89,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5ed86e2d3fa2432baa7f913f68654972-relation-B", "isCollection" : false, "label" : "B", @@ -149,7 +141,6 @@ }, { "@kind" : "decision", "diagramId" : "2798610dcc0f4068861fcb0f4af25ac7", - "extensions" : [ ], "id" : "id-ccb759d71c2477dd17e26c3a2c1c68ce", "informationReferences" : [ { "reference" : "id-ea0f03d48ef57b8e0b3fb41cf8d3212e" @@ -184,13 +175,6 @@ }, { "@kind" : "decision", "diagramId" : "2798610dcc0f4068861fcb0f4af25ac7", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "COLLECT", - "iterationExpression" : "zip1", - "iteratorShapeId" : "id-ea0f03d48ef57b8e0b3fb41cf8d3212e", - "topLevelDecisionId" : "id-ccb759d71c2477dd17e26c3a2c1c68ce" - } ], "id" : "id-448b531deda330b274727b397bcc0955", "informationReferences" : [ { "reference" : "id-fada51ce664c63874c99e6e7cf630c33" @@ -238,7 +222,6 @@ }, { "@kind" : "decision", "diagramId" : "2798610dcc0f4068861fcb0f4af25ac7", - "extensions" : [ ], "id" : "id-fada51ce664c63874c99e6e7cf630c33", "informationReferences" : [ { "reference" : "id-2573b665f7d599fb9d1b8972ba3bab3a" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/testdecision/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/testdecision/DMNMetadata.json index 1cec9fe79..14bb6bde4 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/testdecision/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/complex/dmn/testdecision/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/85f2dd29e4774c2f84b883545afdd8cc.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/85f2dd29e4774c2f84b883545afdd8cc.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-428deb31249d911236f1619c005f25a1", "isCollection" : false, "label" : "StringInput", @@ -43,7 +42,6 @@ }, { "@kind" : "decision", "diagramId" : "85f2dd29e4774c2f84b883545afdd8cc", - "extensions" : [ ], "id" : "id-065a4ad1dee45d3086e4409de0674dd6", "informationReferences" : [ { "reference" : "id-81ff62961e9f9c53450c4619c967de23" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/compound-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/compound-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json index 69483f413..20b930096 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/compound-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/compound-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-itemDefinition-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "isCollection" : false, "label" : "BooleanInput", @@ -23,7 +22,6 @@ "name" : "compoundOutputCompoundDecision", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-relation-4F178C17-6132-475B-BB01-FCF62DA216F4", "isCollection" : false, "label" : "First Output", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-relation-825839B7-47CB-4A7A-BC5F-5242E1449A2F", "isCollection" : false, "label" : "Second Output", @@ -46,7 +43,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-itemDefinition-sid-6DEE5C38-4409-4A43-8E10-A759DF55056E", "isCollection" : false, "label" : "DD1 Text Input", @@ -57,7 +53,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-itemDefinition-sid-3C445DAC-1B0D-4D22-9FD3-EB4E617D00CF", "isCollection" : false, "label" : "DD2 Number Input", @@ -74,7 +69,6 @@ "name" : "dependentDecision1", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-64E0500E-ADE8-4CB3-8E4F-894A4BD3EDE9-relation-3919D1AE-3F5C-434F-930A-D1E350DD4B77", "isCollection" : false, "label" : "DD1O1", @@ -85,7 +79,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-64E0500E-ADE8-4CB3-8E4F-894A4BD3EDE9-relation-8043CED3-C66A-4D50-B806-E3DC53D4A8D5", "isCollection" : false, "label" : "DD1O2", @@ -103,7 +96,6 @@ "name" : "dependentDecision2", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-957FCF3A-3662-440C-ADB4-2AEB91ED7AA8-relation-D0794FEE-197A-47AC-9DB5-5F3786827926", "isCollection" : false, "label" : "DD2O1", @@ -114,7 +106,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-957FCF3A-3662-440C-ADB4-2AEB91ED7AA8-relation-80A43548-BA1B-4911-A938-D2BAA3905100", "isCollection" : false, "label" : "DD2O2", @@ -138,60 +129,50 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-6DEE5C38-4409-4A43-8E10-A759DF55056E", "javaParameterName" : "dd1TextInput", "javaTypeName" : "String", "label" : "DD1 Text Input", "name" : "dd1TextInput", - "shapeId" : null, "typeRef" : { "localName" : "dd1TextInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-3C445DAC-1B0D-4D22-9FD3-EB4E617D00CF", "javaParameterName" : "dd2NumberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "DD2 Number Input", "name" : "dd2NumberInput", - "shapeId" : null, "typeRef" : { "localName" : "dd2NumberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-DD33B3B6-0C84-4568-A0ED-424855D08836" @@ -210,55 +191,46 @@ "name" : "compoundOutputCompoundDecision", "protoRequestName" : "proto.CompoundOutputCompoundDecisionRequest", "protoResponseName" : "proto.CompoundOutputCompoundDecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-6DEE5C38-4409-4A43-8E10-A759DF55056E", "javaParameterName" : "dd1TextInput", "javaTypeName" : "String", "label" : "DD1 Text Input", "name" : "dd1TextInput", - "shapeId" : null, "typeRef" : { "localName" : "dd1TextInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-3C445DAC-1B0D-4D22-9FD3-EB4E617D00CF", "javaParameterName" : "dd2NumberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "DD2 Number Input", "name" : "dd2NumberInput", - "shapeId" : null, "typeRef" : { "localName" : "dd2NumberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml" @@ -270,8 +242,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-decision-sid-64E0500E-ADE8-4CB3-8E4F-894A4BD3EDE9", "informationReferences" : [ { "reference" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-6DEE5C38-4409-4A43-8E10-A759DF55056E" @@ -284,16 +254,13 @@ "name" : "dependentDecision1", "protoRequestName" : "proto.DependentDecision1Request", "protoResponseName" : "proto.DependentDecision1Response", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-6DEE5C38-4409-4A43-8E10-A759DF55056E", "javaParameterName" : "dd1TextInput", "javaTypeName" : "String", "label" : "DD1 Text Input", "name" : "dd1TextInput", - "shapeId" : null, "typeRef" : { "localName" : "dd1TextInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml" @@ -305,8 +272,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-decision-sid-957FCF3A-3662-440C-ADB4-2AEB91ED7AA8", "informationReferences" : [ { "reference" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-3C445DAC-1B0D-4D22-9FD3-EB4E617D00CF" @@ -319,16 +284,13 @@ "name" : "dependentDecision2", "protoRequestName" : "proto.DependentDecision2Request", "protoResponseName" : "proto.DependentDecision2Response", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b1489a504a724a1caf493a6cb5187c2c-inputdata-sid-3C445DAC-1B0D-4D22-9FD3-EB4E617D00CF", "javaParameterName" : "dd2NumberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "DD2 Number Input", "name" : "dd2NumberInput", - "shapeId" : null, "typeRef" : { "localName" : "dd2NumberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b1489a504a724a1caf493a6cb5187c2c.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-complex-type-inputs-sfeel-input-entries-single-output-collect-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-complex-type-inputs-sfeel-input-entries-single-output-collect-hit-policy/DMNMetadata.json index b7e6ec9b9..def818d08 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-complex-type-inputs-sfeel-input-entries-single-output-collect-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-complex-type-inputs-sfeel-input-entries-single-output-collect-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/2798baf8f6de4bd3b984e599fa9ff016.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/2798baf8f6de4bd3b984e599fa9ff016.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-C52224F3-4EC1-4AAC-88AE-F5F51F285ED0", "isCollection" : true, "label" : "Decision", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-2798baf8f6de4bd3b984e599fa9ff016-itemDefinition-sid-B180B170-4226-4CB8-B6EE-51D4307DCA61", "isCollection" : false, "label" : "Employed", @@ -34,7 +32,6 @@ "name" : "person", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264-relation-4", "isCollection" : false, "label" : "dateOfBirth", @@ -45,7 +42,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264-relation-6", "isCollection" : false, "label" : "dateTimeOfBirth", @@ -56,7 +52,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264-relation-0", "isCollection" : false, "label" : "firstName", @@ -67,7 +62,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264-relation-3", "isCollection" : false, "label" : "gender", @@ -78,7 +72,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264-relation-2", "isCollection" : false, "label" : "id", @@ -89,7 +82,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264-relation-1", "isCollection" : false, "label" : "lastName", @@ -100,7 +92,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264-relation-7", "isCollection" : true, "label" : "list", @@ -111,7 +102,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264-relation-8", "isCollection" : false, "label" : "married", @@ -122,7 +112,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264-relation-5", "isCollection" : false, "label" : "timeOfBirth", @@ -135,34 +124,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-2798baf8f6de4bd3b984e599fa9ff016-inputdata-sid-B180B170-4226-4CB8-B6EE-51D4307DCA61", "javaParameterName" : "employed", "javaTypeName" : "Boolean", "label" : "Employed", "name" : "employed", - "shapeId" : null, "typeRef" : { "localName" : "employed", "namespace" : "http://www.provider.com/dmn/1.1/diagram/2798baf8f6de4bd3b984e599fa9ff016.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-2798baf8f6de4bd3b984e599fa9ff016-inputdata-sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264", "javaParameterName" : "person", "javaTypeName" : "type.Person", "label" : "Person", "name" : "person", - "shapeId" : null, "typeRef" : { "localName" : "person", "namespace" : "http://www.provider.com/dmn/1.1/diagram/2798baf8f6de4bd3b984e599fa9ff016.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-2798baf8f6de4bd3b984e599fa9ff016-decision-sid-C52224F3-4EC1-4AAC-88AE-F5F51F285ED0", "informationReferences" : [ { "reference" : "diagram-2798baf8f6de4bd3b984e599fa9ff016-inputdata-sid-B180B170-4226-4CB8-B6EE-51D4307DCA61" @@ -177,29 +160,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-2798baf8f6de4bd3b984e599fa9ff016-inputdata-sid-B180B170-4226-4CB8-B6EE-51D4307DCA61", "javaParameterName" : "employed", "javaTypeName" : "Boolean", "label" : "Employed", "name" : "employed", - "shapeId" : null, "typeRef" : { "localName" : "employed", "namespace" : "http://www.provider.com/dmn/1.1/diagram/2798baf8f6de4bd3b984e599fa9ff016.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-2798baf8f6de4bd3b984e599fa9ff016-inputdata-sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264", "javaParameterName" : "person", "javaTypeName" : "type.Person", "label" : "Person", "name" : "person", - "shapeId" : null, "typeRef" : { "localName" : "person", "namespace" : "http://www.provider.com/dmn/1.1/diagram/2798baf8f6de4bd3b984e599fa9ff016.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-output-order-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-output-order-hit-policy/DMNMetadata.json index e3daa4702..a36505f09 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-output-order-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-output-order-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/b69ed36fd3714a89b77c413e452dc732.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/b69ed36fd3714a89b77c413e452dc732.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -12,7 +12,6 @@ "name" : "decision", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-relation-4F178C17-6132-475B-BB01-FCF62DA216F4", "isCollection" : false, "label" : "Output1", @@ -23,7 +22,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-relation-EE244A6E-A05E-4B93-A0D6-AECD4A5E93B8", "isCollection" : false, "label" : "Output2", @@ -35,7 +33,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-b69ed36fd3714a89b77c413e452dc732-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -46,7 +43,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-b69ed36fd3714a89b77c413e452dc732-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -58,34 +54,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b69ed36fd3714a89b77c413e452dc732-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b69ed36fd3714a89b77c413e452dc732.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b69ed36fd3714a89b77c413e452dc732-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b69ed36fd3714a89b77c413e452dc732.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-b69ed36fd3714a89b77c413e452dc732-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-b69ed36fd3714a89b77c413e452dc732-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -100,29 +90,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b69ed36fd3714a89b77c413e452dc732-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b69ed36fd3714a89b77c413e452dc732.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-b69ed36fd3714a89b77c413e452dc732-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/b69ed36fd3714a89b77c413e452dc732.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-priority-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-priority-hit-policy/DMNMetadata.json index 74e37229d..73d40ab39 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-priority-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-priority-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/05d196e8d5c44e038717f3ceb9d60049.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/05d196e8d5c44e038717f3ceb9d60049.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -12,7 +12,6 @@ "name" : "decision", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-relation-4F178C17-6132-475B-BB01-FCF62DA216F4", "isCollection" : false, "label" : "Output1", @@ -23,7 +22,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-relation-C140B102-5EFC-445B-9E58-8DC027C0789E", "isCollection" : false, "label" : "Output2", @@ -35,7 +33,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-05d196e8d5c44e038717f3ceb9d60049-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -46,7 +43,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-05d196e8d5c44e038717f3ceb9d60049-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -58,34 +54,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-05d196e8d5c44e038717f3ceb9d60049-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/05d196e8d5c44e038717f3ceb9d60049.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-05d196e8d5c44e038717f3ceb9d60049-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/05d196e8d5c44e038717f3ceb9d60049.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-05d196e8d5c44e038717f3ceb9d60049-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-05d196e8d5c44e038717f3ceb9d60049-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -100,29 +90,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-05d196e8d5c44e038717f3ceb9d60049-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/05d196e8d5c44e038717f3ceb9d60049.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-05d196e8d5c44e038717f3ceb9d60049-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/05d196e8d5c44e038717f3ceb9d60049.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-first-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-first-hit-policy/DMNMetadata.json index cf901e804..95fdce5c3 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-first-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-first-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-itemDefinition-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-itemDefinition-sid-D16E1277-6037-4066-A21B-42F761A4B427", "isCollection" : false, "label" : "DateAndTimeInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-itemDefinition-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "isCollection" : false, "label" : "DateInput", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -72,7 +67,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -83,7 +77,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-itemDefinition-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "isCollection" : false, "label" : "TimeInput", @@ -95,99 +88,83 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427" @@ -212,94 +189,79 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-79e6b972a2484843b6651c6bf2e5b35c-inputdata-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/79e6b972a2484843b6651c6bf2e5b35c.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json index 5798f08fb..4aabcb77d 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-itemDefinition-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-itemDefinition-sid-D16E1277-6037-4066-A21B-42F761A4B427", "isCollection" : false, "label" : "DateAndTimeInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-itemDefinition-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "isCollection" : false, "label" : "DateInput", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -72,7 +67,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -83,7 +77,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-itemDefinition-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "isCollection" : false, "label" : "TimeInput", @@ -95,99 +88,83 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427" @@ -212,94 +189,79 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-cfcc03d5730340e1a2e28ecd7eb522f0-inputdata-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/cfcc03d5730340e1a2e28ecd7eb522f0.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json index 80612162b..b99010a35 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-itemDefinition-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "isCollection" : false, "label" : "BooleanInput", @@ -23,7 +22,6 @@ "name" : "compoundOutputDecision", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-relation-4F178C17-6132-475B-BB01-FCF62DA216F4", "isCollection" : false, "label" : "First Output", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-relation-825839B7-47CB-4A7A-BC5F-5242E1449A2F", "isCollection" : false, "label" : "Second Output", @@ -46,7 +43,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-itemDefinition-sid-D16E1277-6037-4066-A21B-42F761A4B427", "isCollection" : false, "label" : "DateAndTimeInput", @@ -57,7 +53,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-itemDefinition-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "isCollection" : false, "label" : "DateInput", @@ -79,7 +74,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -90,7 +84,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -101,7 +94,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-itemDefinition-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "isCollection" : false, "label" : "TimeInput", @@ -113,99 +105,83 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427" @@ -230,94 +206,79 @@ "name" : "compoundOutputDecision", "protoRequestName" : "proto.CompoundOutputDecisionRequest", "protoResponseName" : "proto.CompoundOutputDecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0d0e36d84e6b4838a08437bc729dd66a-inputdata-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0d0e36d84e6b4838a08437bc729dd66a.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-single-output-first-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-single-output-first-hit-policy/DMNMetadata.json index aceecd994..dfbe21c85 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-single-output-first-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-single-output-first-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-itemDefinition-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-itemDefinition-sid-D16E1277-6037-4066-A21B-42F761A4B427", "isCollection" : false, "label" : "DateAndTimeInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-itemDefinition-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "isCollection" : false, "label" : "DateInput", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -72,7 +67,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -83,7 +77,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-itemDefinition-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "isCollection" : false, "label" : "TimeInput", @@ -95,99 +88,83 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427" @@ -212,94 +189,79 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-8e30fec88a0a49feac5e2d32d7188b9f-inputdata-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/8e30fec88a0a49feac5e2d32d7188b9f.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-any-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-any-hit-policy/DMNMetadata.json index a6e7182d8..a728c296e 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-any-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-any-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/9818e019232d45c28b25d9dd648b4f01.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/9818e019232d45c28b25d9dd648b4f01.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-9818e019232d45c28b25d9dd648b4f01-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-9818e019232d45c28b25d9dd648b4f01-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-9818e019232d45c28b25d9dd648b4f01-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/9818e019232d45c28b25d9dd648b4f01.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-9818e019232d45c28b25d9dd648b4f01-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/9818e019232d45c28b25d9dd648b4f01.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-9818e019232d45c28b25d9dd648b4f01-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-9818e019232d45c28b25d9dd648b4f01-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-9818e019232d45c28b25d9dd648b4f01-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/9818e019232d45c28b25d9dd648b4f01.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-9818e019232d45c28b25d9dd648b4f01-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/9818e019232d45c28b25d9dd648b4f01.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-count-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-count-hit-policy/DMNMetadata.json index ede2e3aa1..4b35083c0 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-count-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-count-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/720ce15dd8694bb3b91aa8d0a01351db.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/720ce15dd8694bb3b91aa8d0a01351db.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-720ce15dd8694bb3b91aa8d0a01351db-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-720ce15dd8694bb3b91aa8d0a01351db-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +37,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-720ce15dd8694bb3b91aa8d0a01351db-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/720ce15dd8694bb3b91aa8d0a01351db.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-720ce15dd8694bb3b91aa8d0a01351db-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/720ce15dd8694bb3b91aa8d0a01351db.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-720ce15dd8694bb3b91aa8d0a01351db-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-720ce15dd8694bb3b91aa8d0a01351db-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +73,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-720ce15dd8694bb3b91aa8d0a01351db-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/720ce15dd8694bb3b91aa8d0a01351db.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-720ce15dd8694bb3b91aa8d0a01351db-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/720ce15dd8694bb3b91aa8d0a01351db.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-hit-policy/DMNMetadata.json index 342e714b9..8308390de 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/eb202d55c5af4c35b003091cb9a445dd.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/eb202d55c5af4c35b003091cb9a445dd.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-eb202d55c5af4c35b003091cb9a445dd-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-eb202d55c5af4c35b003091cb9a445dd-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-eb202d55c5af4c35b003091cb9a445dd-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/eb202d55c5af4c35b003091cb9a445dd.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-eb202d55c5af4c35b003091cb9a445dd-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/eb202d55c5af4c35b003091cb9a445dd.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-eb202d55c5af4c35b003091cb9a445dd-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-eb202d55c5af4c35b003091cb9a445dd-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-eb202d55c5af4c35b003091cb9a445dd-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/eb202d55c5af4c35b003091cb9a445dd.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-eb202d55c5af4c35b003091cb9a445dd-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/eb202d55c5af4c35b003091cb9a445dd.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-min-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-min-hit-policy/DMNMetadata.json index c167a6ff8..a427e658d 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-min-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-min-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/1dc1eafdffaa47f8a3f9814c50024726.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/1dc1eafdffaa47f8a3f9814c50024726.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-1dc1eafdffaa47f8a3f9814c50024726-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-1dc1eafdffaa47f8a3f9814c50024726-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +37,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-1dc1eafdffaa47f8a3f9814c50024726-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/1dc1eafdffaa47f8a3f9814c50024726.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-1dc1eafdffaa47f8a3f9814c50024726-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/1dc1eafdffaa47f8a3f9814c50024726.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-1dc1eafdffaa47f8a3f9814c50024726-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-1dc1eafdffaa47f8a3f9814c50024726-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +73,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-1dc1eafdffaa47f8a3f9814c50024726-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/1dc1eafdffaa47f8a3f9814c50024726.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-1dc1eafdffaa47f8a3f9814c50024726-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/1dc1eafdffaa47f8a3f9814c50024726.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-sum-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-sum-hit-policy/DMNMetadata.json index 6c2d9ba0a..fc66abfc7 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-sum-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-sum-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/0328ae48ded84f9fb3a96a1f45213ab4.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/0328ae48ded84f9fb3a96a1f45213ab4.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-0328ae48ded84f9fb3a96a1f45213ab4-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-0328ae48ded84f9fb3a96a1f45213ab4-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +37,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0328ae48ded84f9fb3a96a1f45213ab4-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0328ae48ded84f9fb3a96a1f45213ab4.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0328ae48ded84f9fb3a96a1f45213ab4-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0328ae48ded84f9fb3a96a1f45213ab4.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-0328ae48ded84f9fb3a96a1f45213ab4-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-0328ae48ded84f9fb3a96a1f45213ab4-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +73,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0328ae48ded84f9fb3a96a1f45213ab4-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0328ae48ded84f9fb3a96a1f45213ab4.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-0328ae48ded84f9fb3a96a1f45213ab4-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/0328ae48ded84f9fb3a96a1f45213ab4.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-first-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-first-hit-policy/DMNMetadata.json index 694d9127a..b60e61740 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-first-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-first-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/fcaf60c07a9d42d6a179ce045ae2ea48.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/fcaf60c07a9d42d6a179ce045ae2ea48.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-fcaf60c07a9d42d6a179ce045ae2ea48-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-fcaf60c07a9d42d6a179ce045ae2ea48-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-fcaf60c07a9d42d6a179ce045ae2ea48-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/fcaf60c07a9d42d6a179ce045ae2ea48.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-fcaf60c07a9d42d6a179ce045ae2ea48-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/fcaf60c07a9d42d6a179ce045ae2ea48.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-fcaf60c07a9d42d6a179ce045ae2ea48-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-fcaf60c07a9d42d6a179ce045ae2ea48-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-fcaf60c07a9d42d6a179ce045ae2ea48-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/fcaf60c07a9d42d6a179ce045ae2ea48.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-fcaf60c07a9d42d6a179ce045ae2ea48-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/fcaf60c07a9d42d6a179ce045ae2ea48.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-output-order-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-output-order-hit-policy/DMNMetadata.json index e50361cac..73a5ebdc9 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-output-order-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-output-order-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/62c243d2fb104c65912386ec684b2ee1.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/62c243d2fb104c65912386ec684b2ee1.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-62c243d2fb104c65912386ec684b2ee1-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-62c243d2fb104c65912386ec684b2ee1-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-62c243d2fb104c65912386ec684b2ee1-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/62c243d2fb104c65912386ec684b2ee1.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-62c243d2fb104c65912386ec684b2ee1-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/62c243d2fb104c65912386ec684b2ee1.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-62c243d2fb104c65912386ec684b2ee1-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-62c243d2fb104c65912386ec684b2ee1-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-62c243d2fb104c65912386ec684b2ee1-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/62c243d2fb104c65912386ec684b2ee1.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-62c243d2fb104c65912386ec684b2ee1-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/62c243d2fb104c65912386ec684b2ee1.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-priority-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-priority-hit-policy/DMNMetadata.json index dcf0d1cd3..d4d1751ed 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-priority-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-priority-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/da0dd85ef62c4fecbd05ce9584b2c02f.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/da0dd85ef62c4fecbd05ce9584b2c02f.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-da0dd85ef62c4fecbd05ce9584b2c02f-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-da0dd85ef62c4fecbd05ce9584b2c02f-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-da0dd85ef62c4fecbd05ce9584b2c02f-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/da0dd85ef62c4fecbd05ce9584b2c02f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-da0dd85ef62c4fecbd05ce9584b2c02f-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/da0dd85ef62c4fecbd05ce9584b2c02f.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-da0dd85ef62c4fecbd05ce9584b2c02f-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-da0dd85ef62c4fecbd05ce9584b2c02f-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-da0dd85ef62c4fecbd05ce9584b2c02f-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/da0dd85ef62c4fecbd05ce9584b2c02f.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-da0dd85ef62c4fecbd05ce9584b2c02f-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/da0dd85ef62c4fecbd05ce9584b2c02f.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-rule-order-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-rule-order-hit-policy/DMNMetadata.json index ec0d31f98..842a0d6e5 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-rule-order-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-rule-order-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/5ff0a678d67f4e05b040ba5f2114ffd6.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/5ff0a678d67f4e05b040ba5f2114ffd6.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-5ff0a678d67f4e05b040ba5f2114ffd6-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-5ff0a678d67f4e05b040ba5f2114ffd6-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5ff0a678d67f4e05b040ba5f2114ffd6-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5ff0a678d67f4e05b040ba5f2114ffd6.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5ff0a678d67f4e05b040ba5f2114ffd6-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5ff0a678d67f4e05b040ba5f2114ffd6.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-5ff0a678d67f4e05b040ba5f2114ffd6-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-5ff0a678d67f4e05b040ba5f2114ffd6-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5ff0a678d67f4e05b040ba5f2114ffd6-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5ff0a678d67f4e05b040ba5f2114ffd6.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5ff0a678d67f4e05b040ba5f2114ffd6-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5ff0a678d67f4e05b040ba5f2114ffd6.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-unique-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-unique-hit-policy/DMNMetadata.json index fa102499c..c7c3336e1 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-unique-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-unique-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/3e0211c5adfc40e0bc762cf23fed9518.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/3e0211c5adfc40e0bc762cf23fed9518.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-3e0211c5adfc40e0bc762cf23fed9518-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-3e0211c5adfc40e0bc762cf23fed9518-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-3e0211c5adfc40e0bc762cf23fed9518-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/3e0211c5adfc40e0bc762cf23fed9518.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-3e0211c5adfc40e0bc762cf23fed9518-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/3e0211c5adfc40e0bc762cf23fed9518.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-3e0211c5adfc40e0bc762cf23fed9518-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-3e0211c5adfc40e0bc762cf23fed9518-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-3e0211c5adfc40e0bc762cf23fed9518-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/3e0211c5adfc40e0bc762cf23fed9518.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-3e0211c5adfc40e0bc762cf23fed9518-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/3e0211c5adfc40e0bc762cf23fed9518.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-list-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-list-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json index 5c5e277c4..23d3d4b0d 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-list-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/decision-table/dmn/simple-decision-primitive-type-list-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/69b8ec68a443433f993135b386b718df.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/69b8ec68a443433f993135b386b718df.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-69b8ec68a443433f993135b386b718df-itemDefinition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-69b8ec68a443433f993135b386b718df-itemDefinition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-69b8ec68a443433f993135b386b718df-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/69b8ec68a443433f993135b386b718df.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-69b8ec68a443433f993135b386b718df-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/69b8ec68a443433f993135b386b718df.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-69b8ec68a443433f993135b386b718df-decision-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "diagram-69b8ec68a443433f993135b386b718df-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-69b8ec68a443433f993135b386b718df-inputdata-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/69b8ec68a443433f993135b386b718df.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-69b8ec68a443433f993135b386b718df-inputdata-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/69b8ec68a443433f993135b386b718df.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-boolean-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-boolean-literal-expression/DMNMetadata.json index ad3c259ea..64bbe4e3f 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-boolean-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-boolean-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-itemDefinition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-itemDefinition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-itemDefinition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-itemDefinition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-itemDefinition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-inputdata-sid-26EA5751-0546-4206-B549-F5EA641AFC98", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-decision-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-inputdata-sid-26EA5751-0546-4206-B549-F5EA641AFC98", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d01479ef8b18467d9e4ce7eb7d03f7dc-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d01479ef8b18467d9e4ce7eb7d03f7dc.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-complex-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-complex-literal-expression/DMNMetadata.json index 0cfd9c098..c8b5837fe 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-complex-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-complex-literal-expression/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/364e3a8fdb6f4466977ac99ee9564f12.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/364e3a8fdb6f4466977ac99ee9564f12.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -12,7 +12,6 @@ "name" : "loan", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23-relation-0", "isCollection" : false, "label" : "principal", @@ -23,7 +22,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23-relation-1", "isCollection" : false, "label" : "rate", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23-relation-2", "isCollection" : false, "label" : "term", @@ -46,7 +43,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-364e3a8fdb6f4466977ac99ee9564f12-itemDefinition-sid-60E9B6E8-6251-4E45-86C4-4E46A3D9F64E", "isCollection" : false, "label" : "Monthly", @@ -58,21 +54,17 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-364e3a8fdb6f4466977ac99ee9564f12-inputdata-sid-AD811598-1741-4206-A9FC-280EF77B0B23", "javaParameterName" : "loan", "javaTypeName" : "type.Loan", "label" : "Loan", "name" : "loan", - "shapeId" : null, "typeRef" : { "localName" : "loan", "namespace" : "http://www.provider.com/dmn/1.1/diagram/364e3a8fdb6f4466977ac99ee9564f12.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-364e3a8fdb6f4466977ac99ee9564f12-decision-sid-60E9B6E8-6251-4E45-86C4-4E46A3D9F64E", "informationReferences" : [ { "reference" : "diagram-364e3a8fdb6f4466977ac99ee9564f12-inputdata-sid-AD811598-1741-4206-A9FC-280EF77B0B23" @@ -85,16 +77,13 @@ "name" : "monthly", "protoRequestName" : "proto.MonthlyRequest", "protoResponseName" : "proto.MonthlyResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-364e3a8fdb6f4466977ac99ee9564f12-inputdata-sid-AD811598-1741-4206-A9FC-280EF77B0B23", "javaParameterName" : "loan", "javaTypeName" : "type.Loan", "label" : "Loan", "name" : "loan", - "shapeId" : null, "typeRef" : { "localName" : "loan", "namespace" : "http://www.provider.com/dmn/1.1/diagram/364e3a8fdb6f4466977ac99ee9564f12.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-date-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-date-literal-expression/DMNMetadata.json index 6e513bbad..60a797c33 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-date-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-date-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-itemDefinition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-itemDefinition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-itemDefinition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-itemDefinition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-itemDefinition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-246d315b612d420cb329c1c110a2cd10-decision-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "diagram-246d315b612d420cb329c1c110a2cd10-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-246d315b612d420cb329c1c110a2cd10-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/246d315b612d420cb329c1c110a2cd10.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-enumeration-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-enumeration-literal-expression/DMNMetadata.json index 96044f5ee..4ab0027f5 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-enumeration-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-enumeration-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-itemDefinition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-itemDefinition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -50,7 +48,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-itemDefinition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +58,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-itemDefinition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +69,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-c385f501a4704dec9c5763fff203089a-decision-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "diagram-c385f501a4704dec9c5763fff203089a-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A" @@ -160,68 +144,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-c385f501a4704dec9c5763fff203089a-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/c385f501a4704dec9c5763fff203089a.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-numeric-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-numeric-literal-expression/DMNMetadata.json index 2f0b3ab79..979528ec5 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-numeric-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-numeric-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-itemDefinition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-itemDefinition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-itemDefinition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-itemDefinition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-itemDefinition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-inputdata-sid-68852C36-4002-4F63-97BE-449F72EBF443", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-decision-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-inputdata-sid-68852C36-4002-4F63-97BE-449F72EBF443", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-74965ae3e6454dd6b9d3c79b856d84ba-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/74965ae3e6454dd6b9d3c79b856d84ba.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-string-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-string-literal-expression/DMNMetadata.json index f9d629077..a16bca9d2 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-string-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-feel-string-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-itemDefinition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-itemDefinition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-itemDefinition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-itemDefinition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-itemDefinition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-e800ee27050f4cc592ae931257ca759c-decision-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "diagram-e800ee27050f4cc592ae931257ca759c-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-e800ee27050f4cc592ae931257ca759c-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/e800ee27050f4cc592ae931257ca759c.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-boolean-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-boolean-literal-expression/DMNMetadata.json index 42dda3e2b..9dc84aada 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-boolean-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-boolean-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-itemDefinition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-itemDefinition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-itemDefinition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-itemDefinition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-itemDefinition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-inputdata-sid-26EA5751-0546-4206-B549-F5EA641AFC98", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-decision-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-inputdata-sid-26EA5751-0546-4206-B549-F5EA641AFC98", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-bf9e1e5a0be94a8c9d4ff786d99acc08-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/bf9e1e5a0be94a8c9d4ff786d99acc08.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-complex-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-complex-literal-expression/DMNMetadata.json index 3e097f24a..716b18826 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-complex-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-complex-literal-expression/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/701a4e318a6d4d4f823018c5feaa8f81.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/701a4e318a6d4d4f823018c5feaa8f81.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -12,7 +12,6 @@ "name" : "loan", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23-relation-0", "isCollection" : false, "label" : "principal", @@ -23,7 +22,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23-relation-1", "isCollection" : false, "label" : "rate", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23-relation-2", "isCollection" : false, "label" : "term", @@ -46,7 +43,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-701a4e318a6d4d4f823018c5feaa8f81-itemDefinition-sid-60E9B6E8-6251-4E45-86C4-4E46A3D9F64E", "isCollection" : false, "label" : "Monthly", @@ -58,21 +54,17 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-701a4e318a6d4d4f823018c5feaa8f81-inputdata-sid-AD811598-1741-4206-A9FC-280EF77B0B23", "javaParameterName" : "loan", "javaTypeName" : "type.Loan", "label" : "Loan", "name" : "loan", - "shapeId" : null, "typeRef" : { "localName" : "loan", "namespace" : "http://www.provider.com/dmn/1.1/diagram/701a4e318a6d4d4f823018c5feaa8f81.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-701a4e318a6d4d4f823018c5feaa8f81-decision-sid-60E9B6E8-6251-4E45-86C4-4E46A3D9F64E", "informationReferences" : [ { "reference" : "diagram-701a4e318a6d4d4f823018c5feaa8f81-inputdata-sid-AD811598-1741-4206-A9FC-280EF77B0B23" @@ -85,16 +77,13 @@ "name" : "monthly", "protoRequestName" : "proto.MonthlyRequest", "protoResponseName" : "proto.MonthlyResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-701a4e318a6d4d4f823018c5feaa8f81-inputdata-sid-AD811598-1741-4206-A9FC-280EF77B0B23", "javaParameterName" : "loan", "javaTypeName" : "type.Loan", "label" : "Loan", "name" : "loan", - "shapeId" : null, "typeRef" : { "localName" : "loan", "namespace" : "http://www.provider.com/dmn/1.1/diagram/701a4e318a6d4d4f823018c5feaa8f81.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-date-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-date-literal-expression/DMNMetadata.json index b08c16e31..b9c2782fa 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-date-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-date-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-itemDefinition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-itemDefinition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-itemDefinition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-itemDefinition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-itemDefinition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-decision-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "diagram-d190b8bf6feb4d408844dd06182a5f34-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d190b8bf6feb4d408844dd06182a5f34-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d190b8bf6feb4d408844dd06182a5f34.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-enumeration-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-enumeration-literal-expression/DMNMetadata.json index 95e0b887d..a4ed8807c 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-enumeration-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-enumeration-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-itemDefinition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-itemDefinition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-itemDefinition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-itemDefinition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-itemDefinition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-decision-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-23ec0b6f7f8540c9b04c534a8bf28019-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/23ec0b6f7f8540c9b04c534a8bf28019.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-numeric-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-numeric-literal-expression/DMNMetadata.json index 5fa114afd..feeb8e8fb 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-numeric-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-numeric-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-itemDefinition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-itemDefinition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-itemDefinition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-itemDefinition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-itemDefinition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-inputdata-sid-68852C36-4002-4F63-97BE-449F72EBF443", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-decision-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "diagram-d5db2eb40b954984a4b08fa9d680835e-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-inputdata-sid-68852C36-4002-4F63-97BE-449F72EBF443", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-d5db2eb40b954984a4b08fa9d680835e-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/d5db2eb40b954984a4b08fa9d680835e.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-string-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-string-literal-expression/DMNMetadata.json index fb48e778e..3be2abab8 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-string-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/literal/dmn/simple-decision-free-text-string-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-itemDefinition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-itemDefinition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-itemDefinition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-itemDefinition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-itemDefinition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-decision-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-inputdata-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-inputdata-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-inputdata-sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-inputdata-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "diagram-5503c01b88e64e5989b2e49c8ab14b49-inputdata-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.provider.com/dmn/1.1/diagram/5503c01b88e64e5989b2e49c8ab14b49.xml" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/java/dmn/date-time-proto/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/java/dmn/date-time-proto/DMNMetadata.json index b48f3c7f5..78a6d8305 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/java/dmn/date-time-proto/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/java/dmn/date-time-proto/DMNMetadata.json @@ -2,18 +2,14 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", - "id" : null, "isCollection" : false, - "label" : null, "name" : "tCompositeDateTime", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, "label" : "Date", "name" : "Date", @@ -23,8 +19,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, "label" : "DateTime", "name" : "DateTime", @@ -34,8 +28,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, "label" : "Time", "name" : "Time", @@ -46,10 +38,7 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, - "label" : null, "name" : "tDate", "typeRef" : { "localName" : "date", @@ -57,10 +46,7 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, - "label" : null, "name" : "tDateTime", "typeRef" : { "localName" : "date and time", @@ -68,10 +54,7 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, - "label" : null, "name" : "tTime", "typeRef" : { "localName" : "time", @@ -84,7 +67,6 @@ "id" : "c-date-time", "javaParameterName" : "compositeInputDateTime", "javaTypeName" : "type.TCompositeDateTime", - "label" : null, "name" : "CompositeInputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D-1", "typeRef" : { @@ -97,7 +79,6 @@ "id" : "i-date", "javaParameterName" : "inputDate", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputDate", "shapeId" : "sid-56EEB8E1-BEBB-4E33-8939-E722B7F68038", "typeRef" : { @@ -110,7 +91,6 @@ "id" : "i-date-time", "javaParameterName" : "inputDateTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D", "typeRef" : { @@ -123,7 +103,6 @@ "id" : "i-time", "javaParameterName" : "inputTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputTime", "shapeId" : "sid-6CFB0C31-B181-4606-BE51-1960E8B86487", "typeRef" : { @@ -133,7 +112,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "c-DateTime", "informationReferences" : [ { "reference" : "i-date" @@ -148,7 +126,6 @@ "javaParameterName" : "compositeDateTime", "javaTypeName" : "CompositeDateTime", "knowledgeReferences" : [ ], - "label" : null, "name" : "CompositeDateTime", "protoRequestName" : "proto.CompositeDateTimeRequest", "protoResponseName" : "proto.CompositeDateTimeResponse", @@ -159,7 +136,6 @@ "id" : "c-date-time", "javaParameterName" : "compositeInputDateTime", "javaTypeName" : "type.TCompositeDateTime", - "label" : null, "name" : "CompositeInputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D-1", "typeRef" : { @@ -172,7 +148,6 @@ "id" : "i-date", "javaParameterName" : "inputDate", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputDate", "shapeId" : "sid-56EEB8E1-BEBB-4E33-8939-E722B7F68038", "typeRef" : { @@ -185,7 +160,6 @@ "id" : "i-date-time", "javaParameterName" : "inputDateTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D", "typeRef" : { @@ -198,7 +172,6 @@ "id" : "i-time", "javaParameterName" : "inputTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputTime", "shapeId" : "sid-6CFB0C31-B181-4606-BE51-1960E8B86487", "typeRef" : { @@ -213,7 +186,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "d-Date", "informationReferences" : [ { "reference" : "i-date" @@ -228,7 +200,6 @@ "javaParameterName" : "date", "javaTypeName" : "Date", "knowledgeReferences" : [ ], - "label" : null, "name" : "Date", "protoRequestName" : "proto.DateRequest", "protoResponseName" : "proto.DateResponse", @@ -239,7 +210,6 @@ "id" : "c-date-time", "javaParameterName" : "compositeInputDateTime", "javaTypeName" : "type.TCompositeDateTime", - "label" : null, "name" : "CompositeInputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D-1", "typeRef" : { @@ -252,7 +222,6 @@ "id" : "i-date", "javaParameterName" : "inputDate", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputDate", "shapeId" : "sid-56EEB8E1-BEBB-4E33-8939-E722B7F68038", "typeRef" : { @@ -265,7 +234,6 @@ "id" : "i-date-time", "javaParameterName" : "inputDateTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D", "typeRef" : { @@ -278,7 +246,6 @@ "id" : "i-time", "javaParameterName" : "inputTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputTime", "shapeId" : "sid-6CFB0C31-B181-4606-BE51-1960E8B86487", "typeRef" : { @@ -293,7 +260,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "d-DateTime", "informationReferences" : [ { "reference" : "i-date" @@ -308,7 +274,6 @@ "javaParameterName" : "dateTime", "javaTypeName" : "DateTime", "knowledgeReferences" : [ ], - "label" : null, "name" : "DateTime", "protoRequestName" : "proto.DateTimeRequest", "protoResponseName" : "proto.DateTimeResponse", @@ -319,7 +284,6 @@ "id" : "c-date-time", "javaParameterName" : "compositeInputDateTime", "javaTypeName" : "type.TCompositeDateTime", - "label" : null, "name" : "CompositeInputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D-1", "typeRef" : { @@ -332,7 +296,6 @@ "id" : "i-date", "javaParameterName" : "inputDate", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputDate", "shapeId" : "sid-56EEB8E1-BEBB-4E33-8939-E722B7F68038", "typeRef" : { @@ -345,7 +308,6 @@ "id" : "i-date-time", "javaParameterName" : "inputDateTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D", "typeRef" : { @@ -358,7 +320,6 @@ "id" : "i-time", "javaParameterName" : "inputTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputTime", "shapeId" : "sid-6CFB0C31-B181-4606-BE51-1960E8B86487", "typeRef" : { @@ -373,7 +334,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "d-Time", "informationReferences" : [ { "reference" : "i-date" @@ -388,7 +348,6 @@ "javaParameterName" : "time", "javaTypeName" : "Time", "knowledgeReferences" : [ ], - "label" : null, "name" : "Time", "protoRequestName" : "proto.TimeRequest", "protoResponseName" : "proto.TimeResponse", @@ -399,7 +358,6 @@ "id" : "c-date-time", "javaParameterName" : "compositeInputDateTime", "javaTypeName" : "type.TCompositeDateTime", - "label" : null, "name" : "CompositeInputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D-1", "typeRef" : { @@ -412,7 +370,6 @@ "id" : "i-date", "javaParameterName" : "inputDate", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputDate", "shapeId" : "sid-56EEB8E1-BEBB-4E33-8939-E722B7F68038", "typeRef" : { @@ -425,7 +382,6 @@ "id" : "i-date-time", "javaParameterName" : "inputDateTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D", "typeRef" : { @@ -438,7 +394,6 @@ "id" : "i-time", "javaParameterName" : "inputTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", - "label" : null, "name" : "InputTime", "shapeId" : "sid-6CFB0C31-B181-4606-BE51-1960E8B86487", "typeRef" : { diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/java/dmn/example-credit-decision/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/java/dmn/example-credit-decision/DMNMetadata.json index 7f4d96f79..007a2af2b 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/java/dmn/example-credit-decision/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/java/dmn/example-credit-decision/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -12,7 +12,6 @@ "name" : "applicant", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-1", "isCollection" : false, "label" : "Age", @@ -23,7 +22,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-2", "isCollection" : false, "label" : "Credit score", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-0", "isCollection" : false, "label" : "Name", @@ -45,7 +42,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-4", "isCollection" : true, "label" : "Prior issues", @@ -57,7 +53,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-747970848a049f329dae6329a0601f86", "isCollection" : false, "label" : "Assess applicant age", @@ -68,7 +63,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-bb09635d62df507f5a1c18a6b6dbe4c2", "isCollection" : false, "label" : "Assess issue", @@ -79,7 +73,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-886f8868546e44421c28582adfb5d720", "isCollection" : false, "label" : "Assess issue risk", @@ -90,7 +83,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-51fbdbe450548506ab83bc067833e138", "isCollection" : false, "label" : "Compare against lending threshold", @@ -129,7 +121,6 @@ "name" : "generateOutputData", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Assessment", "isCollection" : false, "label" : "Assessment", @@ -140,7 +131,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Decision", "isCollection" : false, "label" : "Decision", @@ -151,7 +141,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Issue", "isCollection" : false, "label" : "Issue", @@ -163,7 +152,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-4cb80be6fb604151f1e9edf9c3cbe2e7", "isCollection" : false, "label" : "Lending threshold", @@ -185,7 +173,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-6cf70bdf6bd2e4c75faf286e36bd6caf", "isCollection" : false, "label" : "Prior issue", @@ -196,7 +183,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-8a4fb941ebc03bbe6df3c7615cb14852", "isCollection" : true, "label" : "Process prior issues", @@ -261,7 +247,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-98f1b72e74edaaae8d7fd9043f7e1bc4", "informationReferences" : [ { "reference" : "id-d2376567fde3c9400ee327ecec21e36d" @@ -296,7 +281,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-0f2f9823e96f0599d2739fda4c5b3c79", "informationReferences" : [ { "reference" : "id-5dc69eb6de3b736e08d2029ca5ae436c" @@ -346,13 +330,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "SUM", - "iterationExpression" : "processPriorIssues", - "iteratorShapeId" : "id-78d6a4b25e15dc5d22fe0cce65554804", - "topLevelDecisionId" : "id-0f2f9823e96f0599d2739fda4c5b3c79" - } ], "id" : "id-90d13f677a4e3f0f8230a12f15301f00", "informationReferences" : [ { "reference" : "id-bdfc5bfa4ce80fd221463ee66b277220" @@ -400,7 +377,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-8369770df890b566296308a9deebec47", "informationReferences" : [ { "reference" : "id-5a7daa825c6a7542e30184a94034b435" @@ -465,7 +441,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-f3dfdd3ac42c255265e190eaf50dd65d", "informationReferences" : [ { "reference" : "id-5b83918d6fc820d73123e7ca0e6d3ca6" @@ -530,7 +505,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-5b83918d6fc820d73123e7ca0e6d3ca6", "informationReferences" : [ { "reference" : "id-8369770df890b566296308a9deebec47" @@ -591,7 +565,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-bdfc5bfa4ce80fd221463ee66b277220", "informationReferences" : [ { "reference" : "id-d2376567fde3c9400ee327ecec21e36d" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/kotlin/dmn/date-time-proto/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/kotlin/dmn/date-time-proto/DMNMetadata.json index b3e870b84..373bffa54 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/kotlin/dmn/date-time-proto/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/kotlin/dmn/date-time-proto/DMNMetadata.json @@ -2,18 +2,14 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", - "id" : null, "isCollection" : false, - "label" : null, "name" : "tCompositeDateTime", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, "label" : "Date", "name" : "Date", @@ -23,8 +19,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, "label" : "DateTime", "name" : "DateTime", @@ -34,8 +28,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, "label" : "Time", "name" : "Time", @@ -46,10 +38,7 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, - "label" : null, "name" : "tDate", "typeRef" : { "localName" : "date", @@ -57,10 +46,7 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, - "label" : null, "name" : "tDateTime", "typeRef" : { "localName" : "date and time", @@ -68,10 +54,7 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, - "id" : null, "isCollection" : false, - "label" : null, "name" : "tTime", "typeRef" : { "localName" : "time", @@ -84,7 +67,6 @@ "id" : "c-date-time", "javaParameterName" : "compositeInputDateTime", "javaTypeName" : "type.TCompositeDateTime?", - "label" : null, "name" : "CompositeInputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D-1", "typeRef" : { @@ -97,7 +79,6 @@ "id" : "i-date", "javaParameterName" : "inputDate", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputDate", "shapeId" : "sid-56EEB8E1-BEBB-4E33-8939-E722B7F68038", "typeRef" : { @@ -110,7 +91,6 @@ "id" : "i-date-time", "javaParameterName" : "inputDateTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D", "typeRef" : { @@ -123,7 +103,6 @@ "id" : "i-time", "javaParameterName" : "inputTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputTime", "shapeId" : "sid-6CFB0C31-B181-4606-BE51-1960E8B86487", "typeRef" : { @@ -133,7 +112,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "c-DateTime", "informationReferences" : [ { "reference" : "i-date" @@ -148,7 +126,6 @@ "javaParameterName" : "compositeDateTime", "javaTypeName" : "CompositeDateTime", "knowledgeReferences" : [ ], - "label" : null, "name" : "CompositeDateTime", "protoRequestName" : "proto.CompositeDateTimeRequest", "protoResponseName" : "proto.CompositeDateTimeResponse", @@ -159,7 +136,6 @@ "id" : "c-date-time", "javaParameterName" : "compositeInputDateTime", "javaTypeName" : "type.TCompositeDateTime?", - "label" : null, "name" : "CompositeInputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D-1", "typeRef" : { @@ -172,7 +148,6 @@ "id" : "i-date", "javaParameterName" : "inputDate", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputDate", "shapeId" : "sid-56EEB8E1-BEBB-4E33-8939-E722B7F68038", "typeRef" : { @@ -185,7 +160,6 @@ "id" : "i-date-time", "javaParameterName" : "inputDateTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D", "typeRef" : { @@ -198,7 +172,6 @@ "id" : "i-time", "javaParameterName" : "inputTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputTime", "shapeId" : "sid-6CFB0C31-B181-4606-BE51-1960E8B86487", "typeRef" : { @@ -213,7 +186,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "d-Date", "informationReferences" : [ { "reference" : "i-date" @@ -228,7 +200,6 @@ "javaParameterName" : "date", "javaTypeName" : "Date", "knowledgeReferences" : [ ], - "label" : null, "name" : "Date", "protoRequestName" : "proto.DateRequest", "protoResponseName" : "proto.DateResponse", @@ -239,7 +210,6 @@ "id" : "c-date-time", "javaParameterName" : "compositeInputDateTime", "javaTypeName" : "type.TCompositeDateTime?", - "label" : null, "name" : "CompositeInputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D-1", "typeRef" : { @@ -252,7 +222,6 @@ "id" : "i-date", "javaParameterName" : "inputDate", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputDate", "shapeId" : "sid-56EEB8E1-BEBB-4E33-8939-E722B7F68038", "typeRef" : { @@ -265,7 +234,6 @@ "id" : "i-date-time", "javaParameterName" : "inputDateTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D", "typeRef" : { @@ -278,7 +246,6 @@ "id" : "i-time", "javaParameterName" : "inputTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputTime", "shapeId" : "sid-6CFB0C31-B181-4606-BE51-1960E8B86487", "typeRef" : { @@ -293,7 +260,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "d-DateTime", "informationReferences" : [ { "reference" : "i-date" @@ -308,7 +274,6 @@ "javaParameterName" : "dateTime", "javaTypeName" : "DateTime", "knowledgeReferences" : [ ], - "label" : null, "name" : "DateTime", "protoRequestName" : "proto.DateTimeRequest", "protoResponseName" : "proto.DateTimeResponse", @@ -319,7 +284,6 @@ "id" : "c-date-time", "javaParameterName" : "compositeInputDateTime", "javaTypeName" : "type.TCompositeDateTime?", - "label" : null, "name" : "CompositeInputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D-1", "typeRef" : { @@ -332,7 +296,6 @@ "id" : "i-date", "javaParameterName" : "inputDate", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputDate", "shapeId" : "sid-56EEB8E1-BEBB-4E33-8939-E722B7F68038", "typeRef" : { @@ -345,7 +308,6 @@ "id" : "i-date-time", "javaParameterName" : "inputDateTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D", "typeRef" : { @@ -358,7 +320,6 @@ "id" : "i-time", "javaParameterName" : "inputTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputTime", "shapeId" : "sid-6CFB0C31-B181-4606-BE51-1960E8B86487", "typeRef" : { @@ -373,7 +334,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "d-Time", "informationReferences" : [ { "reference" : "i-date" @@ -388,7 +348,6 @@ "javaParameterName" : "time", "javaTypeName" : "Time", "knowledgeReferences" : [ ], - "label" : null, "name" : "Time", "protoRequestName" : "proto.TimeRequest", "protoResponseName" : "proto.TimeResponse", @@ -399,7 +358,6 @@ "id" : "c-date-time", "javaParameterName" : "compositeInputDateTime", "javaTypeName" : "type.TCompositeDateTime?", - "label" : null, "name" : "CompositeInputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D-1", "typeRef" : { @@ -412,7 +370,6 @@ "id" : "i-date", "javaParameterName" : "inputDate", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputDate", "shapeId" : "sid-56EEB8E1-BEBB-4E33-8939-E722B7F68038", "typeRef" : { @@ -425,7 +382,6 @@ "id" : "i-date-time", "javaParameterName" : "inputDateTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputDateTime", "shapeId" : "sid-A71A32D5-3771-47F1-95D3-56D4223FBF6D", "typeRef" : { @@ -438,7 +394,6 @@ "id" : "i-time", "javaParameterName" : "inputTime", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar?", - "label" : null, "name" : "InputTime", "shapeId" : "sid-6CFB0C31-B181-4606-BE51-1960E8B86487", "typeRef" : { diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/kotlin/dmn/example-credit-decision/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/kotlin/dmn/example-credit-decision/DMNMetadata.json index 62ef29054..675f88aef 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/kotlin/dmn/example-credit-decision/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/proto/proto3/kotlin/dmn/example-credit-decision/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -12,7 +12,6 @@ "name" : "applicant", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-1", "isCollection" : false, "label" : "Age", @@ -23,7 +22,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-2", "isCollection" : false, "label" : "Credit score", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-0", "isCollection" : false, "label" : "Name", @@ -45,7 +42,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-4", "isCollection" : true, "label" : "Prior issues", @@ -57,7 +53,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-747970848a049f329dae6329a0601f86", "isCollection" : false, "label" : "Assess applicant age", @@ -68,7 +63,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-bb09635d62df507f5a1c18a6b6dbe4c2", "isCollection" : false, "label" : "Assess issue", @@ -79,7 +73,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-886f8868546e44421c28582adfb5d720", "isCollection" : false, "label" : "Assess issue risk", @@ -90,7 +83,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-51fbdbe450548506ab83bc067833e138", "isCollection" : false, "label" : "Compare against lending threshold", @@ -129,7 +121,6 @@ "name" : "generateOutputData", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Assessment", "isCollection" : false, "label" : "Assessment", @@ -140,7 +131,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Decision", "isCollection" : false, "label" : "Decision", @@ -151,7 +141,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Issue", "isCollection" : false, "label" : "Issue", @@ -163,7 +152,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-4cb80be6fb604151f1e9edf9c3cbe2e7", "isCollection" : false, "label" : "Lending threshold", @@ -185,7 +173,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-6cf70bdf6bd2e4c75faf286e36bd6caf", "isCollection" : false, "label" : "Prior issue", @@ -196,7 +183,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-8a4fb941ebc03bbe6df3c7615cb14852", "isCollection" : true, "label" : "Process prior issues", @@ -261,7 +247,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-98f1b72e74edaaae8d7fd9043f7e1bc4", "informationReferences" : [ { "reference" : "id-d2376567fde3c9400ee327ecec21e36d" @@ -296,7 +281,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-0f2f9823e96f0599d2739fda4c5b3c79", "informationReferences" : [ { "reference" : "id-5dc69eb6de3b736e08d2029ca5ae436c" @@ -346,13 +330,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "SUM", - "iterationExpression" : "processPriorIssues", - "iteratorShapeId" : "id-78d6a4b25e15dc5d22fe0cce65554804", - "topLevelDecisionId" : "id-0f2f9823e96f0599d2739fda4c5b3c79" - } ], "id" : "id-90d13f677a4e3f0f8230a12f15301f00", "informationReferences" : [ { "reference" : "id-bdfc5bfa4ce80fd221463ee66b277220" @@ -400,7 +377,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-8369770df890b566296308a9deebec47", "informationReferences" : [ { "reference" : "id-5a7daa825c6a7542e30184a94034b435" @@ -465,7 +441,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-f3dfdd3ac42c255265e190eaf50dd65d", "informationReferences" : [ { "reference" : "id-5b83918d6fc820d73123e7ca0e6d3ca6" @@ -530,7 +505,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-5b83918d6fc820d73123e7ca0e6d3ca6", "informationReferences" : [ { "reference" : "id-8369770df890b566296308a9deebec47" @@ -591,7 +565,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-bdfc5bfa4ce80fd221463ee66b277220", "informationReferences" : [ { "reference" : "id-d2376567fde3c9400ee327ecec21e36d" diff --git a/dmn-test-cases/signavio/dmn/dmn2java/expected/singleton/java/dmn/example-credit-decision/DMNMetadata.json b/dmn-test-cases/signavio/dmn/dmn2java/expected/singleton/java/dmn/example-credit-decision/DMNMetadata.json index 7f4d96f79..007a2af2b 100644 --- a/dmn-test-cases/signavio/dmn/dmn2java/expected/singleton/java/dmn/example-credit-decision/DMNMetadata.json +++ b/dmn-test-cases/signavio/dmn/dmn2java/expected/singleton/java/dmn/example-credit-decision/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml", + "dmnNamespaces" : [ "http://www.provider.com/dmn/1.1/diagram/9acf44f2b05343d79fc35140c493c1e0.xml" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -12,7 +12,6 @@ "name" : "applicant", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-1", "isCollection" : false, "label" : "Age", @@ -23,7 +22,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-2", "isCollection" : false, "label" : "Credit score", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-0", "isCollection" : false, "label" : "Name", @@ -45,7 +42,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-5bf135bcd0f2d1d6dabfb49f463ee763-relation-4", "isCollection" : true, "label" : "Prior issues", @@ -57,7 +53,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-747970848a049f329dae6329a0601f86", "isCollection" : false, "label" : "Assess applicant age", @@ -68,7 +63,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-bb09635d62df507f5a1c18a6b6dbe4c2", "isCollection" : false, "label" : "Assess issue", @@ -79,7 +73,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-886f8868546e44421c28582adfb5d720", "isCollection" : false, "label" : "Assess issue risk", @@ -90,7 +83,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-51fbdbe450548506ab83bc067833e138", "isCollection" : false, "label" : "Compare against lending threshold", @@ -129,7 +121,6 @@ "name" : "generateOutputData", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Assessment", "isCollection" : false, "label" : "Assessment", @@ -140,7 +131,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Decision", "isCollection" : false, "label" : "Decision", @@ -151,7 +141,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-7eeb80d6a1c17ddd2de72e9c2419fa8b-relation-Issue", "isCollection" : false, "label" : "Issue", @@ -163,7 +152,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-4cb80be6fb604151f1e9edf9c3cbe2e7", "isCollection" : false, "label" : "Lending threshold", @@ -185,7 +173,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-6cf70bdf6bd2e4c75faf286e36bd6caf", "isCollection" : false, "label" : "Prior issue", @@ -196,7 +183,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "id-8a4fb941ebc03bbe6df3c7615cb14852", "isCollection" : true, "label" : "Process prior issues", @@ -261,7 +247,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-98f1b72e74edaaae8d7fd9043f7e1bc4", "informationReferences" : [ { "reference" : "id-d2376567fde3c9400ee327ecec21e36d" @@ -296,7 +281,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-0f2f9823e96f0599d2739fda4c5b3c79", "informationReferences" : [ { "reference" : "id-5dc69eb6de3b736e08d2029ca5ae436c" @@ -346,13 +330,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ { - "@kind" : "multiInstanceDecisionLogic", - "aggregationFunction" : "SUM", - "iterationExpression" : "processPriorIssues", - "iteratorShapeId" : "id-78d6a4b25e15dc5d22fe0cce65554804", - "topLevelDecisionId" : "id-0f2f9823e96f0599d2739fda4c5b3c79" - } ], "id" : "id-90d13f677a4e3f0f8230a12f15301f00", "informationReferences" : [ { "reference" : "id-bdfc5bfa4ce80fd221463ee66b277220" @@ -400,7 +377,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-8369770df890b566296308a9deebec47", "informationReferences" : [ { "reference" : "id-5a7daa825c6a7542e30184a94034b435" @@ -465,7 +441,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-f3dfdd3ac42c255265e190eaf50dd65d", "informationReferences" : [ { "reference" : "id-5b83918d6fc820d73123e7ca0e6d3ca6" @@ -530,7 +505,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-5b83918d6fc820d73123e7ca0e6d3ca6", "informationReferences" : [ { "reference" : "id-8369770df890b566296308a9deebec47" @@ -591,7 +565,6 @@ }, { "@kind" : "decision", "diagramId" : "9acf44f2b05343d79fc35140c493c1e0", - "extensions" : [ ], "id" : "id-bdfc5bfa4ce80fd221463ee66b277220", "informationReferences" : [ { "reference" : "id-d2376567fde3c9400ee327ecec21e36d" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/complex/dmn/npevalidation2/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/complex/dmn/npevalidation2/DMNMetadata.json index 1a9402c45..cfcca4b7b 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/complex/dmn/npevalidation2/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/complex/dmn/npevalidation2/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-613407DB-766F-458F-8430-6F31DDFD82B1", "isCollection" : true, "label" : "accessCertainTemporalUnits", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3C16E501-7619-4B2F-9770-7E1A7F66A33D", "isCollection" : true, "label" : "ages", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-FE7B81A7-CACD-434C-BE9D-81FF98769536", "isCollection" : false, "label" : "buildDateStringInAnnotation", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-76B31FC4-A5D7-48A6-BD27-BD85D9739FFA", "isCollection" : false, "label" : "day", @@ -50,7 +46,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-646B21D4-0CD2-48E1-98EE-DF09F8F2993B", "isCollection" : true, "label" : "describeAgesList", @@ -67,7 +62,6 @@ "name" : "generateTemporalObjects", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-6BEA84C5-B6D6-4823-B145-CC9039E79767-E9BD5C28-E92A-4BC5-BC7E-49327A0EE1F2", "isCollection" : false, "label" : "date", @@ -78,7 +72,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-6BEA84C5-B6D6-4823-B145-CC9039E79767-EFD96D34-5FD3-4E2A-93D4-FBBB037E3EB6", "isCollection" : false, "label" : "datetime", @@ -90,7 +83,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-E84C6443-C574-46D2-ACE6-7C04E9570047", "isCollection" : false, "label" : "hour", @@ -101,7 +93,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-63B08562-861C-40D7-BE83-710748DD1C0F", "isCollection" : false, "label" : "minute", @@ -112,7 +103,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-54C8F12C-6DF1-462C-8FF7-EE7A6C8C2BB9", "isCollection" : false, "label" : "month", @@ -123,7 +113,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-9C64E736-E1EB-4344-93B5-79722CEB6D89", "isCollection" : true, "label" : "names", @@ -134,7 +123,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-955F0BB7-C215-4403-B055-AC3814C6764E", "isCollection" : false, "label" : "negateSecond", @@ -145,7 +133,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-AEACF1C7-512D-4230-96A8-AC49528D080C", "isCollection" : true, "label" : "noRuleMatchesMultiHit", @@ -156,7 +143,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-DEE756F7-83CB-4493-9004-F943DB18EF5D", "isCollection" : false, "label" : "noRuleMatchesSingleHit", @@ -167,7 +153,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9", "isCollection" : false, "label" : "second", @@ -184,7 +169,6 @@ "name" : "temporalDiffs", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-E3A0AABF-07D5-4EB5-8E11-91706DBA9E12-8B4B1873-E167-4850-8046-288DF48F5F0C", "isCollection" : false, "label" : "dateDiff", @@ -195,7 +179,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-E3A0AABF-07D5-4EB5-8E11-91706DBA9E12-8BFCCBC6-9B20-456E-A18F-45DD04BA64F8", "isCollection" : false, "label" : "dateTimeDiff", @@ -207,7 +190,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-C8EE5C3A-1C1C-42D7-B596-92E4DA21A125", "isCollection" : false, "label" : "year", @@ -224,7 +206,6 @@ "name" : "zip", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "ages", "isCollection" : false, "label" : "ages", @@ -235,7 +216,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "agesListDescription", "isCollection" : false, "label" : "agesListDescription", @@ -246,7 +226,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "dateDiffs", "isCollection" : false, "label" : "dateDiffs", @@ -257,7 +236,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "dateTimeDiffs", "isCollection" : false, "label" : "dateTimeDiffs", @@ -268,7 +246,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "names", "isCollection" : false, "label" : "names", @@ -279,7 +256,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "temporalUnits", "isCollection" : false, "label" : "temporalUnits", @@ -292,112 +268,94 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3C16E501-7619-4B2F-9770-7E1A7F66A33D", "javaParameterName" : "ages", "javaTypeName" : "List", "label" : "ages", "name" : "ages", - "shapeId" : null, "typeRef" : { "localName" : "ages", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-76B31FC4-A5D7-48A6-BD27-BD85D9739FFA", "javaParameterName" : "day", "javaTypeName" : "java.math.BigDecimal", "label" : "day", "name" : "day", - "shapeId" : null, "typeRef" : { "localName" : "day", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-E84C6443-C574-46D2-ACE6-7C04E9570047", "javaParameterName" : "hour", "javaTypeName" : "java.math.BigDecimal", "label" : "hour", "name" : "hour", - "shapeId" : null, "typeRef" : { "localName" : "hour", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-63B08562-861C-40D7-BE83-710748DD1C0F", "javaParameterName" : "minute", "javaTypeName" : "java.math.BigDecimal", "label" : "minute", "name" : "minute", - "shapeId" : null, "typeRef" : { "localName" : "minute", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-54C8F12C-6DF1-462C-8FF7-EE7A6C8C2BB9", "javaParameterName" : "month", "javaTypeName" : "java.math.BigDecimal", "label" : "month", "name" : "month", - "shapeId" : null, "typeRef" : { "localName" : "month", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-9C64E736-E1EB-4344-93B5-79722CEB6D89", "javaParameterName" : "names", "javaTypeName" : "List", "label" : "names", "name" : "names", - "shapeId" : null, "typeRef" : { "localName" : "names", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9", "javaParameterName" : "second", "javaTypeName" : "java.math.BigDecimal", "label" : "second", "name" : "second", - "shapeId" : null, "typeRef" : { "localName" : "second", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-C8EE5C3A-1C1C-42D7-B596-92E4DA21A125", "javaParameterName" : "year", "javaTypeName" : "java.math.BigDecimal", "label" : "year", "name" : "year", - "shapeId" : null, "typeRef" : { "localName" : "year", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-613407DB-766F-458F-8430-6F31DDFD82B1", "informationReferences" : [ { "reference" : "sid-6BEA84C5-B6D6-4823-B145-CC9039E79767" @@ -410,81 +368,68 @@ "name" : "accessCertainTemporalUnits", "protoRequestName" : "proto.AccessCertainTemporalUnitsRequest", "protoResponseName" : "proto.AccessCertainTemporalUnitsResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-76B31FC4-A5D7-48A6-BD27-BD85D9739FFA", "javaParameterName" : "day", "javaTypeName" : "java.math.BigDecimal", "label" : "day", "name" : "day", - "shapeId" : null, "typeRef" : { "localName" : "day", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-E84C6443-C574-46D2-ACE6-7C04E9570047", "javaParameterName" : "hour", "javaTypeName" : "java.math.BigDecimal", "label" : "hour", "name" : "hour", - "shapeId" : null, "typeRef" : { "localName" : "hour", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-63B08562-861C-40D7-BE83-710748DD1C0F", "javaParameterName" : "minute", "javaTypeName" : "java.math.BigDecimal", "label" : "minute", "name" : "minute", - "shapeId" : null, "typeRef" : { "localName" : "minute", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-54C8F12C-6DF1-462C-8FF7-EE7A6C8C2BB9", "javaParameterName" : "month", "javaTypeName" : "java.math.BigDecimal", "label" : "month", "name" : "month", - "shapeId" : null, "typeRef" : { "localName" : "month", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9", "javaParameterName" : "second", "javaTypeName" : "java.math.BigDecimal", "label" : "second", "name" : "second", - "shapeId" : null, "typeRef" : { "localName" : "second", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-C8EE5C3A-1C1C-42D7-B596-92E4DA21A125", "javaParameterName" : "year", "javaTypeName" : "java.math.BigDecimal", "label" : "year", "name" : "year", - "shapeId" : null, "typeRef" : { "localName" : "year", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" @@ -496,8 +441,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-FE7B81A7-CACD-434C-BE9D-81FF98769536", "informationReferences" : [ { "reference" : "sid-C8EE5C3A-1C1C-42D7-B596-92E4DA21A125" @@ -514,42 +457,35 @@ "name" : "buildDateStringInAnnotation", "protoRequestName" : "proto.BuildDateStringInAnnotationRequest", "protoResponseName" : "proto.BuildDateStringInAnnotationResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-76B31FC4-A5D7-48A6-BD27-BD85D9739FFA", "javaParameterName" : "day", "javaTypeName" : "java.math.BigDecimal", "label" : "day", "name" : "day", - "shapeId" : null, "typeRef" : { "localName" : "day", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-54C8F12C-6DF1-462C-8FF7-EE7A6C8C2BB9", "javaParameterName" : "month", "javaTypeName" : "java.math.BigDecimal", "label" : "month", "name" : "month", - "shapeId" : null, "typeRef" : { "localName" : "month", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-C8EE5C3A-1C1C-42D7-B596-92E4DA21A125", "javaParameterName" : "year", "javaTypeName" : "java.math.BigDecimal", "label" : "year", "name" : "year", - "shapeId" : null, "typeRef" : { "localName" : "year", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" @@ -561,8 +497,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-646B21D4-0CD2-48E1-98EE-DF09F8F2993B", "informationReferences" : [ { "reference" : "sid-3C16E501-7619-4B2F-9770-7E1A7F66A33D" @@ -575,16 +509,13 @@ "name" : "describeAgesList", "protoRequestName" : "proto.DescribeAgesListRequest", "protoResponseName" : "proto.DescribeAgesListResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3C16E501-7619-4B2F-9770-7E1A7F66A33D", "javaParameterName" : "ages", "javaTypeName" : "List", "label" : "ages", "name" : "ages", - "shapeId" : null, "typeRef" : { "localName" : "ages", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" @@ -596,8 +527,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-6BEA84C5-B6D6-4823-B145-CC9039E79767", "informationReferences" : [ { "reference" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9" @@ -620,81 +549,68 @@ "name" : "generateTemporalObjects", "protoRequestName" : "proto.GenerateTemporalObjectsRequest", "protoResponseName" : "proto.GenerateTemporalObjectsResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-76B31FC4-A5D7-48A6-BD27-BD85D9739FFA", "javaParameterName" : "day", "javaTypeName" : "java.math.BigDecimal", "label" : "day", "name" : "day", - "shapeId" : null, "typeRef" : { "localName" : "day", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-E84C6443-C574-46D2-ACE6-7C04E9570047", "javaParameterName" : "hour", "javaTypeName" : "java.math.BigDecimal", "label" : "hour", "name" : "hour", - "shapeId" : null, "typeRef" : { "localName" : "hour", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-63B08562-861C-40D7-BE83-710748DD1C0F", "javaParameterName" : "minute", "javaTypeName" : "java.math.BigDecimal", "label" : "minute", "name" : "minute", - "shapeId" : null, "typeRef" : { "localName" : "minute", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-54C8F12C-6DF1-462C-8FF7-EE7A6C8C2BB9", "javaParameterName" : "month", "javaTypeName" : "java.math.BigDecimal", "label" : "month", "name" : "month", - "shapeId" : null, "typeRef" : { "localName" : "month", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9", "javaParameterName" : "second", "javaTypeName" : "java.math.BigDecimal", "label" : "second", "name" : "second", - "shapeId" : null, "typeRef" : { "localName" : "second", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-C8EE5C3A-1C1C-42D7-B596-92E4DA21A125", "javaParameterName" : "year", "javaTypeName" : "java.math.BigDecimal", "label" : "year", "name" : "year", - "shapeId" : null, "typeRef" : { "localName" : "year", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" @@ -706,8 +622,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-955F0BB7-C215-4403-B055-AC3814C6764E", "informationReferences" : [ { "reference" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9" @@ -720,16 +634,13 @@ "name" : "negateSecond", "protoRequestName" : "proto.NegateSecondRequest", "protoResponseName" : "proto.NegateSecondResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9", "javaParameterName" : "second", "javaTypeName" : "java.math.BigDecimal", "label" : "second", "name" : "second", - "shapeId" : null, "typeRef" : { "localName" : "second", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" @@ -741,8 +652,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-AEACF1C7-512D-4230-96A8-AC49528D080C", "informationReferences" : [ { "reference" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9" @@ -755,16 +664,13 @@ "name" : "noRuleMatchesMultiHit", "protoRequestName" : "proto.NoRuleMatchesMultiHitRequest", "protoResponseName" : "proto.NoRuleMatchesMultiHitResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9", "javaParameterName" : "second", "javaTypeName" : "java.math.BigDecimal", "label" : "second", "name" : "second", - "shapeId" : null, "typeRef" : { "localName" : "second", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" @@ -776,8 +682,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-DEE756F7-83CB-4493-9004-F943DB18EF5D", "informationReferences" : [ { "reference" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9" @@ -790,16 +694,13 @@ "name" : "noRuleMatchesSingleHit", "protoRequestName" : "proto.NoRuleMatchesSingleHitRequest", "protoResponseName" : "proto.NoRuleMatchesSingleHitResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9", "javaParameterName" : "second", "javaTypeName" : "java.math.BigDecimal", "label" : "second", "name" : "second", - "shapeId" : null, "typeRef" : { "localName" : "second", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" @@ -811,8 +712,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-E3A0AABF-07D5-4EB5-8E11-91706DBA9E12", "informationReferences" : [ { "reference" : "sid-6BEA84C5-B6D6-4823-B145-CC9039E79767" @@ -825,81 +724,68 @@ "name" : "temporalDiffs", "protoRequestName" : "proto.TemporalDiffsRequest", "protoResponseName" : "proto.TemporalDiffsResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-76B31FC4-A5D7-48A6-BD27-BD85D9739FFA", "javaParameterName" : "day", "javaTypeName" : "java.math.BigDecimal", "label" : "day", "name" : "day", - "shapeId" : null, "typeRef" : { "localName" : "day", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-E84C6443-C574-46D2-ACE6-7C04E9570047", "javaParameterName" : "hour", "javaTypeName" : "java.math.BigDecimal", "label" : "hour", "name" : "hour", - "shapeId" : null, "typeRef" : { "localName" : "hour", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-63B08562-861C-40D7-BE83-710748DD1C0F", "javaParameterName" : "minute", "javaTypeName" : "java.math.BigDecimal", "label" : "minute", "name" : "minute", - "shapeId" : null, "typeRef" : { "localName" : "minute", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-54C8F12C-6DF1-462C-8FF7-EE7A6C8C2BB9", "javaParameterName" : "month", "javaTypeName" : "java.math.BigDecimal", "label" : "month", "name" : "month", - "shapeId" : null, "typeRef" : { "localName" : "month", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9", "javaParameterName" : "second", "javaTypeName" : "java.math.BigDecimal", "label" : "second", "name" : "second", - "shapeId" : null, "typeRef" : { "localName" : "second", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-C8EE5C3A-1C1C-42D7-B596-92E4DA21A125", "javaParameterName" : "year", "javaTypeName" : "java.math.BigDecimal", "label" : "year", "name" : "year", - "shapeId" : null, "typeRef" : { "localName" : "year", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" @@ -911,8 +797,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-DB470E83-401F-4E28-BCA7-8E8FA641E93F", "informationReferences" : [ { "reference" : "sid-9C64E736-E1EB-4344-93B5-79722CEB6D89" @@ -941,107 +825,90 @@ "name" : "zip", "protoRequestName" : "proto.ZipRequest", "protoResponseName" : "proto.ZipResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3C16E501-7619-4B2F-9770-7E1A7F66A33D", "javaParameterName" : "ages", "javaTypeName" : "List", "label" : "ages", "name" : "ages", - "shapeId" : null, "typeRef" : { "localName" : "ages", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-76B31FC4-A5D7-48A6-BD27-BD85D9739FFA", "javaParameterName" : "day", "javaTypeName" : "java.math.BigDecimal", "label" : "day", "name" : "day", - "shapeId" : null, "typeRef" : { "localName" : "day", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-E84C6443-C574-46D2-ACE6-7C04E9570047", "javaParameterName" : "hour", "javaTypeName" : "java.math.BigDecimal", "label" : "hour", "name" : "hour", - "shapeId" : null, "typeRef" : { "localName" : "hour", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-63B08562-861C-40D7-BE83-710748DD1C0F", "javaParameterName" : "minute", "javaTypeName" : "java.math.BigDecimal", "label" : "minute", "name" : "minute", - "shapeId" : null, "typeRef" : { "localName" : "minute", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-54C8F12C-6DF1-462C-8FF7-EE7A6C8C2BB9", "javaParameterName" : "month", "javaTypeName" : "java.math.BigDecimal", "label" : "month", "name" : "month", - "shapeId" : null, "typeRef" : { "localName" : "month", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-9C64E736-E1EB-4344-93B5-79722CEB6D89", "javaParameterName" : "names", "javaTypeName" : "List", "label" : "names", "name" : "names", - "shapeId" : null, "typeRef" : { "localName" : "names", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-BBE02096-B2F8-48B5-93EB-037A5D24CEF9", "javaParameterName" : "second", "javaTypeName" : "java.math.BigDecimal", "label" : "second", "name" : "second", - "shapeId" : null, "typeRef" : { "localName" : "second", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-C8EE5C3A-1C1C-42D7-B596-92E4DA21A125", "javaParameterName" : "year", "javaTypeName" : "java.math.BigDecimal", "label" : "year", "name" : "year", - "shapeId" : null, "typeRef" : { "localName" : "year", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/compound-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/compound-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json index 9bbd89293..064ddbd6c 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/compound-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/compound-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "isCollection" : false, "label" : "BooleanInput", @@ -23,7 +22,6 @@ "name" : "compoundOutputCompoundDecision", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-4F178C17-6132-475B-BB01-FCF62DA216F4", "isCollection" : false, "label" : "First Output", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-825839B7-47CB-4A7A-BC5F-5242E1449A2F", "isCollection" : false, "label" : "Second Output", @@ -46,7 +43,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-6DEE5C38-4409-4A43-8E10-A759DF55056E", "isCollection" : false, "label" : "DD1 Text Input", @@ -57,7 +53,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3C445DAC-1B0D-4D22-9FD3-EB4E617D00CF", "isCollection" : false, "label" : "DD2 Number Input", @@ -74,7 +69,6 @@ "name" : "dependentDecision1", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-64E0500E-ADE8-4CB3-8E4F-894A4BD3EDE9-3919D1AE-3F5C-434F-930A-D1E350DD4B77", "isCollection" : false, "label" : "DD1O1", @@ -85,7 +79,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-64E0500E-ADE8-4CB3-8E4F-894A4BD3EDE9-8043CED3-C66A-4D50-B806-E3DC53D4A8D5", "isCollection" : false, "label" : "DD1O2", @@ -103,7 +96,6 @@ "name" : "dependentDecision2", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-957FCF3A-3662-440C-ADB4-2AEB91ED7AA8-D0794FEE-197A-47AC-9DB5-5F3786827926", "isCollection" : false, "label" : "DD2O1", @@ -114,7 +106,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-957FCF3A-3662-440C-ADB4-2AEB91ED7AA8-80A43548-BA1B-4911-A938-D2BAA3905100", "isCollection" : false, "label" : "DD2O2", @@ -138,60 +129,50 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6DEE5C38-4409-4A43-8E10-A759DF55056E", "javaParameterName" : "dD1TextInput", "javaTypeName" : "String", "label" : "DD1 Text Input", "name" : "dD1TextInput", - "shapeId" : null, "typeRef" : { "localName" : "dD1TextInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3C445DAC-1B0D-4D22-9FD3-EB4E617D00CF", "javaParameterName" : "dD2NumberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "DD2 Number Input", "name" : "dD2NumberInput", - "shapeId" : null, "typeRef" : { "localName" : "dD2NumberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836" @@ -210,55 +191,46 @@ "name" : "compoundOutputCompoundDecision", "protoRequestName" : "proto.CompoundOutputCompoundDecisionRequest", "protoResponseName" : "proto.CompoundOutputCompoundDecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6DEE5C38-4409-4A43-8E10-A759DF55056E", "javaParameterName" : "dD1TextInput", "javaTypeName" : "String", "label" : "DD1 Text Input", "name" : "dD1TextInput", - "shapeId" : null, "typeRef" : { "localName" : "dD1TextInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3C445DAC-1B0D-4D22-9FD3-EB4E617D00CF", "javaParameterName" : "dD2NumberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "DD2 Number Input", "name" : "dD2NumberInput", - "shapeId" : null, "typeRef" : { "localName" : "dD2NumberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" @@ -270,8 +242,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-64E0500E-ADE8-4CB3-8E4F-894A4BD3EDE9", "informationReferences" : [ { "reference" : "sid-6DEE5C38-4409-4A43-8E10-A759DF55056E" @@ -284,16 +254,13 @@ "name" : "dependentDecision1", "protoRequestName" : "proto.DependentDecision1Request", "protoResponseName" : "proto.DependentDecision1Response", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6DEE5C38-4409-4A43-8E10-A759DF55056E", "javaParameterName" : "dD1TextInput", "javaTypeName" : "String", "label" : "DD1 Text Input", "name" : "dD1TextInput", - "shapeId" : null, "typeRef" : { "localName" : "dD1TextInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" @@ -305,8 +272,6 @@ } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-957FCF3A-3662-440C-ADB4-2AEB91ED7AA8", "informationReferences" : [ { "reference" : "sid-3C445DAC-1B0D-4D22-9FD3-EB4E617D00CF" @@ -319,16 +284,13 @@ "name" : "dependentDecision2", "protoRequestName" : "proto.DependentDecision2Request", "protoResponseName" : "proto.DependentDecision2Response", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3C445DAC-1B0D-4D22-9FD3-EB4E617D00CF", "javaParameterName" : "dD2NumberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "DD2 Number Input", "name" : "dD2NumberInput", - "shapeId" : null, "typeRef" : { "localName" : "dD2NumberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-complex-type-inputs-sfeel-input-entries-single-output-collect-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-complex-type-inputs-sfeel-input-entries-single-output-collect-hit-policy/DMNMetadata.json index 17f12595c..5036326d7 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-complex-type-inputs-sfeel-input-entries-single-output-collect-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-complex-type-inputs-sfeel-input-entries-single-output-collect-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-C52224F3-4EC1-4AAC-88AE-F5F51F285ED0", "isCollection" : true, "label" : "Decision", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-B180B170-4226-4CB8-B6EE-51D4307DCA61", "isCollection" : false, "label" : "Employed", @@ -34,7 +32,6 @@ "name" : "person", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-dateofbirth-4", "isCollection" : false, "label" : "dateOfBirth", @@ -45,7 +42,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-datetimeofbirth-6", "isCollection" : false, "label" : "dateTimeOfBirth", @@ -56,7 +52,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-firstname-0", "isCollection" : false, "label" : "firstName", @@ -78,7 +73,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-id-2", "isCollection" : false, "label" : "id", @@ -89,7 +83,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-lastname-1", "isCollection" : false, "label" : "lastName", @@ -100,7 +93,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-list-7", "isCollection" : true, "label" : "list", @@ -111,7 +103,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-married-8", "isCollection" : false, "label" : "married", @@ -122,7 +113,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-timeofbirth-5", "isCollection" : false, "label" : "timeOfBirth", @@ -135,34 +125,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-B180B170-4226-4CB8-B6EE-51D4307DCA61", "javaParameterName" : "employed", "javaTypeName" : "Boolean", "label" : "Employed", "name" : "employed", - "shapeId" : null, "typeRef" : { "localName" : "employed", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264", "javaParameterName" : "person", "javaTypeName" : "type.Person", "label" : "Person", "name" : "person", - "shapeId" : null, "typeRef" : { "localName" : "person", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-C52224F3-4EC1-4AAC-88AE-F5F51F285ED0", "informationReferences" : [ { "reference" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264" @@ -177,29 +161,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-B180B170-4226-4CB8-B6EE-51D4307DCA61", "javaParameterName" : "employed", "javaTypeName" : "Boolean", "label" : "Employed", "name" : "employed", - "shapeId" : null, "typeRef" : { "localName" : "employed", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A9CCC6E7-5A99-402B-BC45-D85CC8F80264", "javaParameterName" : "person", "javaTypeName" : "type.Person", "label" : "Person", "name" : "person", - "shapeId" : null, "typeRef" : { "localName" : "person", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-output-order-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-output-order-hit-policy/DMNMetadata.json index 703493f08..e0a4485cf 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-output-order-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-output-order-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -35,7 +35,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -46,7 +45,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -58,34 +56,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -100,29 +92,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-priority-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-priority-hit-policy/DMNMetadata.json index 3ca7a0f7a..ce66758e0 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-priority-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-compound-output-priority-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -35,7 +35,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -46,7 +45,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -58,34 +56,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -100,29 +92,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-first-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-first-hit-policy/DMNMetadata.json index 63968016f..712b3b584 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-first-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-first-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-D16E1277-6037-4066-A21B-42F761A4B427", "isCollection" : false, "label" : "DateAndTimeInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "isCollection" : false, "label" : "DateInput", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -72,7 +67,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -83,7 +77,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "isCollection" : false, "label" : "TimeInput", @@ -95,99 +88,83 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0" @@ -212,94 +189,79 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json index 63968016f..712b3b584 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-D16E1277-6037-4066-A21B-42F761A4B427", "isCollection" : false, "label" : "DateAndTimeInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "isCollection" : false, "label" : "DateInput", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -72,7 +67,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -83,7 +77,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "isCollection" : false, "label" : "TimeInput", @@ -95,99 +88,83 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0" @@ -212,94 +189,79 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json index 2572422d2..51a31a825 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-compound-output-first-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "isCollection" : false, "label" : "BooleanInput", @@ -23,7 +22,6 @@ "name" : "compoundOutputDecision", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-4F178C17-6132-475B-BB01-FCF62DA216F4", "isCollection" : false, "label" : "First Output", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D-825839B7-47CB-4A7A-BC5F-5242E1449A2F", "isCollection" : false, "label" : "Second Output", @@ -46,7 +43,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-D16E1277-6037-4066-A21B-42F761A4B427", "isCollection" : false, "label" : "DateAndTimeInput", @@ -57,7 +53,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "isCollection" : false, "label" : "DateInput", @@ -79,7 +74,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -90,7 +84,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -101,7 +94,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "isCollection" : false, "label" : "TimeInput", @@ -113,99 +105,83 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0" @@ -230,94 +206,79 @@ "name" : "compoundOutputDecision", "protoRequestName" : "proto.CompoundOutputDecisionRequest", "protoResponseName" : "proto.CompoundOutputDecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-single-output-first-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-single-output-first-hit-policy/DMNMetadata.json index 63968016f..712b3b584 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-single-output-first-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-sfeel-input-entries-single-output-first-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-D16E1277-6037-4066-A21B-42F761A4B427", "isCollection" : false, "label" : "DateAndTimeInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "isCollection" : false, "label" : "DateInput", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -72,7 +67,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -83,7 +77,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "isCollection" : false, "label" : "TimeInput", @@ -95,99 +88,83 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0" @@ -212,94 +189,79 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-any-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-any-hit-policy/DMNMetadata.json index 464db8ac4..d6b554534 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-any-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-any-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-count-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-count-hit-policy/DMNMetadata.json index 10ba7dd58..ed3834fa3 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-count-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-count-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +37,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +73,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-hit-policy/DMNMetadata.json index 407733056..1afe01475 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-min-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-min-hit-policy/DMNMetadata.json index 10ba7dd58..ed3834fa3 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-min-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-min-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +37,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +73,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-sum-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-sum-hit-policy/DMNMetadata.json index 10ba7dd58..ed3834fa3 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-sum-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-collect-sum-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +37,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +73,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-first-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-first-hit-policy/DMNMetadata.json index 464db8ac4..d6b554534 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-first-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-first-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-output-order-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-output-order-hit-policy/DMNMetadata.json index 407733056..1afe01475 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-output-order-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-output-order-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-priority-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-priority-hit-policy/DMNMetadata.json index 464db8ac4..d6b554534 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-priority-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-priority-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-rule-order-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-rule-order-hit-policy/DMNMetadata.json index 407733056..1afe01475 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-rule-order-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-rule-order-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-unique-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-unique-hit-policy/DMNMetadata.json index 464db8ac4..d6b554534 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-unique-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-inputs-single-output-unique-hit-policy/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", @@ -17,7 +17,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : false, "label" : "NumberInput", @@ -28,7 +27,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : false, "label" : "TextInput", @@ -40,34 +38,28 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9" @@ -82,29 +74,24 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "String", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-list-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-list-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json index 5ddfb89b3..8b37eda37 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-list-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/decision-table/dmn/simple-decision-primitive-type-list-inputs-feel-input-entries-single-output-unique-hit-policy/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "isCollection" : true, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-D16E1277-6037-4066-A21B-42F761A4B427", "isCollection" : true, "label" : "DateAndTimeInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "isCollection" : true, "label" : "DateInput", @@ -39,7 +36,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "isCollection" : false, "label" : "Decision", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "isCollection" : true, "label" : "NumberInput", @@ -72,7 +67,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-404A0FC2-6787-4210-BB30-2E7964835E99", "isCollection" : true, "label" : "TextInput", @@ -83,7 +77,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "isCollection" : true, "label" : "TimeInput", @@ -95,99 +88,83 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "List", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "List", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "List", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "List", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "List", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "List", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "List", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-4A7C793A-882C-4867-94B9-AD88D6D6970D", "informationReferences" : [ { "reference" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0" @@ -212,94 +189,79 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-DD33B3B6-0C84-4568-A0ED-424855D08836", "javaParameterName" : "booleanInput", "javaTypeName" : "List", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-D16E1277-6037-4066-A21B-42F761A4B427", "javaParameterName" : "dateAndTimeInput", "javaTypeName" : "List", "label" : "DateAndTimeInput", "name" : "dateAndTimeInput", - "shapeId" : null, "typeRef" : { "localName" : "dateAndTimeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-6E98EF23-49A8-44BE-82BB-06CF5AC860A0", "javaParameterName" : "dateInput", "javaTypeName" : "List", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3247220B-9F67-48DB-8CB5-33C5FCDCEC20", "javaParameterName" : "enumerationInput", "javaTypeName" : "List", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-3F148E87-DF6E-42AF-B209-4D532421A2F9", "javaParameterName" : "numberInput", "javaTypeName" : "List", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-404A0FC2-6787-4210-BB30-2E7964835E99", "javaParameterName" : "textInput", "javaTypeName" : "List", "label" : "TextInput", "name" : "textInput", - "shapeId" : null, "typeRef" : { "localName" : "textInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F687D89A-8FBD-4414-BCF4-BBBF353ABBC2", "javaParameterName" : "timeInput", "javaTypeName" : "List", "label" : "TimeInput", "name" : "timeInput", - "shapeId" : null, "typeRef" : { "localName" : "timeInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-boolean-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-boolean-literal-expression/DMNMetadata.json index e43f9d774..e3ba02cd9 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-boolean-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-boolean-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-26EA5751-0546-4206-B549-F5EA641AFC98", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-26EA5751-0546-4206-B549-F5EA641AFC98", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-complex-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-complex-literal-expression/DMNMetadata.json index 2ffdf55c6..cd78a79ed 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-complex-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-complex-literal-expression/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -12,7 +12,6 @@ "name" : "loan", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-principal-0", "isCollection" : false, "label" : "principal", @@ -23,7 +22,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-rate-1", "isCollection" : false, "label" : "rate", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-term-2", "isCollection" : false, "label" : "term", @@ -46,7 +43,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-60E9B6E8-6251-4E45-86C4-4E46A3D9F64E", "isCollection" : false, "label" : "Monthly", @@ -58,21 +54,17 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23", "javaParameterName" : "loan", "javaTypeName" : "type.Loan", "label" : "Loan", "name" : "loan", - "shapeId" : null, "typeRef" : { "localName" : "loan", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-60E9B6E8-6251-4E45-86C4-4E46A3D9F64E", "informationReferences" : [ { "reference" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23" @@ -85,16 +77,13 @@ "name" : "monthly", "protoRequestName" : "proto.MonthlyRequest", "protoResponseName" : "proto.MonthlyResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23", "javaParameterName" : "loan", "javaTypeName" : "type.Loan", "label" : "Loan", "name" : "loan", - "shapeId" : null, "typeRef" : { "localName" : "loan", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-date-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-date-literal-expression/DMNMetadata.json index 2b4eeaea7..148f058d1 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-date-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-date-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-enumeration-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-enumeration-literal-expression/DMNMetadata.json index 7c831e12f..a37ab5946 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-enumeration-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-enumeration-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-numeric-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-numeric-literal-expression/DMNMetadata.json index 67fc2c2c2..ffca5c59b 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-numeric-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-numeric-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-68852C36-4002-4F63-97BE-449F72EBF443", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-68852C36-4002-4F63-97BE-449F72EBF443", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-string-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-string-literal-expression/DMNMetadata.json index 7c831e12f..a37ab5946 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-string-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-feel-string-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-boolean-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-boolean-literal-expression/DMNMetadata.json index 26c5f4b85..20c1ee058 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-boolean-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-boolean-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-26EA5751-0546-4206-B549-F5EA641AFC98", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-26EA5751-0546-4206-B549-F5EA641AFC98", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-complex-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-complex-literal-expression/DMNMetadata.json index 5e5e1b3dc..deb98682f 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-complex-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-complex-literal-expression/DMNMetadata.json @@ -2,7 +2,7 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "compositeType", @@ -12,7 +12,6 @@ "name" : "loan", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-principal-0", "isCollection" : false, "label" : "principal", @@ -23,7 +22,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-rate-1", "isCollection" : false, "label" : "rate", @@ -34,7 +32,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-term-2", "isCollection" : false, "label" : "term", @@ -46,7 +43,6 @@ } ] }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-60E9B6E8-6251-4E45-86C4-4E46A3D9F64E", "isCollection" : false, "label" : "Monthly", @@ -58,21 +54,17 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23", "javaParameterName" : "loan", "javaTypeName" : "type.Loan", "label" : "Loan", "name" : "loan", - "shapeId" : null, "typeRef" : { "localName" : "loan", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-60E9B6E8-6251-4E45-86C4-4E46A3D9F64E", "informationReferences" : [ { "reference" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23" @@ -85,16 +77,13 @@ "name" : "monthly", "protoRequestName" : "proto.MonthlyRequest", "protoResponseName" : "proto.MonthlyResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-AD811598-1741-4206-A9FC-280EF77B0B23", "javaParameterName" : "loan", "javaTypeName" : "type.Loan", "label" : "Loan", "name" : "loan", - "shapeId" : null, "typeRef" : { "localName" : "loan", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-date-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-date-literal-expression/DMNMetadata.json index 4b44687e4..76deee016 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-date-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-date-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-enumeration-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-enumeration-literal-expression/DMNMetadata.json index 5aead131d..ef451bdd2 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-enumeration-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-enumeration-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-numeric-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-numeric-literal-expression/DMNMetadata.json index 3a2129f9d..a8277fbb1 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-numeric-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-numeric-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-68852C36-4002-4F63-97BE-449F72EBF443", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-68852C36-4002-4F63-97BE-449F72EBF443", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-string-literal-expression/DMNMetadata.json b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-string-literal-expression/DMNMetadata.json index 7c831e12f..a37ab5946 100644 --- a/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-string-literal-expression/DMNMetadata.json +++ b/dmn-test-cases/signavio/rdf/rdf2java/expected/java/literal/dmn/simple-decision-free-text-string-literal-expression/DMNMetadata.json @@ -2,11 +2,10 @@ "dmnVersion" : "1.1", "modelVersion" : "2.0", "platformVersion" : "1.0", - "dmnNamespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd", + "dmnNamespaces" : [ "http://www.omg.org/spec/DMN/20151101/dmn.xsd" ], "nativeNamespace" : "", "types" : [ { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "isCollection" : false, "label" : "BooleanInput", @@ -17,7 +16,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "isCollection" : false, "label" : "DateInput", @@ -28,7 +26,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "isCollection" : false, "label" : "Decision", @@ -50,7 +47,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-4657A97A-419B-4840-B8CA-9EA10827657F", "isCollection" : false, "label" : "NumberInput", @@ -61,7 +57,6 @@ } }, { "@kind" : "referenceType", - "allowedValues" : null, "id" : "item-definition-sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "isCollection" : false, "label" : "StringInput", @@ -73,73 +68,61 @@ } ], "elements" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "decision", - "diagramId" : null, - "extensions" : [ ], "id" : "sid-499DBFB1-F584-4B70-8B41-F00CC0810584", "informationReferences" : [ { "reference" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F" @@ -160,68 +143,57 @@ "name" : "decision", "protoRequestName" : "proto.DecisionRequest", "protoResponseName" : "proto.DecisionResponse", - "shapeId" : null, "transitiveRequiredInput" : [ { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-F533656C-76C6-4D10-9786-7FE2A4E9141A", "javaParameterName" : "booleanInput", "javaTypeName" : "Boolean", "label" : "BooleanInput", "name" : "booleanInput", - "shapeId" : null, "typeRef" : { "localName" : "booleanInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-A1FC6D04-6C80-46D7-902E-FD9F9B80DEDC", "javaParameterName" : "dateInput", "javaTypeName" : "javax.xml.datatype.XMLGregorianCalendar", "label" : "DateInput", "name" : "dateInput", - "shapeId" : null, "typeRef" : { "localName" : "dateInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8A33F7F8-5A9F-49D1-B511-FCDC838AADA3", "javaParameterName" : "enumerationInput", "javaTypeName" : "String", "label" : "EnumerationInput", "name" : "enumerationInput", - "shapeId" : null, "typeRef" : { "localName" : "enumerationInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-4657A97A-419B-4840-B8CA-9EA10827657F", "javaParameterName" : "numberInput", "javaTypeName" : "java.math.BigDecimal", "label" : "NumberInput", "name" : "numberInput", - "shapeId" : null, "typeRef" : { "localName" : "numberInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" } }, { "@kind" : "inputData", - "diagramId" : null, "id" : "sid-8D942955-A64E-461F-A4A7-41487C9F6D7A", "javaParameterName" : "stringInput", "javaTypeName" : "String", "label" : "StringInput", "name" : "stringInput", - "shapeId" : null, "typeRef" : { "localName" : "stringInput", "namespace" : "http://www.omg.org/spec/DMN/20151101/dmn.xsd" diff --git a/dmn-test-cases/standard/composite/1.2/0001-no-name-conflicts-one-package/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/composite/1.2/0001-no-name-conflicts-one-package/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..2bea49b07 --- /dev/null +++ b/dmn-test-cases/standard/composite/1.2/0001-no-name-conflicts-one-package/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,142 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.provider.com/definitions/model-b1", "http://www.provider.com/definitions/model-b2", "http://www.provider.com/definitions/model-c", "http://www.provider.com/definitions/model-a" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "decision", + "id" : "_96df766e-23e1-4aa6-9d5d-545fbe2f1e23", + "informationReferences" : [ { + "reference" : "_f7fdaec4-d669-4797-b3b4-12b860de2eb5" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "evaluatingB1SayHello", + "javaTypeName" : "EvaluatingB1SayHello", + "knowledgeReferences" : [ ], + "label" : "Evaluating Say Hello", + "name" : "evaluatingB1SayHello", + "protoRequestName" : "proto.EvaluatingB1SayHelloRequest", + "protoResponseName" : "proto.EvaluatingB1SayHelloResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b1" + } + }, { + "@kind" : "decision", + "id" : "_f7fdaec4-d669-4797-b3b4-12b860de2eb5", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-a#_4f6c136c-8512-4d71-8bbf-7c9eb6e74063" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "greetThePerson", + "javaTypeName" : "GreetThePerson", + "knowledgeReferences" : [ ], + "label" : "Great the person", + "name" : "greetThePerson", + "protoRequestName" : "proto.GreetThePersonRequest", + "protoResponseName" : "proto.GreetThePersonResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b1" + } + }, { + "@kind" : "decision", + "id" : "_96df766e-23e1-4aa6-9d5d-545fbe2f1e23", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-b1#_f7fdaec4-d669-4797-b3b4-12b860de2eb5" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "evaluatingB2SayHello", + "javaTypeName" : "EvaluatingB2SayHello", + "knowledgeReferences" : [ ], + "label" : "Evaluating B2 Say Hello", + "name" : "evaluatingB2SayHello", + "protoRequestName" : "proto.EvaluatingB2SayHelloRequest", + "protoResponseName" : "proto.EvaluatingB2SayHelloResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b2" + } + }, { + "@kind" : "decision", + "id" : "_fc1bff6c-b1ca-4a10-ba9a-23b8f5e86e6a", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-b1#_96df766e-23e1-4aa6-9d5d-545fbe2f1e23" + }, { + "reference" : "http://www.provider.com/definitions/model-b2#_96df766e-23e1-4aa6-9d5d-545fbe2f1e23" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "modelCDecisionBasedOnBs", + "javaTypeName" : "ModelCDecisionBasedOnBs", + "knowledgeReferences" : [ ], + "label" : "Model C Decision based on Bs", + "name" : "modelCDecisionBasedOnBs", + "protoRequestName" : "proto.ModelCDecisionBasedOnBsRequest", + "protoResponseName" : "proto.ModelCDecisionBasedOnBsResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "Any", + "namespace" : "http://www.provider.com/definitions/model-c" + } + }, { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/composite/1.2/0002-no-name-conflicts/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/composite/1.2/0002-no-name-conflicts/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..90c0736fc --- /dev/null +++ b/dmn-test-cases/standard/composite/1.2/0002-no-name-conflicts/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,142 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.provider.com/definitions/model-b1", "http://www.provider.com/definitions/model-b2", "http://www.provider.com/definitions/model-c", "http://www.provider.com/definitions/model-a" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "decision", + "id" : "_96df766e-23e1-4aa6-9d5d-545fbe2f1e23", + "informationReferences" : [ { + "reference" : "_f7fdaec4-d669-4797-b3b4-12b860de2eb5" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "evaluatingB1SayHello", + "javaTypeName" : "model_b1.EvaluatingB1SayHello", + "knowledgeReferences" : [ ], + "label" : "Evaluating Say Hello", + "name" : "evaluatingB1SayHello", + "protoRequestName" : "model_b1.proto.EvaluatingB1SayHelloRequest", + "protoResponseName" : "model_b1.proto.EvaluatingB1SayHelloResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b1" + } + }, { + "@kind" : "decision", + "id" : "_f7fdaec4-d669-4797-b3b4-12b860de2eb5", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-a#_4f6c136c-8512-4d71-8bbf-7c9eb6e74063" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "greetThePerson", + "javaTypeName" : "model_b1.GreetThePerson", + "knowledgeReferences" : [ ], + "label" : "Great the person", + "name" : "greetThePerson", + "protoRequestName" : "model_b1.proto.GreetThePersonRequest", + "protoResponseName" : "model_b1.proto.GreetThePersonResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b1" + } + }, { + "@kind" : "decision", + "id" : "_96df766e-23e1-4aa6-9d5d-545fbe2f1e23", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-b1#_f7fdaec4-d669-4797-b3b4-12b860de2eb5" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "evaluatingB2SayHello", + "javaTypeName" : "model_b2.EvaluatingB2SayHello", + "knowledgeReferences" : [ ], + "label" : "Evaluating B2 Say Hello", + "name" : "evaluatingB2SayHello", + "protoRequestName" : "model_b2.proto.EvaluatingB2SayHelloRequest", + "protoResponseName" : "model_b2.proto.EvaluatingB2SayHelloResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b2" + } + }, { + "@kind" : "decision", + "id" : "_fc1bff6c-b1ca-4a10-ba9a-23b8f5e86e6a", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-b1#_96df766e-23e1-4aa6-9d5d-545fbe2f1e23" + }, { + "reference" : "http://www.provider.com/definitions/model-b2#_96df766e-23e1-4aa6-9d5d-545fbe2f1e23" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "modelCDecisionBasedOnBs", + "javaTypeName" : "model_c.ModelCDecisionBasedOnBs", + "knowledgeReferences" : [ ], + "label" : "Model C Decision based on Bs", + "name" : "modelCDecisionBasedOnBs", + "protoRequestName" : "model_c.proto.ModelCDecisionBasedOnBsRequest", + "protoResponseName" : "model_c.proto.ModelCDecisionBasedOnBsResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "Any", + "namespace" : "http://www.provider.com/definitions/model-c" + } + }, { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/composite/1.2/0003-name-conflicts/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/composite/1.2/0003-name-conflicts/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..c147ca3db --- /dev/null +++ b/dmn-test-cases/standard/composite/1.2/0003-name-conflicts/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,142 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.provider.com/definitions/model-b1", "http://www.provider.com/definitions/model-b2", "http://www.provider.com/definitions/model-c", "http://www.provider.com/definitions/model-a" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "decision", + "id" : "_96df766e-23e1-4aa6-9d5d-545fbe2f1e23", + "informationReferences" : [ { + "reference" : "_f7fdaec4-d669-4797-b3b4-12b860de2eb5" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "evaluatingSayHello", + "javaTypeName" : "model_b1.EvaluatingSayHello", + "knowledgeReferences" : [ ], + "label" : "Evaluating Say Hello", + "name" : "evaluatingSayHello", + "protoRequestName" : "model_b1.proto.EvaluatingSayHelloRequest", + "protoResponseName" : "model_b1.proto.EvaluatingSayHelloResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b1" + } + }, { + "@kind" : "decision", + "id" : "_f7fdaec4-d669-4797-b3b4-12b860de2eb5", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-a#_4f6c136c-8512-4d71-8bbf-7c9eb6e74063" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "greetThePerson", + "javaTypeName" : "model_b1.GreetThePerson", + "knowledgeReferences" : [ ], + "label" : "Great the person", + "name" : "greetThePerson", + "protoRequestName" : "model_b1.proto.GreetThePersonRequest", + "protoResponseName" : "model_b1.proto.GreetThePersonResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b1" + } + }, { + "@kind" : "decision", + "id" : "_96df766e-23e1-4aa6-9d5d-545fbe2f1e23", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-b1#_f7fdaec4-d669-4797-b3b4-12b860de2eb5" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "evaluatingSayHello", + "javaTypeName" : "model_b2.EvaluatingSayHello", + "knowledgeReferences" : [ ], + "label" : "Evaluating B2 Say Hello", + "name" : "evaluatingSayHello", + "protoRequestName" : "model_b2.proto.EvaluatingSayHelloRequest", + "protoResponseName" : "model_b2.proto.EvaluatingSayHelloResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b2" + } + }, { + "@kind" : "decision", + "id" : "_fc1bff6c-b1ca-4a10-ba9a-23b8f5e86e6a", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-b1#_96df766e-23e1-4aa6-9d5d-545fbe2f1e23" + }, { + "reference" : "http://www.provider.com/definitions/model-b2#_96df766e-23e1-4aa6-9d5d-545fbe2f1e23" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "modelCDecisionBasedOnBs", + "javaTypeName" : "model_c.ModelCDecisionBasedOnBs", + "knowledgeReferences" : [ ], + "label" : "Model C Decision based on Bs", + "name" : "modelCDecisionBasedOnBs", + "protoRequestName" : "model_c.proto.ModelCDecisionBasedOnBsRequest", + "protoResponseName" : "model_c.proto.ModelCDecisionBasedOnBsResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ], + "typeRef" : { + "localName" : "Any", + "namespace" : "http://www.provider.com/definitions/model-c" + } + }, { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "label" : "Person Name", + "name" : "personName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/composite/1.2/0004-decision-tables/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/composite/1.2/0004-decision-tables/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..02b762a88 --- /dev/null +++ b/dmn-test-cases/standard/composite/1.2/0004-decision-tables/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,249 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.provider.com/definitions/decision-inputs", "http://www.provider.com/definitions/decisions" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tA", + "isCollection" : false, + "name" : "tA", + "types" : [ { + "@kind" : "referenceType", + "id" : "_adf6f96a-c574-4ba7-a305-ea14ad9852b1", + "isCollection" : false, + "name" : "name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + }, { + "@kind" : "referenceType", + "id" : "_d297adac-f086-42a0-989e-04c431270f77", + "isCollection" : false, + "name" : "price", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + } ] + }, { + "@kind" : "referenceType", + "id" : "tNumList", + "isCollection" : true, + "name" : "tNumList", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + }, { + "@kind" : "referenceType", + "id" : "tStringList", + "isCollection" : true, + "name" : "tStringList", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + }, { + "@kind" : "inputData", + "id" : "_4926f78e-5df0-4d88-8ee7-1a418b08562f", + "javaParameterName" : "dateE", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateE", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + }, { + "@kind" : "inputData", + "id" : "_3b175722-5f96-49e4-a50d-0bf9588c901c", + "javaParameterName" : "numB", + "javaTypeName" : "java.lang.Number", + "name" : "numB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + }, { + "@kind" : "inputData", + "id" : "_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d", + "javaParameterName" : "numC", + "javaTypeName" : "java.lang.Number", + "name" : "numC", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + }, { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "decisioninputs.type.TA", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + }, { + "@kind" : "decision", + "id" : "_ca5e0efd-3fff-4bf8-8939-85fc3b9c20b8", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/decision-inputs#_fabdbafc-f28a-466d-ae08-86c5b928dad5" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "dateCompare1", + "javaTypeName" : "decisiontables.DateCompare1", + "knowledgeReferences" : [ ], + "name" : "dateCompare1", + "protoRequestName" : "decisiontables.proto.DateCompare1Request", + "protoResponseName" : "decisiontables.proto.DateCompare1Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.provider.com/definitions/decisions" + } + }, { + "@kind" : "decision", + "id" : "_bf3c3a79-9fa2-491f-8065-a990c70b50de", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/decision-inputs#_fabdbafc-f28a-466d-ae08-86c5b928dad5" + }, { + "reference" : "http://www.provider.com/definitions/decision-inputs#_4926f78e-5df0-4d88-8ee7-1a418b08562f" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "dateCompare2", + "javaTypeName" : "decisiontables.DateCompare2", + "knowledgeReferences" : [ ], + "name" : "dateCompare2", + "protoRequestName" : "decisiontables.proto.DateCompare2Request", + "protoResponseName" : "decisiontables.proto.DateCompare2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + }, { + "@kind" : "inputData", + "id" : "_4926f78e-5df0-4d88-8ee7-1a418b08562f", + "javaParameterName" : "dateE", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateE", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.provider.com/definitions/decisions" + } + }, { + "@kind" : "decision", + "id" : "_2683ec7f-fa17-4a1e-9151-8077a10c561f", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/decision-inputs#_18b9d486-1ec0-436d-af4b-3e4567e8bca9" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "priceGt10", + "javaTypeName" : "decisiontables.PriceGt10", + "knowledgeReferences" : [ ], + "name" : "priceGt10", + "protoRequestName" : "decisiontables.proto.PriceGt10Request", + "protoResponseName" : "decisiontables.proto.PriceGt10Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "decisioninputs.type.TA", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.provider.com/definitions/decisions" + } + }, { + "@kind" : "decision", + "id" : "_98e08c9d-66de-4f67-8bd9-cc667be27eb3", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/decision-inputs#_3b175722-5f96-49e4-a50d-0bf9588c901c" + }, { + "reference" : "http://www.provider.com/definitions/decision-inputs#_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d" + }, { + "reference" : "http://www.provider.com/definitions/decision-inputs#_18b9d486-1ec0-436d-af4b-3e4567e8bca9" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "priceInRange", + "javaTypeName" : "decisiontables.PriceInRange", + "knowledgeReferences" : [ ], + "name" : "priceInRange", + "protoRequestName" : "decisiontables.proto.PriceInRangeRequest", + "protoResponseName" : "decisiontables.proto.PriceInRangeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_3b175722-5f96-49e4-a50d-0bf9588c901c", + "javaParameterName" : "numB", + "javaTypeName" : "java.lang.Number", + "name" : "numB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + }, { + "@kind" : "inputData", + "id" : "_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d", + "javaParameterName" : "numC", + "javaTypeName" : "java.lang.Number", + "name" : "numC", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + }, { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "decisioninputs.type.TA", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.provider.com/definitions/decision-inputs" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/decisions" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/composite/1.2/0005-decision-tables-name-conflicts/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/composite/1.2/0005-decision-tables-name-conflicts/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..134664d65 --- /dev/null +++ b/dmn-test-cases/standard/composite/1.2/0005-decision-tables-name-conflicts/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,249 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.provider.com/definitions/decision-inputs-1", "http://www.provider.com/definitions/decision-inputs-2", "http://www.provider.com/definitions/decisions" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tA", + "isCollection" : false, + "name" : "tA", + "types" : [ { + "@kind" : "referenceType", + "id" : "_adf6f96a-c574-4ba7-a305-ea14ad9852b1", + "isCollection" : false, + "name" : "name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + }, { + "@kind" : "referenceType", + "id" : "_d297adac-f086-42a0-989e-04c431270f77", + "isCollection" : false, + "name" : "price", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + } ] + }, { + "@kind" : "referenceType", + "id" : "tNumList", + "isCollection" : true, + "name" : "tNumList", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + }, { + "@kind" : "referenceType", + "id" : "tStringList", + "isCollection" : true, + "name" : "tStringList", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + }, { + "@kind" : "inputData", + "id" : "_3b175722-5f96-49e4-a50d-0bf9588c901c", + "javaParameterName" : "numB", + "javaTypeName" : "java.lang.Number", + "name" : "numB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + }, { + "@kind" : "inputData", + "id" : "_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d", + "javaParameterName" : "numC", + "javaTypeName" : "java.lang.Number", + "name" : "numC", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + }, { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "decisioninputs1.type.TA", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + }, { + "@kind" : "inputData", + "id" : "_4926f78e-5df0-4d88-8ee7-1a418b08562f", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.provider.com/definitions/decision-inputs-2" + } + }, { + "@kind" : "decision", + "id" : "_ca5e0efd-3fff-4bf8-8939-85fc3b9c20b8", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/decision-inputs-1#_fabdbafc-f28a-466d-ae08-86c5b928dad5" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "dateCompare1", + "javaTypeName" : "decisiontables.DateCompare1", + "knowledgeReferences" : [ ], + "name" : "dateCompare1", + "protoRequestName" : "decisiontables.proto.DateCompare1Request", + "protoResponseName" : "decisiontables.proto.DateCompare1Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.provider.com/definitions/decisions" + } + }, { + "@kind" : "decision", + "id" : "_bf3c3a79-9fa2-491f-8065-a990c70b50de", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/decision-inputs-1#_fabdbafc-f28a-466d-ae08-86c5b928dad5" + }, { + "reference" : "http://www.provider.com/definitions/decision-inputs-2#_4926f78e-5df0-4d88-8ee7-1a418b08562f" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "dateCompare2", + "javaTypeName" : "decisiontables.DateCompare2", + "knowledgeReferences" : [ ], + "name" : "dateCompare2", + "protoRequestName" : "decisiontables.proto.DateCompare2Request", + "protoResponseName" : "decisiontables.proto.DateCompare2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + }, { + "@kind" : "inputData", + "id" : "_4926f78e-5df0-4d88-8ee7-1a418b08562f", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.provider.com/definitions/decision-inputs-2" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.provider.com/definitions/decisions" + } + }, { + "@kind" : "decision", + "id" : "_2683ec7f-fa17-4a1e-9151-8077a10c561f", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/decision-inputs-1#_18b9d486-1ec0-436d-af4b-3e4567e8bca9" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "priceGt10", + "javaTypeName" : "decisiontables.PriceGt10", + "knowledgeReferences" : [ ], + "name" : "priceGt10", + "protoRequestName" : "decisiontables.proto.PriceGt10Request", + "protoResponseName" : "decisiontables.proto.PriceGt10Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "decisioninputs1.type.TA", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.provider.com/definitions/decisions" + } + }, { + "@kind" : "decision", + "id" : "_98e08c9d-66de-4f67-8bd9-cc667be27eb3", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/decision-inputs-1#_3b175722-5f96-49e4-a50d-0bf9588c901c" + }, { + "reference" : "http://www.provider.com/definitions/decision-inputs-1#_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d" + }, { + "reference" : "http://www.provider.com/definitions/decision-inputs-1#_18b9d486-1ec0-436d-af4b-3e4567e8bca9" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "priceInRange", + "javaTypeName" : "decisiontables.PriceInRange", + "knowledgeReferences" : [ ], + "name" : "priceInRange", + "protoRequestName" : "decisiontables.proto.PriceInRangeRequest", + "protoResponseName" : "decisiontables.proto.PriceInRangeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_3b175722-5f96-49e4-a50d-0bf9588c901c", + "javaParameterName" : "numB", + "javaTypeName" : "java.lang.Number", + "name" : "numB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + }, { + "@kind" : "inputData", + "id" : "_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d", + "javaParameterName" : "numC", + "javaTypeName" : "java.lang.Number", + "name" : "numC", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + }, { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "decisioninputs1.type.TA", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.provider.com/definitions/decision-inputs-1" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/decisions" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/composite/1.2/0006-multiple-input-data/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/composite/1.2/0006-multiple-input-data/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..1ce475097 --- /dev/null +++ b/dmn-test-cases/standard/composite/1.2/0006-multiple-input-data/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,143 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_ae5b3c17-1ac3-4e1d-b4f9-2cf861aec6d9", "http://www.trisotech.com/definitions/_2a1d771a-a899-4fef-abd6-fc894332337c", "http://www.trisotech.com/definitions/_9d46ece4-a96c-4cb0-abc0-0ca121ac3768", "http://www.trisotech.com/definitions/_10435dcd-8774-4575-a338-49dd554a0928" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "name" : "Person name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_ae5b3c17-1ac3-4e1d-b4f9-2cf861aec6d9" + } + }, { + "@kind" : "decision", + "id" : "_f7fdaec4-d669-4797-b3b4-12b860de2eb5", + "informationReferences" : [ { + "reference" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "greetThePerson", + "javaTypeName" : "model_a.GreetThePerson", + "knowledgeReferences" : [ ], + "name" : "Greet the Person", + "protoRequestName" : "model_a.proto.GreetThePersonRequest", + "protoResponseName" : "model_a.proto.GreetThePersonResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "name" : "Person name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_ae5b3c17-1ac3-4e1d-b4f9-2cf861aec6d9" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_ae5b3c17-1ac3-4e1d-b4f9-2cf861aec6d9" + } + }, { + "@kind" : "decision", + "id" : "_96df766e-23e1-4aa6-9d5d-545fbe2f1e23", + "informationReferences" : [ { + "reference" : "http://www.trisotech.com/definitions/_ae5b3c17-1ac3-4e1d-b4f9-2cf861aec6d9#_f7fdaec4-d669-4797-b3b4-12b860de2eb5" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "evaluatingSayHello", + "javaTypeName" : "model_b.EvaluatingSayHello", + "knowledgeReferences" : [ ], + "name" : "Evaluating Say Hello", + "protoRequestName" : "model_b.proto.EvaluatingSayHelloRequest", + "protoResponseName" : "model_b.proto.EvaluatingSayHelloResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "name" : "Person name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_ae5b3c17-1ac3-4e1d-b4f9-2cf861aec6d9" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_2a1d771a-a899-4fef-abd6-fc894332337c" + } + }, { + "@kind" : "decision", + "id" : "_96df766e-23e1-4aa6-9d5d-545fbe2f1e23", + "informationReferences" : [ { + "reference" : "http://www.trisotech.com/definitions/_ae5b3c17-1ac3-4e1d-b4f9-2cf861aec6d9#_f7fdaec4-d669-4797-b3b4-12b860de2eb5" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "evaluatingB2SayHello", + "javaTypeName" : "model_b2.EvaluatingB2SayHello", + "knowledgeReferences" : [ ], + "name" : "Evaluating B2 Say Hello", + "protoRequestName" : "model_b2.proto.EvaluatingB2SayHelloRequest", + "protoResponseName" : "model_b2.proto.EvaluatingB2SayHelloResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "name" : "Person name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_ae5b3c17-1ac3-4e1d-b4f9-2cf861aec6d9" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_9d46ece4-a96c-4cb0-abc0-0ca121ac3768" + } + }, { + "@kind" : "decision", + "id" : "_fc1bff6c-b1ca-4a10-ba9a-23b8f5e86e6a", + "informationReferences" : [ { + "reference" : "http://www.trisotech.com/definitions/_9d46ece4-a96c-4cb0-abc0-0ca121ac3768#_96df766e-23e1-4aa6-9d5d-545fbe2f1e23" + }, { + "reference" : "http://www.trisotech.com/definitions/_2a1d771a-a899-4fef-abd6-fc894332337c#_96df766e-23e1-4aa6-9d5d-545fbe2f1e23" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "modelCDecisionBasedOnBs", + "javaTypeName" : "nested_input_data_imports.ModelCDecisionBasedOnBs", + "knowledgeReferences" : [ ], + "name" : "Model C Decision based on Bs", + "protoRequestName" : "nested_input_data_imports.proto.ModelCDecisionBasedOnBsRequest", + "protoResponseName" : "nested_input_data_imports.proto.ModelCDecisionBasedOnBsResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "name" : "Person name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_ae5b3c17-1ac3-4e1d-b4f9-2cf861aec6d9" + } + }, { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "personName", + "javaTypeName" : "String", + "name" : "Person name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_ae5b3c17-1ac3-4e1d-b4f9-2cf861aec6d9" + } + } ], + "typeRef" : { + "localName" : "Any", + "namespace" : "http://www.trisotech.com/definitions/_10435dcd-8774-4575-a338-49dd554a0928" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/composite/1.2/0007-name-conflicts-same-decision-singleton/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/composite/1.2/0007-name-conflicts-same-decision-singleton/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..9312451c7 --- /dev/null +++ b/dmn-test-cases/standard/composite/1.2/0007-name-conflicts-same-decision-singleton/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,74 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.provider.com/definitions/model-a", "http://www.provider.com/definitions/model-b", "http://www.provider.com/definitions/model-c" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "a", + "javaTypeName" : "String", + "label" : "A", + "name" : "a", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "a", + "javaTypeName" : "String", + "label" : "A", + "name" : "a", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b" + } + }, { + "@kind" : "decision", + "id" : "_fc1bff6c-b1ca-4a10-ba9a-23b8f5e86e6a", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-a#_4f6c136c-8512-4d71-8bbf-7c9eb6e74063" + }, { + "reference" : "http://www.provider.com/definitions/model-b#_4f6c136c-8512-4d71-8bbf-7c9eb6e74063" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "c", + "javaTypeName" : "model_c.C", + "knowledgeReferences" : [ ], + "label" : "C", + "name" : "c", + "protoRequestName" : "model_c.proto.CRequest", + "protoResponseName" : "model_c.proto.CResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "a", + "javaTypeName" : "String", + "label" : "A", + "name" : "a", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "a", + "javaTypeName" : "String", + "label" : "A", + "name" : "a", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b" + } + } ], + "typeRef" : { + "localName" : "Any", + "namespace" : "http://www.provider.com/definitions/model-c" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/composite/1.2/0008-name-conflicts-same-decision-no-singleton/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/composite/1.2/0008-name-conflicts-same-decision-no-singleton/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..c3dc382cf --- /dev/null +++ b/dmn-test-cases/standard/composite/1.2/0008-name-conflicts-same-decision-no-singleton/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,85 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.provider.com/definitions/model-a", "http://www.provider.com/definitions/model-b", "http://www.provider.com/definitions/model-c" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "a", + "javaTypeName" : "String", + "label" : "A", + "name" : "a", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "a", + "javaTypeName" : "String", + "label" : "A", + "name" : "a", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b" + } + }, { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "a", + "javaTypeName" : "java.lang.Object", + "label" : "A", + "name" : "a", + "typeRef" : { + "localName" : "modelstring", + "namespace" : "http://www.provider.com/definitions/model-c" + } + }, { + "@kind" : "decision", + "id" : "_fc1bff6c-b1ca-4a10-ba9a-23b8f5e86e6a", + "informationReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-a#_4f6c136c-8512-4d71-8bbf-7c9eb6e74063" + }, { + "reference" : "http://www.provider.com/definitions/model-b#_4f6c136c-8512-4d71-8bbf-7c9eb6e74063" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "c", + "javaTypeName" : "model_c.C", + "knowledgeReferences" : [ ], + "label" : "C", + "name" : "c", + "protoRequestName" : "model_c.proto.CRequest", + "protoResponseName" : "model_c.proto.CResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "a", + "javaTypeName" : "String", + "label" : "A", + "name" : "a", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "inputData", + "id" : "_4f6c136c-8512-4d71-8bbf-7c9eb6e74063", + "javaParameterName" : "a", + "javaTypeName" : "String", + "label" : "A", + "name" : "a", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b" + } + } ], + "typeRef" : { + "localName" : "Any", + "namespace" : "http://www.provider.com/definitions/model-c" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/composite/1.2/0009-type-name-conflicts/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/composite/1.2/0009-type-name-conflicts/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..6ebdde19f --- /dev/null +++ b/dmn-test-cases/standard/composite/1.2/0009-type-name-conflicts/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,101 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.provider.com/definitions/model-a", "http://www.provider.com/definitions/model-b", "http://www.provider.com/definitions/model-c" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "id" : "A", + "isCollection" : false, + "name" : "A", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "referenceType", + "id" : "my-string", + "isCollection" : false, + "name" : "MyString", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "referenceType", + "id" : "A", + "isCollection" : false, + "name" : "A", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "input-a-a", + "javaParameterName" : "aa", + "javaTypeName" : "java.lang.Number", + "label" : "AA", + "name" : "aa", + "typeRef" : { + "localName" : "A", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "inputData", + "id" : "input-b-a", + "javaParameterName" : "ba", + "javaTypeName" : "String", + "label" : "BA", + "name" : "ba", + "typeRef" : { + "localName" : "A", + "namespace" : "http://www.provider.com/definitions/model-b" + } + }, { + "@kind" : "decision", + "id" : "decision-c", + "informationReferences" : [ { + "reference" : "input-a-a" + }, { + "reference" : "input-b-a" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "c", + "javaTypeName" : "C", + "knowledgeReferences" : [ ], + "label" : "C", + "name" : "c", + "protoRequestName" : "proto.CRequest", + "protoResponseName" : "proto.CResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "input-a-a", + "javaParameterName" : "aa", + "javaTypeName" : "java.lang.Number", + "label" : "AA", + "name" : "aa", + "typeRef" : { + "localName" : "A", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "inputData", + "id" : "input-b-a", + "javaParameterName" : "ba", + "javaTypeName" : "String", + "label" : "BA", + "name" : "ba", + "typeRef" : { + "localName" : "A", + "namespace" : "http://www.provider.com/definitions/model-b" + } + } ], + "typeRef" : { + "localName" : "MyString", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/composite/1.2/0010-bkm-name-conflicts/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/composite/1.2/0010-bkm-name-conflicts/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..101e38fd6 --- /dev/null +++ b/dmn-test-cases/standard/composite/1.2/0010-bkm-name-conflicts/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,125 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.provider.com/definitions/model-a", "http://www.provider.com/definitions/model-b", "http://www.provider.com/definitions/model-c" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "id" : "A", + "isCollection" : false, + "name" : "A", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "referenceType", + "id" : "my-string", + "isCollection" : false, + "name" : "MyString", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "referenceType", + "id" : "A", + "isCollection" : false, + "name" : "A", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.provider.com/definitions/model-b" + } + } ], + "elements" : [ { + "@kind" : "bkm", + "id" : "bkm-id", + "javaOutputTypeName" : "String", + "javaParameterName" : "bkm", + "javaTypeName" : "model_a.Bkm", + "knowledgeReferences" : [ ], + "name" : "bkm" + }, { + "@kind" : "bkm", + "id" : "bkm-id", + "javaOutputTypeName" : "String", + "javaParameterName" : "bkm", + "javaTypeName" : "model_b.Bkm", + "knowledgeReferences" : [ ], + "name" : "bkm" + }, { + "@kind" : "inputData", + "id" : "input-a-a", + "javaParameterName" : "aa", + "javaTypeName" : "java.lang.Number", + "label" : "AA", + "name" : "aa", + "typeRef" : { + "localName" : "A", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "inputData", + "id" : "input-b-a", + "javaParameterName" : "ba", + "javaTypeName" : "String", + "label" : "BA", + "name" : "ba", + "typeRef" : { + "localName" : "A", + "namespace" : "http://www.provider.com/definitions/model-b" + } + }, { + "@kind" : "decision", + "id" : "decision-c", + "informationReferences" : [ { + "reference" : "input-a-a" + }, { + "reference" : "input-b-a" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "c", + "javaTypeName" : "model_c.C", + "knowledgeReferences" : [ { + "reference" : "http://www.provider.com/definitions/model-a#bkm-id" + }, { + "reference" : "http://www.provider.com/definitions/model-a#bkm-id" + }, { + "reference" : "http://www.provider.com/definitions/model-b#bkm-id" + }, { + "reference" : "http://www.provider.com/definitions/model-b#bkm-id" + } ], + "label" : "C", + "name" : "c", + "protoRequestName" : "model_c.proto.CRequest", + "protoResponseName" : "model_c.proto.CResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "input-a-a", + "javaParameterName" : "aa", + "javaTypeName" : "java.lang.Number", + "label" : "AA", + "name" : "aa", + "typeRef" : { + "localName" : "A", + "namespace" : "http://www.provider.com/definitions/model-a" + } + }, { + "@kind" : "inputData", + "id" : "input-b-a", + "javaParameterName" : "ba", + "javaTypeName" : "String", + "label" : "BA", + "name" : "ba", + "typeRef" : { + "localName" : "A", + "namespace" : "http://www.provider.com/definitions/model-b" + } + } ], + "typeRef" : { + "localName" : "MyString", + "namespace" : "http://www.provider.com/definitions/model-a" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/other/1.2/composite-decision-type-any/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/other/1.2/composite-decision-type-any/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..1f92e15a5 --- /dev/null +++ b/dmn-test-cases/standard/other/1.2/composite-decision-type-any/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,121 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "https://kiegroup.org/dmn/_BD539849-95A1-4D71-BA89-8901271CEB07" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "_A1DA0133-767A-4B7B-AEDB-6D180B561FE2", + "isCollection" : false, + "name" : "Student", + "types" : [ { + "@kind" : "referenceType", + "id" : "_3EE4DB1C-7A07-4EA6-AC54-D85CB1A4D185", + "isCollection" : false, + "name" : "age", + "typeRef" : { + "localName" : "number", + "namespace" : "https://kiegroup.org/dmn/_BD539849-95A1-4D71-BA89-8901271CEB07" + } + }, { + "@kind" : "referenceType", + "id" : "_13DE7BD5-6E9F-4857-86D8-F80171103D1E", + "isCollection" : false, + "name" : "classification", + "typeRef" : { + "localName" : "string", + "namespace" : "https://kiegroup.org/dmn/_BD539849-95A1-4D71-BA89-8901271CEB07" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_B6F9445C-BEFD-4F96-B501-007FDF74C310", + "javaParameterName" : "price", + "javaTypeName" : "java.lang.Number", + "name" : "price", + "typeRef" : { + "localName" : "number", + "namespace" : "https://kiegroup.org/dmn/_BD539849-95A1-4D71-BA89-8901271CEB07" + } + }, { + "@kind" : "inputData", + "id" : "_75441BFF-84B8-4CC0-9983-5BA637381C51", + "javaParameterName" : "student", + "javaTypeName" : "type.Student", + "name" : "student", + "typeRef" : { + "localName" : "Student", + "namespace" : "https://kiegroup.org/dmn/_BD539849-95A1-4D71-BA89-8901271CEB07" + } + }, { + "@kind" : "decision", + "id" : "_EA6BEC4E-BB20-4937-8080-8CAA821D5765", + "informationReferences" : [ { + "reference" : "_75441BFF-84B8-4CC0-9983-5BA637381C51" + } ], + "javaOutputTypeName" : "com.gs.dmn.runtime.Context", + "javaParameterName" : "ageClassification", + "javaTypeName" : "AgeClassification", + "knowledgeReferences" : [ ], + "name" : "ageClassification", + "protoRequestName" : "proto.AgeClassificationRequest", + "protoResponseName" : "proto.AgeClassificationResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_75441BFF-84B8-4CC0-9983-5BA637381C51", + "javaParameterName" : "student", + "javaTypeName" : "type.Student", + "name" : "student", + "typeRef" : { + "localName" : "Student", + "namespace" : "https://kiegroup.org/dmn/_BD539849-95A1-4D71-BA89-8901271CEB07" + } + } ], + "typeRef" : { + "localName" : "Any", + "namespace" : "https://kiegroup.org/dmn/_BD539849-95A1-4D71-BA89-8901271CEB07" + } + }, { + "@kind" : "decision", + "id" : "_04965026-AE07-40DC-B83A-D903F13416CB", + "informationReferences" : [ { + "reference" : "_EA6BEC4E-BB20-4937-8080-8CAA821D5765" + }, { + "reference" : "_B6F9445C-BEFD-4F96-B501-007FDF74C310" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "calculateDiscountedPrice", + "javaTypeName" : "CalculateDiscountedPrice", + "knowledgeReferences" : [ ], + "name" : "calculateDiscountedPrice", + "protoRequestName" : "proto.CalculateDiscountedPriceRequest", + "protoResponseName" : "proto.CalculateDiscountedPriceResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_B6F9445C-BEFD-4F96-B501-007FDF74C310", + "javaParameterName" : "price", + "javaTypeName" : "java.lang.Number", + "name" : "price", + "typeRef" : { + "localName" : "number", + "namespace" : "https://kiegroup.org/dmn/_BD539849-95A1-4D71-BA89-8901271CEB07" + } + }, { + "@kind" : "inputData", + "id" : "_75441BFF-84B8-4CC0-9983-5BA637381C51", + "javaParameterName" : "student", + "javaTypeName" : "type.Student", + "name" : "student", + "typeRef" : { + "localName" : "Student", + "namespace" : "https://kiegroup.org/dmn/_BD539849-95A1-4D71-BA89-8901271CEB07" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "https://kiegroup.org/dmn/_BD539849-95A1-4D71-BA89-8901271CEB07" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/other/1.4/decision-table-with-annotations/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/other/1.4/decision-table-with-annotations/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..833dc4c77 --- /dev/null +++ b/dmn-test-cases/standard/other/1.4/decision-table-with-annotations/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,71 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tA", + "isCollection" : false, + "name" : "tA", + "types" : [ { + "@kind" : "referenceType", + "id" : "_adf6f96a-c574-4ba7-a305-ea14ad9852b1", + "isCollection" : false, + "name" : "name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" + } + }, { + "@kind" : "referenceType", + "id" : "_d297adac-f086-42a0-989e-04c431270f77", + "isCollection" : false, + "name" : "price", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "type.TA", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" + } + }, { + "@kind" : "decision", + "id" : "_2683ec7f-fa17-4a1e-9151-8077a10c561f", + "informationReferences" : [ { + "reference" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "priceGt10", + "javaTypeName" : "PriceGt10", + "knowledgeReferences" : [ ], + "name" : "priceGt10", + "protoRequestName" : "proto.PriceGt10Request", + "protoResponseName" : "proto.PriceGt10Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "type.TA", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/proto/1.1/0004-lending/translator/expected/proto3/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/proto/1.1/0004-lending/translator/expected/proto3/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..319deabbb --- /dev/null +++ b/dmn-test-cases/standard/proto/1.1/0004-lending/translator/expected/proto3/java/dmn/DMNMetadata.json @@ -0,0 +1,779 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"ACCEPT\"", + "isCollection" : false, + "name" : "tAdjudication", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tApplicantData", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"EMPLOYED\",\"SELF-EMPLOYED\",\"STUDENT\",\"UNEMPLOYED\"", + "isCollection" : false, + "name" : "EmploymentStatus", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "ExistingCustomer", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"S\",\"M\"", + "isCollection" : false, + "name" : "MaritalStatus", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "Monthly", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Expenses", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Income", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Repayments", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"FULL\", \"MINI\", \"NONE\"", + "isCollection" : false, + "name" : "tBureauCallType", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tBureauData", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Bankrupt", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "[0..999], null", + "isCollection" : false, + "name" : "CreditScore", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"INELIGIBLE\", \"ELIGIBLE\"", + "isCollection" : false, + "name" : "tEligibility", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tRequestedProduct", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Amount", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"STANDARD LOAN\", \"SPECIAL LOAN\"", + "isCollection" : false, + "name" : "ProductType", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Term", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"HIGH\", \"MEDIUM\", \"LOW\", \"VERY LOW\"", + "isCollection" : false, + "name" : "tRiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"REFER\", \"ACCEPT\"", + "isCollection" : false, + "name" : "tRouting", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"BUREAU\", \"THROUGH\"", + "isCollection" : false, + "name" : "tStrategy", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_SupportingDocuments", + "javaParameterName" : "supportingDocuments", + "javaTypeName" : "String", + "name" : "SupportingDocuments", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "b_AffordabilityCalculation", + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "affordabilityCalculation", + "javaTypeName" : "AffordabilityCalculation", + "knowledgeReferences" : [ { + "reference" : "b_CreditContingencyFactorTable" + }, { + "reference" : "b_CreditContingencyFactorTable" + } ], + "name" : "AffordabilityCalculation" + }, { + "@kind" : "bkm", + "id" : "b_ApplicationRiskScoreModel", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "applicationRiskScoreModel", + "javaTypeName" : "ApplicationRiskScoreModel", + "knowledgeReferences" : [ ], + "name" : "ApplicationRiskScoreModel" + }, { + "@kind" : "bkm", + "id" : "b_BureauCallTypeTable", + "javaOutputTypeName" : "String", + "javaParameterName" : "bureauCallTypeTable", + "javaTypeName" : "BureauCallTypeTable", + "knowledgeReferences" : [ ], + "name" : "BureauCallTypeTable" + }, { + "@kind" : "bkm", + "id" : "b_CreditContingencyFactorTable", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "creditContingencyFactorTable", + "javaTypeName" : "CreditContingencyFactorTable", + "knowledgeReferences" : [ ], + "name" : "CreditContingencyFactorTable" + }, { + "@kind" : "bkm", + "id" : "b_EligibilityRules", + "javaOutputTypeName" : "String", + "javaParameterName" : "eligibilityRules", + "javaTypeName" : "EligibilityRules", + "knowledgeReferences" : [ ], + "name" : "EligibilityRules" + }, { + "@kind" : "bkm", + "id" : "b_InstallmentCalculation", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "installmentCalculation", + "javaTypeName" : "InstallmentCalculation", + "knowledgeReferences" : [ ], + "name" : "InstallmentCalculation" + }, { + "@kind" : "bkm", + "id" : "b_Post-bureauRiskCategoryTable", + "javaOutputTypeName" : "String", + "javaParameterName" : "postBureauRiskCategoryTable", + "javaTypeName" : "PostBureauRiskCategoryTable", + "knowledgeReferences" : [ ], + "name" : "Post-bureauRiskCategoryTable" + }, { + "@kind" : "bkm", + "id" : "b_Pre-bureauRiskCategoryTable", + "javaOutputTypeName" : "String", + "javaParameterName" : "preBureauRiskCategoryTable", + "javaTypeName" : "PreBureauRiskCategoryTable", + "knowledgeReferences" : [ ], + "name" : "Pre-bureauRiskCategoryTable" + }, { + "@kind" : "bkm", + "id" : "b_RoutingRules", + "javaOutputTypeName" : "String", + "javaParameterName" : "routingRules", + "javaTypeName" : "RoutingRules", + "knowledgeReferences" : [ ], + "name" : "RoutingRules" + }, { + "@kind" : "decision", + "id" : "d_Adjudication", + "informationReferences" : [ { + "reference" : "i_BureauData" + }, { + "reference" : "i_SupportingDocuments" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "adjudication", + "javaTypeName" : "Adjudication", + "knowledgeReferences" : [ ], + "name" : "Adjudication", + "protoRequestName" : "proto.AdjudicationRequest", + "protoResponseName" : "proto.AdjudicationResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_SupportingDocuments", + "javaParameterName" : "supportingDocuments", + "javaTypeName" : "String", + "name" : "SupportingDocuments", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tAdjudication", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_ApplicationRiskScore", + "informationReferences" : [ { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "applicationRiskScore", + "javaTypeName" : "ApplicationRiskScore", + "knowledgeReferences" : [ { + "reference" : "b_ApplicationRiskScoreModel" + }, { + "reference" : "b_ApplicationRiskScoreModel" + } ], + "name" : "ApplicationRiskScore", + "protoRequestName" : "proto.ApplicationRiskScoreRequest", + "protoResponseName" : "proto.ApplicationRiskScoreResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_BureauCallType", + "informationReferences" : [ { + "reference" : "d_Pre-bureauRiskCategory" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "bureauCallType", + "javaTypeName" : "BureauCallType", + "knowledgeReferences" : [ { + "reference" : "b_BureauCallTypeTable" + }, { + "reference" : "b_BureauCallTypeTable" + } ], + "name" : "BureauCallType", + "protoRequestName" : "proto.BureauCallTypeRequest", + "protoResponseName" : "proto.BureauCallTypeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tBureauCallType", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Eligibility", + "informationReferences" : [ { + "reference" : "d_Pre-bureauAffordability" + }, { + "reference" : "d_Pre-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "eligibility", + "javaTypeName" : "Eligibility", + "knowledgeReferences" : [ { + "reference" : "b_EligibilityRules" + }, { + "reference" : "b_EligibilityRules" + } ], + "name" : "Eligibility", + "protoRequestName" : "proto.EligibilityRequest", + "protoResponseName" : "proto.EligibilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tEligibility", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Post-bureauAffordability", + "informationReferences" : [ { + "reference" : "d_RequiredMonthlyInstallment" + }, { + "reference" : "d_Post-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "postBureauAffordability", + "javaTypeName" : "PostBureauAffordability", + "knowledgeReferences" : [ { + "reference" : "b_AffordabilityCalculation" + }, { + "reference" : "b_AffordabilityCalculation" + } ], + "name" : "Post-bureauAffordability", + "protoRequestName" : "proto.PostBureauAffordabilityRequest", + "protoResponseName" : "proto.PostBureauAffordabilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Post-bureauRiskCategory", + "informationReferences" : [ { + "reference" : "d_ApplicationRiskScore" + }, { + "reference" : "i_BureauData" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "postBureauRiskCategory", + "javaTypeName" : "PostBureauRiskCategory", + "knowledgeReferences" : [ { + "reference" : "b_Post-bureauRiskCategoryTable" + }, { + "reference" : "b_Post-bureauRiskCategoryTable" + } ], + "name" : "Post-bureauRiskCategory", + "protoRequestName" : "proto.PostBureauRiskCategoryRequest", + "protoResponseName" : "proto.PostBureauRiskCategoryResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRiskCategory", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Pre-bureauAffordability", + "informationReferences" : [ { + "reference" : "d_RequiredMonthlyInstallment" + }, { + "reference" : "d_Pre-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "preBureauAffordability", + "javaTypeName" : "PreBureauAffordability", + "knowledgeReferences" : [ { + "reference" : "b_AffordabilityCalculation" + }, { + "reference" : "b_AffordabilityCalculation" + } ], + "name" : "Pre-bureauAffordability", + "protoRequestName" : "proto.PreBureauAffordabilityRequest", + "protoResponseName" : "proto.PreBureauAffordabilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Pre-bureauRiskCategory", + "informationReferences" : [ { + "reference" : "d_ApplicationRiskScore" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "preBureauRiskCategory", + "javaTypeName" : "PreBureauRiskCategory", + "knowledgeReferences" : [ { + "reference" : "b_Pre-bureauRiskCategoryTable" + }, { + "reference" : "b_Pre-bureauRiskCategoryTable" + } ], + "name" : "Pre-bureauRiskCategory", + "protoRequestName" : "proto.PreBureauRiskCategoryRequest", + "protoResponseName" : "proto.PreBureauRiskCategoryResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRiskCategory", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_RequiredMonthlyInstallment", + "informationReferences" : [ { + "reference" : "i_RequestedProduct" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "requiredMonthlyInstallment", + "javaTypeName" : "RequiredMonthlyInstallment", + "knowledgeReferences" : [ { + "reference" : "b_InstallmentCalculation" + }, { + "reference" : "b_InstallmentCalculation" + } ], + "name" : "RequiredMonthlyInstallment", + "protoRequestName" : "proto.RequiredMonthlyInstallmentRequest", + "protoResponseName" : "proto.RequiredMonthlyInstallmentResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Routing", + "informationReferences" : [ { + "reference" : "d_Post-bureauAffordability" + }, { + "reference" : "d_Post-bureauRiskCategory" + }, { + "reference" : "i_BureauData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "routing", + "javaTypeName" : "Routing", + "knowledgeReferences" : [ { + "reference" : "b_RoutingRules" + }, { + "reference" : "b_RoutingRules" + } ], + "name" : "Routing", + "protoRequestName" : "proto.RoutingRequest", + "protoResponseName" : "proto.RoutingResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRouting", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Strategy", + "informationReferences" : [ { + "reference" : "d_BureauCallType" + }, { + "reference" : "d_Eligibility" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "strategy", + "javaTypeName" : "Strategy", + "knowledgeReferences" : [ ], + "name" : "Strategy", + "protoRequestName" : "proto.StrategyRequest", + "protoResponseName" : "proto.StrategyResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tStrategy", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/proto/1.1/0004-lending/translator/expected/proto3/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/proto/1.1/0004-lending/translator/expected/proto3/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..325aa0340 --- /dev/null +++ b/dmn-test-cases/standard/proto/1.1/0004-lending/translator/expected/proto3/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,779 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"ACCEPT\"", + "isCollection" : false, + "name" : "tAdjudication", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tApplicantData", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"EMPLOYED\",\"SELF-EMPLOYED\",\"STUDENT\",\"UNEMPLOYED\"", + "isCollection" : false, + "name" : "EmploymentStatus", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "ExistingCustomer", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"S\",\"M\"", + "isCollection" : false, + "name" : "MaritalStatus", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "Monthly", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Expenses", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Income", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Repayments", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"FULL\", \"MINI\", \"NONE\"", + "isCollection" : false, + "name" : "tBureauCallType", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tBureauData", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Bankrupt", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "[0..999], null", + "isCollection" : false, + "name" : "CreditScore", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"INELIGIBLE\", \"ELIGIBLE\"", + "isCollection" : false, + "name" : "tEligibility", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tRequestedProduct", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Amount", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"STANDARD LOAN\", \"SPECIAL LOAN\"", + "isCollection" : false, + "name" : "ProductType", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Term", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"HIGH\", \"MEDIUM\", \"LOW\", \"VERY LOW\"", + "isCollection" : false, + "name" : "tRiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"REFER\", \"ACCEPT\"", + "isCollection" : false, + "name" : "tRouting", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"BUREAU\", \"THROUGH\"", + "isCollection" : false, + "name" : "tStrategy", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData?", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_SupportingDocuments", + "javaParameterName" : "supportingDocuments", + "javaTypeName" : "String?", + "name" : "SupportingDocuments", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "b_AffordabilityCalculation", + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "affordabilityCalculation", + "javaTypeName" : "AffordabilityCalculation", + "knowledgeReferences" : [ { + "reference" : "b_CreditContingencyFactorTable" + }, { + "reference" : "b_CreditContingencyFactorTable" + } ], + "name" : "AffordabilityCalculation" + }, { + "@kind" : "bkm", + "id" : "b_ApplicationRiskScoreModel", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "applicationRiskScoreModel", + "javaTypeName" : "ApplicationRiskScoreModel", + "knowledgeReferences" : [ ], + "name" : "ApplicationRiskScoreModel" + }, { + "@kind" : "bkm", + "id" : "b_BureauCallTypeTable", + "javaOutputTypeName" : "String?", + "javaParameterName" : "bureauCallTypeTable", + "javaTypeName" : "BureauCallTypeTable", + "knowledgeReferences" : [ ], + "name" : "BureauCallTypeTable" + }, { + "@kind" : "bkm", + "id" : "b_CreditContingencyFactorTable", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "creditContingencyFactorTable", + "javaTypeName" : "CreditContingencyFactorTable", + "knowledgeReferences" : [ ], + "name" : "CreditContingencyFactorTable" + }, { + "@kind" : "bkm", + "id" : "b_EligibilityRules", + "javaOutputTypeName" : "String?", + "javaParameterName" : "eligibilityRules", + "javaTypeName" : "EligibilityRules", + "knowledgeReferences" : [ ], + "name" : "EligibilityRules" + }, { + "@kind" : "bkm", + "id" : "b_InstallmentCalculation", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "installmentCalculation", + "javaTypeName" : "InstallmentCalculation", + "knowledgeReferences" : [ ], + "name" : "InstallmentCalculation" + }, { + "@kind" : "bkm", + "id" : "b_Post-bureauRiskCategoryTable", + "javaOutputTypeName" : "String?", + "javaParameterName" : "postBureauRiskCategoryTable", + "javaTypeName" : "PostBureauRiskCategoryTable", + "knowledgeReferences" : [ ], + "name" : "Post-bureauRiskCategoryTable" + }, { + "@kind" : "bkm", + "id" : "b_Pre-bureauRiskCategoryTable", + "javaOutputTypeName" : "String?", + "javaParameterName" : "preBureauRiskCategoryTable", + "javaTypeName" : "PreBureauRiskCategoryTable", + "knowledgeReferences" : [ ], + "name" : "Pre-bureauRiskCategoryTable" + }, { + "@kind" : "bkm", + "id" : "b_RoutingRules", + "javaOutputTypeName" : "String?", + "javaParameterName" : "routingRules", + "javaTypeName" : "RoutingRules", + "knowledgeReferences" : [ ], + "name" : "RoutingRules" + }, { + "@kind" : "decision", + "id" : "d_Adjudication", + "informationReferences" : [ { + "reference" : "i_BureauData" + }, { + "reference" : "i_SupportingDocuments" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "adjudication", + "javaTypeName" : "Adjudication", + "knowledgeReferences" : [ ], + "name" : "Adjudication", + "protoRequestName" : "proto.AdjudicationRequest", + "protoResponseName" : "proto.AdjudicationResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData?", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_SupportingDocuments", + "javaParameterName" : "supportingDocuments", + "javaTypeName" : "String?", + "name" : "SupportingDocuments", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tAdjudication", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_ApplicationRiskScore", + "informationReferences" : [ { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "applicationRiskScore", + "javaTypeName" : "ApplicationRiskScore", + "knowledgeReferences" : [ { + "reference" : "b_ApplicationRiskScoreModel" + }, { + "reference" : "b_ApplicationRiskScoreModel" + } ], + "name" : "ApplicationRiskScore", + "protoRequestName" : "proto.ApplicationRiskScoreRequest", + "protoResponseName" : "proto.ApplicationRiskScoreResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_BureauCallType", + "informationReferences" : [ { + "reference" : "d_Pre-bureauRiskCategory" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "bureauCallType", + "javaTypeName" : "BureauCallType", + "knowledgeReferences" : [ { + "reference" : "b_BureauCallTypeTable" + }, { + "reference" : "b_BureauCallTypeTable" + } ], + "name" : "BureauCallType", + "protoRequestName" : "proto.BureauCallTypeRequest", + "protoResponseName" : "proto.BureauCallTypeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tBureauCallType", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Eligibility", + "informationReferences" : [ { + "reference" : "d_Pre-bureauAffordability" + }, { + "reference" : "d_Pre-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "eligibility", + "javaTypeName" : "Eligibility", + "knowledgeReferences" : [ { + "reference" : "b_EligibilityRules" + }, { + "reference" : "b_EligibilityRules" + } ], + "name" : "Eligibility", + "protoRequestName" : "proto.EligibilityRequest", + "protoResponseName" : "proto.EligibilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tEligibility", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Post-bureauAffordability", + "informationReferences" : [ { + "reference" : "d_RequiredMonthlyInstallment" + }, { + "reference" : "d_Post-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "postBureauAffordability", + "javaTypeName" : "PostBureauAffordability", + "knowledgeReferences" : [ { + "reference" : "b_AffordabilityCalculation" + }, { + "reference" : "b_AffordabilityCalculation" + } ], + "name" : "Post-bureauAffordability", + "protoRequestName" : "proto.PostBureauAffordabilityRequest", + "protoResponseName" : "proto.PostBureauAffordabilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData?", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Post-bureauRiskCategory", + "informationReferences" : [ { + "reference" : "d_ApplicationRiskScore" + }, { + "reference" : "i_BureauData" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "postBureauRiskCategory", + "javaTypeName" : "PostBureauRiskCategory", + "knowledgeReferences" : [ { + "reference" : "b_Post-bureauRiskCategoryTable" + }, { + "reference" : "b_Post-bureauRiskCategoryTable" + } ], + "name" : "Post-bureauRiskCategory", + "protoRequestName" : "proto.PostBureauRiskCategoryRequest", + "protoResponseName" : "proto.PostBureauRiskCategoryResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData?", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRiskCategory", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Pre-bureauAffordability", + "informationReferences" : [ { + "reference" : "d_RequiredMonthlyInstallment" + }, { + "reference" : "d_Pre-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "preBureauAffordability", + "javaTypeName" : "PreBureauAffordability", + "knowledgeReferences" : [ { + "reference" : "b_AffordabilityCalculation" + }, { + "reference" : "b_AffordabilityCalculation" + } ], + "name" : "Pre-bureauAffordability", + "protoRequestName" : "proto.PreBureauAffordabilityRequest", + "protoResponseName" : "proto.PreBureauAffordabilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Pre-bureauRiskCategory", + "informationReferences" : [ { + "reference" : "d_ApplicationRiskScore" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "preBureauRiskCategory", + "javaTypeName" : "PreBureauRiskCategory", + "knowledgeReferences" : [ { + "reference" : "b_Pre-bureauRiskCategoryTable" + }, { + "reference" : "b_Pre-bureauRiskCategoryTable" + } ], + "name" : "Pre-bureauRiskCategory", + "protoRequestName" : "proto.PreBureauRiskCategoryRequest", + "protoResponseName" : "proto.PreBureauRiskCategoryResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRiskCategory", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_RequiredMonthlyInstallment", + "informationReferences" : [ { + "reference" : "i_RequestedProduct" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "requiredMonthlyInstallment", + "javaTypeName" : "RequiredMonthlyInstallment", + "knowledgeReferences" : [ { + "reference" : "b_InstallmentCalculation" + }, { + "reference" : "b_InstallmentCalculation" + } ], + "name" : "RequiredMonthlyInstallment", + "protoRequestName" : "proto.RequiredMonthlyInstallmentRequest", + "protoResponseName" : "proto.RequiredMonthlyInstallmentResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Routing", + "informationReferences" : [ { + "reference" : "d_Post-bureauAffordability" + }, { + "reference" : "d_Post-bureauRiskCategory" + }, { + "reference" : "i_BureauData" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "routing", + "javaTypeName" : "Routing", + "knowledgeReferences" : [ { + "reference" : "b_RoutingRules" + }, { + "reference" : "b_RoutingRules" + } ], + "name" : "Routing", + "protoRequestName" : "proto.RoutingRequest", + "protoResponseName" : "proto.RoutingResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData?", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRouting", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Strategy", + "informationReferences" : [ { + "reference" : "d_BureauCallType" + }, { + "reference" : "d_Eligibility" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "strategy", + "javaTypeName" : "Strategy", + "knowledgeReferences" : [ ], + "name" : "Strategy", + "protoRequestName" : "proto.StrategyRequest", + "protoResponseName" : "proto.StrategyResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tStrategy", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/proto/1.1/date-time-proto/translator/expected/proto3/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/proto/1.1/date-time-proto/translator/expected/proto3/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..2a882062f --- /dev/null +++ b/dmn-test-cases/standard/proto/1.1/date-time-proto/translator/expected/proto3/java/dmn/DMNMetadata.json @@ -0,0 +1,206 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.provider.com/spec/DMN/proto-date-time-function" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "CompositeDateTime", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Date", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "DateTime", + "typeRef" : { + "localName" : "dateTime", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "DayTimeDuration", + "typeRef" : { + "localName" : "dayTimeDuration", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Time", + "typeRef" : { + "localName" : "time", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "YearMonthDuration", + "typeRef" : { + "localName" : "yearMonthDuration", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "c-date-time", + "javaParameterName" : "compositeInputDateTime", + "javaTypeName" : "type.CompositeDateTime", + "name" : "CompositeInputDateTime", + "typeRef" : { + "localName" : "CompositeDateTime", + "namespace" : "http://www.provider.com/spec/DMN/proto-date-time-function" + } + }, { + "@kind" : "inputData", + "id" : "i-date", + "javaParameterName" : "inputDate", + "javaTypeName" : "java.time.LocalDate", + "name" : "InputDate", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i-date-time", + "javaParameterName" : "inputDateTime", + "javaTypeName" : "java.time.temporal.TemporalAccessor", + "name" : "InputDateTime", + "typeRef" : { + "localName" : "dateTime", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i-time", + "javaParameterName" : "inputTime", + "javaTypeName" : "java.time.temporal.TemporalAccessor", + "name" : "InputTime", + "typeRef" : { + "localName" : "time", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "c-DateTime", + "informationReferences" : [ { + "reference" : "c-date-time" + } ], + "javaOutputTypeName" : "type.CompositeDateTime", + "javaParameterName" : "compositeDateTime", + "javaTypeName" : "CompositeDateTime", + "knowledgeReferences" : [ ], + "name" : "CompositeDateTime", + "protoRequestName" : "proto.CompositeDateTimeRequest", + "protoResponseName" : "proto.CompositeDateTimeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "c-date-time", + "javaParameterName" : "compositeInputDateTime", + "javaTypeName" : "type.CompositeDateTime", + "name" : "CompositeInputDateTime", + "typeRef" : { + "localName" : "CompositeDateTime", + "namespace" : "http://www.provider.com/spec/DMN/proto-date-time-function" + } + } ], + "typeRef" : { + "localName" : "CompositeDateTime", + "namespace" : "http://www.provider.com/spec/DMN/proto-date-time-function" + } + }, { + "@kind" : "decision", + "id" : "d-Date", + "informationReferences" : [ { + "reference" : "i-date" + } ], + "javaOutputTypeName" : "java.time.LocalDate", + "javaParameterName" : "date", + "javaTypeName" : "Date", + "knowledgeReferences" : [ ], + "name" : "Date", + "protoRequestName" : "proto.DateRequest", + "protoResponseName" : "proto.DateResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i-date", + "javaParameterName" : "inputDate", + "javaTypeName" : "java.time.LocalDate", + "name" : "InputDate", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d-DateTime", + "informationReferences" : [ { + "reference" : "i-date-time" + } ], + "javaOutputTypeName" : "java.time.temporal.TemporalAccessor", + "javaParameterName" : "dateTime", + "javaTypeName" : "DateTime", + "knowledgeReferences" : [ ], + "name" : "DateTime", + "protoRequestName" : "proto.DateTimeRequest", + "protoResponseName" : "proto.DateTimeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i-date-time", + "javaParameterName" : "inputDateTime", + "javaTypeName" : "java.time.temporal.TemporalAccessor", + "name" : "InputDateTime", + "typeRef" : { + "localName" : "dateTime", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "dateTime", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d-Time", + "informationReferences" : [ { + "reference" : "i-time" + } ], + "javaOutputTypeName" : "java.time.temporal.TemporalAccessor", + "javaParameterName" : "time", + "javaTypeName" : "Time", + "knowledgeReferences" : [ ], + "name" : "Time", + "protoRequestName" : "proto.TimeRequest", + "protoResponseName" : "proto.TimeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i-time", + "javaParameterName" : "inputTime", + "javaTypeName" : "java.time.temporal.TemporalAccessor", + "name" : "InputTime", + "typeRef" : { + "localName" : "time", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "time", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/proto/1.1/date-time-proto/translator/expected/proto3/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/proto/1.1/date-time-proto/translator/expected/proto3/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..6519ddac3 --- /dev/null +++ b/dmn-test-cases/standard/proto/1.1/date-time-proto/translator/expected/proto3/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,206 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.provider.com/spec/DMN/proto-date-time-function" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "CompositeDateTime", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Date", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "DateTime", + "typeRef" : { + "localName" : "dateTime", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "DayTimeDuration", + "typeRef" : { + "localName" : "dayTimeDuration", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Time", + "typeRef" : { + "localName" : "time", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "YearMonthDuration", + "typeRef" : { + "localName" : "yearMonthDuration", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "c-date-time", + "javaParameterName" : "compositeInputDateTime", + "javaTypeName" : "type.CompositeDateTime?", + "name" : "CompositeInputDateTime", + "typeRef" : { + "localName" : "CompositeDateTime", + "namespace" : "http://www.provider.com/spec/DMN/proto-date-time-function" + } + }, { + "@kind" : "inputData", + "id" : "i-date", + "javaParameterName" : "inputDate", + "javaTypeName" : "java.time.LocalDate?", + "name" : "InputDate", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i-date-time", + "javaParameterName" : "inputDateTime", + "javaTypeName" : "java.time.temporal.TemporalAccessor?", + "name" : "InputDateTime", + "typeRef" : { + "localName" : "dateTime", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i-time", + "javaParameterName" : "inputTime", + "javaTypeName" : "java.time.temporal.TemporalAccessor?", + "name" : "InputTime", + "typeRef" : { + "localName" : "time", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "c-DateTime", + "informationReferences" : [ { + "reference" : "c-date-time" + } ], + "javaOutputTypeName" : "type.CompositeDateTime?", + "javaParameterName" : "compositeDateTime", + "javaTypeName" : "CompositeDateTime", + "knowledgeReferences" : [ ], + "name" : "CompositeDateTime", + "protoRequestName" : "proto.CompositeDateTimeRequest", + "protoResponseName" : "proto.CompositeDateTimeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "c-date-time", + "javaParameterName" : "compositeInputDateTime", + "javaTypeName" : "type.CompositeDateTime?", + "name" : "CompositeInputDateTime", + "typeRef" : { + "localName" : "CompositeDateTime", + "namespace" : "http://www.provider.com/spec/DMN/proto-date-time-function" + } + } ], + "typeRef" : { + "localName" : "CompositeDateTime", + "namespace" : "http://www.provider.com/spec/DMN/proto-date-time-function" + } + }, { + "@kind" : "decision", + "id" : "d-Date", + "informationReferences" : [ { + "reference" : "i-date" + } ], + "javaOutputTypeName" : "java.time.LocalDate?", + "javaParameterName" : "date", + "javaTypeName" : "Date", + "knowledgeReferences" : [ ], + "name" : "Date", + "protoRequestName" : "proto.DateRequest", + "protoResponseName" : "proto.DateResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i-date", + "javaParameterName" : "inputDate", + "javaTypeName" : "java.time.LocalDate?", + "name" : "InputDate", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d-DateTime", + "informationReferences" : [ { + "reference" : "i-date-time" + } ], + "javaOutputTypeName" : "java.time.temporal.TemporalAccessor?", + "javaParameterName" : "dateTime", + "javaTypeName" : "DateTime", + "knowledgeReferences" : [ ], + "name" : "DateTime", + "protoRequestName" : "proto.DateTimeRequest", + "protoResponseName" : "proto.DateTimeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i-date-time", + "javaParameterName" : "inputDateTime", + "javaTypeName" : "java.time.temporal.TemporalAccessor?", + "name" : "InputDateTime", + "typeRef" : { + "localName" : "dateTime", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "dateTime", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d-Time", + "informationReferences" : [ { + "reference" : "i-time" + } ], + "javaOutputTypeName" : "java.time.temporal.TemporalAccessor?", + "javaParameterName" : "time", + "javaTypeName" : "Time", + "knowledgeReferences" : [ ], + "name" : "Time", + "protoRequestName" : "proto.TimeRequest", + "protoResponseName" : "proto.TimeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i-time", + "javaParameterName" : "inputTime", + "javaTypeName" : "java.time.temporal.TemporalAccessor?", + "name" : "InputTime", + "typeRef" : { + "localName" : "time", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "time", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0004-simpletable-U/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0004-simpletable-U/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..d1ddb0080 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0004-simpletable-U/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,91 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_edbd2d8e-a5a8-4660-9bb9-adaa792d900c" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_3b2953a3-745f-4d2e-b55d-75c8c5ae653c", + "informationReferences" : [ { + "reference" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17" + }, { + "reference" : "_41effb45-b3c4-46ac-b1da-122b3e428a98" + }, { + "reference" : "_8ff18665-84e9-49f2-a8df-8981b1844549" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "approvalStatus", + "javaTypeName" : "ApprovalStatus", + "knowledgeReferences" : [ ], + "name" : "Approval Status", + "protoRequestName" : "proto.ApprovalStatusRequest", + "protoResponseName" : "proto.ApprovalStatusResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0004-simpletable-U/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0004-simpletable-U/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..986e12f1f --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0004-simpletable-U/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,91 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_edbd2d8e-a5a8-4660-9bb9-adaa792d900c" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String?", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean?", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_3b2953a3-745f-4d2e-b55d-75c8c5ae653c", + "informationReferences" : [ { + "reference" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17" + }, { + "reference" : "_41effb45-b3c4-46ac-b1da-122b3e428a98" + }, { + "reference" : "_8ff18665-84e9-49f2-a8df-8981b1844549" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "approvalStatus", + "javaTypeName" : "ApprovalStatus", + "knowledgeReferences" : [ ], + "name" : "Approval Status", + "protoRequestName" : "proto.ApprovalStatusRequest", + "protoResponseName" : "proto.ApprovalStatusResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String?", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean?", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0005-simpletable-A/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0005-simpletable-A/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..7e8ab4051 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0005-simpletable-A/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,91 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_6cb03678-38e5-4ee3-826b-d6622c738563" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_3b2953a3-745f-4d2e-b55d-75c8c5ae653c", + "informationReferences" : [ { + "reference" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17" + }, { + "reference" : "_41effb45-b3c4-46ac-b1da-122b3e428a98" + }, { + "reference" : "_8ff18665-84e9-49f2-a8df-8981b1844549" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "approvalStatus", + "javaTypeName" : "ApprovalStatus", + "knowledgeReferences" : [ ], + "name" : "Approval Status", + "protoRequestName" : "proto.ApprovalStatusRequest", + "protoResponseName" : "proto.ApprovalStatusResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0005-simpletable-A/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0005-simpletable-A/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..b3eee5fb7 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0005-simpletable-A/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,91 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_6cb03678-38e5-4ee3-826b-d6622c738563" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String?", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean?", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_3b2953a3-745f-4d2e-b55d-75c8c5ae653c", + "informationReferences" : [ { + "reference" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17" + }, { + "reference" : "_41effb45-b3c4-46ac-b1da-122b3e428a98" + }, { + "reference" : "_8ff18665-84e9-49f2-a8df-8981b1844549" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "approvalStatus", + "javaTypeName" : "ApprovalStatus", + "knowledgeReferences" : [ ], + "name" : "Approval Status", + "protoRequestName" : "proto.ApprovalStatusRequest", + "protoResponseName" : "proto.ApprovalStatusResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String?", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean?", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0006-simpletable-P1/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0006-simpletable-P1/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..127ec3bd9 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0006-simpletable-P1/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,91 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_791b8e95-b7a7-40e7-9dd1-5ff12364f340" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_3b2953a3-745f-4d2e-b55d-75c8c5ae653c", + "informationReferences" : [ { + "reference" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17" + }, { + "reference" : "_41effb45-b3c4-46ac-b1da-122b3e428a98" + }, { + "reference" : "_8ff18665-84e9-49f2-a8df-8981b1844549" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "approvalStatus", + "javaTypeName" : "ApprovalStatus", + "knowledgeReferences" : [ ], + "name" : "Approval Status", + "protoRequestName" : "proto.ApprovalStatusRequest", + "protoResponseName" : "proto.ApprovalStatusResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0006-simpletable-P1/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0006-simpletable-P1/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..d136f6f21 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0006-simpletable-P1/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,91 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_791b8e95-b7a7-40e7-9dd1-5ff12364f340" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String?", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean?", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_3b2953a3-745f-4d2e-b55d-75c8c5ae653c", + "informationReferences" : [ { + "reference" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17" + }, { + "reference" : "_41effb45-b3c4-46ac-b1da-122b3e428a98" + }, { + "reference" : "_8ff18665-84e9-49f2-a8df-8981b1844549" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "approvalStatus", + "javaTypeName" : "ApprovalStatus", + "knowledgeReferences" : [ ], + "name" : "Approval Status", + "protoRequestName" : "proto.ApprovalStatusRequest", + "protoResponseName" : "proto.ApprovalStatusResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String?", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean?", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0007-simpletable-P2/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0007-simpletable-P2/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..d8c155e56 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0007-simpletable-P2/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,91 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_501f6033-f4bc-4823-99aa-edaf29ac2e0b" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_3b2953a3-745f-4d2e-b55d-75c8c5ae653c", + "informationReferences" : [ { + "reference" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17" + }, { + "reference" : "_41effb45-b3c4-46ac-b1da-122b3e428a98" + }, { + "reference" : "_8ff18665-84e9-49f2-a8df-8981b1844549" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "approvalStatus", + "javaTypeName" : "ApprovalStatus", + "knowledgeReferences" : [ ], + "name" : "Approval Status", + "protoRequestName" : "proto.ApprovalStatusRequest", + "protoResponseName" : "proto.ApprovalStatusResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0007-simpletable-P2/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0007-simpletable-P2/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..46ea64411 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0007-simpletable-P2/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,91 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_501f6033-f4bc-4823-99aa-edaf29ac2e0b" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String?", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean?", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_3b2953a3-745f-4d2e-b55d-75c8c5ae653c", + "informationReferences" : [ { + "reference" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17" + }, { + "reference" : "_41effb45-b3c4-46ac-b1da-122b3e428a98" + }, { + "reference" : "_8ff18665-84e9-49f2-a8df-8981b1844549" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "approvalStatus", + "javaTypeName" : "ApprovalStatus", + "knowledgeReferences" : [ ], + "name" : "Approval Status", + "protoRequestName" : "proto.ApprovalStatusRequest", + "protoResponseName" : "proto.ApprovalStatusResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String?", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean?", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0008-LX-arithmetic/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0008-LX-arithmetic/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..b926ed077 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0008-LX-arithmetic/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,80 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_1fedf2c0-0f4a-470c-bc66-a15528e8a49a" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tLoan", + "isCollection" : false, + "name" : "tLoan", + "types" : [ { + "@kind" : "referenceType", + "id" : "_561947e6-180a-416e-aa22-5e8e5d650624", + "isCollection" : false, + "name" : "principal", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_c1751fa0-4da6-4cb5-a234-45765d6b35ac", + "isCollection" : false, + "name" : "rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_006e0a06-26a6-42e1-9b3c-4b2502a567fe", + "isCollection" : false, + "name" : "termMonths", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_1f4ae444-2e4e-4d26-b1f7-87a645c3f50a", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan", + "name" : "loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_1fedf2c0-0f4a-470c-bc66-a15528e8a49a" + } + }, { + "@kind" : "decision", + "id" : "_ebf02591-49c6-448d-9f76-6358b0e011c3", + "informationReferences" : [ { + "reference" : "_1f4ae444-2e4e-4d26-b1f7-87a645c3f50a" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "payment", + "javaTypeName" : "Payment", + "knowledgeReferences" : [ ], + "name" : "payment", + "protoRequestName" : "proto.PaymentRequest", + "protoResponseName" : "proto.PaymentResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_1f4ae444-2e4e-4d26-b1f7-87a645c3f50a", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan", + "name" : "loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_1fedf2c0-0f4a-470c-bc66-a15528e8a49a" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0008-LX-arithmetic/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0008-LX-arithmetic/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..78acb6ffd --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0008-LX-arithmetic/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,80 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_1fedf2c0-0f4a-470c-bc66-a15528e8a49a" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tLoan", + "isCollection" : false, + "name" : "tLoan", + "types" : [ { + "@kind" : "referenceType", + "id" : "_561947e6-180a-416e-aa22-5e8e5d650624", + "isCollection" : false, + "name" : "principal", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_c1751fa0-4da6-4cb5-a234-45765d6b35ac", + "isCollection" : false, + "name" : "rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_006e0a06-26a6-42e1-9b3c-4b2502a567fe", + "isCollection" : false, + "name" : "termMonths", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_1f4ae444-2e4e-4d26-b1f7-87a645c3f50a", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan?", + "name" : "loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_1fedf2c0-0f4a-470c-bc66-a15528e8a49a" + } + }, { + "@kind" : "decision", + "id" : "_ebf02591-49c6-448d-9f76-6358b0e011c3", + "informationReferences" : [ { + "reference" : "_1f4ae444-2e4e-4d26-b1f7-87a645c3f50a" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "payment", + "javaTypeName" : "Payment", + "knowledgeReferences" : [ ], + "name" : "payment", + "protoRequestName" : "proto.PaymentRequest", + "protoResponseName" : "proto.PaymentResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_1f4ae444-2e4e-4d26-b1f7-87a645c3f50a", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan?", + "name" : "loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_1fedf2c0-0f4a-470c-bc66-a15528e8a49a" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0009-invocation-arithmetic/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0009-invocation-arithmetic/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..25302a77a --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0009-invocation-arithmetic/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,114 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "_f909c1d5-36e4-4f71-8392-fe3b14ddb6f7", + "isCollection" : false, + "name" : "tLoan", + "types" : [ { + "@kind" : "referenceType", + "id" : "_579041dc-2bad-42b4-9650-b2cf39175ecc", + "isCollection" : false, + "name" : "amount", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_353c0e6f-b344-451e-944e-bec76817b29a", + "isCollection" : false, + "name" : "rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_c7b4a252-df93-4407-8bef-9d30d94125b6", + "isCollection" : false, + "name" : "term", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_Loan", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan", + "name" : "Loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" + } + }, { + "@kind" : "inputData", + "id" : "i_fee", + "javaParameterName" : "fee", + "javaTypeName" : "java.lang.Number", + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "b_PMT", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "pMT", + "javaTypeName" : "PMT", + "knowledgeReferences" : [ ], + "name" : "PMT" + }, { + "@kind" : "decision", + "id" : "d_MonthlyPayment", + "informationReferences" : [ { + "reference" : "i_Loan" + }, { + "reference" : "i_fee" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "monthlyPayment", + "javaTypeName" : "MonthlyPayment", + "knowledgeReferences" : [ { + "reference" : "b_PMT" + }, { + "reference" : "b_PMT" + } ], + "name" : "MonthlyPayment", + "protoRequestName" : "proto.MonthlyPaymentRequest", + "protoResponseName" : "proto.MonthlyPaymentResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Loan", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan", + "name" : "Loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" + } + }, { + "@kind" : "inputData", + "id" : "i_fee", + "javaParameterName" : "fee", + "javaTypeName" : "java.lang.Number", + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0009-invocation-arithmetic/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0009-invocation-arithmetic/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..973de8be7 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0009-invocation-arithmetic/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,114 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "_f909c1d5-36e4-4f71-8392-fe3b14ddb6f7", + "isCollection" : false, + "name" : "tLoan", + "types" : [ { + "@kind" : "referenceType", + "id" : "_579041dc-2bad-42b4-9650-b2cf39175ecc", + "isCollection" : false, + "name" : "amount", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_353c0e6f-b344-451e-944e-bec76817b29a", + "isCollection" : false, + "name" : "rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_c7b4a252-df93-4407-8bef-9d30d94125b6", + "isCollection" : false, + "name" : "term", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_Loan", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan?", + "name" : "Loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" + } + }, { + "@kind" : "inputData", + "id" : "i_fee", + "javaParameterName" : "fee", + "javaTypeName" : "java.lang.Number?", + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "b_PMT", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "pMT", + "javaTypeName" : "PMT", + "knowledgeReferences" : [ ], + "name" : "PMT" + }, { + "@kind" : "decision", + "id" : "d_MonthlyPayment", + "informationReferences" : [ { + "reference" : "i_Loan" + }, { + "reference" : "i_fee" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "monthlyPayment", + "javaTypeName" : "MonthlyPayment", + "knowledgeReferences" : [ { + "reference" : "b_PMT" + }, { + "reference" : "b_PMT" + } ], + "name" : "MonthlyPayment", + "protoRequestName" : "proto.MonthlyPaymentRequest", + "protoResponseName" : "proto.MonthlyPaymentResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Loan", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan?", + "name" : "Loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" + } + }, { + "@kind" : "inputData", + "id" : "i_fee", + "javaParameterName" : "fee", + "javaTypeName" : "java.lang.Number?", + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0010-multi-output-U/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0010-multi-output-U/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..b3f14b3f9 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0010-multi-output-U/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,115 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_a3ebbd98-af09-42f3-9099-4ae2204a1f54" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tApproval", + "isCollection" : false, + "name" : "tApproval", + "types" : [ { + "@kind" : "referenceType", + "id" : "_858ef6e6-69ca-4b50-a654-10f4b981f43c", + "isCollection" : false, + "name" : "Rate", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_20dfeb44-1c36-43cf-8819-63ce36819e90", + "isCollection" : false, + "name" : "Status", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_3b2953a3-745f-4d2e-b55d-75c8c5ae653c", + "informationReferences" : [ { + "reference" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17" + }, { + "reference" : "_41effb45-b3c4-46ac-b1da-122b3e428a98" + }, { + "reference" : "_8ff18665-84e9-49f2-a8df-8981b1844549" + } ], + "javaOutputTypeName" : "type.TApproval", + "javaParameterName" : "approval", + "javaTypeName" : "Approval", + "knowledgeReferences" : [ ], + "name" : "Approval", + "protoRequestName" : "proto.ApprovalRequest", + "protoResponseName" : "proto.ApprovalResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tApproval", + "namespace" : "http://www.trisotech.com/definitions/_a3ebbd98-af09-42f3-9099-4ae2204a1f54" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl2/0010-multi-output-U/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl2/0010-multi-output-U/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..8edf7a04c --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl2/0010-multi-output-U/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,115 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_a3ebbd98-af09-42f3-9099-4ae2204a1f54" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tApproval", + "isCollection" : false, + "name" : "tApproval", + "types" : [ { + "@kind" : "referenceType", + "id" : "_858ef6e6-69ca-4b50-a654-10f4b981f43c", + "isCollection" : false, + "name" : "Rate", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_20dfeb44-1c36-43cf-8819-63ce36819e90", + "isCollection" : false, + "name" : "Status", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String?", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean?", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_3b2953a3-745f-4d2e-b55d-75c8c5ae653c", + "informationReferences" : [ { + "reference" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17" + }, { + "reference" : "_41effb45-b3c4-46ac-b1da-122b3e428a98" + }, { + "reference" : "_8ff18665-84e9-49f2-a8df-8981b1844549" + } ], + "javaOutputTypeName" : "type.TApproval?", + "javaParameterName" : "approval", + "javaTypeName" : "Approval", + "knowledgeReferences" : [ ], + "name" : "Approval", + "protoRequestName" : "proto.ApprovalRequest", + "protoResponseName" : "proto.ApprovalResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_41effb45-b3c4-46ac-b1da-122b3e428a98", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5a4bdb64-f0ef-4978-9e03-6f1ae64a1f17", + "javaParameterName" : "riskCategory", + "javaTypeName" : "String?", + "name" : "RiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_8ff18665-84e9-49f2-a8df-8981b1844549", + "javaParameterName" : "isAffordable", + "javaTypeName" : "Boolean?", + "name" : "isAffordable", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tApproval", + "namespace" : "http://www.trisotech.com/definitions/_a3ebbd98-af09-42f3-9099-4ae2204a1f54" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0004-lending/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0004-lending/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..319deabbb --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0004-lending/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,779 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"ACCEPT\"", + "isCollection" : false, + "name" : "tAdjudication", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tApplicantData", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"EMPLOYED\",\"SELF-EMPLOYED\",\"STUDENT\",\"UNEMPLOYED\"", + "isCollection" : false, + "name" : "EmploymentStatus", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "ExistingCustomer", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"S\",\"M\"", + "isCollection" : false, + "name" : "MaritalStatus", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "Monthly", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Expenses", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Income", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Repayments", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"FULL\", \"MINI\", \"NONE\"", + "isCollection" : false, + "name" : "tBureauCallType", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tBureauData", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Bankrupt", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "[0..999], null", + "isCollection" : false, + "name" : "CreditScore", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"INELIGIBLE\", \"ELIGIBLE\"", + "isCollection" : false, + "name" : "tEligibility", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tRequestedProduct", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Amount", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"STANDARD LOAN\", \"SPECIAL LOAN\"", + "isCollection" : false, + "name" : "ProductType", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Term", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"HIGH\", \"MEDIUM\", \"LOW\", \"VERY LOW\"", + "isCollection" : false, + "name" : "tRiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"REFER\", \"ACCEPT\"", + "isCollection" : false, + "name" : "tRouting", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"BUREAU\", \"THROUGH\"", + "isCollection" : false, + "name" : "tStrategy", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_SupportingDocuments", + "javaParameterName" : "supportingDocuments", + "javaTypeName" : "String", + "name" : "SupportingDocuments", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "b_AffordabilityCalculation", + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "affordabilityCalculation", + "javaTypeName" : "AffordabilityCalculation", + "knowledgeReferences" : [ { + "reference" : "b_CreditContingencyFactorTable" + }, { + "reference" : "b_CreditContingencyFactorTable" + } ], + "name" : "AffordabilityCalculation" + }, { + "@kind" : "bkm", + "id" : "b_ApplicationRiskScoreModel", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "applicationRiskScoreModel", + "javaTypeName" : "ApplicationRiskScoreModel", + "knowledgeReferences" : [ ], + "name" : "ApplicationRiskScoreModel" + }, { + "@kind" : "bkm", + "id" : "b_BureauCallTypeTable", + "javaOutputTypeName" : "String", + "javaParameterName" : "bureauCallTypeTable", + "javaTypeName" : "BureauCallTypeTable", + "knowledgeReferences" : [ ], + "name" : "BureauCallTypeTable" + }, { + "@kind" : "bkm", + "id" : "b_CreditContingencyFactorTable", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "creditContingencyFactorTable", + "javaTypeName" : "CreditContingencyFactorTable", + "knowledgeReferences" : [ ], + "name" : "CreditContingencyFactorTable" + }, { + "@kind" : "bkm", + "id" : "b_EligibilityRules", + "javaOutputTypeName" : "String", + "javaParameterName" : "eligibilityRules", + "javaTypeName" : "EligibilityRules", + "knowledgeReferences" : [ ], + "name" : "EligibilityRules" + }, { + "@kind" : "bkm", + "id" : "b_InstallmentCalculation", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "installmentCalculation", + "javaTypeName" : "InstallmentCalculation", + "knowledgeReferences" : [ ], + "name" : "InstallmentCalculation" + }, { + "@kind" : "bkm", + "id" : "b_Post-bureauRiskCategoryTable", + "javaOutputTypeName" : "String", + "javaParameterName" : "postBureauRiskCategoryTable", + "javaTypeName" : "PostBureauRiskCategoryTable", + "knowledgeReferences" : [ ], + "name" : "Post-bureauRiskCategoryTable" + }, { + "@kind" : "bkm", + "id" : "b_Pre-bureauRiskCategoryTable", + "javaOutputTypeName" : "String", + "javaParameterName" : "preBureauRiskCategoryTable", + "javaTypeName" : "PreBureauRiskCategoryTable", + "knowledgeReferences" : [ ], + "name" : "Pre-bureauRiskCategoryTable" + }, { + "@kind" : "bkm", + "id" : "b_RoutingRules", + "javaOutputTypeName" : "String", + "javaParameterName" : "routingRules", + "javaTypeName" : "RoutingRules", + "knowledgeReferences" : [ ], + "name" : "RoutingRules" + }, { + "@kind" : "decision", + "id" : "d_Adjudication", + "informationReferences" : [ { + "reference" : "i_BureauData" + }, { + "reference" : "i_SupportingDocuments" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "adjudication", + "javaTypeName" : "Adjudication", + "knowledgeReferences" : [ ], + "name" : "Adjudication", + "protoRequestName" : "proto.AdjudicationRequest", + "protoResponseName" : "proto.AdjudicationResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_SupportingDocuments", + "javaParameterName" : "supportingDocuments", + "javaTypeName" : "String", + "name" : "SupportingDocuments", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tAdjudication", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_ApplicationRiskScore", + "informationReferences" : [ { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "applicationRiskScore", + "javaTypeName" : "ApplicationRiskScore", + "knowledgeReferences" : [ { + "reference" : "b_ApplicationRiskScoreModel" + }, { + "reference" : "b_ApplicationRiskScoreModel" + } ], + "name" : "ApplicationRiskScore", + "protoRequestName" : "proto.ApplicationRiskScoreRequest", + "protoResponseName" : "proto.ApplicationRiskScoreResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_BureauCallType", + "informationReferences" : [ { + "reference" : "d_Pre-bureauRiskCategory" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "bureauCallType", + "javaTypeName" : "BureauCallType", + "knowledgeReferences" : [ { + "reference" : "b_BureauCallTypeTable" + }, { + "reference" : "b_BureauCallTypeTable" + } ], + "name" : "BureauCallType", + "protoRequestName" : "proto.BureauCallTypeRequest", + "protoResponseName" : "proto.BureauCallTypeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tBureauCallType", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Eligibility", + "informationReferences" : [ { + "reference" : "d_Pre-bureauAffordability" + }, { + "reference" : "d_Pre-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "eligibility", + "javaTypeName" : "Eligibility", + "knowledgeReferences" : [ { + "reference" : "b_EligibilityRules" + }, { + "reference" : "b_EligibilityRules" + } ], + "name" : "Eligibility", + "protoRequestName" : "proto.EligibilityRequest", + "protoResponseName" : "proto.EligibilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tEligibility", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Post-bureauAffordability", + "informationReferences" : [ { + "reference" : "d_RequiredMonthlyInstallment" + }, { + "reference" : "d_Post-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "postBureauAffordability", + "javaTypeName" : "PostBureauAffordability", + "knowledgeReferences" : [ { + "reference" : "b_AffordabilityCalculation" + }, { + "reference" : "b_AffordabilityCalculation" + } ], + "name" : "Post-bureauAffordability", + "protoRequestName" : "proto.PostBureauAffordabilityRequest", + "protoResponseName" : "proto.PostBureauAffordabilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Post-bureauRiskCategory", + "informationReferences" : [ { + "reference" : "d_ApplicationRiskScore" + }, { + "reference" : "i_BureauData" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "postBureauRiskCategory", + "javaTypeName" : "PostBureauRiskCategory", + "knowledgeReferences" : [ { + "reference" : "b_Post-bureauRiskCategoryTable" + }, { + "reference" : "b_Post-bureauRiskCategoryTable" + } ], + "name" : "Post-bureauRiskCategory", + "protoRequestName" : "proto.PostBureauRiskCategoryRequest", + "protoResponseName" : "proto.PostBureauRiskCategoryResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRiskCategory", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Pre-bureauAffordability", + "informationReferences" : [ { + "reference" : "d_RequiredMonthlyInstallment" + }, { + "reference" : "d_Pre-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "preBureauAffordability", + "javaTypeName" : "PreBureauAffordability", + "knowledgeReferences" : [ { + "reference" : "b_AffordabilityCalculation" + }, { + "reference" : "b_AffordabilityCalculation" + } ], + "name" : "Pre-bureauAffordability", + "protoRequestName" : "proto.PreBureauAffordabilityRequest", + "protoResponseName" : "proto.PreBureauAffordabilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Pre-bureauRiskCategory", + "informationReferences" : [ { + "reference" : "d_ApplicationRiskScore" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "preBureauRiskCategory", + "javaTypeName" : "PreBureauRiskCategory", + "knowledgeReferences" : [ { + "reference" : "b_Pre-bureauRiskCategoryTable" + }, { + "reference" : "b_Pre-bureauRiskCategoryTable" + } ], + "name" : "Pre-bureauRiskCategory", + "protoRequestName" : "proto.PreBureauRiskCategoryRequest", + "protoResponseName" : "proto.PreBureauRiskCategoryResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRiskCategory", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_RequiredMonthlyInstallment", + "informationReferences" : [ { + "reference" : "i_RequestedProduct" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "requiredMonthlyInstallment", + "javaTypeName" : "RequiredMonthlyInstallment", + "knowledgeReferences" : [ { + "reference" : "b_InstallmentCalculation" + }, { + "reference" : "b_InstallmentCalculation" + } ], + "name" : "RequiredMonthlyInstallment", + "protoRequestName" : "proto.RequiredMonthlyInstallmentRequest", + "protoResponseName" : "proto.RequiredMonthlyInstallmentResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Routing", + "informationReferences" : [ { + "reference" : "d_Post-bureauAffordability" + }, { + "reference" : "d_Post-bureauRiskCategory" + }, { + "reference" : "i_BureauData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "routing", + "javaTypeName" : "Routing", + "knowledgeReferences" : [ { + "reference" : "b_RoutingRules" + }, { + "reference" : "b_RoutingRules" + } ], + "name" : "Routing", + "protoRequestName" : "proto.RoutingRequest", + "protoResponseName" : "proto.RoutingResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRouting", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Strategy", + "informationReferences" : [ { + "reference" : "d_BureauCallType" + }, { + "reference" : "d_Eligibility" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "strategy", + "javaTypeName" : "Strategy", + "knowledgeReferences" : [ ], + "name" : "Strategy", + "protoRequestName" : "proto.StrategyRequest", + "protoResponseName" : "proto.StrategyResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tStrategy", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0004-lending/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0004-lending/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..325aa0340 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0004-lending/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,779 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"ACCEPT\"", + "isCollection" : false, + "name" : "tAdjudication", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tApplicantData", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"EMPLOYED\",\"SELF-EMPLOYED\",\"STUDENT\",\"UNEMPLOYED\"", + "isCollection" : false, + "name" : "EmploymentStatus", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "ExistingCustomer", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"S\",\"M\"", + "isCollection" : false, + "name" : "MaritalStatus", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "Monthly", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Expenses", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Income", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Repayments", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"FULL\", \"MINI\", \"NONE\"", + "isCollection" : false, + "name" : "tBureauCallType", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tBureauData", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Bankrupt", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "[0..999], null", + "isCollection" : false, + "name" : "CreditScore", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"INELIGIBLE\", \"ELIGIBLE\"", + "isCollection" : false, + "name" : "tEligibility", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tRequestedProduct", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Amount", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"STANDARD LOAN\", \"SPECIAL LOAN\"", + "isCollection" : false, + "name" : "ProductType", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Term", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"HIGH\", \"MEDIUM\", \"LOW\", \"VERY LOW\"", + "isCollection" : false, + "name" : "tRiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"REFER\", \"ACCEPT\"", + "isCollection" : false, + "name" : "tRouting", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"BUREAU\", \"THROUGH\"", + "isCollection" : false, + "name" : "tStrategy", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData?", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_SupportingDocuments", + "javaParameterName" : "supportingDocuments", + "javaTypeName" : "String?", + "name" : "SupportingDocuments", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "b_AffordabilityCalculation", + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "affordabilityCalculation", + "javaTypeName" : "AffordabilityCalculation", + "knowledgeReferences" : [ { + "reference" : "b_CreditContingencyFactorTable" + }, { + "reference" : "b_CreditContingencyFactorTable" + } ], + "name" : "AffordabilityCalculation" + }, { + "@kind" : "bkm", + "id" : "b_ApplicationRiskScoreModel", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "applicationRiskScoreModel", + "javaTypeName" : "ApplicationRiskScoreModel", + "knowledgeReferences" : [ ], + "name" : "ApplicationRiskScoreModel" + }, { + "@kind" : "bkm", + "id" : "b_BureauCallTypeTable", + "javaOutputTypeName" : "String?", + "javaParameterName" : "bureauCallTypeTable", + "javaTypeName" : "BureauCallTypeTable", + "knowledgeReferences" : [ ], + "name" : "BureauCallTypeTable" + }, { + "@kind" : "bkm", + "id" : "b_CreditContingencyFactorTable", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "creditContingencyFactorTable", + "javaTypeName" : "CreditContingencyFactorTable", + "knowledgeReferences" : [ ], + "name" : "CreditContingencyFactorTable" + }, { + "@kind" : "bkm", + "id" : "b_EligibilityRules", + "javaOutputTypeName" : "String?", + "javaParameterName" : "eligibilityRules", + "javaTypeName" : "EligibilityRules", + "knowledgeReferences" : [ ], + "name" : "EligibilityRules" + }, { + "@kind" : "bkm", + "id" : "b_InstallmentCalculation", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "installmentCalculation", + "javaTypeName" : "InstallmentCalculation", + "knowledgeReferences" : [ ], + "name" : "InstallmentCalculation" + }, { + "@kind" : "bkm", + "id" : "b_Post-bureauRiskCategoryTable", + "javaOutputTypeName" : "String?", + "javaParameterName" : "postBureauRiskCategoryTable", + "javaTypeName" : "PostBureauRiskCategoryTable", + "knowledgeReferences" : [ ], + "name" : "Post-bureauRiskCategoryTable" + }, { + "@kind" : "bkm", + "id" : "b_Pre-bureauRiskCategoryTable", + "javaOutputTypeName" : "String?", + "javaParameterName" : "preBureauRiskCategoryTable", + "javaTypeName" : "PreBureauRiskCategoryTable", + "knowledgeReferences" : [ ], + "name" : "Pre-bureauRiskCategoryTable" + }, { + "@kind" : "bkm", + "id" : "b_RoutingRules", + "javaOutputTypeName" : "String?", + "javaParameterName" : "routingRules", + "javaTypeName" : "RoutingRules", + "knowledgeReferences" : [ ], + "name" : "RoutingRules" + }, { + "@kind" : "decision", + "id" : "d_Adjudication", + "informationReferences" : [ { + "reference" : "i_BureauData" + }, { + "reference" : "i_SupportingDocuments" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "adjudication", + "javaTypeName" : "Adjudication", + "knowledgeReferences" : [ ], + "name" : "Adjudication", + "protoRequestName" : "proto.AdjudicationRequest", + "protoResponseName" : "proto.AdjudicationResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData?", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_SupportingDocuments", + "javaParameterName" : "supportingDocuments", + "javaTypeName" : "String?", + "name" : "SupportingDocuments", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tAdjudication", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_ApplicationRiskScore", + "informationReferences" : [ { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "applicationRiskScore", + "javaTypeName" : "ApplicationRiskScore", + "knowledgeReferences" : [ { + "reference" : "b_ApplicationRiskScoreModel" + }, { + "reference" : "b_ApplicationRiskScoreModel" + } ], + "name" : "ApplicationRiskScore", + "protoRequestName" : "proto.ApplicationRiskScoreRequest", + "protoResponseName" : "proto.ApplicationRiskScoreResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_BureauCallType", + "informationReferences" : [ { + "reference" : "d_Pre-bureauRiskCategory" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "bureauCallType", + "javaTypeName" : "BureauCallType", + "knowledgeReferences" : [ { + "reference" : "b_BureauCallTypeTable" + }, { + "reference" : "b_BureauCallTypeTable" + } ], + "name" : "BureauCallType", + "protoRequestName" : "proto.BureauCallTypeRequest", + "protoResponseName" : "proto.BureauCallTypeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tBureauCallType", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Eligibility", + "informationReferences" : [ { + "reference" : "d_Pre-bureauAffordability" + }, { + "reference" : "d_Pre-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "eligibility", + "javaTypeName" : "Eligibility", + "knowledgeReferences" : [ { + "reference" : "b_EligibilityRules" + }, { + "reference" : "b_EligibilityRules" + } ], + "name" : "Eligibility", + "protoRequestName" : "proto.EligibilityRequest", + "protoResponseName" : "proto.EligibilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tEligibility", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Post-bureauAffordability", + "informationReferences" : [ { + "reference" : "d_RequiredMonthlyInstallment" + }, { + "reference" : "d_Post-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "postBureauAffordability", + "javaTypeName" : "PostBureauAffordability", + "knowledgeReferences" : [ { + "reference" : "b_AffordabilityCalculation" + }, { + "reference" : "b_AffordabilityCalculation" + } ], + "name" : "Post-bureauAffordability", + "protoRequestName" : "proto.PostBureauAffordabilityRequest", + "protoResponseName" : "proto.PostBureauAffordabilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData?", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Post-bureauRiskCategory", + "informationReferences" : [ { + "reference" : "d_ApplicationRiskScore" + }, { + "reference" : "i_BureauData" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "postBureauRiskCategory", + "javaTypeName" : "PostBureauRiskCategory", + "knowledgeReferences" : [ { + "reference" : "b_Post-bureauRiskCategoryTable" + }, { + "reference" : "b_Post-bureauRiskCategoryTable" + } ], + "name" : "Post-bureauRiskCategory", + "protoRequestName" : "proto.PostBureauRiskCategoryRequest", + "protoResponseName" : "proto.PostBureauRiskCategoryResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData?", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRiskCategory", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Pre-bureauAffordability", + "informationReferences" : [ { + "reference" : "d_RequiredMonthlyInstallment" + }, { + "reference" : "d_Pre-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "preBureauAffordability", + "javaTypeName" : "PreBureauAffordability", + "knowledgeReferences" : [ { + "reference" : "b_AffordabilityCalculation" + }, { + "reference" : "b_AffordabilityCalculation" + } ], + "name" : "Pre-bureauAffordability", + "protoRequestName" : "proto.PreBureauAffordabilityRequest", + "protoResponseName" : "proto.PreBureauAffordabilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Pre-bureauRiskCategory", + "informationReferences" : [ { + "reference" : "d_ApplicationRiskScore" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "preBureauRiskCategory", + "javaTypeName" : "PreBureauRiskCategory", + "knowledgeReferences" : [ { + "reference" : "b_Pre-bureauRiskCategoryTable" + }, { + "reference" : "b_Pre-bureauRiskCategoryTable" + } ], + "name" : "Pre-bureauRiskCategory", + "protoRequestName" : "proto.PreBureauRiskCategoryRequest", + "protoResponseName" : "proto.PreBureauRiskCategoryResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRiskCategory", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_RequiredMonthlyInstallment", + "informationReferences" : [ { + "reference" : "i_RequestedProduct" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "requiredMonthlyInstallment", + "javaTypeName" : "RequiredMonthlyInstallment", + "knowledgeReferences" : [ { + "reference" : "b_InstallmentCalculation" + }, { + "reference" : "b_InstallmentCalculation" + } ], + "name" : "RequiredMonthlyInstallment", + "protoRequestName" : "proto.RequiredMonthlyInstallmentRequest", + "protoResponseName" : "proto.RequiredMonthlyInstallmentResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Routing", + "informationReferences" : [ { + "reference" : "d_Post-bureauAffordability" + }, { + "reference" : "d_Post-bureauRiskCategory" + }, { + "reference" : "i_BureauData" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "routing", + "javaTypeName" : "Routing", + "knowledgeReferences" : [ { + "reference" : "b_RoutingRules" + }, { + "reference" : "b_RoutingRules" + } ], + "name" : "Routing", + "protoRequestName" : "proto.RoutingRequest", + "protoResponseName" : "proto.RoutingResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData?", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRouting", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Strategy", + "informationReferences" : [ { + "reference" : "d_BureauCallType" + }, { + "reference" : "d_Eligibility" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "strategy", + "javaTypeName" : "Strategy", + "knowledgeReferences" : [ ], + "name" : "Strategy", + "protoRequestName" : "proto.StrategyRequest", + "protoResponseName" : "proto.StrategyResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData?", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct?", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tStrategy", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0005-literal-invocation/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0005-literal-invocation/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..25302a77a --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0005-literal-invocation/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,114 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "_f909c1d5-36e4-4f71-8392-fe3b14ddb6f7", + "isCollection" : false, + "name" : "tLoan", + "types" : [ { + "@kind" : "referenceType", + "id" : "_579041dc-2bad-42b4-9650-b2cf39175ecc", + "isCollection" : false, + "name" : "amount", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_353c0e6f-b344-451e-944e-bec76817b29a", + "isCollection" : false, + "name" : "rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_c7b4a252-df93-4407-8bef-9d30d94125b6", + "isCollection" : false, + "name" : "term", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_Loan", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan", + "name" : "Loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" + } + }, { + "@kind" : "inputData", + "id" : "i_fee", + "javaParameterName" : "fee", + "javaTypeName" : "java.lang.Number", + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "b_PMT", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "pMT", + "javaTypeName" : "PMT", + "knowledgeReferences" : [ ], + "name" : "PMT" + }, { + "@kind" : "decision", + "id" : "d_MonthlyPayment", + "informationReferences" : [ { + "reference" : "i_Loan" + }, { + "reference" : "i_fee" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "monthlyPayment", + "javaTypeName" : "MonthlyPayment", + "knowledgeReferences" : [ { + "reference" : "b_PMT" + }, { + "reference" : "b_PMT" + } ], + "name" : "MonthlyPayment", + "protoRequestName" : "proto.MonthlyPaymentRequest", + "protoResponseName" : "proto.MonthlyPaymentResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Loan", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan", + "name" : "Loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" + } + }, { + "@kind" : "inputData", + "id" : "i_fee", + "javaParameterName" : "fee", + "javaTypeName" : "java.lang.Number", + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0005-literal-invocation/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0005-literal-invocation/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..973de8be7 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0005-literal-invocation/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,114 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "_f909c1d5-36e4-4f71-8392-fe3b14ddb6f7", + "isCollection" : false, + "name" : "tLoan", + "types" : [ { + "@kind" : "referenceType", + "id" : "_579041dc-2bad-42b4-9650-b2cf39175ecc", + "isCollection" : false, + "name" : "amount", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_353c0e6f-b344-451e-944e-bec76817b29a", + "isCollection" : false, + "name" : "rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_c7b4a252-df93-4407-8bef-9d30d94125b6", + "isCollection" : false, + "name" : "term", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_Loan", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan?", + "name" : "Loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" + } + }, { + "@kind" : "inputData", + "id" : "i_fee", + "javaParameterName" : "fee", + "javaTypeName" : "java.lang.Number?", + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "b_PMT", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "pMT", + "javaTypeName" : "PMT", + "knowledgeReferences" : [ ], + "name" : "PMT" + }, { + "@kind" : "decision", + "id" : "d_MonthlyPayment", + "informationReferences" : [ { + "reference" : "i_Loan" + }, { + "reference" : "i_fee" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "monthlyPayment", + "javaTypeName" : "MonthlyPayment", + "knowledgeReferences" : [ { + "reference" : "b_PMT" + }, { + "reference" : "b_PMT" + } ], + "name" : "MonthlyPayment", + "protoRequestName" : "proto.MonthlyPaymentRequest", + "protoResponseName" : "proto.MonthlyPaymentResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Loan", + "javaParameterName" : "loan", + "javaTypeName" : "type.TLoan?", + "name" : "Loan", + "typeRef" : { + "localName" : "tLoan", + "namespace" : "http://www.trisotech.com/definitions/_cb28c255-91cd-4c01-ac7b-1a9cb1ecdb11" + } + }, { + "@kind" : "inputData", + "id" : "i_fee", + "javaParameterName" : "fee", + "javaTypeName" : "java.lang.Number?", + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0006-join/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0006-join/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..5c539751f --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0006-join/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,157 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_16bf03c7-8f3d-46d0-a921-6e335ccc7e29" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tDeptTable", + "isCollection" : true, + "name" : "tDeptTable", + "types" : [ { + "@kind" : "referenceType", + "id" : "_ee4e552c-4e8d-4a0c-8451-bae3eb2d4bd9", + "isCollection" : false, + "name" : "manager", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_fd0110de-a09b-4167-a5fe-103308ad6d0b", + "isCollection" : false, + "name" : "name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_f7e37827-f9ab-4fb1-b07e-9e4367242e65", + "isCollection" : false, + "name" : "number", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "compositeType", + "id" : "tEmployeeTable", + "isCollection" : true, + "name" : "tEmployeeTable", + "types" : [ { + "@kind" : "referenceType", + "id" : "_fa7afb54-265e-4244-97bf-4789c48e3629", + "isCollection" : false, + "name" : "deptNum", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_008f96e5-b82b-4105-ab8f-52673390c75f", + "isCollection" : false, + "name" : "id", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_657371a7-e0a9-4f4c-987d-35cd10e2918b", + "isCollection" : false, + "name" : "name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_35b4f57c-e574-4963-a149-83cc0030e809", + "javaParameterName" : "deptTable", + "javaTypeName" : "List", + "name" : "DeptTable", + "typeRef" : { + "localName" : "tDeptTable", + "namespace" : "http://www.trisotech.com/definitions/_16bf03c7-8f3d-46d0-a921-6e335ccc7e29" + } + }, { + "@kind" : "inputData", + "id" : "_7985579c-554c-4d98-aad6-c9dbacff726b", + "javaParameterName" : "employeeTable", + "javaTypeName" : "List", + "name" : "EmployeeTable", + "typeRef" : { + "localName" : "tEmployeeTable", + "namespace" : "http://www.trisotech.com/definitions/_16bf03c7-8f3d-46d0-a921-6e335ccc7e29" + } + }, { + "@kind" : "inputData", + "id" : "_7b08bda2-fcf4-44e8-8022-08d9043e1dee", + "javaParameterName" : "lastName", + "javaTypeName" : "String", + "name" : "LastName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_24c9e583-a87c-462d-ade3-be545e228abd", + "informationReferences" : [ { + "reference" : "_7985579c-554c-4d98-aad6-c9dbacff726b" + }, { + "reference" : "_35b4f57c-e574-4963-a149-83cc0030e809" + }, { + "reference" : "_7b08bda2-fcf4-44e8-8022-08d9043e1dee" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "join", + "javaTypeName" : "Join", + "knowledgeReferences" : [ ], + "name" : "Join", + "protoRequestName" : "proto.JoinRequest", + "protoResponseName" : "proto.JoinResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_35b4f57c-e574-4963-a149-83cc0030e809", + "javaParameterName" : "deptTable", + "javaTypeName" : "List", + "name" : "DeptTable", + "typeRef" : { + "localName" : "tDeptTable", + "namespace" : "http://www.trisotech.com/definitions/_16bf03c7-8f3d-46d0-a921-6e335ccc7e29" + } + }, { + "@kind" : "inputData", + "id" : "_7985579c-554c-4d98-aad6-c9dbacff726b", + "javaParameterName" : "employeeTable", + "javaTypeName" : "List", + "name" : "EmployeeTable", + "typeRef" : { + "localName" : "tEmployeeTable", + "namespace" : "http://www.trisotech.com/definitions/_16bf03c7-8f3d-46d0-a921-6e335ccc7e29" + } + }, { + "@kind" : "inputData", + "id" : "_7b08bda2-fcf4-44e8-8022-08d9043e1dee", + "javaParameterName" : "lastName", + "javaTypeName" : "String", + "name" : "LastName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0006-join/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0006-join/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..f61664955 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0006-join/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,157 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_16bf03c7-8f3d-46d0-a921-6e335ccc7e29" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tDeptTable", + "isCollection" : true, + "name" : "tDeptTable", + "types" : [ { + "@kind" : "referenceType", + "id" : "_ee4e552c-4e8d-4a0c-8451-bae3eb2d4bd9", + "isCollection" : false, + "name" : "manager", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_fd0110de-a09b-4167-a5fe-103308ad6d0b", + "isCollection" : false, + "name" : "name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_f7e37827-f9ab-4fb1-b07e-9e4367242e65", + "isCollection" : false, + "name" : "number", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "compositeType", + "id" : "tEmployeeTable", + "isCollection" : true, + "name" : "tEmployeeTable", + "types" : [ { + "@kind" : "referenceType", + "id" : "_fa7afb54-265e-4244-97bf-4789c48e3629", + "isCollection" : false, + "name" : "deptNum", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_008f96e5-b82b-4105-ab8f-52673390c75f", + "isCollection" : false, + "name" : "id", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_657371a7-e0a9-4f4c-987d-35cd10e2918b", + "isCollection" : false, + "name" : "name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_35b4f57c-e574-4963-a149-83cc0030e809", + "javaParameterName" : "deptTable", + "javaTypeName" : "List?", + "name" : "DeptTable", + "typeRef" : { + "localName" : "tDeptTable", + "namespace" : "http://www.trisotech.com/definitions/_16bf03c7-8f3d-46d0-a921-6e335ccc7e29" + } + }, { + "@kind" : "inputData", + "id" : "_7985579c-554c-4d98-aad6-c9dbacff726b", + "javaParameterName" : "employeeTable", + "javaTypeName" : "List?", + "name" : "EmployeeTable", + "typeRef" : { + "localName" : "tEmployeeTable", + "namespace" : "http://www.trisotech.com/definitions/_16bf03c7-8f3d-46d0-a921-6e335ccc7e29" + } + }, { + "@kind" : "inputData", + "id" : "_7b08bda2-fcf4-44e8-8022-08d9043e1dee", + "javaParameterName" : "lastName", + "javaTypeName" : "String?", + "name" : "LastName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_24c9e583-a87c-462d-ade3-be545e228abd", + "informationReferences" : [ { + "reference" : "_7985579c-554c-4d98-aad6-c9dbacff726b" + }, { + "reference" : "_35b4f57c-e574-4963-a149-83cc0030e809" + }, { + "reference" : "_7b08bda2-fcf4-44e8-8022-08d9043e1dee" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "join", + "javaTypeName" : "Join", + "knowledgeReferences" : [ ], + "name" : "Join", + "protoRequestName" : "proto.JoinRequest", + "protoResponseName" : "proto.JoinResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_35b4f57c-e574-4963-a149-83cc0030e809", + "javaParameterName" : "deptTable", + "javaTypeName" : "List?", + "name" : "DeptTable", + "typeRef" : { + "localName" : "tDeptTable", + "namespace" : "http://www.trisotech.com/definitions/_16bf03c7-8f3d-46d0-a921-6e335ccc7e29" + } + }, { + "@kind" : "inputData", + "id" : "_7985579c-554c-4d98-aad6-c9dbacff726b", + "javaParameterName" : "employeeTable", + "javaTypeName" : "List?", + "name" : "EmployeeTable", + "typeRef" : { + "localName" : "tEmployeeTable", + "namespace" : "http://www.trisotech.com/definitions/_16bf03c7-8f3d-46d0-a921-6e335ccc7e29" + } + }, { + "@kind" : "inputData", + "id" : "_7b08bda2-fcf4-44e8-8022-08d9043e1dee", + "javaParameterName" : "lastName", + "javaTypeName" : "String?", + "name" : "LastName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0013-sort/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0013-sort/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..87436ed46 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0013-sort/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,192 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "id" : "tNumList", + "isCollection" : true, + "name" : "tNumList", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "id" : "tRow", + "isCollection" : false, + "name" : "tRow", + "types" : [ { + "@kind" : "referenceType", + "id" : "_bed80fb2-293a-4db0-b261-e58a1311dfd0", + "isCollection" : false, + "name" : "col1", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_88c1de9d-6c23-4ea2-9bf9-f7cb06d43ebe", + "isCollection" : false, + "name" : "col2", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_a63e8581-e650-47e5-bd6a-b8cb0f5b3fb7", + "isCollection" : false, + "name" : "col3", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_fed04cbf-6aee-43ed-b218-d0fffca51693", + "isCollection" : false, + "name" : "col4", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "id" : "tStringList", + "isCollection" : true, + "name" : "tStringList", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "tTable", + "isCollection" : true, + "name" : "tTable", + "typeRef" : { + "localName" : "tRow", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_d8747cda-26be-46c8-98ee-78f64efbf730", + "javaParameterName" : "listA", + "javaTypeName" : "List", + "name" : "listA", + "typeRef" : { + "localName" : "tNumList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + }, { + "@kind" : "inputData", + "id" : "_7471008b-e8c7-4205-8e17-586ff41e7205", + "javaParameterName" : "stringList", + "javaTypeName" : "List", + "name" : "stringList", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + }, { + "@kind" : "inputData", + "id" : "_f8197899-44af-4ec5-9453-26da073a2be3", + "javaParameterName" : "tableB", + "javaTypeName" : "List", + "name" : "tableB", + "typeRef" : { + "localName" : "tTable", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + }, { + "@kind" : "decision", + "id" : "_c6416c42-328a-410c-a083-859b82771690", + "informationReferences" : [ { + "reference" : "_d8747cda-26be-46c8-98ee-78f64efbf730" + } ], + "javaOutputTypeName" : "List", + "javaParameterName" : "sort1", + "javaTypeName" : "Sort1", + "knowledgeReferences" : [ ], + "name" : "sort1", + "protoRequestName" : "proto.Sort1Request", + "protoResponseName" : "proto.Sort1Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_d8747cda-26be-46c8-98ee-78f64efbf730", + "javaParameterName" : "listA", + "javaTypeName" : "List", + "name" : "listA", + "typeRef" : { + "localName" : "tNumList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + } ], + "typeRef" : { + "localName" : "tNumList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + }, { + "@kind" : "decision", + "id" : "_d8ef1de9-9387-4389-ab83-cbf9dafc419b", + "informationReferences" : [ { + "reference" : "_f8197899-44af-4ec5-9453-26da073a2be3" + } ], + "javaOutputTypeName" : "List", + "javaParameterName" : "sort2", + "javaTypeName" : "Sort2", + "knowledgeReferences" : [ ], + "name" : "sort2", + "protoRequestName" : "proto.Sort2Request", + "protoResponseName" : "proto.Sort2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_f8197899-44af-4ec5-9453-26da073a2be3", + "javaParameterName" : "tableB", + "javaTypeName" : "List", + "name" : "tableB", + "typeRef" : { + "localName" : "tTable", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + } ], + "typeRef" : { + "localName" : "tTable", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + }, { + "@kind" : "decision", + "id" : "_4ff4b8ff-4379-477a-a016-f7d1741d2036", + "informationReferences" : [ { + "reference" : "_7471008b-e8c7-4205-8e17-586ff41e7205" + } ], + "javaOutputTypeName" : "List", + "javaParameterName" : "sort3", + "javaTypeName" : "Sort3", + "knowledgeReferences" : [ ], + "name" : "sort3", + "protoRequestName" : "proto.Sort3Request", + "protoResponseName" : "proto.Sort3Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_7471008b-e8c7-4205-8e17-586ff41e7205", + "javaParameterName" : "stringList", + "javaTypeName" : "List", + "name" : "stringList", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + } ], + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0013-sort/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0013-sort/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..0917bf805 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0013-sort/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,192 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "id" : "tNumList", + "isCollection" : true, + "name" : "tNumList", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "compositeType", + "id" : "tRow", + "isCollection" : false, + "name" : "tRow", + "types" : [ { + "@kind" : "referenceType", + "id" : "_bed80fb2-293a-4db0-b261-e58a1311dfd0", + "isCollection" : false, + "name" : "col1", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_88c1de9d-6c23-4ea2-9bf9-f7cb06d43ebe", + "isCollection" : false, + "name" : "col2", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_a63e8581-e650-47e5-bd6a-b8cb0f5b3fb7", + "isCollection" : false, + "name" : "col3", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_fed04cbf-6aee-43ed-b218-d0fffca51693", + "isCollection" : false, + "name" : "col4", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "id" : "tStringList", + "isCollection" : true, + "name" : "tStringList", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "tTable", + "isCollection" : true, + "name" : "tTable", + "typeRef" : { + "localName" : "tRow", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_d8747cda-26be-46c8-98ee-78f64efbf730", + "javaParameterName" : "listA", + "javaTypeName" : "List?", + "name" : "listA", + "typeRef" : { + "localName" : "tNumList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + }, { + "@kind" : "inputData", + "id" : "_7471008b-e8c7-4205-8e17-586ff41e7205", + "javaParameterName" : "stringList", + "javaTypeName" : "List?", + "name" : "stringList", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + }, { + "@kind" : "inputData", + "id" : "_f8197899-44af-4ec5-9453-26da073a2be3", + "javaParameterName" : "tableB", + "javaTypeName" : "List?", + "name" : "tableB", + "typeRef" : { + "localName" : "tTable", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + }, { + "@kind" : "decision", + "id" : "_c6416c42-328a-410c-a083-859b82771690", + "informationReferences" : [ { + "reference" : "_d8747cda-26be-46c8-98ee-78f64efbf730" + } ], + "javaOutputTypeName" : "List?", + "javaParameterName" : "sort1", + "javaTypeName" : "Sort1", + "knowledgeReferences" : [ ], + "name" : "sort1", + "protoRequestName" : "proto.Sort1Request", + "protoResponseName" : "proto.Sort1Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_d8747cda-26be-46c8-98ee-78f64efbf730", + "javaParameterName" : "listA", + "javaTypeName" : "List?", + "name" : "listA", + "typeRef" : { + "localName" : "tNumList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + } ], + "typeRef" : { + "localName" : "tNumList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + }, { + "@kind" : "decision", + "id" : "_d8ef1de9-9387-4389-ab83-cbf9dafc419b", + "informationReferences" : [ { + "reference" : "_f8197899-44af-4ec5-9453-26da073a2be3" + } ], + "javaOutputTypeName" : "List?", + "javaParameterName" : "sort2", + "javaTypeName" : "Sort2", + "knowledgeReferences" : [ ], + "name" : "sort2", + "protoRequestName" : "proto.Sort2Request", + "protoResponseName" : "proto.Sort2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_f8197899-44af-4ec5-9453-26da073a2be3", + "javaParameterName" : "tableB", + "javaTypeName" : "List?", + "name" : "tableB", + "typeRef" : { + "localName" : "tTable", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + } ], + "typeRef" : { + "localName" : "tTable", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + }, { + "@kind" : "decision", + "id" : "_4ff4b8ff-4379-477a-a016-f7d1741d2036", + "informationReferences" : [ { + "reference" : "_7471008b-e8c7-4205-8e17-586ff41e7205" + } ], + "javaOutputTypeName" : "List?", + "javaParameterName" : "sort3", + "javaTypeName" : "Sort3", + "knowledgeReferences" : [ ], + "name" : "sort3", + "protoRequestName" : "proto.Sort3Request", + "protoResponseName" : "proto.Sort3Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_7471008b-e8c7-4205-8e17-586ff41e7205", + "javaParameterName" : "stringList", + "javaTypeName" : "List?", + "name" : "stringList", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + } ], + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_ac1acfdd-6baa-4f30-9cac-5d23957b4217" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0014-loan-comparison/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0014-loan-comparison/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..2d6b7aa2d --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0014-loan-comparison/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,290 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "isCollection" : false, + "label" : "tLoanProduct", + "name" : "tLoanProduct", + "types" : [ { + "@kind" : "referenceType", + "id" : "_5b870440-9692-4e81-959f-f2347c1768c9", + "isCollection" : false, + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_e4e050fd-9198-4b62-8f99-15cb2a0a2373", + "isCollection" : false, + "name" : "lenderName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_9ca2f88a-3845-4b8d-864f-b86718eaa54d", + "isCollection" : false, + "name" : "points", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_dc34919e-c7d1-4aab-b6d1-4be1174f6fd2", + "isCollection" : false, + "name" : "rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "isCollection" : true, + "label" : "tLoanTable", + "name" : "tLoanTable", + "typeRef" : { + "localName" : "tLoanProduct", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "label" : "tMetric", + "name" : "tMetric", + "types" : [ { + "@kind" : "referenceType", + "id" : "_790093df-4886-405a-8ad6-34de25812bdc", + "isCollection" : false, + "name" : "downPmtAmt", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_3f4568e7-be52-4ce2-8704-be14aa6cd1d5", + "isCollection" : false, + "name" : "equity36moPct", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_2a9fe07c-d72b-4f8b-9995-e1b194dd5aa9", + "isCollection" : false, + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_59994d58-3220-4cc6-8d91-783a008ac472", + "isCollection" : false, + "name" : "lenderName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_333f9092-d8a7-4e75-973d-82f30569e432", + "isCollection" : false, + "name" : "loanAmt", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_8f37cdc9-ff7a-4b8c-8849-c0b6a6cbb960", + "isCollection" : false, + "name" : "paymentAmt", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_be9eaeb3-8d52-4d99-9d0a-325c15fa6b74", + "isCollection" : false, + "name" : "points", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_63d8c69d-2431-43f5-bfa3-a014a6d2363e", + "isCollection" : false, + "name" : "rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "isCollection" : true, + "label" : "tMetrics", + "name" : "tMetrics", + "typeRef" : { + "localName" : "tMetric", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "label" : "tRankedProducts", + "name" : "tRankedProducts", + "types" : [ { + "@kind" : "referenceType", + "id" : "_0ee333d1-03fc-4a77-8798-d0b351a19a36", + "isCollection" : false, + "name" : "metricsTable", + "typeRef" : { + "localName" : "tMetrics", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "referenceType", + "id" : "_d54127c6-8418-45df-89da-2f84bedae37c", + "isCollection" : false, + "name" : "rankByDownPmt", + "typeRef" : { + "localName" : "tMetrics", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "referenceType", + "id" : "_897183a6-2ca8-4437-b21d-8ba90555a9e0", + "isCollection" : false, + "name" : "rankByEquityPct", + "typeRef" : { + "localName" : "tMetrics", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "referenceType", + "id" : "_7f98fed9-552a-4b57-99de-495cb96e8484", + "isCollection" : false, + "name" : "rankByMonthlyPmt", + "typeRef" : { + "localName" : "tMetrics", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "referenceType", + "id" : "_f0790a52-d95d-466a-bc51-5766c046c717", + "isCollection" : false, + "name" : "rankByRate", + "typeRef" : { + "localName" : "tMetrics", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_67c50a4c-3002-4d0a-9acf-4c76cb0364fa", + "javaParameterName" : "requestedAmt", + "javaTypeName" : "java.lang.Number", + "name" : "RequestedAmt", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "_83059f2e-2862-45a9-97a7-71ffaa860586", + "javaOutputTypeName" : "type.TMetric", + "javaParameterName" : "financialMetrics", + "javaTypeName" : "FinancialMetrics", + "knowledgeReferences" : [ { + "reference" : "_8702e1b6-213b-4f75-bf56-99ac3835cde7" + }, { + "reference" : "_8702e1b6-213b-4f75-bf56-99ac3835cde7" + }, { + "reference" : "_daec318a-135b-4d54-9e7f-85af3aa662f7" + }, { + "reference" : "_daec318a-135b-4d54-9e7f-85af3aa662f7" + } ], + "name" : "FinancialMetrics" + }, { + "@kind" : "bkm", + "id" : "_daec318a-135b-4d54-9e7f-85af3aa662f7", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "equity36Mo", + "javaTypeName" : "Equity36Mo", + "knowledgeReferences" : [ ], + "name" : "equity36Mo" + }, { + "@kind" : "bkm", + "id" : "_8702e1b6-213b-4f75-bf56-99ac3835cde7", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "monthlyPayment", + "javaTypeName" : "MonthlyPayment", + "knowledgeReferences" : [ ], + "name" : "monthlyPayment" + }, { + "@kind" : "decision", + "id" : "_c5dd7a17-b588-4daf-8c9b-677e65ce87be", + "informationReferences" : [ ], + "javaOutputTypeName" : "List", + "javaParameterName" : "bankrates", + "javaTypeName" : "Bankrates", + "knowledgeReferences" : [ ], + "name" : "Bankrates", + "protoRequestName" : "proto.BankratesRequest", + "protoResponseName" : "proto.BankratesResponse", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "tLoanTable", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "decision", + "id" : "_715940be-0f5d-4701-8155-fcba85874aa1", + "informationReferences" : [ { + "reference" : "_67c50a4c-3002-4d0a-9acf-4c76cb0364fa" + }, { + "reference" : "_c5dd7a17-b588-4daf-8c9b-677e65ce87be" + } ], + "javaOutputTypeName" : "type.TRankedProducts", + "javaParameterName" : "rankedProducts", + "javaTypeName" : "RankedProducts", + "knowledgeReferences" : [ { + "reference" : "_83059f2e-2862-45a9-97a7-71ffaa860586" + }, { + "reference" : "_83059f2e-2862-45a9-97a7-71ffaa860586" + } ], + "name" : "RankedProducts", + "protoRequestName" : "proto.RankedProductsRequest", + "protoResponseName" : "proto.RankedProductsResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_67c50a4c-3002-4d0a-9acf-4c76cb0364fa", + "javaParameterName" : "requestedAmt", + "javaTypeName" : "java.lang.Number", + "name" : "RequestedAmt", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tRankedProducts", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0014-loan-comparison/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0014-loan-comparison/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..8fdb81d9d --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0014-loan-comparison/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,290 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "isCollection" : false, + "label" : "tLoanProduct", + "name" : "tLoanProduct", + "types" : [ { + "@kind" : "referenceType", + "id" : "_5b870440-9692-4e81-959f-f2347c1768c9", + "isCollection" : false, + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_e4e050fd-9198-4b62-8f99-15cb2a0a2373", + "isCollection" : false, + "name" : "lenderName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_9ca2f88a-3845-4b8d-864f-b86718eaa54d", + "isCollection" : false, + "name" : "points", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_dc34919e-c7d1-4aab-b6d1-4be1174f6fd2", + "isCollection" : false, + "name" : "rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "isCollection" : true, + "label" : "tLoanTable", + "name" : "tLoanTable", + "typeRef" : { + "localName" : "tLoanProduct", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "label" : "tMetric", + "name" : "tMetric", + "types" : [ { + "@kind" : "referenceType", + "id" : "_790093df-4886-405a-8ad6-34de25812bdc", + "isCollection" : false, + "name" : "downPmtAmt", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_3f4568e7-be52-4ce2-8704-be14aa6cd1d5", + "isCollection" : false, + "name" : "equity36moPct", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_2a9fe07c-d72b-4f8b-9995-e1b194dd5aa9", + "isCollection" : false, + "name" : "fee", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_59994d58-3220-4cc6-8d91-783a008ac472", + "isCollection" : false, + "name" : "lenderName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_333f9092-d8a7-4e75-973d-82f30569e432", + "isCollection" : false, + "name" : "loanAmt", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_8f37cdc9-ff7a-4b8c-8849-c0b6a6cbb960", + "isCollection" : false, + "name" : "paymentAmt", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_be9eaeb3-8d52-4d99-9d0a-325c15fa6b74", + "isCollection" : false, + "name" : "points", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_63d8c69d-2431-43f5-bfa3-a014a6d2363e", + "isCollection" : false, + "name" : "rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "isCollection" : true, + "label" : "tMetrics", + "name" : "tMetrics", + "typeRef" : { + "localName" : "tMetric", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "label" : "tRankedProducts", + "name" : "tRankedProducts", + "types" : [ { + "@kind" : "referenceType", + "id" : "_0ee333d1-03fc-4a77-8798-d0b351a19a36", + "isCollection" : false, + "name" : "metricsTable", + "typeRef" : { + "localName" : "tMetrics", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "referenceType", + "id" : "_d54127c6-8418-45df-89da-2f84bedae37c", + "isCollection" : false, + "name" : "rankByDownPmt", + "typeRef" : { + "localName" : "tMetrics", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "referenceType", + "id" : "_897183a6-2ca8-4437-b21d-8ba90555a9e0", + "isCollection" : false, + "name" : "rankByEquityPct", + "typeRef" : { + "localName" : "tMetrics", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "referenceType", + "id" : "_7f98fed9-552a-4b57-99de-495cb96e8484", + "isCollection" : false, + "name" : "rankByMonthlyPmt", + "typeRef" : { + "localName" : "tMetrics", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "referenceType", + "id" : "_f0790a52-d95d-466a-bc51-5766c046c717", + "isCollection" : false, + "name" : "rankByRate", + "typeRef" : { + "localName" : "tMetrics", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_67c50a4c-3002-4d0a-9acf-4c76cb0364fa", + "javaParameterName" : "requestedAmt", + "javaTypeName" : "java.lang.Number?", + "name" : "RequestedAmt", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "_83059f2e-2862-45a9-97a7-71ffaa860586", + "javaOutputTypeName" : "type.TMetric?", + "javaParameterName" : "financialMetrics", + "javaTypeName" : "FinancialMetrics", + "knowledgeReferences" : [ { + "reference" : "_8702e1b6-213b-4f75-bf56-99ac3835cde7" + }, { + "reference" : "_8702e1b6-213b-4f75-bf56-99ac3835cde7" + }, { + "reference" : "_daec318a-135b-4d54-9e7f-85af3aa662f7" + }, { + "reference" : "_daec318a-135b-4d54-9e7f-85af3aa662f7" + } ], + "name" : "FinancialMetrics" + }, { + "@kind" : "bkm", + "id" : "_daec318a-135b-4d54-9e7f-85af3aa662f7", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "equity36Mo", + "javaTypeName" : "Equity36Mo", + "knowledgeReferences" : [ ], + "name" : "equity36Mo" + }, { + "@kind" : "bkm", + "id" : "_8702e1b6-213b-4f75-bf56-99ac3835cde7", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "monthlyPayment", + "javaTypeName" : "MonthlyPayment", + "knowledgeReferences" : [ ], + "name" : "monthlyPayment" + }, { + "@kind" : "decision", + "id" : "_c5dd7a17-b588-4daf-8c9b-677e65ce87be", + "informationReferences" : [ ], + "javaOutputTypeName" : "List?", + "javaParameterName" : "bankrates", + "javaTypeName" : "Bankrates", + "knowledgeReferences" : [ ], + "name" : "Bankrates", + "protoRequestName" : "proto.BankratesRequest", + "protoResponseName" : "proto.BankratesResponse", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "tLoanTable", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + }, { + "@kind" : "decision", + "id" : "_715940be-0f5d-4701-8155-fcba85874aa1", + "informationReferences" : [ { + "reference" : "_67c50a4c-3002-4d0a-9acf-4c76cb0364fa" + }, { + "reference" : "_c5dd7a17-b588-4daf-8c9b-677e65ce87be" + } ], + "javaOutputTypeName" : "type.TRankedProducts?", + "javaParameterName" : "rankedProducts", + "javaTypeName" : "RankedProducts", + "knowledgeReferences" : [ { + "reference" : "_83059f2e-2862-45a9-97a7-71ffaa860586" + }, { + "reference" : "_83059f2e-2862-45a9-97a7-71ffaa860586" + } ], + "name" : "RankedProducts", + "protoRequestName" : "proto.RankedProductsRequest", + "protoResponseName" : "proto.RankedProductsResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_67c50a4c-3002-4d0a-9acf-4c76cb0364fa", + "javaParameterName" : "requestedAmt", + "javaTypeName" : "java.lang.Number?", + "name" : "RequestedAmt", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tRankedProducts", + "namespace" : "http://www.trisotech.com/definitions/_56c7d4a5-e6db-4bba-ac5f-dc082a16f719" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0016-some-every/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0016-some-every/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..bc859cf69 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0016-some-every/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,190 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tItemPrice", + "isCollection" : false, + "name" : "tItemPrice", + "types" : [ { + "@kind" : "referenceType", + "id" : "_de166af3-e625-4572-bc70-cb3c3aa01ca8", + "isCollection" : false, + "name" : "itemName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_d68f500e-3997-409e-8152-d454c34487d8", + "isCollection" : false, + "name" : "price", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "id" : "tPriceTable", + "isCollection" : true, + "name" : "tPriceTable", + "typeRef" : { + "localName" : "tItemPrice", + "namespace" : "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_87bb4ba6-43bb-4fc5-a120-0c15c3901278", + "javaParameterName" : "priceTable2", + "javaTypeName" : "List", + "name" : "priceTable2", + "typeRef" : { + "localName" : "tPriceTable", + "namespace" : "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" + } + }, { + "@kind" : "bkm", + "id" : "_d59cc17d-7f21-4706-8d10-47f7ee297b15", + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "gtTen", + "javaTypeName" : "GtTen", + "knowledgeReferences" : [ ], + "name" : "gtTen" + }, { + "@kind" : "decision", + "id" : "_a747d388-e0c0-41e1-b3ef-2904ba1a5d63", + "informationReferences" : [ { + "reference" : "_a471e76a-64b1-44af-9ede-623f6c15b72e" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "everyGtTen1", + "javaTypeName" : "EveryGtTen1", + "knowledgeReferences" : [ ], + "name" : "everyGtTen1", + "protoRequestName" : "proto.EveryGtTen1Request", + "protoResponseName" : "proto.EveryGtTen1Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_e5194b4c-2191-45c3-a78c-723d04197dc6", + "informationReferences" : [ { + "reference" : "_87bb4ba6-43bb-4fc5-a120-0c15c3901278" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "everyGtTen2", + "javaTypeName" : "EveryGtTen2", + "knowledgeReferences" : [ ], + "name" : "everyGtTen2", + "protoRequestName" : "proto.EveryGtTen2Request", + "protoResponseName" : "proto.EveryGtTen2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_87bb4ba6-43bb-4fc5-a120-0c15c3901278", + "javaParameterName" : "priceTable2", + "javaTypeName" : "List", + "name" : "priceTable2", + "typeRef" : { + "localName" : "tPriceTable", + "namespace" : "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_72422ed3-5088-4ed0-9ab6-dbcfe3a6cf48", + "informationReferences" : [ { + "reference" : "_a471e76a-64b1-44af-9ede-623f6c15b72e" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "everyGtTen3", + "javaTypeName" : "EveryGtTen3", + "knowledgeReferences" : [ { + "reference" : "_d59cc17d-7f21-4706-8d10-47f7ee297b15" + }, { + "reference" : "_d59cc17d-7f21-4706-8d10-47f7ee297b15" + } ], + "name" : "everyGtTen3", + "protoRequestName" : "proto.EveryGtTen3Request", + "protoResponseName" : "proto.EveryGtTen3Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_a471e76a-64b1-44af-9ede-623f6c15b72e", + "informationReferences" : [ ], + "javaOutputTypeName" : "List", + "javaParameterName" : "priceTable1", + "javaTypeName" : "PriceTable1", + "knowledgeReferences" : [ ], + "name" : "priceTable1", + "protoRequestName" : "proto.PriceTable1Request", + "protoResponseName" : "proto.PriceTable1Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "tPriceTable", + "namespace" : "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" + } + }, { + "@kind" : "decision", + "id" : "_655236ba-669a-4a80-a07c-ec051f57a529", + "informationReferences" : [ { + "reference" : "_a471e76a-64b1-44af-9ede-623f6c15b72e" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "someGtTen1", + "javaTypeName" : "SomeGtTen1", + "knowledgeReferences" : [ ], + "name" : "someGtTen1", + "protoRequestName" : "proto.SomeGtTen1Request", + "protoResponseName" : "proto.SomeGtTen1Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_41ed4571-ad86-4c9d-9d3b-7b813ae5cd28", + "informationReferences" : [ { + "reference" : "_87bb4ba6-43bb-4fc5-a120-0c15c3901278" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "someGtTen2", + "javaTypeName" : "SomeGtTen2", + "knowledgeReferences" : [ ], + "name" : "someGtTen2", + "protoRequestName" : "proto.SomeGtTen2Request", + "protoResponseName" : "proto.SomeGtTen2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_87bb4ba6-43bb-4fc5-a120-0c15c3901278", + "javaParameterName" : "priceTable2", + "javaTypeName" : "List", + "name" : "priceTable2", + "typeRef" : { + "localName" : "tPriceTable", + "namespace" : "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0016-some-every/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0016-some-every/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..512850120 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0016-some-every/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,190 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tItemPrice", + "isCollection" : false, + "name" : "tItemPrice", + "types" : [ { + "@kind" : "referenceType", + "id" : "_de166af3-e625-4572-bc70-cb3c3aa01ca8", + "isCollection" : false, + "name" : "itemName", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_d68f500e-3997-409e-8152-d454c34487d8", + "isCollection" : false, + "name" : "price", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "id" : "tPriceTable", + "isCollection" : true, + "name" : "tPriceTable", + "typeRef" : { + "localName" : "tItemPrice", + "namespace" : "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_87bb4ba6-43bb-4fc5-a120-0c15c3901278", + "javaParameterName" : "priceTable2", + "javaTypeName" : "List?", + "name" : "priceTable2", + "typeRef" : { + "localName" : "tPriceTable", + "namespace" : "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" + } + }, { + "@kind" : "bkm", + "id" : "_d59cc17d-7f21-4706-8d10-47f7ee297b15", + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "gtTen", + "javaTypeName" : "GtTen", + "knowledgeReferences" : [ ], + "name" : "gtTen" + }, { + "@kind" : "decision", + "id" : "_a747d388-e0c0-41e1-b3ef-2904ba1a5d63", + "informationReferences" : [ { + "reference" : "_a471e76a-64b1-44af-9ede-623f6c15b72e" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "everyGtTen1", + "javaTypeName" : "EveryGtTen1", + "knowledgeReferences" : [ ], + "name" : "everyGtTen1", + "protoRequestName" : "proto.EveryGtTen1Request", + "protoResponseName" : "proto.EveryGtTen1Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_e5194b4c-2191-45c3-a78c-723d04197dc6", + "informationReferences" : [ { + "reference" : "_87bb4ba6-43bb-4fc5-a120-0c15c3901278" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "everyGtTen2", + "javaTypeName" : "EveryGtTen2", + "knowledgeReferences" : [ ], + "name" : "everyGtTen2", + "protoRequestName" : "proto.EveryGtTen2Request", + "protoResponseName" : "proto.EveryGtTen2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_87bb4ba6-43bb-4fc5-a120-0c15c3901278", + "javaParameterName" : "priceTable2", + "javaTypeName" : "List?", + "name" : "priceTable2", + "typeRef" : { + "localName" : "tPriceTable", + "namespace" : "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_72422ed3-5088-4ed0-9ab6-dbcfe3a6cf48", + "informationReferences" : [ { + "reference" : "_a471e76a-64b1-44af-9ede-623f6c15b72e" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "everyGtTen3", + "javaTypeName" : "EveryGtTen3", + "knowledgeReferences" : [ { + "reference" : "_d59cc17d-7f21-4706-8d10-47f7ee297b15" + }, { + "reference" : "_d59cc17d-7f21-4706-8d10-47f7ee297b15" + } ], + "name" : "everyGtTen3", + "protoRequestName" : "proto.EveryGtTen3Request", + "protoResponseName" : "proto.EveryGtTen3Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_a471e76a-64b1-44af-9ede-623f6c15b72e", + "informationReferences" : [ ], + "javaOutputTypeName" : "List?", + "javaParameterName" : "priceTable1", + "javaTypeName" : "PriceTable1", + "knowledgeReferences" : [ ], + "name" : "priceTable1", + "protoRequestName" : "proto.PriceTable1Request", + "protoResponseName" : "proto.PriceTable1Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "tPriceTable", + "namespace" : "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" + } + }, { + "@kind" : "decision", + "id" : "_655236ba-669a-4a80-a07c-ec051f57a529", + "informationReferences" : [ { + "reference" : "_a471e76a-64b1-44af-9ede-623f6c15b72e" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "someGtTen1", + "javaTypeName" : "SomeGtTen1", + "knowledgeReferences" : [ ], + "name" : "someGtTen1", + "protoRequestName" : "proto.SomeGtTen1Request", + "protoResponseName" : "proto.SomeGtTen1Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_41ed4571-ad86-4c9d-9d3b-7b813ae5cd28", + "informationReferences" : [ { + "reference" : "_87bb4ba6-43bb-4fc5-a120-0c15c3901278" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "someGtTen2", + "javaTypeName" : "SomeGtTen2", + "knowledgeReferences" : [ ], + "name" : "someGtTen2", + "protoRequestName" : "proto.SomeGtTen2Request", + "protoResponseName" : "proto.SomeGtTen2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_87bb4ba6-43bb-4fc5-a120-0c15c3901278", + "javaParameterName" : "priceTable2", + "javaTypeName" : "List?", + "name" : "priceTable2", + "typeRef" : { + "localName" : "tPriceTable", + "namespace" : "http://www.trisotech.com/definitions/_d7643a02-a8fc-4a6f-a8a9-5c2881afea70" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0017-tableTests/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0017-tableTests/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..3e85e4090 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0017-tableTests/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,249 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tA", + "isCollection" : false, + "name" : "tA", + "types" : [ { + "@kind" : "referenceType", + "id" : "_adf6f96a-c574-4ba7-a305-ea14ad9852b1", + "isCollection" : false, + "name" : "name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_d297adac-f086-42a0-989e-04c431270f77", + "isCollection" : false, + "name" : "price", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "id" : "tNumList", + "isCollection" : true, + "name" : "tNumList", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "tStringList", + "isCollection" : true, + "name" : "tStringList", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_4926f78e-5df0-4d88-8ee7-1a418b08562f", + "javaParameterName" : "dateE", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateE", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_3b175722-5f96-49e4-a50d-0bf9588c901c", + "javaParameterName" : "numB", + "javaTypeName" : "java.lang.Number", + "name" : "numB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d", + "javaParameterName" : "numC", + "javaTypeName" : "java.lang.Number", + "name" : "numC", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "type.TA", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" + } + }, { + "@kind" : "decision", + "id" : "_ca5e0efd-3fff-4bf8-8939-85fc3b9c20b8", + "informationReferences" : [ { + "reference" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "dateCompare1", + "javaTypeName" : "DateCompare1", + "knowledgeReferences" : [ ], + "name" : "dateCompare1", + "protoRequestName" : "proto.DateCompare1Request", + "protoResponseName" : "proto.DateCompare1Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_bf3c3a79-9fa2-491f-8065-a990c70b50de", + "informationReferences" : [ { + "reference" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5" + }, { + "reference" : "_4926f78e-5df0-4d88-8ee7-1a418b08562f" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "dateCompare2", + "javaTypeName" : "DateCompare2", + "knowledgeReferences" : [ ], + "name" : "dateCompare2", + "protoRequestName" : "proto.DateCompare2Request", + "protoResponseName" : "proto.DateCompare2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_4926f78e-5df0-4d88-8ee7-1a418b08562f", + "javaParameterName" : "dateE", + "javaTypeName" : "java.time.LocalDate", + "name" : "dateE", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_2683ec7f-fa17-4a1e-9151-8077a10c561f", + "informationReferences" : [ { + "reference" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "priceGt10", + "javaTypeName" : "PriceGt10", + "knowledgeReferences" : [ ], + "name" : "priceGt10", + "protoRequestName" : "proto.PriceGt10Request", + "protoResponseName" : "proto.PriceGt10Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "type.TA", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_98e08c9d-66de-4f67-8bd9-cc667be27eb3", + "informationReferences" : [ { + "reference" : "_3b175722-5f96-49e4-a50d-0bf9588c901c" + }, { + "reference" : "_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d" + }, { + "reference" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "priceInRange", + "javaTypeName" : "PriceInRange", + "knowledgeReferences" : [ ], + "name" : "priceInRange", + "protoRequestName" : "proto.PriceInRangeRequest", + "protoResponseName" : "proto.PriceInRangeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_3b175722-5f96-49e4-a50d-0bf9588c901c", + "javaParameterName" : "numB", + "javaTypeName" : "java.lang.Number", + "name" : "numB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d", + "javaParameterName" : "numC", + "javaTypeName" : "java.lang.Number", + "name" : "numC", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "type.TA", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0017-tableTests/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0017-tableTests/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..1eb37e22c --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0017-tableTests/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,249 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "tA", + "isCollection" : false, + "name" : "tA", + "types" : [ { + "@kind" : "referenceType", + "id" : "_adf6f96a-c574-4ba7-a305-ea14ad9852b1", + "isCollection" : false, + "name" : "name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_d297adac-f086-42a0-989e-04c431270f77", + "isCollection" : false, + "name" : "price", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "referenceType", + "id" : "tNumList", + "isCollection" : true, + "name" : "tNumList", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "tStringList", + "isCollection" : true, + "name" : "tStringList", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate?", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_4926f78e-5df0-4d88-8ee7-1a418b08562f", + "javaParameterName" : "dateE", + "javaTypeName" : "java.time.LocalDate?", + "name" : "dateE", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_3b175722-5f96-49e4-a50d-0bf9588c901c", + "javaParameterName" : "numB", + "javaTypeName" : "java.lang.Number?", + "name" : "numB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d", + "javaParameterName" : "numC", + "javaTypeName" : "java.lang.Number?", + "name" : "numC", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "type.TA?", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" + } + }, { + "@kind" : "decision", + "id" : "_ca5e0efd-3fff-4bf8-8939-85fc3b9c20b8", + "informationReferences" : [ { + "reference" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "dateCompare1", + "javaTypeName" : "DateCompare1", + "knowledgeReferences" : [ ], + "name" : "dateCompare1", + "protoRequestName" : "proto.DateCompare1Request", + "protoResponseName" : "proto.DateCompare1Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate?", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_bf3c3a79-9fa2-491f-8065-a990c70b50de", + "informationReferences" : [ { + "reference" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5" + }, { + "reference" : "_4926f78e-5df0-4d88-8ee7-1a418b08562f" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "dateCompare2", + "javaTypeName" : "DateCompare2", + "knowledgeReferences" : [ ], + "name" : "dateCompare2", + "protoRequestName" : "proto.DateCompare2Request", + "protoResponseName" : "proto.DateCompare2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_fabdbafc-f28a-466d-ae08-86c5b928dad5", + "javaParameterName" : "dateD", + "javaTypeName" : "java.time.LocalDate?", + "name" : "dateD", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_4926f78e-5df0-4d88-8ee7-1a418b08562f", + "javaParameterName" : "dateE", + "javaTypeName" : "java.time.LocalDate?", + "name" : "dateE", + "typeRef" : { + "localName" : "date", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_2683ec7f-fa17-4a1e-9151-8077a10c561f", + "informationReferences" : [ { + "reference" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9" + } ], + "javaOutputTypeName" : "Boolean?", + "javaParameterName" : "priceGt10", + "javaTypeName" : "PriceGt10", + "knowledgeReferences" : [ ], + "name" : "priceGt10", + "protoRequestName" : "proto.PriceGt10Request", + "protoResponseName" : "proto.PriceGt10Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "type.TA?", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_98e08c9d-66de-4f67-8bd9-cc667be27eb3", + "informationReferences" : [ { + "reference" : "_3b175722-5f96-49e4-a50d-0bf9588c901c" + }, { + "reference" : "_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d" + }, { + "reference" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "priceInRange", + "javaTypeName" : "PriceInRange", + "knowledgeReferences" : [ ], + "name" : "priceInRange", + "protoRequestName" : "proto.PriceInRangeRequest", + "protoResponseName" : "proto.PriceInRangeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_3b175722-5f96-49e4-a50d-0bf9588c901c", + "javaParameterName" : "numB", + "javaTypeName" : "java.lang.Number?", + "name" : "numB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_25cdd674-9b3f-47b1-bace-1d4e3ce50d5d", + "javaParameterName" : "numC", + "javaTypeName" : "java.lang.Number?", + "name" : "numC", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_18b9d486-1ec0-436d-af4b-3e4567e8bca9", + "javaParameterName" : "structA", + "javaTypeName" : "type.TA?", + "name" : "structA", + "typeRef" : { + "localName" : "tA", + "namespace" : "http://www.trisotech.com/definitions/_92a0c25f-707e-4fc8-ae2d-2ab51ebe6bb6" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0020-vacation-days/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0020-vacation-days/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..cd3519745 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0020-vacation-days/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,209 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "https://www.drools.org/kie-dmn" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_Age", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i_Years_of_Service", + "javaParameterName" : "yearsOfService", + "javaTypeName" : "java.lang.Number", + "name" : "Years of Service", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Base_Vacation_Days", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "baseVacationDays", + "javaTypeName" : "BaseVacationDays", + "knowledgeReferences" : [ ], + "name" : "Base Vacation Days", + "protoRequestName" : "proto.BaseVacationDaysRequest", + "protoResponseName" : "proto.BaseVacationDaysResponse", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Extra_days_case_1", + "informationReferences" : [ { + "reference" : "i_Age" + }, { + "reference" : "i_Years_of_Service" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "extraDaysCase1", + "javaTypeName" : "ExtraDaysCase1", + "knowledgeReferences" : [ ], + "name" : "Extra days case 1", + "protoRequestName" : "proto.ExtraDaysCase1Request", + "protoResponseName" : "proto.ExtraDaysCase1Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Age", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i_Years_of_Service", + "javaParameterName" : "yearsOfService", + "javaTypeName" : "java.lang.Number", + "name" : "Years of Service", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Extra_days_case_2", + "informationReferences" : [ { + "reference" : "i_Age" + }, { + "reference" : "i_Years_of_Service" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "extraDaysCase2", + "javaTypeName" : "ExtraDaysCase2", + "knowledgeReferences" : [ ], + "name" : "Extra days case 2", + "protoRequestName" : "proto.ExtraDaysCase2Request", + "protoResponseName" : "proto.ExtraDaysCase2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Age", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i_Years_of_Service", + "javaParameterName" : "yearsOfService", + "javaTypeName" : "java.lang.Number", + "name" : "Years of Service", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Extra_days_case_3", + "informationReferences" : [ { + "reference" : "i_Age" + }, { + "reference" : "i_Years_of_Service" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "extraDaysCase3", + "javaTypeName" : "ExtraDaysCase3", + "knowledgeReferences" : [ ], + "name" : "Extra days case 3", + "protoRequestName" : "proto.ExtraDaysCase3Request", + "protoResponseName" : "proto.ExtraDaysCase3Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Age", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i_Years_of_Service", + "javaParameterName" : "yearsOfService", + "javaTypeName" : "java.lang.Number", + "name" : "Years of Service", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Total_Vacation_Days", + "informationReferences" : [ { + "reference" : "d_Base_Vacation_Days" + }, { + "reference" : "d_Extra_days_case_1" + }, { + "reference" : "d_Extra_days_case_2" + }, { + "reference" : "d_Extra_days_case_3" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "totalVacationDays", + "javaTypeName" : "TotalVacationDays", + "knowledgeReferences" : [ ], + "name" : "Total Vacation Days", + "protoRequestName" : "proto.TotalVacationDaysRequest", + "protoResponseName" : "proto.TotalVacationDaysResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Age", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i_Years_of_Service", + "javaParameterName" : "yearsOfService", + "javaTypeName" : "java.lang.Number", + "name" : "Years of Service", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0020-vacation-days/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0020-vacation-days/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..03e24757b --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0020-vacation-days/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,209 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "https://www.drools.org/kie-dmn" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_Age", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i_Years_of_Service", + "javaParameterName" : "yearsOfService", + "javaTypeName" : "java.lang.Number?", + "name" : "Years of Service", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Base_Vacation_Days", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "baseVacationDays", + "javaTypeName" : "BaseVacationDays", + "knowledgeReferences" : [ ], + "name" : "Base Vacation Days", + "protoRequestName" : "proto.BaseVacationDaysRequest", + "protoResponseName" : "proto.BaseVacationDaysResponse", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Extra_days_case_1", + "informationReferences" : [ { + "reference" : "i_Age" + }, { + "reference" : "i_Years_of_Service" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "extraDaysCase1", + "javaTypeName" : "ExtraDaysCase1", + "knowledgeReferences" : [ ], + "name" : "Extra days case 1", + "protoRequestName" : "proto.ExtraDaysCase1Request", + "protoResponseName" : "proto.ExtraDaysCase1Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Age", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i_Years_of_Service", + "javaParameterName" : "yearsOfService", + "javaTypeName" : "java.lang.Number?", + "name" : "Years of Service", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Extra_days_case_2", + "informationReferences" : [ { + "reference" : "i_Age" + }, { + "reference" : "i_Years_of_Service" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "extraDaysCase2", + "javaTypeName" : "ExtraDaysCase2", + "knowledgeReferences" : [ ], + "name" : "Extra days case 2", + "protoRequestName" : "proto.ExtraDaysCase2Request", + "protoResponseName" : "proto.ExtraDaysCase2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Age", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i_Years_of_Service", + "javaParameterName" : "yearsOfService", + "javaTypeName" : "java.lang.Number?", + "name" : "Years of Service", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Extra_days_case_3", + "informationReferences" : [ { + "reference" : "i_Age" + }, { + "reference" : "i_Years_of_Service" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "extraDaysCase3", + "javaTypeName" : "ExtraDaysCase3", + "knowledgeReferences" : [ ], + "name" : "Extra days case 3", + "protoRequestName" : "proto.ExtraDaysCase3Request", + "protoResponseName" : "proto.ExtraDaysCase3Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Age", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i_Years_of_Service", + "javaParameterName" : "yearsOfService", + "javaTypeName" : "java.lang.Number?", + "name" : "Years of Service", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "d_Total_Vacation_Days", + "informationReferences" : [ { + "reference" : "d_Base_Vacation_Days" + }, { + "reference" : "d_Extra_days_case_1" + }, { + "reference" : "d_Extra_days_case_2" + }, { + "reference" : "d_Extra_days_case_3" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "totalVacationDays", + "javaTypeName" : "TotalVacationDays", + "knowledgeReferences" : [ ], + "name" : "Total Vacation Days", + "protoRequestName" : "proto.TotalVacationDaysRequest", + "protoResponseName" : "proto.TotalVacationDaysResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_Age", + "javaParameterName" : "age", + "javaTypeName" : "java.lang.Number?", + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "i_Years_of_Service", + "javaParameterName" : "yearsOfService", + "javaTypeName" : "java.lang.Number?", + "name" : "Years of Service", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0021-singleton-list/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0021-singleton-list/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..9f2d2c599 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0021-singleton-list/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,168 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "id" : "tStringList", + "isCollection" : true, + "name" : "tStringList", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + }, { + "@kind" : "decision", + "id" : "decision1", + "informationReferences" : [ { + "reference" : "_Employees" + } ], + "javaOutputTypeName" : "List", + "javaParameterName" : "decision1", + "javaTypeName" : "Decision1", + "knowledgeReferences" : [ ], + "name" : "decision1", + "protoRequestName" : "proto.Decision1Request", + "protoResponseName" : "proto.Decision1Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + } ], + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + }, { + "@kind" : "decision", + "id" : "decision2", + "informationReferences" : [ { + "reference" : "_Employees" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision2", + "javaTypeName" : "Decision2", + "knowledgeReferences" : [ ], + "name" : "decision2", + "protoRequestName" : "proto.Decision2Request", + "protoResponseName" : "proto.Decision2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "decision3", + "informationReferences" : [ { + "reference" : "_Employees" + } ], + "javaOutputTypeName" : "List", + "javaParameterName" : "decision3", + "javaTypeName" : "Decision3", + "knowledgeReferences" : [ ], + "name" : "decision3", + "protoRequestName" : "proto.Decision3Request", + "protoResponseName" : "proto.Decision3Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + } ], + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + }, { + "@kind" : "decision", + "id" : "decision4", + "informationReferences" : [ { + "reference" : "_Employees" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision4", + "javaTypeName" : "Decision4", + "knowledgeReferences" : [ ], + "name" : "decision4", + "protoRequestName" : "proto.Decision4Request", + "protoResponseName" : "proto.Decision4Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "decision5", + "informationReferences" : [ { + "reference" : "_Employees" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision5", + "javaTypeName" : "Decision5", + "knowledgeReferences" : [ ], + "name" : "decision5", + "protoRequestName" : "proto.Decision5Request", + "protoResponseName" : "proto.Decision5Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0021-singleton-list/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0021-singleton-list/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..2f94991c2 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0021-singleton-list/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,168 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "id" : "tStringList", + "isCollection" : true, + "name" : "tStringList", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List?", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + }, { + "@kind" : "decision", + "id" : "decision1", + "informationReferences" : [ { + "reference" : "_Employees" + } ], + "javaOutputTypeName" : "List?", + "javaParameterName" : "decision1", + "javaTypeName" : "Decision1", + "knowledgeReferences" : [ ], + "name" : "decision1", + "protoRequestName" : "proto.Decision1Request", + "protoResponseName" : "proto.Decision1Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List?", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + } ], + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + }, { + "@kind" : "decision", + "id" : "decision2", + "informationReferences" : [ { + "reference" : "_Employees" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "decision2", + "javaTypeName" : "Decision2", + "knowledgeReferences" : [ ], + "name" : "decision2", + "protoRequestName" : "proto.Decision2Request", + "protoResponseName" : "proto.Decision2Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List?", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "decision3", + "informationReferences" : [ { + "reference" : "_Employees" + } ], + "javaOutputTypeName" : "List?", + "javaParameterName" : "decision3", + "javaTypeName" : "Decision3", + "knowledgeReferences" : [ ], + "name" : "decision3", + "protoRequestName" : "proto.Decision3Request", + "protoResponseName" : "proto.Decision3Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List?", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + } ], + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + }, { + "@kind" : "decision", + "id" : "decision4", + "informationReferences" : [ { + "reference" : "_Employees" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "decision4", + "javaTypeName" : "Decision4", + "knowledgeReferences" : [ ], + "name" : "decision4", + "protoRequestName" : "proto.Decision4Request", + "protoResponseName" : "proto.Decision4Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List?", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "decision5", + "informationReferences" : [ { + "reference" : "_Employees" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "decision5", + "javaTypeName" : "Decision5", + "knowledgeReferences" : [ ], + "name" : "decision5", + "protoRequestName" : "proto.Decision5Request", + "protoResponseName" : "proto.Decision5Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Employees", + "javaParameterName" : "employees", + "javaTypeName" : "List?", + "name" : "Employees", + "typeRef" : { + "localName" : "tStringList", + "namespace" : "http://www.trisotech.com/definitions/_f52ca843-504b-4c3b-a6bc-4d377bffef7a" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0030-user-defined-functions/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0030-user-defined-functions/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..eb5f8b0f0 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0030-user-defined-functions/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,109 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.actico.com/spec/DMN/0.1.0/0030-user-defined-functions" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_Aq8u4IDpEee-MeWXoLgrYg", + "javaParameterName" : "stringInputA", + "javaTypeName" : "String", + "name" : "stringInputA", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_vfL7kIDqEeehqsf_bU54Lw", + "javaParameterName" : "stringInputB", + "javaTypeName" : "String", + "name" : "stringInputB", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_GNiCIIDzEeehqsf_bU54Lw", + "informationReferences" : [ { + "reference" : "_vfL7kIDqEeehqsf_bU54Lw" + }, { + "reference" : "_Aq8u4IDpEee-MeWXoLgrYg" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "namedFunctionInvocation", + "javaTypeName" : "NamedFunctionInvocation", + "knowledgeReferences" : [ ], + "name" : "named function invocation", + "protoRequestName" : "proto.NamedFunctionInvocationRequest", + "protoResponseName" : "proto.NamedFunctionInvocationResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Aq8u4IDpEee-MeWXoLgrYg", + "javaParameterName" : "stringInputA", + "javaTypeName" : "String", + "name" : "stringInputA", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_vfL7kIDqEeehqsf_bU54Lw", + "javaParameterName" : "stringInputB", + "javaTypeName" : "String", + "name" : "stringInputB", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_WdFa8IDoEee-MeWXoLgrYg", + "informationReferences" : [ { + "reference" : "_Aq8u4IDpEee-MeWXoLgrYg" + }, { + "reference" : "_vfL7kIDqEeehqsf_bU54Lw" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "simpleFunctionInvocation", + "javaTypeName" : "SimpleFunctionInvocation", + "knowledgeReferences" : [ ], + "name" : "simple function invocation", + "protoRequestName" : "proto.SimpleFunctionInvocationRequest", + "protoResponseName" : "proto.SimpleFunctionInvocationResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Aq8u4IDpEee-MeWXoLgrYg", + "javaParameterName" : "stringInputA", + "javaTypeName" : "String", + "name" : "stringInputA", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_vfL7kIDqEeehqsf_bU54Lw", + "javaParameterName" : "stringInputB", + "javaTypeName" : "String", + "name" : "stringInputB", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0030-user-defined-functions/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0030-user-defined-functions/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..e2e5b1bb8 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0030-user-defined-functions/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,109 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.actico.com/spec/DMN/0.1.0/0030-user-defined-functions" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_Aq8u4IDpEee-MeWXoLgrYg", + "javaParameterName" : "stringInputA", + "javaTypeName" : "String?", + "name" : "stringInputA", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_vfL7kIDqEeehqsf_bU54Lw", + "javaParameterName" : "stringInputB", + "javaTypeName" : "String?", + "name" : "stringInputB", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_GNiCIIDzEeehqsf_bU54Lw", + "informationReferences" : [ { + "reference" : "_vfL7kIDqEeehqsf_bU54Lw" + }, { + "reference" : "_Aq8u4IDpEee-MeWXoLgrYg" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "namedFunctionInvocation", + "javaTypeName" : "NamedFunctionInvocation", + "knowledgeReferences" : [ ], + "name" : "named function invocation", + "protoRequestName" : "proto.NamedFunctionInvocationRequest", + "protoResponseName" : "proto.NamedFunctionInvocationResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Aq8u4IDpEee-MeWXoLgrYg", + "javaParameterName" : "stringInputA", + "javaTypeName" : "String?", + "name" : "stringInputA", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_vfL7kIDqEeehqsf_bU54Lw", + "javaParameterName" : "stringInputB", + "javaTypeName" : "String?", + "name" : "stringInputB", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "decision", + "id" : "_WdFa8IDoEee-MeWXoLgrYg", + "informationReferences" : [ { + "reference" : "_Aq8u4IDpEee-MeWXoLgrYg" + }, { + "reference" : "_vfL7kIDqEeehqsf_bU54Lw" + } ], + "javaOutputTypeName" : "String?", + "javaParameterName" : "simpleFunctionInvocation", + "javaTypeName" : "SimpleFunctionInvocation", + "knowledgeReferences" : [ ], + "name" : "simple function invocation", + "protoRequestName" : "proto.SimpleFunctionInvocationRequest", + "protoResponseName" : "proto.SimpleFunctionInvocationResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_Aq8u4IDpEee-MeWXoLgrYg", + "javaParameterName" : "stringInputA", + "javaTypeName" : "String?", + "name" : "stringInputA", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_vfL7kIDqEeehqsf_bU54Lw", + "javaParameterName" : "stringInputB", + "javaTypeName" : "String?", + "name" : "stringInputB", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0031-static-user-defined-functions/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0031-static-user-defined-functions/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..d13742443 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0031-static-user-defined-functions/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,317 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.actico.com/spec/DMN/0.1.0/0031-user-defined-functions" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "_1O2mQIJtEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "tFnInvocationComplexParamsResult", + "types" : [ { + "@kind" : "referenceType", + "id" : "_fdbr4IJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "circumference", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_fb73EIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "functionInvocationInParameter", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_fTiwEIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "functionInvocationLiteralExpressionInParameter", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "compositeType", + "id" : "_0BpzUIJtEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "tFnInvocationNamedResult", + "types" : [ { + "@kind" : "referenceType", + "id" : "_XKOfkIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "divisionResultNamed", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_afyGIIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "multiplicationResultNamed", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_Ua9c8IJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "subResult", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_XCUgwIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "subResultMixed", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "compositeType", + "id" : "_xuQ0YIJtEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "tFnInvocationPositionalResult", + "types" : [ { + "@kind" : "referenceType", + "id" : "_IpHmkIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "divisionResultPositional", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_OmarcIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "multiplicationResultPositional", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_GDzKIIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "sumResult", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "compositeType", + "id" : "_fKdL0IDJEee-MeWXoLgrYg", + "isCollection" : false, + "name" : "tFnLibrary", + "types" : [ { + "@kind" : "referenceType", + "id" : "_pOrn0IDfEee-MeWXoLgrYg", + "isCollection" : false, + "name" : "divideFn" + }, { + "@kind" : "referenceType", + "id" : "_l_GGYIDfEee-MeWXoLgrYg", + "isCollection" : false, + "name" : "multiplyFn" + }, { + "@kind" : "referenceType", + "id" : "_pRj-sIDJEee-MeWXoLgrYg", + "isCollection" : false, + "name" : "subFn" + }, { + "@kind" : "referenceType", + "id" : "_gtkkYIDJEee-MeWXoLgrYg", + "isCollection" : false, + "name" : "sumFn" + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_48BAYH6PEeePe9Zmt-encA", + "javaParameterName" : "inputA", + "javaTypeName" : "java.lang.Number", + "name" : "inputA", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5eBhQH6PEeePe9Zmt-encA", + "javaParameterName" : "inputB", + "javaTypeName" : "java.lang.Number", + "name" : "inputB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "_8xmTAIDNEee-MeWXoLgrYg", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "circumference", + "javaTypeName" : "Circumference", + "knowledgeReferences" : [ ], + "name" : "Circumference" + }, { + "@kind" : "decision", + "id" : "_b-gD0IDiEee-MeWXoLgrYg", + "informationReferences" : [ { + "reference" : "_48BAYH6PEeePe9Zmt-encA" + }, { + "reference" : "_5eBhQH6PEeePe9Zmt-encA" + }, { + "reference" : "_q2qzIH6LEeePe9Zmt-encA" + } ], + "javaOutputTypeName" : "type.TFnInvocationComplexParamsResult", + "javaParameterName" : "fnInvocationComplexParameters", + "javaTypeName" : "FnInvocationComplexParameters", + "knowledgeReferences" : [ { + "reference" : "_8xmTAIDNEee-MeWXoLgrYg" + }, { + "reference" : "_8xmTAIDNEee-MeWXoLgrYg" + } ], + "name" : "fn invocation complex parameters", + "protoRequestName" : "proto.FnInvocationComplexParametersRequest", + "protoResponseName" : "proto.FnInvocationComplexParametersResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_48BAYH6PEeePe9Zmt-encA", + "javaParameterName" : "inputA", + "javaTypeName" : "java.lang.Number", + "name" : "inputA", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5eBhQH6PEeePe9Zmt-encA", + "javaParameterName" : "inputB", + "javaTypeName" : "java.lang.Number", + "name" : "inputB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tFnInvocationComplexParamsResult", + "namespace" : "http://www.actico.com/spec/DMN/0.1.0/0031-user-defined-functions" + } + }, { + "@kind" : "decision", + "id" : "_yHl3UIDhEee-MeWXoLgrYg", + "informationReferences" : [ { + "reference" : "_5eBhQH6PEeePe9Zmt-encA" + }, { + "reference" : "_48BAYH6PEeePe9Zmt-encA" + }, { + "reference" : "_q2qzIH6LEeePe9Zmt-encA" + } ], + "javaOutputTypeName" : "type.TFnInvocationNamedResult", + "javaParameterName" : "fnInvocationNamedParameters", + "javaTypeName" : "FnInvocationNamedParameters", + "knowledgeReferences" : [ ], + "name" : "fn invocation named parameters", + "protoRequestName" : "proto.FnInvocationNamedParametersRequest", + "protoResponseName" : "proto.FnInvocationNamedParametersResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_48BAYH6PEeePe9Zmt-encA", + "javaParameterName" : "inputA", + "javaTypeName" : "java.lang.Number", + "name" : "inputA", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5eBhQH6PEeePe9Zmt-encA", + "javaParameterName" : "inputB", + "javaTypeName" : "java.lang.Number", + "name" : "inputB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tFnInvocationNamedResult", + "namespace" : "http://www.actico.com/spec/DMN/0.1.0/0031-user-defined-functions" + } + }, { + "@kind" : "decision", + "id" : "_AfhOEH6QEeePe9Zmt-encA", + "informationReferences" : [ { + "reference" : "_q2qzIH6LEeePe9Zmt-encA" + }, { + "reference" : "_48BAYH6PEeePe9Zmt-encA" + }, { + "reference" : "_5eBhQH6PEeePe9Zmt-encA" + } ], + "javaOutputTypeName" : "type.TFnInvocationPositionalResult", + "javaParameterName" : "fnInvocationPositionalParameters", + "javaTypeName" : "FnInvocationPositionalParameters", + "knowledgeReferences" : [ ], + "name" : "fn invocation positional parameters", + "protoRequestName" : "proto.FnInvocationPositionalParametersRequest", + "protoResponseName" : "proto.FnInvocationPositionalParametersResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_48BAYH6PEeePe9Zmt-encA", + "javaParameterName" : "inputA", + "javaTypeName" : "java.lang.Number", + "name" : "inputA", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5eBhQH6PEeePe9Zmt-encA", + "javaParameterName" : "inputB", + "javaTypeName" : "java.lang.Number", + "name" : "inputB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tFnInvocationPositionalResult", + "namespace" : "http://www.actico.com/spec/DMN/0.1.0/0031-user-defined-functions" + } + }, { + "@kind" : "decision", + "id" : "_q2qzIH6LEeePe9Zmt-encA", + "informationReferences" : [ ], + "javaOutputTypeName" : "type.TFnLibrary", + "javaParameterName" : "fnLibrary", + "javaTypeName" : "FnLibrary", + "knowledgeReferences" : [ ], + "name" : "fn library", + "protoRequestName" : "proto.FnLibraryRequest", + "protoResponseName" : "proto.FnLibraryResponse", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "tFnLibrary", + "namespace" : "http://www.actico.com/spec/DMN/0.1.0/0031-user-defined-functions" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/0031-static-user-defined-functions/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/0031-static-user-defined-functions/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..c0a5ccc5b --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/0031-static-user-defined-functions/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,317 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.actico.com/spec/DMN/0.1.0/0031-user-defined-functions" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "id" : "_1O2mQIJtEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "tFnInvocationComplexParamsResult", + "types" : [ { + "@kind" : "referenceType", + "id" : "_fdbr4IJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "circumference", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_fb73EIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "functionInvocationInParameter", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_fTiwEIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "functionInvocationLiteralExpressionInParameter", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "compositeType", + "id" : "_0BpzUIJtEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "tFnInvocationNamedResult", + "types" : [ { + "@kind" : "referenceType", + "id" : "_XKOfkIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "divisionResultNamed", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_afyGIIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "multiplicationResultNamed", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_Ua9c8IJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "subResult", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_XCUgwIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "subResultMixed", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "compositeType", + "id" : "_xuQ0YIJtEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "tFnInvocationPositionalResult", + "types" : [ { + "@kind" : "referenceType", + "id" : "_IpHmkIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "divisionResultPositional", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_OmarcIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "multiplicationResultPositional", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "referenceType", + "id" : "_GDzKIIJuEee4zOLdFxCBaA", + "isCollection" : false, + "name" : "sumResult", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] + }, { + "@kind" : "compositeType", + "id" : "_fKdL0IDJEee-MeWXoLgrYg", + "isCollection" : false, + "name" : "tFnLibrary", + "types" : [ { + "@kind" : "referenceType", + "id" : "_pOrn0IDfEee-MeWXoLgrYg", + "isCollection" : false, + "name" : "divideFn" + }, { + "@kind" : "referenceType", + "id" : "_l_GGYIDfEee-MeWXoLgrYg", + "isCollection" : false, + "name" : "multiplyFn" + }, { + "@kind" : "referenceType", + "id" : "_pRj-sIDJEee-MeWXoLgrYg", + "isCollection" : false, + "name" : "subFn" + }, { + "@kind" : "referenceType", + "id" : "_gtkkYIDJEee-MeWXoLgrYg", + "isCollection" : false, + "name" : "sumFn" + } ] + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_48BAYH6PEeePe9Zmt-encA", + "javaParameterName" : "inputA", + "javaTypeName" : "java.lang.Number?", + "name" : "inputA", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5eBhQH6PEeePe9Zmt-encA", + "javaParameterName" : "inputB", + "javaTypeName" : "java.lang.Number?", + "name" : "inputB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "_8xmTAIDNEee-MeWXoLgrYg", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "circumference", + "javaTypeName" : "Circumference", + "knowledgeReferences" : [ ], + "name" : "Circumference" + }, { + "@kind" : "decision", + "id" : "_b-gD0IDiEee-MeWXoLgrYg", + "informationReferences" : [ { + "reference" : "_48BAYH6PEeePe9Zmt-encA" + }, { + "reference" : "_5eBhQH6PEeePe9Zmt-encA" + }, { + "reference" : "_q2qzIH6LEeePe9Zmt-encA" + } ], + "javaOutputTypeName" : "type.TFnInvocationComplexParamsResult?", + "javaParameterName" : "fnInvocationComplexParameters", + "javaTypeName" : "FnInvocationComplexParameters", + "knowledgeReferences" : [ { + "reference" : "_8xmTAIDNEee-MeWXoLgrYg" + }, { + "reference" : "_8xmTAIDNEee-MeWXoLgrYg" + } ], + "name" : "fn invocation complex parameters", + "protoRequestName" : "proto.FnInvocationComplexParametersRequest", + "protoResponseName" : "proto.FnInvocationComplexParametersResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_48BAYH6PEeePe9Zmt-encA", + "javaParameterName" : "inputA", + "javaTypeName" : "java.lang.Number?", + "name" : "inputA", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5eBhQH6PEeePe9Zmt-encA", + "javaParameterName" : "inputB", + "javaTypeName" : "java.lang.Number?", + "name" : "inputB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tFnInvocationComplexParamsResult", + "namespace" : "http://www.actico.com/spec/DMN/0.1.0/0031-user-defined-functions" + } + }, { + "@kind" : "decision", + "id" : "_yHl3UIDhEee-MeWXoLgrYg", + "informationReferences" : [ { + "reference" : "_5eBhQH6PEeePe9Zmt-encA" + }, { + "reference" : "_48BAYH6PEeePe9Zmt-encA" + }, { + "reference" : "_q2qzIH6LEeePe9Zmt-encA" + } ], + "javaOutputTypeName" : "type.TFnInvocationNamedResult?", + "javaParameterName" : "fnInvocationNamedParameters", + "javaTypeName" : "FnInvocationNamedParameters", + "knowledgeReferences" : [ ], + "name" : "fn invocation named parameters", + "protoRequestName" : "proto.FnInvocationNamedParametersRequest", + "protoResponseName" : "proto.FnInvocationNamedParametersResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_48BAYH6PEeePe9Zmt-encA", + "javaParameterName" : "inputA", + "javaTypeName" : "java.lang.Number?", + "name" : "inputA", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5eBhQH6PEeePe9Zmt-encA", + "javaParameterName" : "inputB", + "javaTypeName" : "java.lang.Number?", + "name" : "inputB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tFnInvocationNamedResult", + "namespace" : "http://www.actico.com/spec/DMN/0.1.0/0031-user-defined-functions" + } + }, { + "@kind" : "decision", + "id" : "_AfhOEH6QEeePe9Zmt-encA", + "informationReferences" : [ { + "reference" : "_q2qzIH6LEeePe9Zmt-encA" + }, { + "reference" : "_48BAYH6PEeePe9Zmt-encA" + }, { + "reference" : "_5eBhQH6PEeePe9Zmt-encA" + } ], + "javaOutputTypeName" : "type.TFnInvocationPositionalResult?", + "javaParameterName" : "fnInvocationPositionalParameters", + "javaTypeName" : "FnInvocationPositionalParameters", + "knowledgeReferences" : [ ], + "name" : "fn invocation positional parameters", + "protoRequestName" : "proto.FnInvocationPositionalParametersRequest", + "protoResponseName" : "proto.FnInvocationPositionalParametersResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_48BAYH6PEeePe9Zmt-encA", + "javaParameterName" : "inputA", + "javaTypeName" : "java.lang.Number?", + "name" : "inputA", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "inputData", + "id" : "_5eBhQH6PEeePe9Zmt-encA", + "javaParameterName" : "inputB", + "javaTypeName" : "java.lang.Number?", + "name" : "inputB", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "tFnInvocationPositionalResult", + "namespace" : "http://www.actico.com/spec/DMN/0.1.0/0031-user-defined-functions" + } + }, { + "@kind" : "decision", + "id" : "_q2qzIH6LEeePe9Zmt-encA", + "informationReferences" : [ ], + "javaOutputTypeName" : "type.TFnLibrary?", + "javaParameterName" : "fnLibrary", + "javaTypeName" : "FnLibrary", + "knowledgeReferences" : [ ], + "name" : "fn library", + "protoRequestName" : "proto.FnLibraryRequest", + "protoResponseName" : "proto.FnLibraryResponse", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "tFnLibrary", + "namespace" : "http://www.actico.com/spec/DMN/0.1.0/0031-user-defined-functions" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/9001-recursive-function/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/9001-recursive-function/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..faf14868c --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/9001-recursive-function/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,59 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.gs.com/spec/DMN/9001-recursive-function" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_n", + "javaParameterName" : "n", + "javaTypeName" : "java.lang.Number", + "name" : "n", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "b_FACT", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "fACT", + "javaTypeName" : "FACT", + "knowledgeReferences" : [ ], + "name" : "FACT" + }, { + "@kind" : "decision", + "id" : "d_main", + "informationReferences" : [ { + "reference" : "i_n" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "main", + "javaTypeName" : "Main", + "knowledgeReferences" : [ { + "reference" : "b_FACT" + }, { + "reference" : "b_FACT" + } ], + "name" : "main", + "protoRequestName" : "proto.MainRequest", + "protoResponseName" : "proto.MainResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_n", + "javaParameterName" : "n", + "javaTypeName" : "java.lang.Number", + "name" : "n", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.1/cl3/9001-recursive-function/translator/expected/kotlin/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.1/cl3/9001-recursive-function/translator/expected/kotlin/dmn/DMNMetadata.json new file mode 100644 index 000000000..29fd4aaca --- /dev/null +++ b/dmn-test-cases/standard/tck/1.1/cl3/9001-recursive-function/translator/expected/kotlin/dmn/DMNMetadata.json @@ -0,0 +1,59 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.gs.com/spec/DMN/9001-recursive-function" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_n", + "javaParameterName" : "n", + "javaTypeName" : "java.lang.Number?", + "name" : "n", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + }, { + "@kind" : "bkm", + "id" : "b_FACT", + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "fACT", + "javaTypeName" : "FACT", + "knowledgeReferences" : [ ], + "name" : "FACT" + }, { + "@kind" : "decision", + "id" : "d_main", + "informationReferences" : [ { + "reference" : "i_n" + } ], + "javaOutputTypeName" : "java.lang.Number?", + "javaParameterName" : "main", + "javaTypeName" : "Main", + "knowledgeReferences" : [ { + "reference" : "b_FACT" + }, { + "reference" : "b_FACT" + } ], + "name" : "main", + "protoRequestName" : "proto.MainRequest", + "protoResponseName" : "proto.MainResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_n", + "javaParameterName" : "n", + "javaTypeName" : "java.lang.Number?", + "name" : "n", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.omg.org/spec/FEEL/20140401" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.2/cl3/0076-feel-external-java/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.2/cl3/0076-feel-external-java/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..b05df8f92 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.2/cl3/0076-feel-external-java/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,258 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.montera.com.au/spec/DMN/0076-feel-external-java" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "Applicant", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.montera.com.au/spec/DMN/0076-feel-external-java" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "name", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0076-feel-external-java" + } + } ] + } ], + "elements" : [ { + "@kind" : "decision", + "id" : "_applicant_repository", + "informationReferences" : [ ], + "javaOutputTypeName" : "type.Applicant", + "javaParameterName" : "applicant_repository", + "javaTypeName" : "Applicant_repository", + "knowledgeReferences" : [ ], + "name" : "applicant_repository", + "protoRequestName" : "proto.ApplicantRepositoryRequest", + "protoResponseName" : "proto.ApplicantRepositoryResponse", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_boxed_001", + "informationReferences" : [ ], + "javaOutputTypeName" : "Object", + "javaParameterName" : "boxed_001", + "javaTypeName" : "Boxed_001", + "knowledgeReferences" : [ ], + "name" : "boxed_001", + "protoRequestName" : "proto.Boxed001Request", + "protoResponseName" : "proto.Boxed001Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_incorrect_001", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "incorrect_001", + "javaTypeName" : "Incorrect_001", + "knowledgeReferences" : [ ], + "name" : "incorrect_001", + "protoRequestName" : "proto.Incorrect001Request", + "protoResponseName" : "proto.Incorrect001Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_incorrect_002", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "incorrect_002", + "javaTypeName" : "Incorrect_002", + "knowledgeReferences" : [ ], + "name" : "incorrect_002", + "protoRequestName" : "proto.Incorrect002Request", + "protoResponseName" : "proto.Incorrect002Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_incorrect_003", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "incorrect_003", + "javaTypeName" : "Incorrect_003", + "knowledgeReferences" : [ ], + "name" : "incorrect_003", + "protoRequestName" : "proto.Incorrect003Request", + "protoResponseName" : "proto.Incorrect003Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_001", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "literal_001", + "javaTypeName" : "Literal_001", + "knowledgeReferences" : [ ], + "name" : "literal_001", + "protoRequestName" : "proto.Literal001Request", + "protoResponseName" : "proto.Literal001Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_002", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "literal_002", + "javaTypeName" : "Literal_002", + "knowledgeReferences" : [ ], + "name" : "literal_002", + "protoRequestName" : "proto.Literal002Request", + "protoResponseName" : "proto.Literal002Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_003", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "literal_003", + "javaTypeName" : "Literal_003", + "knowledgeReferences" : [ ], + "name" : "literal_003", + "protoRequestName" : "proto.Literal003Request", + "protoResponseName" : "proto.Literal003Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_004", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "literal_004", + "javaTypeName" : "Literal_004", + "knowledgeReferences" : [ ], + "name" : "literal_004", + "protoRequestName" : "proto.Literal004Request", + "protoResponseName" : "proto.Literal004Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_005", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "literal_005", + "javaTypeName" : "Literal_005", + "knowledgeReferences" : [ ], + "name" : "literal_005", + "protoRequestName" : "proto.Literal005Request", + "protoResponseName" : "proto.Literal005Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_006", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "literal_006", + "javaTypeName" : "Literal_006", + "knowledgeReferences" : [ ], + "name" : "literal_006", + "protoRequestName" : "proto.Literal006Request", + "protoResponseName" : "proto.Literal006Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_007", + "informationReferences" : [ ], + "javaOutputTypeName" : "Object", + "javaParameterName" : "literal_007", + "javaTypeName" : "Literal_007", + "knowledgeReferences" : [ ], + "name" : "literal_007", + "protoRequestName" : "proto.Literal007Request", + "protoResponseName" : "proto.Literal007Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_007_a", + "informationReferences" : [ ], + "javaOutputTypeName" : "Object", + "javaParameterName" : "literal_007_a", + "javaTypeName" : "Literal_007_a", + "knowledgeReferences" : [ ], + "name" : "literal_007_a", + "protoRequestName" : "proto.Literal007ARequest", + "protoResponseName" : "proto.Literal007AResponse", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_008", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "literal_008", + "javaTypeName" : "Literal_008", + "knowledgeReferences" : [ ], + "name" : "literal_008", + "protoRequestName" : "proto.Literal008Request", + "protoResponseName" : "proto.Literal008Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_009", + "informationReferences" : [ ], + "javaOutputTypeName" : "Object", + "javaParameterName" : "literal_009", + "javaTypeName" : "Literal_009", + "knowledgeReferences" : [ ], + "name" : "literal_009", + "protoRequestName" : "proto.Literal009Request", + "protoResponseName" : "proto.Literal009Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_010", + "informationReferences" : [ ], + "javaOutputTypeName" : "Object", + "javaParameterName" : "literal_010", + "javaTypeName" : "Literal_010", + "knowledgeReferences" : [ ], + "name" : "literal_010", + "protoRequestName" : "proto.Literal010Request", + "protoResponseName" : "proto.Literal010Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_011", + "informationReferences" : [ ], + "javaOutputTypeName" : "Object", + "javaParameterName" : "literal_011", + "javaTypeName" : "Literal_011", + "knowledgeReferences" : [ ], + "name" : "literal_011", + "protoRequestName" : "proto.Literal011Request", + "protoResponseName" : "proto.Literal011Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_literal_012", + "informationReferences" : [ ], + "javaOutputTypeName" : "Object", + "javaParameterName" : "literal_012", + "javaTypeName" : "Literal_012", + "knowledgeReferences" : [ ], + "name" : "literal_012", + "protoRequestName" : "proto.Literal012Request", + "protoResponseName" : "proto.Literal012Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_varargs_001", + "informationReferences" : [ ], + "javaOutputTypeName" : "Object", + "javaParameterName" : "varargs_001", + "javaTypeName" : "Varargs_001", + "knowledgeReferences" : [ ], + "name" : "varargs_001", + "protoRequestName" : "proto.Varargs001Request", + "protoResponseName" : "proto.Varargs001Response", + "transitiveRequiredInput" : [ ] + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.3/cl3/0004-lending/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.3/cl3/0004-lending/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..17466d44e --- /dev/null +++ b/dmn-test-cases/standard/tck/1.3/cl3/0004-lending/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,779 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"ACCEPT\"", + "isCollection" : false, + "name" : "tAdjudication", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tApplicantData", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Age", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"EMPLOYED\",\"SELF-EMPLOYED\",\"STUDENT\",\"UNEMPLOYED\"", + "isCollection" : false, + "name" : "EmploymentStatus", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "ExistingCustomer", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"S\",\"M\"", + "isCollection" : false, + "name" : "MaritalStatus", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "Monthly", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Expenses", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Income", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Repayments", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ] + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"FULL\", \"MINI\", \"NONE\"", + "isCollection" : false, + "name" : "tBureauCallType", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tBureauData", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Bankrupt", + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "[0..999], null", + "isCollection" : false, + "name" : "CreditScore", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"INELIGIBLE\", \"ELIGIBLE\"", + "isCollection" : false, + "name" : "tEligibility", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "compositeType", + "isCollection" : false, + "name" : "tRequestedProduct", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Amount", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"STANDARD LOAN\", \"SPECIAL LOAN\"", + "isCollection" : false, + "name" : "ProductType", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Rate", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "Term", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ] + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"HIGH\", \"MEDIUM\", \"LOW\", \"VERY LOW\"", + "isCollection" : false, + "name" : "tRiskCategory", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"REFER\", \"ACCEPT\"", + "isCollection" : false, + "name" : "tRouting", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "referenceType", + "allowedValues" : "\"DECLINE\", \"BUREAU\", \"THROUGH\"", + "isCollection" : false, + "name" : "tStrategy", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_SupportingDocuments", + "javaParameterName" : "supportingDocuments", + "javaTypeName" : "String", + "name" : "SupportingDocuments", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "bkm", + "id" : "b_AffordabilityCalculation", + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "affordabilityCalculation", + "javaTypeName" : "AffordabilityCalculation", + "knowledgeReferences" : [ { + "reference" : "b_CreditContingencyFactorTable" + }, { + "reference" : "b_CreditContingencyFactorTable" + } ], + "name" : "AffordabilityCalculation" + }, { + "@kind" : "bkm", + "id" : "b_ApplicationRiskScoreModel", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "applicationRiskScoreModel", + "javaTypeName" : "ApplicationRiskScoreModel", + "knowledgeReferences" : [ ], + "name" : "ApplicationRiskScoreModel" + }, { + "@kind" : "bkm", + "id" : "b_BureauCallTypeTable", + "javaOutputTypeName" : "String", + "javaParameterName" : "bureauCallTypeTable", + "javaTypeName" : "BureauCallTypeTable", + "knowledgeReferences" : [ ], + "name" : "BureauCallTypeTable" + }, { + "@kind" : "bkm", + "id" : "b_CreditContingencyFactorTable", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "creditContingencyFactorTable", + "javaTypeName" : "CreditContingencyFactorTable", + "knowledgeReferences" : [ ], + "name" : "CreditContingencyFactorTable" + }, { + "@kind" : "bkm", + "id" : "b_EligibilityRules", + "javaOutputTypeName" : "String", + "javaParameterName" : "eligibilityRules", + "javaTypeName" : "EligibilityRules", + "knowledgeReferences" : [ ], + "name" : "EligibilityRules" + }, { + "@kind" : "bkm", + "id" : "b_InstallmentCalculation", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "installmentCalculation", + "javaTypeName" : "InstallmentCalculation", + "knowledgeReferences" : [ ], + "name" : "InstallmentCalculation" + }, { + "@kind" : "bkm", + "id" : "b_Post-bureauRiskCategoryTable", + "javaOutputTypeName" : "String", + "javaParameterName" : "postBureauRiskCategoryTable", + "javaTypeName" : "PostBureauRiskCategoryTable", + "knowledgeReferences" : [ ], + "name" : "Post-bureauRiskCategoryTable" + }, { + "@kind" : "bkm", + "id" : "b_Pre-bureauRiskCategoryTable", + "javaOutputTypeName" : "String", + "javaParameterName" : "preBureauRiskCategoryTable", + "javaTypeName" : "PreBureauRiskCategoryTable", + "knowledgeReferences" : [ ], + "name" : "Pre-bureauRiskCategoryTable" + }, { + "@kind" : "bkm", + "id" : "b_RoutingRules", + "javaOutputTypeName" : "String", + "javaParameterName" : "routingRules", + "javaTypeName" : "RoutingRules", + "knowledgeReferences" : [ ], + "name" : "RoutingRules" + }, { + "@kind" : "decision", + "id" : "d_Adjudication", + "informationReferences" : [ { + "reference" : "i_BureauData" + }, { + "reference" : "i_SupportingDocuments" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "adjudication", + "javaTypeName" : "Adjudication", + "knowledgeReferences" : [ ], + "name" : "Adjudication", + "protoRequestName" : "proto.AdjudicationRequest", + "protoResponseName" : "proto.AdjudicationResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_SupportingDocuments", + "javaParameterName" : "supportingDocuments", + "javaTypeName" : "String", + "name" : "SupportingDocuments", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tAdjudication", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_ApplicationRiskScore", + "informationReferences" : [ { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "applicationRiskScore", + "javaTypeName" : "ApplicationRiskScore", + "knowledgeReferences" : [ { + "reference" : "b_ApplicationRiskScoreModel" + }, { + "reference" : "b_ApplicationRiskScoreModel" + } ], + "name" : "ApplicationRiskScore", + "protoRequestName" : "proto.ApplicationRiskScoreRequest", + "protoResponseName" : "proto.ApplicationRiskScoreResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_BureauCallType", + "informationReferences" : [ { + "reference" : "d_Pre-bureauRiskCategory" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "bureauCallType", + "javaTypeName" : "BureauCallType", + "knowledgeReferences" : [ { + "reference" : "b_BureauCallTypeTable" + }, { + "reference" : "b_BureauCallTypeTable" + } ], + "name" : "BureauCallType", + "protoRequestName" : "proto.BureauCallTypeRequest", + "protoResponseName" : "proto.BureauCallTypeResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tBureauCallType", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Eligibility", + "informationReferences" : [ { + "reference" : "d_Pre-bureauAffordability" + }, { + "reference" : "d_Pre-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "eligibility", + "javaTypeName" : "Eligibility", + "knowledgeReferences" : [ { + "reference" : "b_EligibilityRules" + }, { + "reference" : "b_EligibilityRules" + } ], + "name" : "Eligibility", + "protoRequestName" : "proto.EligibilityRequest", + "protoResponseName" : "proto.EligibilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tEligibility", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Post-bureauAffordability", + "informationReferences" : [ { + "reference" : "d_RequiredMonthlyInstallment" + }, { + "reference" : "d_Post-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "postBureauAffordability", + "javaTypeName" : "PostBureauAffordability", + "knowledgeReferences" : [ { + "reference" : "b_AffordabilityCalculation" + }, { + "reference" : "b_AffordabilityCalculation" + } ], + "name" : "Post-bureauAffordability", + "protoRequestName" : "proto.PostBureauAffordabilityRequest", + "protoResponseName" : "proto.PostBureauAffordabilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Post-bureauRiskCategory", + "informationReferences" : [ { + "reference" : "d_ApplicationRiskScore" + }, { + "reference" : "i_BureauData" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "postBureauRiskCategory", + "javaTypeName" : "PostBureauRiskCategory", + "knowledgeReferences" : [ { + "reference" : "b_Post-bureauRiskCategoryTable" + }, { + "reference" : "b_Post-bureauRiskCategoryTable" + } ], + "name" : "Post-bureauRiskCategory", + "protoRequestName" : "proto.PostBureauRiskCategoryRequest", + "protoResponseName" : "proto.PostBureauRiskCategoryResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRiskCategory", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Pre-bureauAffordability", + "informationReferences" : [ { + "reference" : "d_RequiredMonthlyInstallment" + }, { + "reference" : "d_Pre-bureauRiskCategory" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "preBureauAffordability", + "javaTypeName" : "PreBureauAffordability", + "knowledgeReferences" : [ { + "reference" : "b_AffordabilityCalculation" + }, { + "reference" : "b_AffordabilityCalculation" + } ], + "name" : "Pre-bureauAffordability", + "protoRequestName" : "proto.PreBureauAffordabilityRequest", + "protoResponseName" : "proto.PreBureauAffordabilityResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "boolean", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Pre-bureauRiskCategory", + "informationReferences" : [ { + "reference" : "d_ApplicationRiskScore" + }, { + "reference" : "i_ApplicantData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "preBureauRiskCategory", + "javaTypeName" : "PreBureauRiskCategory", + "knowledgeReferences" : [ { + "reference" : "b_Pre-bureauRiskCategoryTable" + }, { + "reference" : "b_Pre-bureauRiskCategoryTable" + } ], + "name" : "Pre-bureauRiskCategory", + "protoRequestName" : "proto.PreBureauRiskCategoryRequest", + "protoResponseName" : "proto.PreBureauRiskCategoryResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRiskCategory", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_RequiredMonthlyInstallment", + "informationReferences" : [ { + "reference" : "i_RequestedProduct" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "requiredMonthlyInstallment", + "javaTypeName" : "RequiredMonthlyInstallment", + "knowledgeReferences" : [ { + "reference" : "b_InstallmentCalculation" + }, { + "reference" : "b_InstallmentCalculation" + } ], + "name" : "RequiredMonthlyInstallment", + "protoRequestName" : "proto.RequiredMonthlyInstallmentRequest", + "protoResponseName" : "proto.RequiredMonthlyInstallmentResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Routing", + "informationReferences" : [ { + "reference" : "d_Post-bureauAffordability" + }, { + "reference" : "d_Post-bureauRiskCategory" + }, { + "reference" : "i_BureauData" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "routing", + "javaTypeName" : "Routing", + "knowledgeReferences" : [ { + "reference" : "b_RoutingRules" + }, { + "reference" : "b_RoutingRules" + } ], + "name" : "Routing", + "protoRequestName" : "proto.RoutingRequest", + "protoResponseName" : "proto.RoutingResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_BureauData", + "javaParameterName" : "bureauData", + "javaTypeName" : "type.TBureauData", + "name" : "BureauData", + "typeRef" : { + "localName" : "tBureauData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tRouting", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "decision", + "id" : "d_Strategy", + "informationReferences" : [ { + "reference" : "d_BureauCallType" + }, { + "reference" : "d_Eligibility" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "strategy", + "javaTypeName" : "Strategy", + "knowledgeReferences" : [ ], + "name" : "Strategy", + "protoRequestName" : "proto.StrategyRequest", + "protoResponseName" : "proto.StrategyResponse", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "i_ApplicantData", + "javaParameterName" : "applicantData", + "javaTypeName" : "type.TApplicantData", + "name" : "ApplicantData", + "typeRef" : { + "localName" : "tApplicantData", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + }, { + "@kind" : "inputData", + "id" : "i_RequestedProduct", + "javaParameterName" : "requestedProduct", + "javaTypeName" : "type.TRequestedProduct", + "name" : "RequestedProduct", + "typeRef" : { + "localName" : "tRequestedProduct", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ], + "typeRef" : { + "localName" : "tStrategy", + "namespace" : "http://www.trisotech.com/definitions/_4e0f0b70-d31c-471c-bd52-5ca709ed362b" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.3/cl3/0085-decision-services/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.3/cl3/0085-decision-services/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..37210b216 --- /dev/null +++ b/dmn-test-cases/standard/tck/1.3/cl3/0085-decision-services/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,655 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.montera.com.au/spec/DMN/0085-decision-services" ], + "nativeNamespace" : "", + "types" : [ ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_inputData_003", + "javaParameterName" : "inputData_003", + "javaTypeName" : "String", + "name" : "inputData_003", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "inputData", + "id" : "_inputData_011_1", + "javaParameterName" : "inputData_011_1", + "javaTypeName" : "String", + "name" : "inputData_011_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "inputData", + "id" : "_inputData_011_2", + "javaParameterName" : "inputData_011_2", + "javaTypeName" : "String", + "name" : "inputData_011_2", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "inputData", + "id" : "_inputData_012_1", + "javaParameterName" : "inputData_012_1", + "javaTypeName" : "String", + "name" : "inputData_012_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "inputData", + "id" : "_inputData_012_2", + "javaParameterName" : "inputData_012_2", + "javaTypeName" : "String", + "name" : "inputData_012_2", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "inputData", + "id" : "_inputData_013_1", + "javaParameterName" : "inputData_013_1", + "javaTypeName" : "String", + "name" : "inputData_013_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "inputData", + "id" : "_inputData_014_1", + "javaParameterName" : "inputData_014_1", + "javaTypeName" : "String", + "name" : "inputData_014_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_001", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_001", + "javaTypeName" : "Decision_001", + "knowledgeReferences" : [ ], + "name" : "decision_001", + "protoRequestName" : "proto.Decision001Request", + "protoResponseName" : "proto.Decision001Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_002", + "informationReferences" : [ { + "reference" : "_decision_002_input" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_002", + "javaTypeName" : "Decision_002", + "knowledgeReferences" : [ ], + "name" : "decision_002", + "protoRequestName" : "proto.Decision002Request", + "protoResponseName" : "proto.Decision002Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_002_input", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_002_input", + "javaTypeName" : "Decision_002_input", + "knowledgeReferences" : [ ], + "name" : "decision_002_input", + "protoRequestName" : "proto.Decision002InputRequest", + "protoResponseName" : "proto.Decision002InputResponse", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_003", + "informationReferences" : [ { + "reference" : "_decision_003_input_1" + }, { + "reference" : "_decision_003_input_2" + }, { + "reference" : "_inputData_003" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_003", + "javaTypeName" : "Decision_003", + "knowledgeReferences" : [ ], + "name" : "decision_003", + "protoRequestName" : "proto.Decision003Request", + "protoResponseName" : "proto.Decision003Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_inputData_003", + "javaParameterName" : "inputData_003", + "javaTypeName" : "String", + "name" : "inputData_003", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + } ] + }, { + "@kind" : "decision", + "id" : "_decision_003_input_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_003_input_1", + "javaTypeName" : "Decision_003_input_1", + "knowledgeReferences" : [ ], + "name" : "decision_003_input_1", + "protoRequestName" : "proto.Decision003Input1Request", + "protoResponseName" : "proto.Decision003Input1Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_003_input_2", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_003_input_2", + "javaTypeName" : "Decision_003_input_2", + "knowledgeReferences" : [ ], + "name" : "decision_003_input_2", + "protoRequestName" : "proto.Decision003Input2Request", + "protoResponseName" : "proto.Decision003Input2Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_004_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_004_1", + "javaTypeName" : "Decision_004_1", + "knowledgeReferences" : [ { + "reference" : "_decisionService_004" + }, { + "reference" : "_decisionService_004" + } ], + "name" : "decision_004_1", + "protoRequestName" : "proto.Decision0041Request", + "protoResponseName" : "proto.Decision0041Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_004_2", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_004_2", + "javaTypeName" : "Decision_004_2", + "knowledgeReferences" : [ ], + "name" : "decision_004_2", + "protoRequestName" : "proto.Decision0042Request", + "protoResponseName" : "proto.Decision0042Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_006_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_006_1", + "javaTypeName" : "Decision_006_1", + "knowledgeReferences" : [ { + "reference" : "_decisionService_006" + }, { + "reference" : "_decisionService_006" + } ], + "name" : "decision_006_1", + "protoRequestName" : "proto.Decision0061Request", + "protoResponseName" : "proto.Decision0061Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_006_2", + "informationReferences" : [ { + "reference" : "_decision_006_3" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_006_2", + "javaTypeName" : "Decision_006_2", + "knowledgeReferences" : [ ], + "name" : "decision_006_2", + "protoRequestName" : "proto.Decision0062Request", + "protoResponseName" : "proto.Decision0062Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_006_3", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_006_3", + "javaTypeName" : "Decision_006_3", + "knowledgeReferences" : [ ], + "name" : "decision_006_3", + "protoRequestName" : "proto.Decision0063Request", + "protoResponseName" : "proto.Decision0063Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_007_2", + "informationReferences" : [ { + "reference" : "_decision_007_3" + } ], + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "decision_007_2", + "javaTypeName" : "Decision_007_2", + "knowledgeReferences" : [ ], + "name" : "decision_007_2", + "protoRequestName" : "proto.Decision0072Request", + "protoResponseName" : "proto.Decision0072Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_007_3", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_007_3", + "javaTypeName" : "Decision_007_3", + "knowledgeReferences" : [ ], + "name" : "decision_007_3", + "protoRequestName" : "proto.Decision0073Request", + "protoResponseName" : "proto.Decision0073Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_009_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_009_1", + "javaTypeName" : "Decision_009_1", + "knowledgeReferences" : [ { + "reference" : "_decisionService_009" + }, { + "reference" : "_decisionService_009" + } ], + "name" : "decision_009_1", + "protoRequestName" : "proto.Decision0091Request", + "protoResponseName" : "proto.Decision0091Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_009_2", + "informationReferences" : [ { + "reference" : "_decision_009_3" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_009_2", + "javaTypeName" : "Decision_009_2", + "knowledgeReferences" : [ ], + "name" : "decision_009_2", + "protoRequestName" : "proto.Decision0092Request", + "protoResponseName" : "proto.Decision0092Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_009_3", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_009_3", + "javaTypeName" : "Decision_009_3", + "knowledgeReferences" : [ ], + "name" : "decision_009_3", + "protoRequestName" : "proto.Decision0093Request", + "protoResponseName" : "proto.Decision0093Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_011_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_011_1", + "javaTypeName" : "Decision_011_1", + "knowledgeReferences" : [ { + "reference" : "_decisionService_011" + }, { + "reference" : "_decisionService_011" + } ], + "name" : "decision_011_1", + "protoRequestName" : "proto.Decision0111Request", + "protoResponseName" : "proto.Decision0111Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_011_2", + "informationReferences" : [ { + "reference" : "_decision_011_3" + }, { + "reference" : "_decision_011_4" + }, { + "reference" : "_inputData_011_1" + }, { + "reference" : "_inputData_011_2" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_011_2", + "javaTypeName" : "Decision_011_2", + "knowledgeReferences" : [ ], + "name" : "decision_011_2", + "protoRequestName" : "proto.Decision0112Request", + "protoResponseName" : "proto.Decision0112Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_inputData_011_1", + "javaParameterName" : "inputData_011_1", + "javaTypeName" : "String", + "name" : "inputData_011_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "inputData", + "id" : "_inputData_011_2", + "javaParameterName" : "inputData_011_2", + "javaTypeName" : "String", + "name" : "inputData_011_2", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_011_3", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_011_3", + "javaTypeName" : "Decision_011_3", + "knowledgeReferences" : [ ], + "name" : "decision_011_3", + "protoRequestName" : "proto.Decision0113Request", + "protoResponseName" : "proto.Decision0113Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_011_4", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_011_4", + "javaTypeName" : "Decision_011_4", + "knowledgeReferences" : [ ], + "name" : "decision_011_4", + "protoRequestName" : "proto.Decision0114Request", + "protoResponseName" : "proto.Decision0114Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_012_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_012_1", + "javaTypeName" : "Decision_012_1", + "knowledgeReferences" : [ { + "reference" : "_decisionService_012" + }, { + "reference" : "_decisionService_012" + } ], + "name" : "decision_012_1", + "protoRequestName" : "proto.Decision0121Request", + "protoResponseName" : "proto.Decision0121Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_012_2", + "informationReferences" : [ { + "reference" : "_decision_012_3" + }, { + "reference" : "_decision_012_4" + }, { + "reference" : "_inputData_012_1" + }, { + "reference" : "_inputData_012_2" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_012_2", + "javaTypeName" : "Decision_012_2", + "knowledgeReferences" : [ ], + "name" : "decision_012_2", + "protoRequestName" : "proto.Decision0122Request", + "protoResponseName" : "proto.Decision0122Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_inputData_012_1", + "javaParameterName" : "inputData_012_1", + "javaTypeName" : "String", + "name" : "inputData_012_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "inputData", + "id" : "_inputData_012_2", + "javaParameterName" : "inputData_012_2", + "javaTypeName" : "String", + "name" : "inputData_012_2", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_012_3", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_012_3", + "javaTypeName" : "Decision_012_3", + "knowledgeReferences" : [ ], + "name" : "decision_012_3", + "protoRequestName" : "proto.Decision0123Request", + "protoResponseName" : "proto.Decision0123Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_012_4", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_012_4", + "javaTypeName" : "Decision_012_4", + "knowledgeReferences" : [ ], + "name" : "decision_012_4", + "protoRequestName" : "proto.Decision0124Request", + "protoResponseName" : "proto.Decision0124Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_013_1", + "informationReferences" : [ { + "reference" : "_decision_013_3" + }, { + "reference" : "_inputData_013_1" + } ], + "javaOutputTypeName" : "com.gs.dmn.runtime.Context", + "javaParameterName" : "decision_013_1", + "javaTypeName" : "Decision_013_1", + "knowledgeReferences" : [ { + "reference" : "_decisionService_013" + }, { + "reference" : "_decisionService_013" + } ], + "name" : "decision_013_1", + "protoRequestName" : "proto.Decision0131Request", + "protoResponseName" : "proto.Decision0131Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_inputData_013_1", + "javaParameterName" : "inputData_013_1", + "javaTypeName" : "String", + "name" : "inputData_013_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + } ] + }, { + "@kind" : "decision", + "id" : "_decision_013_2", + "informationReferences" : [ { + "reference" : "_decision_013_3" + }, { + "reference" : "_inputData_013_1" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_013_2", + "javaTypeName" : "Decision_013_2", + "knowledgeReferences" : [ ], + "name" : "decision_013_2", + "protoRequestName" : "proto.Decision0132Request", + "protoResponseName" : "proto.Decision0132Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_inputData_013_1", + "javaParameterName" : "inputData_013_1", + "javaTypeName" : "String", + "name" : "inputData_013_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_013_3", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_013_3", + "javaTypeName" : "Decision_013_3", + "knowledgeReferences" : [ ], + "name" : "decision_013_3", + "protoRequestName" : "proto.Decision0133Request", + "protoResponseName" : "proto.Decision0133Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_014_1", + "informationReferences" : [ { + "reference" : "_decision_014_3" + }, { + "reference" : "_inputData_014_1" + } ], + "javaOutputTypeName" : "com.gs.dmn.runtime.Context", + "javaParameterName" : "decision_014_1", + "javaTypeName" : "Decision_014_1", + "knowledgeReferences" : [ { + "reference" : "_decisionService_014" + }, { + "reference" : "_decisionService_014" + } ], + "name" : "decision_014_1", + "protoRequestName" : "proto.Decision0141Request", + "protoResponseName" : "proto.Decision0141Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_inputData_014_1", + "javaParameterName" : "inputData_014_1", + "javaTypeName" : "String", + "name" : "inputData_014_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + } ] + }, { + "@kind" : "decision", + "id" : "_decision_014_2", + "informationReferences" : [ { + "reference" : "_decision_014_3" + }, { + "reference" : "_inputData_014_1" + } ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_014_2", + "javaTypeName" : "Decision_014_2", + "knowledgeReferences" : [ ], + "name" : "decision_014_2", + "protoRequestName" : "proto.Decision0142Request", + "protoResponseName" : "proto.Decision0142Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_inputData_014_1", + "javaParameterName" : "inputData_014_1", + "javaTypeName" : "String", + "name" : "inputData_014_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + } ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + }, { + "@kind" : "decision", + "id" : "_decision_014_3", + "informationReferences" : [ ], + "javaOutputTypeName" : "String", + "javaParameterName" : "decision_014_3", + "javaTypeName" : "Decision_014_3", + "knowledgeReferences" : [ ], + "name" : "decision_014_3", + "protoRequestName" : "proto.Decision0143Request", + "protoResponseName" : "proto.Decision0143Response", + "transitiveRequiredInput" : [ ], + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0085-decision-services" + } + } ] +} \ No newline at end of file diff --git a/dmn-test-cases/standard/tck/1.3/cl3/0092-feel-lambda/translator/expected/java/dmn/DMNMetadata.json b/dmn-test-cases/standard/tck/1.3/cl3/0092-feel-lambda/translator/expected/java/dmn/DMNMetadata.json new file mode 100644 index 000000000..cd3658fbd --- /dev/null +++ b/dmn-test-cases/standard/tck/1.3/cl3/0092-feel-lambda/translator/expected/java/dmn/DMNMetadata.json @@ -0,0 +1,585 @@ +{ + "dmnVersion" : "1.1", + "modelVersion" : "2.0", + "platformVersion" : "1.0", + "dmnNamespaces" : [ "http://www.montera.com.au/spec/DMN/0092-feel-lambda" ], + "nativeNamespace" : "", + "types" : [ { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "lambda_list_number_returns_number" + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "lambda_number_number_returns_number" + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "lambda_number_returns_number" + }, { + "@kind" : "referenceType", + "isCollection" : false, + "name" : "lambda_string_string_returns_bool" + }, { + "@kind" : "referenceType", + "isCollection" : true, + "name" : "list_of_number", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.montera.com.au/spec/DMN/0092-feel-lambda" + } + }, { + "@kind" : "referenceType", + "isCollection" : true, + "name" : "list_of_string", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0092-feel-lambda" + } + } ], + "elements" : [ { + "@kind" : "inputData", + "id" : "_input_007_1", + "javaParameterName" : "input_007_1", + "javaTypeName" : "java.lang.Number", + "name" : "input_007_1", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.montera.com.au/spec/DMN/0092-feel-lambda" + } + }, { + "@kind" : "inputData", + "id" : "_input_011_1", + "javaParameterName" : "input_011_1", + "javaTypeName" : "java.lang.Number", + "name" : "input_011_1", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.montera.com.au/spec/DMN/0092-feel-lambda" + } + }, { + "@kind" : "inputData", + "id" : "_input_013_1", + "javaParameterName" : "input_013_1", + "javaTypeName" : "java.lang.Number", + "name" : "input_013_1", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.montera.com.au/spec/DMN/0092-feel-lambda" + } + }, { + "@kind" : "inputData", + "id" : "_input_017_1", + "javaParameterName" : "input_017_1", + "javaTypeName" : "String", + "name" : "input_017_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0092-feel-lambda" + } + }, { + "@kind" : "bkm", + "id" : "_bkm_003_1", + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression", + "javaParameterName" : "bkm_003_1", + "javaTypeName" : "Bkm_003_1", + "knowledgeReferences" : [ ], + "name" : "bkm_003_1" + }, { + "@kind" : "bkm", + "id" : "_bkm_004_1", + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression", + "javaParameterName" : "bkm_004_1", + "javaTypeName" : "Bkm_004_1", + "knowledgeReferences" : [ ], + "name" : "bkm_004_1" + }, { + "@kind" : "bkm", + "id" : "_bkm_005_1", + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression", + "javaParameterName" : "bkm_005_1", + "javaTypeName" : "Bkm_005_1", + "knowledgeReferences" : [ ], + "name" : "bkm_005_1" + }, { + "@kind" : "bkm", + "id" : "_bkm_006_1", + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression", + "javaParameterName" : "bkm_006_1", + "javaTypeName" : "Bkm_006_1", + "knowledgeReferences" : [ ], + "name" : "bkm_006_1" + }, { + "@kind" : "bkm", + "id" : "_bkm_008_1", + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression", + "javaParameterName" : "bkm_008_1", + "javaTypeName" : "Bkm_008_1", + "knowledgeReferences" : [ ], + "name" : "bkm_008_1" + }, { + "@kind" : "bkm", + "id" : "_bkm_009_1", + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression", + "javaParameterName" : "bkm_009_1", + "javaTypeName" : "Bkm_009_1", + "knowledgeReferences" : [ ], + "name" : "bkm_009_1" + }, { + "@kind" : "bkm", + "id" : "_bkm_010_1", + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression>>", + "javaParameterName" : "bkm_010_1", + "javaTypeName" : "Bkm_010_1", + "knowledgeReferences" : [ ], + "name" : "bkm_010_1" + }, { + "@kind" : "bkm", + "id" : "_bkm_010_1_a", + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression>>", + "javaParameterName" : "bkm_010_1_a", + "javaTypeName" : "Bkm_010_1_a", + "knowledgeReferences" : [ ], + "name" : "bkm_010_1_a" + }, { + "@kind" : "bkm", + "id" : "_bkm_011_1", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "bkm_011_1", + "javaTypeName" : "Bkm_011_1", + "knowledgeReferences" : [ ], + "name" : "bkm_011_1" + }, { + "@kind" : "bkm", + "id" : "_bkm_012_1", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "bkm_012_1", + "javaTypeName" : "Bkm_012_1", + "knowledgeReferences" : [ ], + "name" : "bkm_012_1" + }, { + "@kind" : "bkm", + "id" : "_bkm_012_2", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "bkm_012_2", + "javaTypeName" : "Bkm_012_2", + "knowledgeReferences" : [ ], + "name" : "bkm_012_2" + }, { + "@kind" : "bkm", + "id" : "_bkm_013_1", + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "bkm_013_1", + "javaTypeName" : "Bkm_013_1", + "knowledgeReferences" : [ ], + "name" : "bkm_013_1" + }, { + "@kind" : "bkm", + "id" : "_bkm_017_1", + "javaOutputTypeName" : "List", + "javaParameterName" : "bkm_017_1", + "javaTypeName" : "Bkm_017_1", + "knowledgeReferences" : [ ], + "name" : "bkm_017_1" + }, { + "@kind" : "bkm", + "id" : "_bkm_018", + "javaOutputTypeName" : "Boolean", + "javaParameterName" : "bkm_018", + "javaTypeName" : "Bkm_018", + "knowledgeReferences" : [ ], + "name" : "bkm_018" + }, { + "@kind" : "decision", + "id" : "_decision_001_1", + "informationReferences" : [ { + "reference" : "_decision_001_2" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_001_1", + "javaTypeName" : "Decision_001_1", + "knowledgeReferences" : [ ], + "name" : "decision_001_1", + "protoRequestName" : "proto.Decision0011Request", + "protoResponseName" : "proto.Decision0011Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_001_2", + "informationReferences" : [ ], + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression", + "javaParameterName" : "decision_001_2", + "javaTypeName" : "Decision_001_2", + "knowledgeReferences" : [ ], + "name" : "decision_001_2", + "protoRequestName" : "proto.Decision0012Request", + "protoResponseName" : "proto.Decision0012Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_002_1", + "informationReferences" : [ { + "reference" : "_decision_002_2" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_002_1", + "javaTypeName" : "Decision_002_1", + "knowledgeReferences" : [ ], + "name" : "decision_002_1", + "protoRequestName" : "proto.Decision0021Request", + "protoResponseName" : "proto.Decision0021Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_002_2", + "informationReferences" : [ ], + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression", + "javaParameterName" : "decision_002_2", + "javaTypeName" : "Decision_002_2", + "knowledgeReferences" : [ ], + "name" : "decision_002_2", + "protoRequestName" : "proto.Decision0022Request", + "protoResponseName" : "proto.Decision0022Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_003_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_003_1", + "javaTypeName" : "Decision_003_1", + "knowledgeReferences" : [ { + "reference" : "_bkm_003_1" + }, { + "reference" : "_bkm_003_1" + } ], + "name" : "decision_003_1", + "protoRequestName" : "proto.Decision0031Request", + "protoResponseName" : "proto.Decision0031Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_004_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_004_1", + "javaTypeName" : "Decision_004_1", + "knowledgeReferences" : [ { + "reference" : "_bkm_004_1" + }, { + "reference" : "_bkm_004_1" + } ], + "name" : "decision_004_1", + "protoRequestName" : "proto.Decision0041Request", + "protoResponseName" : "proto.Decision0041Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_005_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_005_1", + "javaTypeName" : "Decision_005_1", + "knowledgeReferences" : [ { + "reference" : "_bkm_005_1" + }, { + "reference" : "_bkm_005_1" + } ], + "name" : "decision_005_1", + "protoRequestName" : "proto.Decision0051Request", + "protoResponseName" : "proto.Decision0051Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_006_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_006_1", + "javaTypeName" : "Decision_006_1", + "knowledgeReferences" : [ { + "reference" : "_bkm_006_1" + }, { + "reference" : "_bkm_006_1" + } ], + "name" : "decision_006_1", + "protoRequestName" : "proto.Decision0061Request", + "protoResponseName" : "proto.Decision0061Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_007_1", + "informationReferences" : [ { + "reference" : "_decision_007_2" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_007_1", + "javaTypeName" : "Decision_007_1", + "knowledgeReferences" : [ ], + "name" : "decision_007_1", + "protoRequestName" : "proto.Decision0071Request", + "protoResponseName" : "proto.Decision0071Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_input_007_1", + "javaParameterName" : "input_007_1", + "javaTypeName" : "java.lang.Number", + "name" : "input_007_1", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.montera.com.au/spec/DMN/0092-feel-lambda" + } + } ] + }, { + "@kind" : "decision", + "id" : "_decision_007_2", + "informationReferences" : [ { + "reference" : "_input_007_1" + } ], + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression", + "javaParameterName" : "decision_007_2", + "javaTypeName" : "Decision_007_2", + "knowledgeReferences" : [ ], + "name" : "decision_007_2", + "protoRequestName" : "proto.Decision0072Request", + "protoResponseName" : "proto.Decision0072Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_input_007_1", + "javaParameterName" : "input_007_1", + "javaTypeName" : "java.lang.Number", + "name" : "input_007_1", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.montera.com.au/spec/DMN/0092-feel-lambda" + } + } ] + }, { + "@kind" : "decision", + "id" : "_decision_008_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_008_1", + "javaTypeName" : "Decision_008_1", + "knowledgeReferences" : [ { + "reference" : "_bkm_008_1" + }, { + "reference" : "_bkm_008_1" + } ], + "name" : "decision_008_1", + "protoRequestName" : "proto.Decision0081Request", + "protoResponseName" : "proto.Decision0081Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_009_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_009_1", + "javaTypeName" : "Decision_009_1", + "knowledgeReferences" : [ { + "reference" : "_bkm_009_1" + }, { + "reference" : "_bkm_009_1" + } ], + "name" : "decision_009_1", + "protoRequestName" : "proto.Decision0091Request", + "protoResponseName" : "proto.Decision0091Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_010_1", + "informationReferences" : [ { + "reference" : "_decision_010_2" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_010_1", + "javaTypeName" : "Decision_010_1", + "knowledgeReferences" : [ ], + "name" : "decision_010_1", + "protoRequestName" : "proto.Decision0101Request", + "protoResponseName" : "proto.Decision0101Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_010_1_a", + "informationReferences" : [ { + "reference" : "_decision_010_2_a" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_010_1_a", + "javaTypeName" : "Decision_010_1_a", + "knowledgeReferences" : [ ], + "name" : "decision_010_1_a", + "protoRequestName" : "proto.Decision0101ARequest", + "protoResponseName" : "proto.Decision0101AResponse", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_010_2", + "informationReferences" : [ ], + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression", + "javaParameterName" : "decision_010_2", + "javaTypeName" : "Decision_010_2", + "knowledgeReferences" : [ { + "reference" : "_bkm_010_1" + }, { + "reference" : "_bkm_010_1" + } ], + "name" : "decision_010_2", + "protoRequestName" : "proto.Decision0102Request", + "protoResponseName" : "proto.Decision0102Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_010_2_a", + "informationReferences" : [ ], + "javaOutputTypeName" : "com.gs.dmn.runtime.LambdaExpression", + "javaParameterName" : "decision_010_2_a", + "javaTypeName" : "Decision_010_2_a", + "knowledgeReferences" : [ { + "reference" : "_bkm_010_1_a" + }, { + "reference" : "_bkm_010_1_a" + } ], + "name" : "decision_010_2_a", + "protoRequestName" : "proto.Decision0102ARequest", + "protoResponseName" : "proto.Decision0102AResponse", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_011_1", + "informationReferences" : [ { + "reference" : "_input_011_1" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_011_1", + "javaTypeName" : "Decision_011_1", + "knowledgeReferences" : [ { + "reference" : "_bkm_011_1" + }, { + "reference" : "_bkm_011_1" + } ], + "name" : "decision_011_1", + "protoRequestName" : "proto.Decision0111Request", + "protoResponseName" : "proto.Decision0111Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_input_011_1", + "javaParameterName" : "input_011_1", + "javaTypeName" : "java.lang.Number", + "name" : "input_011_1", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.montera.com.au/spec/DMN/0092-feel-lambda" + } + } ] + }, { + "@kind" : "decision", + "id" : "_decision_012_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_012_1", + "javaTypeName" : "Decision_012_1", + "knowledgeReferences" : [ { + "reference" : "_bkm_012_1" + }, { + "reference" : "_bkm_012_1" + }, { + "reference" : "_bkm_012_2" + }, { + "reference" : "_bkm_012_2" + } ], + "name" : "decision_012_1", + "protoRequestName" : "proto.Decision0121Request", + "protoResponseName" : "proto.Decision0121Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_013_1", + "informationReferences" : [ ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_013_1", + "javaTypeName" : "Decision_013_1", + "knowledgeReferences" : [ { + "reference" : "_bkm_013_1" + }, { + "reference" : "_bkm_013_1" + }, { + "reference" : "_decisionService_013_1" + }, { + "reference" : "_decisionService_013_1" + } ], + "name" : "decision_013_1", + "protoRequestName" : "proto.Decision0131Request", + "protoResponseName" : "proto.Decision0131Response", + "transitiveRequiredInput" : [ ] + }, { + "@kind" : "decision", + "id" : "_decision_013_2", + "informationReferences" : [ { + "reference" : "_input_013_1" + } ], + "javaOutputTypeName" : "java.lang.Number", + "javaParameterName" : "decision_013_2", + "javaTypeName" : "Decision_013_2", + "knowledgeReferences" : [ ], + "name" : "decision_013_2", + "protoRequestName" : "proto.Decision0132Request", + "protoResponseName" : "proto.Decision0132Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_input_013_1", + "javaParameterName" : "input_013_1", + "javaTypeName" : "java.lang.Number", + "name" : "input_013_1", + "typeRef" : { + "localName" : "number", + "namespace" : "http://www.montera.com.au/spec/DMN/0092-feel-lambda" + } + } ] + }, { + "@kind" : "decision", + "id" : "_decision_017_1", + "informationReferences" : [ { + "reference" : "_input_017_1" + } ], + "javaOutputTypeName" : "List", + "javaParameterName" : "decision_017_1", + "javaTypeName" : "Decision_017_1", + "knowledgeReferences" : [ { + "reference" : "_bkm_017_1" + }, { + "reference" : "_bkm_017_1" + } ], + "name" : "decision_017_1", + "protoRequestName" : "proto.Decision0171Request", + "protoResponseName" : "proto.Decision0171Response", + "transitiveRequiredInput" : [ { + "@kind" : "inputData", + "id" : "_input_017_1", + "javaParameterName" : "input_017_1", + "javaTypeName" : "String", + "name" : "input_017_1", + "typeRef" : { + "localName" : "string", + "namespace" : "http://www.montera.com.au/spec/DMN/0092-feel-lambda" + } + } ] + }, { + "@kind" : "decision", + "id" : "_decision_018", + "informationReferences" : [ ], + "javaOutputTypeName" : "List", + "javaParameterName" : "decision_018", + "javaTypeName" : "Decision_018", + "knowledgeReferences" : [ { + "reference" : "_bkm_018" + }, { + "reference" : "_bkm_018" + } ], + "name" : "decision_018", + "protoRequestName" : "proto.Decision018Request", + "protoResponseName" : "proto.Decision018Response", + "transitiveRequiredInput" : [ ] + } ] +} \ No newline at end of file