summaryrefslogtreecommitdiffstats
path: root/src/test/resources/model-validation/instance-reader/model-instance-mapping.json_conf
blob: 917c5759abe954de9a76e3ddabf61901a52b3183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[
	{
		"mappingType": "RELATIONSHIP",
		"model": {
			"root": "model-elements/model-element",
			"filter": {
				"path": "relationship-list/relationship/related-to-property/property-value[../property-key/text()='model.model-type']",
				"valid": ["widget"]
			},
			"value": "relationship-list/relationship/related-to-property/property-value[../property-key/text()='model.model-name']"
		},
		"instance": {
			"origin": "$.inventory-response-item[0]",
			"root": "$.inventory-response-items.inventory-response-item[*]"
		}
	}
]