Comments (4)
Do not miss the end of the sentence:
For "codelist", "id" is referring to the identifier of the codelist to be used for value selection and "parentId" to the listName attribute value to report when the listName attribute exists ... and the value shall defer from the one of "id".
meaning that, when it exists, the listName attribute shall have:
- the "id" value, or
- when "parentId" is specified in the json file, the "parentId" value.
The rule applies everywhere except for the few cases where the listName attribute is associated to a field (BT-03-notice, BT-26(a)-Lot, BT-26(a)-Part, BT-26(a)-Procedure).
from eforms-sdk.
Hi,
From the referred example, we may extract the following lines.
{
"id" : "BT-23-Part",
"parentNodeId" : "ND-PartProcurementScope",
"name" : "Main Nature",
"btId" : "BT-23",
"xpathAbsolute" : "/*/cac:ProcurementProjectLot[cbc:ID/@schemeName='Part']/cac:ProcurementProject/cbc:ProcurementTypeCode[@listName='contract-nature']",
"xpathRelative" : "cbc:ProcurementTypeCode[@listName='contract-nature']",
"type" : "code",
"legalType" : "CODE",
--- removed lines ---
"codeList" : {
"value" : {
"id" : "eforms-contract-nature",
"type" : "flat",
"parentId" : "contract-nature"
},
"severity" : "ERROR"
},
For "codelist", "id" is referring to the identifier of the codelist to be used for value selection and "parentId" to the listName attribute value to report when the listName attribute exists (i.e. element of type code in the XSD) and the value shall defer from the one of "id".
KR
from eforms-sdk.
Ok good to know.
And this rule
For "codelist", "id" is referring to the identifier of the codelist to be used for value selection and "parentId" to the listName attribute value to report when the listName attribute exist
Applies universally to all fields in the field.json right?
from eforms-sdk.
Ok, makes sense now. Thank you
from eforms-sdk.
Related Issues (20)
- Missing logic regarding generating attributes in BT-23-Lot HOT 2
- captionfieldID for "ND-ExclusionGrounds"
- Missing translations in sdk. HOT 5
- Impossible to fulfill assert in Notice 1, in OPT-201-Organization-TouchPoint
- Missing condition in BR-BT-13713-0102 HOT 1
- Question regarding display of BT-120-Lot on TED HOT 1
- Question regarding wording for Vehicle type (OPT-155-LotResult)
- BT-53 is missing
- Conflicting SDK fields.json rules in version 1.10.1 HOT 4
- Structure of GR-Part-PlannedDuration HOT 2
- Missing conditional mandatory statements for BT-773-Tender (and more)
- Sum of criterias validation error HOT 1
- Missing translations in subtype T02 HOT 1
- Strange NL translation for GR-Lot-ReviewOrg
- Getting validation error BR-OPT-00002-0052 when sending customization id with two digit after the dot, for ex "eforms-sdk-1.10" HOT 1
- missing publication information in pdf render API HOT 1
- CON-0001
- Missing fields using `Convert notice to the latest SDK version` on preview HOT 5
- Getting validation error when providing an Irish postal code
- TED Viewer - Sdk version 1.10 does not exist
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eforms-sdk.