Table Schema: contextual metadata about the schema
See original GitHub issueI would find very usefull to build schema documentation based on Table Schema. That way documentation and data would stay closed together, because the schema can also be used for validation with CSV Lint.
To do that, we need contextual information about the schema: its title, author, version, and so on… Here is an example to show what I would find useful:
{
"schema": {
"title": "Spécification de la liste annuelle des prénoms des nouveaux-nés",
"author": "Charles Nepote <charles.nepote@fing.org>",
"date": "mars 2017",
"version": "0.1beta",
"description": "La liste annuelle des prénoms des nouveaux-nés est un jeu de données simple et très apprécié du public. Il consiste en une liste de prénoms avec l'occurence de chacun pour une année donnée.",
"fields": [
{
"name": "CODE_INSEE",
"title": "Code INSEE",
"description": "Code INSEE de la commune où les prénoms sont enregistrés. Issu du Code officiel géographique, est composé de 5 caractères alphanumériques (les deux premiers correspondent au département et peuvent donc contenir les lettres A et B, utilisées pour la Corse).",
"type": "string",
"examples": "06088, 1B002 (pour une commune corse)",
"constraints": {
"required": true,
"pattern": "^([013-9]\\d|2[AB1-9])\\d{3}$"
}
]
}
}
I made a very quick and (very) dirty tool to show that. Unfortunatly, it’s only in french for the moment, I’ll translate it if you’re interested in: http://dataliteracyconference.net/specificator/demo3.html (link will change).
Adding some contextual informations won’t break anything, I think. And open data movement needs more professionnal yet simple tools. Thanks for your efforts!
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
Appendix A: Meta-Data Schema - Spring
The Spring Batch Metadata tables closely match the domain objects that represent them in Java. For example, JobInstance , JobExecution , JobParameters ,...
Read more >Describing Databases with MetaData
MetaData is a container object that keeps together many different features of a database (or multiple databases) being described.
Read more >Metadata Schema - an overview | ScienceDirect Topics
Metadata design is the process of determining how the metadata schemas will be implemented, such as which elements are required, when and how...
Read more >Selecting tables and defining table schemas - 8.0
To retrieve a schema based on one of the loaded table schemas, select the DB table schema name in the drop-down list and...
Read more >Metadata Vocabulary for Tabular Data - W3C
A schema is a definition of a tabular format that may be common to multiple tables. For example, multiple tables from different sources...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just to let you know, we generated a Gitbook documentation of some schemas we are using, based on the enhancements proposed by @CharlesNepote, sightly adapted.
For example:
I intend to propose a “pattern” as suggested above, in the next weeks, to reopen the discussion about adding metadata to table schemas, on a concrete base.
@rufuspollock @pwalsh @frictionlessdata Our team at @jailbreak-paris has increasingly used Table Schema for the past year and a half and we’re seeing more and more adoption around us (including at @Etalab). We think it has a bright future. So we’ve finally rolled up our sleeves and (finally!) got to work on this. Our draft propostion and (most importantly) questions are here: https://github.com/frictionlessdata/specs/pull/627