Proposal:
Add a useInName?: boolean property to the manifest schema properties. When useInName = true, this indicates that the value of the property should be included when labelling a graphics in a GUI.
Motivation:
When working on implementing OGraf support into Sofie TV Automation, I found that this would have been nice to have, in order to display meaningful labels to the user (and omit not-so-useful data).
Example:
{
"$schema": "https://ograf.ebu.io/v1/specification/json-schemas/graphics/schema.json",
"id": "title",
"name": "Title screen",
"main": "title.js",
"schema": {
"type": "object",
"properties": {
"mainText": {
"type": "string",
"title": "Main Title text",
"useInName": true
},
"titleColor": {
"type": "string",
"default": "#d32f2f"
},
"titlePosition": {
"type": "string"
},
}
}
}
In this example, mainText would be useful to display in a gui (eg "Title screen: Johan Nyman"), whereas the color and position is not.
Proposal:
Add a
useInName?: booleanproperty to the manifest schema properties. WhenuseInName = true, this indicates that the value of the property should be included when labelling a graphics in a GUI.Motivation:
When working on implementing OGraf support into Sofie TV Automation, I found that this would have been nice to have, in order to display meaningful labels to the user (and omit not-so-useful data).
Example:
{ "$schema": "https://ograf.ebu.io/v1/specification/json-schemas/graphics/schema.json", "id": "title", "name": "Title screen", "main": "title.js", "schema": { "type": "object", "properties": { "mainText": { "type": "string", "title": "Main Title text", "useInName": true }, "titleColor": { "type": "string", "default": "#d32f2f" }, "titlePosition": { "type": "string" }, } } }In this example,
mainTextwould be useful to display in a gui (eg "Title screen: Johan Nyman"), whereas the color and position is not.