You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lectern schemas are structured as they are to work with TSV data files. To facilitate the creation of compatible data files Lectern should have an endpoint that can generate a TSV template file for any schema (or for every schema in a dictionary).
A TSV template file for a schema includes a header row with the field names from a schema separated by tabs. The file should be named with the schema name, ie. schema_name.tsv.
All templates for a dictionary can be generated following this pattern and then provided in a single zip file for download. The zip file should be named with the dictionary name and version number.
Detailed Description
Two endpoints needed:
GET /dictionaries/:dictId/templates - Download all schema templates for dictionary in zip file.
GET /dictionaries/:dictId/schemas/:schemaId/template - Download template for an individual schema
The text was updated successfully, but these errors were encountered:
Lectern schemas are structured as they are to work with TSV data files. To facilitate the creation of compatible data files Lectern should have an endpoint that can generate a TSV template file for any schema (or for every schema in a dictionary).
A TSV template file for a schema includes a header row with the field names from a schema separated by tabs. The file should be named with the schema name, ie.
schema_name.tsv
.All templates for a dictionary can be generated following this pattern and then provided in a single zip file for download. The zip file should be named with the dictionary name and version number.
Detailed Description
Two endpoints needed:
GET /dictionaries/:dictId/templates
- Download all schema templates for dictionary in zip file.GET /dictionaries/:dictId/schemas/:schemaId/template
- Download template for an individual schemaThe text was updated successfully, but these errors were encountered: