VisualDataSchema:School: Difference between revisions

From Visual Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
     "wiki": {
     "wiki": {
         "type": "schema",
         "type": "schema",
        "uuid": "66013ab81ba9e",
         "name": "School",
         "name": "School",
        "title-parsed": "School",
         "title": "School"
         "title": "School"
     },
     },
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)",
                "uuid": "66013ab81baa2",
                 "visibility": "visible",
                 "visibility": "visible",
                 "preferred-input": "LookupElement",
                 "preferred-input": "OO.ui.DropdownInputWidget",
                 "input-config": [],
                 "input-config": [],
                 "askquery-schema": "School destrict",
                "options-allow-null": false,
                "options-label-formula": "\u003Cname\u003E",
                "options-askquery": "[[name::+]]",
                 "askquery-schema": "School district",
                 "askquery-printouts": [
                 "askquery-printouts": [
                     "name"
                     "name"
                 ],
                 ],
                 "required": false
                "options-query-formula": "\u003Carticleid\u003E",
                 "required": false,
                "options-values-parsed": {
                    "216": "First school district",
                    "218": "Second school district",
                    "598": "",
                    "613": "School District 3"
                }
             },
             },
             "type": "string",
             "type": "string",
             "format": "text",
             "format": "text",
             "title": "Belongs to"
             "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\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 31: Line 62:
                 "type": "property",
                 "type": "property",
                 "multiple-items": false,
                 "multiple-items": false,
                "label": "Name",
                 "label-parsed": "Name",
                 "label-parsed": "Name",
                 "visibility": "visible",
                 "visibility": "visible",
                 "preferred-input": "OO.ui.TextInputWidget",
                 "preferred-input": "OO.ui.TextInputWidget",
                 "input-config": [],
                 "input-config": [],
                 "required": false
                 "required": false,
                "uuid": "66013ab81baa7"
             },
             },
             "type": "string",
             "type": "string",
             "format": "text",
             "format": "text",
             "title": "Name"
             "title": "Name"
        },
        "description": {
            "wiki": {
                "name": "description",
                "type": "property",
                "multiple-items": false,
                "label": "Description",
                "label-parsed": "Description",
                "visibility": "visible",
                "preferred-input": "VisualEditor",
                "input-config": [],
                "required": false,
                "uuid": "66013ab81baa9"
            },
            "type": "string",
            "format": "textarea",
            "title": "Description"
         },
         },
         "school principal": {
         "school principal": {
Line 46: 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",
                 "preferred-input": "OO.ui.TextInputWidget",
                 "preferred-input": "OO.ui.TextInputWidget",
                 "input-config": [],
                 "input-config": [],
                 "required": false
                 "required": false,
                "uuid": "66013ab81baab"
             },
             },
             "type": "string",
             "type": "string",
Line 56: Line 108:
             "title": "School Principal"
             "title": "School Principal"
         },
         },
         "number of pupils": {
         "teachers": {
             "wiki": {
             "wiki": {
                 "name": "number of pupils",
                 "name": "teachers",
                "title-parsed": "Teachers",
                "title": "Teachers",
                "unique-items": true,
                "type": "schema",
                "uuid": "6601e15beba22"
            },
            "items": {
                "type": "string",
                "wiki": {
                    "name": "teacher",
                    "type": "property",
                    "multiple-items": true,
                    "label": "Teacher",
                    "default": [],
                    "label-parsed": "Teacher",
                    "default-parsed": [],
                    "uuid": "6601960545ab8",
                    "visibility": "visible",
                    "preferred-input": "OO.ui.TextInputWidget",
                    "input-config": [],
                    "required": false,
                    "layout": "table"
                },
                "format": "text",
                "title": "Teacher",
                "default": []
            },
            "type": "array",
            "title": "Teachers",
            "uniqueItems": true
        },
        "id increment": {
            "wiki": {
                "name": "id increment",
                 "type": "property",
                 "type": "property",
                 "multiple-items": false,
                 "multiple-items": false,
                 "label-parsed": "Number of Pupils",
                "visibility": "hidden",
                 "visibility": "visible",
                 "label": "ID",
                 "preferred-input": "OO.ui.NumberInputWidget",
                 "label-parsed": "ID",
                 "preferred-input": "OO.ui.TextInputWidget",
                 "input-config": [],
                 "input-config": [],
                 "required": false
                 "required": false,
                "value-formula": "{{#idprovider-increment:}}",
                "uuid": "66013ab81bab3"
            },
            "options": {
                "hidden": true
             },
             },
             "type": "integer",
             "type": "string",
             "format": "text",
             "format": "text",
             "title": "Number of Pupils"
             "title": "ID"
         }
         }
     },
     },

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]