-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional fields missing from OCDS Validator results #679
Comments
Is this because of our language pattern validation approach? I.e. _id could be procuringEntity in Indonesian... We might need to do some rethinking around this, possibly taking @kindly's approach of having auto-generated language-specific extensions |
@duncandewhurst , @timgdavies is right, this is due to pattern properties in the schema. This does need some rethinking, as e.g. |
I've added a non-sprint work issue so that this doesn't get lost |
Flagging that some of the implementers we met with in Georgia were looking at publishing multi-lingual OCDS data using this approach. |
Submitting the following to http://standard.open-contracting.org/validator/ warns about
This is because of the test on this line being insufficient: Line 286 in f36ac9e
That test checks that the field name is suffixed with what could potentially be a BCP 47 language tag. In this case, |
Also, |
@jpmckinney I've added this to the bottom of the Priority board so that we can attend to it in due course. Does that work for you? |
That works. In terms of priority, it can move up as it seems simpler/faster to fix that some others, but I'll leave that to ODS to decide. |
I think this duplicates / is related to #402. |
Definitely related, but I don't think it's a duplicate. The link is helpful though, thanks! |
The handling of patternProperties, this is also important for the new ocds_budgets_and_spend_extension which allows arbitrary key-value pairs within two objects ( At present, validating the examples reports all the fields in these objects as additional fields, whereas the pattern properties regEx in the schema means they should not be reported as a problem. I think with this, plus #402, this should push this up the priority list - ideally with us finding a good way to respect use of patternProperties in the schema. |
This could be a candidate for the Apr-May 2019 sprint. |
When loading this data (results here) into the OCDS Validator there two additional fields in the
tender
section which are not reported:procuringEntity_id
procuring_entity
Since the data at the above link is likely to change I have copied an extract from the
tender
section below:The text was updated successfully, but these errors were encountered: