Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

JSON schema update to validate keys in distribution array #289

Closed
kvuppala opened this issue Mar 12, 2014 · 1 comment
Closed

JSON schema update to validate keys in distribution array #289

kvuppala opened this issue Mar 12, 2014 · 1 comment

Comments

@kvuppala
Copy link

Right now the schema doesn't validate the keys provided in the distribution array, it would be great to check if either of "accessURL" or "webService" is included in the array.

The data.json harvesters are also currently not taking the values from "webService" field in the distribution array, which is in works to address on harvesting side.

Opening the issue to track, will try to update the schema with right validation if we think it is good to address.

@philipashlock
Copy link
Contributor

webService isn't currently defined as being part of the distribution array (or serving as an array either as per #261 and #224)

Validation to ensure that both format and accessURL are provided within the distribution array is part of pull request #286 which I think will be accepted soon

The issues with the data.json harvesters should be ticketed on the data.gov issue tracker.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants