mjanez / ckanext-scheming

GeoDCAT-AP/INSPIRE CKAN custom schema
Other
0 stars 0 forks source link

Enhancement - Migrate JSON Lists to Object Lists #5

Closed mjanez closed 1 year ago

mjanez commented 1 year ago

Migrating JSON lists to object lists in ckanext-scheming may be necessary for several reasons. Here are some common reasons:

  1. Data validation: CKAN uses ckanext-scheming to validate the data that is entered into a dataset. If a JSON list field is not validated properly, it can be difficult to verify and validate, which can lead to errors and incorrect data. By migrating to an object list, it is possible to define a more specific structure for the list, which makes validation easier and reduces the likelihood of errors.

  2. Compatibility with other tools: Some analysis and visualization tools may require data to be presented in an object list rather than a JSON list. By migrating to an object list, you ensure that the data is compatible with a variety of tools.

  3. Flexibility in data structure: JSON lists have a flexible structure, which means there is no defined structure for each element in the list. By migrating to an object list, a more specific structure can be defined for each element in the list, which can make it easier to work with the data and derive meaningful insights from it.

mjanez commented 1 year ago

Postponed.