VisualDataSchema:Task: Difference between revisions

From Visual Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 98: Line 98:
         "Test": {
         "Test": {
             "wiki": {
             "wiki": {
                "name": "Test",
                 "type": "property",
                 "type": "property",
                 "name": "Test",
                 "multiple-items": false,
                "label-parsed": "Test Options from Wikilist (Template:Testlist)",
                 "visibility": "visible",
                 "visibility": "visible",
                "multiple-items": false,
                 "preferred-input": "OO.ui.DropdownInputWidget",
                 "preferred-input": "OO.ui.DropdownInputWidget",
                 "input-config": [],
                 "input-config": [],
                 "options-allow-null": false,
                 "options-allow-null": false,
                 "options-wikilist": "Template:Testlist",
                 "options-wikilist": "Template:Testlist",
                 "required": false
                 "required": false,
                "options-values-parsed": {
                    "Option 1": "Option 1",
                    "Option 2": "Option 2",
                    "Option 3": "Option 3"
                }
             },
             },
             "enum": [],
             "enum": [],
Line 112: Line 118:
             "format": "text",
             "format": "text",
             "title": "Test Options from Wikilist (Template:Testlist)"
             "title": "Test Options from Wikilist (Template:Testlist)"
        },
        "Test 2": {
            "wiki": {
                "type": "property",
                "name": "Test 2",
                "visibility": "visible",
                "multiple-items": false,
                "preferred-input": "LookupElement",
                "input-config": [],
                "required": false,
                "options-askquery": "[[category:Projects]]",
                "askquery-schema": "Project",
                "askquery-printouts": [
                    "pagetitle"
                ]
            },
            "type": "string",
            "format": "text",
            "title": "Test Options from Query"
         }
         }
     },
     },

Revision as of 13:17, 6 March 2024

wiki
type"schema"
name"Task"
properties
assignee
wiki
name"assignee"
type"property"
multiple-itemsfalse
requiredtrue
label-parsed"Assignee"
default-parsed"Uschuetzenmeister"
value-prefix"User:"
visibility"visible"
preferred-input"mw.widgets.UserInputWidget"
input-config
Empty array
type"string"
format"text"
title"Assignee"
default"{{CURRENTUSER}}"
description
wiki
name"description"
type"property"
multiple-itemsfalse
requiredtrue
label-parsed"Description"
visibility"visible"
preferred-input"OO.ui.MultilineTextInputWidget"
input-config
Empty array
type"string"
format"text"
title"Description"
status
wiki
name"status"
type"property"
multiple-itemsfalse
requiredtrue
label-parsed"Status"
visibility"visible"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
options-allow-nullfalse
options-wikilist"Task status list"
options-values-parsed
assigned"assigned"
in progress"in progress"
peer review"peer review"
action required"action required"
completed"completed"
enum
Empty array
type"string"
format"text"
title"Status"
Comments
wiki
name"Comments"
type"property"
multiple-itemsfalse
label-parsed"comments"
visibility"visible"
preferred-input"VisualEditor"
input-config
Empty array
requiredfalse
type"string"
format"textarea"
title"comments"
id-increment
wiki
name"id-increment"
type"property"
multiple-itemsfalse
visibility"hidden"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
value-formula"{{#idprovider-increment:}}"
property-model"json-schema"
options
hiddentrue
type"string"
format"text"
Test
wiki
name"Test"
type"property"
multiple-itemsfalse
label-parsed"Test Options from Wikilist (Template:Testlist)"
visibility"visible"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
options-allow-nullfalse
options-wikilist"Template:Testlist"
requiredfalse
options-values-parsed
Option 1"Option 1"
Option 2"Option 2"
Option 3"Option 3"
enum
Empty array
type"string"
format"text"
title"Test Options from Wikilist (Template:Testlist)"
Test 2
wiki
type"property"
name"Test 2"
visibility"visible"
multiple-itemsfalse
preferred-input"LookupElement"
input-config
Empty array
requiredfalse
options-askquery"[[category:Projects]]"
askquery-schema"Project"
askquery-printouts
"pagetitle"
type"string"
format"text"
title"Test Options from Query"
required
"assignee"
"description"
"status"
type"object"