VisualDataSchema:Project: Difference between revisions

From Wikiyouth
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 2: Line 2:
     "wiki": {
     "wiki": {
         "type": "schema",
         "type": "schema",
         "name": "project",
         "name": "Project",
         "title-parsed": "Project",
         "title-parsed": "Project",
         "title": "Project"
         "title": "Project"
     },
     },
     "properties": {
     "properties": {
         "sending_organization": {
         "name": {
             "wiki": {
             "wiki": {
                 "type": "property",
                 "type": "property",
                 "name": "sending_organization",
                 "name": "name",
                 "visibility": "visible",
                 "visibility": "visible",
                 "multiple-items": false,
                 "multiple-items": false,
Line 16: Line 16:
                 "input-config": [],
                 "input-config": [],
                 "required": true
                 "required": true
            },
            "type": "string",
            "format": "text",
            "title": "Project name"
        },
        "sending_organization": {
            "wiki": {
                "name": "sending_organization",
                "type": "property",
                "multiple-items": false,
                "required": true,
                "label-parsed": "Sending organization",
                "visibility": "visible",
                "preferred-input": "OO.ui.TextInputWidget",
                "input-config": []
             },
             },
             "type": "string",
             "type": "string",
Line 23: Line 38:
         "hosting_organization": {
         "hosting_organization": {
             "wiki": {
             "wiki": {
                "name": "hosting_organization",
                 "type": "property",
                 "type": "property",
                 "name": "hosting_organization",
                 "multiple-items": false,
                "required": true,
                "label-parsed": "Hosting organization",
                 "visibility": "visible",
                 "visibility": "visible",
                "multiple-items": false,
                 "preferred-input": "OO.ui.TextInputWidget",
                 "preferred-input": "OO.ui.TextInputWidget",
                 "input-config": [],
                 "input-config": []
                "required": true
             },
             },
             "type": "string",
             "type": "string",
Line 37: Line 53:
         "coordinating_organization": {
         "coordinating_organization": {
             "wiki": {
             "wiki": {
                "name": "coordinating_organization",
                 "type": "property",
                 "type": "property",
                 "name": "coordinating_organization",
                 "multiple-items": false,
                "label-parsed": "Coordinating organization",
                "help-message-parsed": "(if different from sending organization)",
                 "visibility": "visible",
                 "visibility": "visible",
                "multiple-items": false,
                 "preferred-input": "OO.ui.TextInputWidget",
                 "preferred-input": "OO.ui.TextInputWidget",
                 "input-config": [],
                 "input-config": [],
Line 52: Line 70:
         "start_date": {
         "start_date": {
             "wiki": {
             "wiki": {
                "name": "start_date",
                 "type": "property",
                 "type": "property",
                 "name": "start_date",
                 "multiple-items": false,
                "required": true,
                "label-parsed": "Start date",
                 "visibility": "visible",
                 "visibility": "visible",
                "multiple-items": false,
                 "preferred-input": "mw.widgets.DateInputWidget",
                 "preferred-input": "mw.widgets.DateInputWidget",
                 "input-config": [],
                 "input-config": []
                "required": true
             },
             },
             "type": "string",
             "type": "string",
Line 66: Line 85:
         "end_date": {
         "end_date": {
             "wiki": {
             "wiki": {
                "name": "end_date",
                 "type": "property",
                 "type": "property",
                 "name": "end_date",
                 "multiple-items": false,
                "required": true,
                "label-parsed": "End date",
                 "visibility": "visible",
                 "visibility": "visible",
                "multiple-items": false,
                 "preferred-input": "mw.widgets.DateInputWidget",
                 "preferred-input": "mw.widgets.DateInputWidget",
                 "input-config": [],
                 "input-config": []
                "required": true
             },
             },
             "type": "string",
             "type": "string",
Line 80: Line 100:
         "volunteers_number": {
         "volunteers_number": {
             "wiki": {
             "wiki": {
                "name": "volunteers_number",
                 "type": "property",
                 "type": "property",
                 "name": "volunteers_number",
                 "multiple-items": false,
                "required": true,
                "label-parsed": "Number of volunteers",
                 "visibility": "visible",
                 "visibility": "visible",
                "multiple-items": false,
                 "preferred-input": "OO.ui.NumberInputWidget",
                 "preferred-input": "OO.ui.NumberInputWidget",
                 "input-config": [],
                 "input-config": []
                "required": true
             },
             },
             "type": "number",
             "type": "number",
Line 94: Line 115:
     },
     },
     "required": [
     "required": [
        "name",
         "sending_organization",
         "sending_organization",
         "hosting_organization",
         "hosting_organization",

Revision as of 07:55, 23 February 2024

wiki
type"schema"
name"Project"
title-parsed"Project"
title"Project"
properties
name
wiki
type"property"
name"name"
visibility"visible"
multiple-itemsfalse
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredtrue
type"string"
format"text"
title"Project name"
sending_organization
wiki
name"sending_organization"
type"property"
multiple-itemsfalse
requiredtrue
label-parsed"Sending organization"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
type"string"
format"text"
title"Sending organization"
hosting_organization
wiki
name"hosting_organization"
type"property"
multiple-itemsfalse
requiredtrue
label-parsed"Hosting organization"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
type"string"
format"text"
title"Hosting organization"
coordinating_organization
wiki
name"coordinating_organization"
type"property"
multiple-itemsfalse
label-parsed"Coordinating organization"
help-message-parsed"(if different from sending organization)"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
type"string"
format"text"
title"Coordinating organization"
description"(if different from sending organization)"
start_date
wiki
name"start_date"
type"property"
multiple-itemsfalse
requiredtrue
label-parsed"Start date"
visibility"visible"
preferred-input"mw.widgets.DateInputWidget"
input-config
Empty array
type"string"
format"date"
title"Start date"
end_date
wiki
name"end_date"
type"property"
multiple-itemsfalse
requiredtrue
label-parsed"End date"
visibility"visible"
preferred-input"mw.widgets.DateInputWidget"
input-config
Empty array
type"string"
format"date"
title"End date"
volunteers_number
wiki
name"volunteers_number"
type"property"
multiple-itemsfalse
requiredtrue
label-parsed"Number of volunteers"
visibility"visible"
preferred-input"OO.ui.NumberInputWidget"
input-config
Empty array
type"number"
format"text"
title"Number of volunteers"
required
"name"
"sending_organization"
"hosting_organization"
"start_date"
"end_date"
"volunteers_number"
type"object"
title"Project"
[Mark as patrolled]