Skip to content

Definition of component types

Yanick Schraner edited this page Jan 25, 2021 · 5 revisions

Title

{
    "type":"title",
    "icon":"tbd",
    "settings":{
        "languages":[
            "DE",
            "CH",
            "Native"
        ]
    }
}

Childs: None

Text

{
    "type":"text",
    "icon":"tbd",
    "settings":{
        "languages":[
            "DE",
            "CH",
            "Native"
        ],
        "styling": [
            "bold",
            "italic",
            "underline"
        ],
    }
}

Childs: None

Dialogue

{
    "type":"dialogue",
    "icon":"tbd",
    "settings":{ }
}

Childs: Title, Text, Illustration, Bubble

Bubble

{
    "type":"bubble",
    "icon":"tbd",
    "settings":{
        "characters":[

        ],
        "is_formal":[
            true,
            false
        ],
        "audio_url":""
    }
}

Childs: Bubble_item

Bubble_item

{
    "type":"bubble_item",
    "icon":"tbd",
    "settings":{
        "character":""
    }
}

Childs: Text

Voggi

{
    "type":"voggi",
    "icon":"tbd",
    "settings":{ }
}

Childs: None

Illustration

{
    "type":"illustration",
    "icon":"tbd",
    "settings":{
        "url":"",
        "sketch_url": "",
        "instruction_description": ""
    }
}

Childs: None

Link

{
    "type":"link",
    "icon":"tbd",
    "settings":{
        "url":""
    }
}

Childs: Text (Display text, is translatable)

Table

{
    "type":"table",
    "icon":"tbd",
    "settings":{
        "n_columns":""
    }
}

Childs: row

Row

{
    "type":"row",
    "icon":"tbd",
    "settings":{ }
}

Childs: cell

Cell

{
    "type":"cell",
    "icon":"tbd",
    "settings":{ }
}

Childs: text, table

NewWords-Component

--> Replacement for footnote

TBD

Proposal:

unordered listing

{
    "type": "ul",
    "icon": "tbd",
    "settings": { }
}

Childs: Text

ordered listing

{
    "type": "ol",
    "icon": "tbd",
    "settings": { }
}

Childs: Text

text box

{
    "type": "text_box",
    "icon": "tbd",
    "settings": { }
}

Childs: Text, ordered list, unordered list, table

Clone this wiki locally