database icon indicating copy to clipboard operation
database copied to clipboard

Encapsulate concept of default source by moving to array responses of `content` and `translations`

Open Harjot1Singh opened this issue 1 year ago • 0 comments

Summary

As there are multiple sources of both content and translations, an end user may not know which source to use for content and translations, per composition. A clean way of modelling around this is to represent content and translation values as arrays, ordered by our recommendation for the line.

Approach

Change the JSON representation to use arrays, rather than objects to represent the value of content/gurbani and translations.

Harjot1Singh avatar Jul 10 '22 16:07 Harjot1Singh