VisualDataSchema:School: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
(24 intermediate revisions by 2 users 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 9: Line 9:
         "belongs to": {
         "belongs to": {
             "wiki": {
             "wiki": {
                "name": "belongs to",
                 "type": "property",
                 "type": "property",
                 "name": "belongs to",
                 "multiple-items": false,
                "label-parsed": "Belongs to",
                "help-message-parsed": "(this input can be hidden)",
                "uuid": "66013ab81baa2",
                 "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-label-formula": "\u003Cname\u003E \u003Cvalue\u003El",
                 "options-label-formula": "\u003Cname\u003E",
                 "options-askquery": "[[name::+]]",
                 "options-askquery": "[[name::+]]",
                 "askquery-schema": "School district",
                 "askquery-schema": "School district",
Line 23: Line 26:
                 ],
                 ],
                 "options-query-formula": "\u003Carticleid\u003E",
                 "options-query-formula": "\u003Carticleid\u003E",
                 "required": false
                 "required": false,
                "options-values-parsed": {
                    "1885": "district a"
                }
             },
             },
            "enum": [],
             "type": "string",
             "type": "string",
             "format": "text",
             "format": "text",
             "title": "Belongs to",
             "title": "Belongs to",
             "description": "(this input can be hidden)"
             "description": "(this input can be hidden)",
            "enum": [
                "1885"
            ]
         },
         },
         "name": {
         "name": {
Line 40: Line 48:
                 "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-parsed": "Description",
                "visibility": "visible",
                "preferred-input": "VisualEditor",
                "input-config": [],
                "required": false,
                "uuid": "66013ab81baa9"
            },
            "type": "string",
            "format": "textarea",
            "title": "Description"
         },
         },
         "school principal": {
         "school principal": {
Line 55: Line 80:
                 "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 61: Line 87:
             "title": "School Principal"
             "title": "School Principal"
         },
         },
         "number of pupils": {
         "number_of_pupils": {
             "wiki": {
             "wiki": {
                "name": "number of pupils",
                 "type": "property",
                 "type": "property",
                "name": "number_of_pupils",
                "visibility": "visible",
                 "multiple-items": false,
                 "multiple-items": false,
                "label-parsed": "Number of Pupils",
                "visibility": "visible",
                 "preferred-input": "OO.ui.NumberInputWidget",
                 "preferred-input": "OO.ui.NumberInputWidget",
                 "input-config": [],
                 "input-config": [],
                 "required": false
                 "required": false,
                "uuid": "6616ed07d4212"
             },
             },
             "type": "integer",
             "type": "integer",
             "format": "text",
             "title": "number of pupils"
             "title": "Number of Pupils"
        },
        "teachers": {
            "wiki": {
                "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-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": {
         "id increment": {
Line 86: Line 143:
                 "input-config": [],
                 "input-config": [],
                 "required": false,
                 "required": false,
                 "value-formula": "{{#idprovider-increment:}}"
                 "value-formula": "{{#idprovider-increment:}}",
                "uuid": "66013ab81bab3"
             },
             },
             "options": {
             "options": {

Latest revision as of 19:48, 10 April 2024

wiki
type"schema"
uuid"66013ab81ba9e"
name"School"
title"School"
properties
belongs to
wiki
name"belongs to"
type"property"
multiple-itemsfalse
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
1885"district a"
type"string"
format"text"
title"Belongs to"
description"(this input can be hidden)"
enum
"1885"
name
wiki
name"name"
type"property"
multiple-itemsfalse
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-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-parsed"School Principal"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"66013ab81baab"
type"string"
format"text"
title"School Principal"
number_of_pupils
wiki
type"property"
name"number_of_pupils"
visibility"visible"
multiple-itemsfalse
preferred-input"OO.ui.NumberInputWidget"
input-config
Empty array
requiredfalse
uuid"6616ed07d4212"
type"integer"
title"number of pupils"
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-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-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]