Open cldellow opened 1 year ago
(copy from Discord)
metadata.json
{ "databases": {
"mydb": {
"tables": {
"mytable": {
"plugins": {
"dux-json-schema": {
"mycolumn": { ... json schema goes here ... }
templates
directory
schema-{tablename}-{columnname}.json
in the templates folderschema-{columnname}.json
To be consistent with existing datasette templates, it should probably be:
schema-mydatabase-mytable-mycolumn.json
Perhaps as a plugin? See discussion at https://discord.com/channels/823971286308356157/996877076982415491/1076869765290803290
It could perhaps use the bundled JSON Forms that I built for datasette-scraper: https://github.com/cldellow/datasette-scraper/tree/master/jsonforms-bundle
How would we convey the schema to be used?