Skip to content

Commit 0e20460

Browse files
Including CRs from Beast into Pre-Award Catalogue
1 parent ab6f69a commit 0e20460

File tree

3 files changed

+502
-161
lines changed

3 files changed

+502
-161
lines changed

project.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,12 @@
331331
<Path>rules/peppol-invitation-to-tender/PEPPOL-T024.sch</Path>
332332
<Title>PEPPOL T024 rules - Invitation to Tender 1.0</Title>
333333
</Resource>
334+
<Resource>
335+
<Identifier>T036</Identifier>
336+
<Type>native:Schematron</Type>
337+
<Path>rules/peppol-call-for-tender/PEPPOL-T036.sch</Path>
338+
<Title>PEPPOL T036 rules - Pre-Award Catalogue 1.0</Title>
339+
</Resource>
334340

335341
<!-- Code lists -->
336342
<Resource>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<schema xmlns="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3+
<title>Rules for the Pre-Award Catalogue</title>
4+
5+
<ns prefix="cbc" uri="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"/>
6+
<ns prefix="cac" uri="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"/>
7+
<ns prefix="ext" uri="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2"/>
8+
<ns prefix="ubl" uri="urn:oasis:names:specification:ubl:schema:xsd:CallForTenders-2"/>
9+
10+
<sch:pattern id="cc">
11+
<sch:rule context="ubl:Catalogue/cac:CatalogueLine/cac:Item">
12+
<sch:assert test="cac:BuyersItemIdentification/cbc:ID
13+
or cac:SellersItemIdentification/cbc:ID
14+
or cac:ManufacturersItemIdentification/cbc:ID
15+
or cac:StandardItemIdentification/cbc:ID">
16+
At least one item identifier (Buyer, Seller, Manufacturer or Standard) MUST be present on each catalogue line.
17+
</sch:assert>
18+
</sch:rule>
19+
</sch:pattern>
20+
21+
</schema>

0 commit comments

Comments
 (0)