VisualDataSchema:School: Difference between revisions

From Visual Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
                 "type": "property",
                 "type": "property",
                 "multiple-items": false,
                 "multiple-items": false,
                "label": "Belongs to",
                "help-message": "(this input can be hidden)",
                 "label-parsed": "Belongs to",
                 "label-parsed": "Belongs to",
                 "help-message-parsed": "(this input can be hidden)",
                 "help-message-parsed": "(this input can be hidden)",
Line 28: Line 30:
                 "required": false,
                 "required": false,
                 "options-values-parsed": {
                 "options-values-parsed": {
                     "1863": "School district 1",
                     "216": "First school district",
                     "1864": "School district 2",
                     "218": "Second school district",
                     "1882": "School district 3"
                     "598": "",
                    "613": "School District 3"
                 }
                 }
             },
             },
Line 38: Line 41:
             "description": "(this input can be hidden)",
             "description": "(this input can be hidden)",
             "enum": [
             "enum": [
                 "1864",
                 "216",
                 "1863",
                 "218",
                 "1882"
                 "598",
                "613"
             ]
             ]
        },
        "School district button": {
            "wiki": {
                "type": "content-block",
                "name": "School district button",
                "content": "{{#visualdataform: School district\n|title = Add School District\n|action = create\n|edit-page = \n|return-page = {{FULLPAGENAME}} \n|view = popup\n|popup-size = medium\n|css-class =\n|pagename-formula = school_district/\u003Cid increment\u003E\n|edit-freetext = false\n|edit-categories = false\n|edit-content-model = false\n|edit-target-slot = false\n|target-slot = main\n|default-categories =\n|default-content-model = json\n|preload = \n|preload-data = \n|layout-align = top\n|popup-help = false \n|submit-button-text =\n|layout =\n|submit-button-text =\n|validate-button-text =\n}}",
                "uuid": "677ff12e9a59a"
            },
            "type": "object",
            "description": "\u003Cdiv class=\"VisualDataFormWrapper\" id=\"visualdataform-wrapper-0\"\u003Eform is loading...\u003C/div\u003E"
         },
         },
         "name": {
         "name": {
Line 48: Line 62:
                 "type": "property",
                 "type": "property",
                 "multiple-items": false,
                 "multiple-items": false,
                "label": "Name",
                 "label-parsed": "Name",
                 "label-parsed": "Name",
                 "visibility": "visible",
                 "visibility": "visible",
Line 64: Line 79:
                 "type": "property",
                 "type": "property",
                 "multiple-items": false,
                 "multiple-items": false,
                "label": "Description",
                 "label-parsed": "Description",
                 "label-parsed": "Description",
                 "visibility": "visible",
                 "visibility": "visible",
Line 80: Line 96:
                 "type": "property",
                 "type": "property",
                 "multiple-items": false,
                 "multiple-items": false,
                "label": "School Principal",
                 "label-parsed": "School Principal",
                 "label-parsed": "School Principal",
                 "visibility": "visible",
                 "visibility": "visible",
Line 106: Line 123:
                     "type": "property",
                     "type": "property",
                     "multiple-items": true,
                     "multiple-items": true,
                    "label": "Teacher",
                    "default": [],
                     "label-parsed": "Teacher",
                     "label-parsed": "Teacher",
                     "default-parsed": [],
                     "default-parsed": [],
Line 129: Line 148:
                 "multiple-items": false,
                 "multiple-items": false,
                 "visibility": "hidden",
                 "visibility": "hidden",
                "label": "ID",
                 "label-parsed": "ID",
                 "label-parsed": "ID",
                 "preferred-input": "OO.ui.TextInputWidget",
                 "preferred-input": "OO.ui.TextInputWidget",

Latest revision as of 15:54, 9 January 2025

wiki
type"schema"
uuid"66013ab81ba9e"
name"School"
title"School"
properties
belongs to
wiki
name"belongs to"
type"property"
multiple-itemsfalse
label"Belongs to"
help-message"(this input can be hidden)"
label-parsed"Belongs to"
help-message-parsed"(this input can be hidden)"
uuid"66013ab81baa2"
visibility"visible"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
options-allow-nullfalse
options-label-formula"<name>"
options-askquery"[[name::+]]"
askquery-schema"School district"
askquery-printouts
"name"
options-query-formula"<articleid>"
requiredfalse
options-values-parsed
216"First school district"
218"Second school district"
598""
613"School District 3"
type"string"
format"text"
title"Belongs to"
description"(this input can be hidden)"
enum
"216"
"218"
"598"
"613"
School district button
wiki
type"content-block"
name"School district button"
content"{{#visualdataform: School district |title = Add School District |action = create |edit-page = |return-page = {{FULLPAGENAME}} |view = popup |popup-size = medium |css-class = |pagename-formula = school_district/<id increment> |edit-freetext = false |edit-categories = false |edit-content-model = false |edit-target-slot = false |target-slot = main |default-categories = |default-content-model = json |preload = |preload-data = |layout-align = top |popup-help = false |submit-button-text = |layout = |submit-button-text = |validate-button-text = }}"
uuid"677ff12e9a59a"
type"object"
description"<div class="VisualDataFormWrapper" id="visualdataform-wrapper-0">form is loading...</div>"
name
wiki
name"name"
type"property"
multiple-itemsfalse
label"Name"
label-parsed"Name"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"66013ab81baa7"
type"string"
format"text"
title"Name"
description
wiki
name"description"
type"property"
multiple-itemsfalse
label"Description"
label-parsed"Description"
visibility"visible"
preferred-input"VisualEditor"
input-config
Empty array
requiredfalse
uuid"66013ab81baa9"
type"string"
format"textarea"
title"Description"
school principal
wiki
name"school principal"
type"property"
multiple-itemsfalse
label"School Principal"
label-parsed"School Principal"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"66013ab81baab"
type"string"
format"text"
title"School Principal"
teachers
wiki
name"teachers"
title-parsed"Teachers"
title"Teachers"
unique-itemstrue
type"schema"
uuid"6601e15beba22"
items
type"string"
wiki
name"teacher"
type"property"
multiple-itemstrue
label"Teacher"
default
Empty array
label-parsed"Teacher"
default-parsed
Empty array
uuid"6601960545ab8"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
layout"table"
format"text"
title"Teacher"
default
Empty array
type"array"
title"Teachers"
uniqueItemstrue
id increment
wiki
name"id increment"
type"property"
multiple-itemsfalse
visibility"hidden"
label"ID"
label-parsed"ID"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
value-formula"{{#idprovider-increment:}}"
uuid"66013ab81bab3"
options
hiddentrue
type"string"
format"text"
title"ID"
type"object"
title"School"
[Mark as patrolled]