Skip to content

Suggestion: Manifest schema property to include "useInName" #46

@nytamin

Description

@nytamin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Concluded - waiting for implementationThis issue has been discussed by the Working Group and a conclusion has been reached.IdeaIdeas or ProposalManifestRelated to the OGraf Graphics manifest

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions