schemas icon indicating copy to clipboard operation
schemas copied to clipboard

License object seems to conflict with specification

Open icklecows opened this issue 8 years ago • 2 comments

https://github.com/frictionlessdata/schemas/blob/master/definitions.json

In lines 167-170 the schema suggests that either a type or a URL are required (anyOf) for the license property if supplied as an object. However, the specification says, "The object structure MUST contain a type property and a url property linking to the actual text." so I'd expect the schema to use "allOf" for the required fields.

icklecows avatar Dec 12 '16 17:12 icklecows

Hi @icklecows unfortunately recent changes that target v1, slated for release at the end of this year, have been merged directly onto master ( cc @rufuspollock ). This is one of them. I'm sorry for the confusion. The current license definition is as per the definitions.json file, and this will be updated when we release v1.

pwalsh avatar Dec 13 '16 06:12 pwalsh

licenses definition now here: https://github.com/frictionlessdata/specs/blob/master/sources/dictionary.json#L202

danfowler avatar Feb 11 '17 00:02 danfowler