Here is a proposed spec for recording publication data.
This is a proposal only and the spec has evolved. Currently this document is out of date in some respects. We will write a definitive spec when the implementation has settled.
In line with the SC tendency to gather relevant data into a single JSON file, let us do that here. There is a single JSON file, say at the top level of bilara-data, which includes publication details. Each entry should record a single publication event as a JSON object. Only essential information should be recorded here, we should avoid duplicating data from elsewhere too much. But we should probably put the full name (also found in author_edition.json, as the data here should make sense on a standalone basis.
There will need to be some kind of number to identify the publication.
Each text must have a translated title.
Github handle is included so we can check the commits by that person.
When is_published field is set to true, this triggers the text being imported into ArangoDB and hence to SuttaCentral.
Multiple editions are allowed for.
We can add other fields, perhaps isbn, alt-text-title, etc.
multiple authors can be handled in the same way as multiple editions.
Publication status indicates if a project is completed, sometimes translators may want to publish a sutta at a time, or a pannasa at a time, etc.
I am wondering whether it would be good to automatically copy read-only data for each publication to its respective directory. That way the relevant publication info is kept with the text if anyone copies it.
There's no need to make a GUI at this point. We can simply supply a JSON template for translators to fill in. Information here will supplement that found elsewhere such as the author bios.
Here is a proposed spec for recording publication data.
This is a proposal only and the spec has evolved. Currently this document is out of date in some respects. We will write a definitive spec when the implementation has settled.
It should be adapted to use JSON-LD:
https://discourse.suttacentral.net/t/publication-metadata-for-sc-translations/13904/4
The UI application of this data is proposed at https://github.com/suttacentral/suttacentral/issues/1519
See: https://github.com/suttacentral/suttacentral/issues/1589
One publications file
In line with the SC tendency to gather relevant data into a single JSON file, let us do that here. There is a single JSON file, say at the top level of bilara-data, which includes publication details. Each entry should record a single publication event as a JSON object. Only essential information should be recorded here, we should avoid duplicating data from elsewhere too much. But we should probably put the full name (also found in
author_edition.json
, as the data here should make sense on a standalone basis.is_published
field is set to true, this triggers the text being imported into ArangoDB and hence to SuttaCentral.isbn
,alt-text-title
, etc.There's no need to make a GUI at this point. We can simply supply a JSON template for translators to fill in. Information here will supplement that found elsewhere such as the author bios.