ckan / ckanext-validation

CKAN extension for validating Data Packages using Table Schema.
MIT License
28 stars 33 forks source link

Assign a schema on dataset creation / update #8

Closed amercader closed 7 years ago

amercader commented 7 years ago

Up until now we've been mentioning low-level modules that take advantage of resources having a schema attached to them, but of course this schema needs to be provided somewhere.

The fist basic step is to be able to provide a schema on the resource create/update form. The end result would be a schema object (or a URL pointing to one?) in the schema field of the resource but the interface could be:

  1. A simple text box to paste a schema object, or a file upload / URL field for providing an external one
  2. Select a pre-defined schema stored in the database (See point 7)
  3. Schema editor (See point 8)

Estimate: 0.5 days (option 1)

Estimate: 2.5 days (option 1)

amercader commented 7 years ago

Even if going for option 1 my estimate was overly optimistic, as this involves:

amercader commented 7 years ago

Done