Skip to content

Commit fc647dd

Browse files
committed
fix(test): update mapping registry test data for probing model update
1 parent 50fa51d commit fc647dd

1 file changed

Lines changed: 12 additions & 30 deletions

File tree

test/resources/mapping_suite.json

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -223,36 +223,18 @@
223223
"property_description": "EU Directive that forms the legal basis for this procurement"
224224
}
225225
],
226-
"document_type_probing": {
227-
"must_exist": [
228-
{
229-
"formal_expression": ".//efext:EformsExtension",
230-
"formal_expression_type": "xpath",
231-
"extraction_method": "element",
232-
"attribute_name": null
233-
},
234-
{
235-
"formal_expression": ".//cbc:CustomizationID[contains(text(), 'eForms')]",
236-
"formal_expression_type": "xpath",
237-
"extraction_method": "text",
238-
"attribute_name": null
239-
}
240-
],
241-
"must_not_exist": [
242-
{
243-
"formal_expression": ".//sf:StandardForms",
244-
"formal_expression_type": "xpath",
245-
"extraction_method": "element",
246-
"attribute_name": null
247-
},
248-
{
249-
"formal_expression": ".//ext:UBLExtension/ext:ExtensionContent[not(.//efext:EformsExtension)]",
250-
"formal_expression_type": "xpath",
251-
"extraction_method": "element",
252-
"attribute_name": null
253-
}
254-
]
255-
}
226+
"document_type_probing": [
227+
{
228+
"formal_expression": ".//cbc:CustomizationID",
229+
"formal_expression_type": "xpath",
230+
"probing_method": "must_exist"
231+
},
232+
{
233+
"formal_expression": "./TED_EXPORT",
234+
"formal_expression_type": "xpath",
235+
"probing_method": "must_not_exist"
236+
}
237+
]
256238
},
257239
"eligibility_constraint_config": {
258240
"eligibility_mapping": [

0 commit comments

Comments
 (0)