trickvi / bdp2ckan

Turn a Budget Data Package into a CKAN instance
GNU General Public License v3.0
0 stars 0 forks source link

The schema can't do "license" xor "licenses" #10

Closed trickvi closed 9 years ago

trickvi commented 9 years ago

The data package specification (and budget data package as well) says that the descriptor can either use license OR licenses but not both. This can't be captured in the schema and is really weird for the data package as well because data packages allow additional properties. So this is an example of trying to capture:

You can have any additional properties EXCEPT license IF you already have licenses OR license IF you already have license but you don't have to have either of those because these are optional fields.

trickvi commented 9 years ago

This is actually not handled by any data package or data package derived schemas.

trickvi commented 9 years ago

Fixed with recent updates to data package schema and fiscal data package schema