VisualDataSchema:Membership: Difference between revisions

From Wikiyouth
No edit summary
No edit summary
Line 17: Line 17:
"input-config": [],
"input-config": [],
"options-query": "[[name::+]]",
"options-query": "[[name::+]]",
"query-schema": "Organization",
"query-schema": "Membership",
"query-printouts": [
"query-printouts": [
"name"
"name"
Line 85: Line 85:
"Staff member"
"Staff member"
]
]
},
"date_from": {
"wiki": {
"type": "property",
"name": "date_from",
"visibility": "visible",
"label": "from",
"multiple-items": false,
"preferred-input": "mw.widgets.DateInputWidget",
"input-config": {
"precision": "month"
},
"required": true,
"uuid": "68415da84bf77"
},
"type": "string",
"format": "date",
"title": "from"
},
"date_to": {
"wiki": {
"type": "property",
"name": "date_to",
"visibility": "visible",
"label": "to",
"help-message": "leave empty if current",
"multiple-items": false,
"preferred-input": "mw.widgets.DateInputWidget",
"input-config": {
"precision": "month"
},
"required": false,
"uuid": "68415da84bf7a"
},
"type": "string",
"format": "date",
"title": "to",
"description": "leave empty if current"
}
}
},
},
"required": [
"required": [
"person",
"person",
"role",
"role"
"date_from"
],
],
"type": "object"
"type": "object"
}
}

Revision as of 09:55, 5 June 2025

wiki
type"schema"
uuid"67cb48efaee4c"
name"Membership"
properties
organization
wiki
type"property"
uuid"68415ad2ec8be"
name"organization"
visibility"visible"
label"organization"
multiple-itemsfalse
preferred-input"LookupElement"
input-config
Empty array
options-query"[[name::+]]"
query-schema"Membership"
query-printouts
"name"
requiredfalse
type"string"
format"text"
title"organization"
person
wiki
name"person"
type"property"
multiple-itemsfalse
requiredtrue
label"person"
visibility"visible"
preferred-input"LookupElement"
input-config
Empty array
options-query"[[name::<value>~]]"
query-schema"Person"
query-printouts
"name"
uuid"67cb49dc60fb2"
type"string"
format"text"
title"person"
role
wiki
name"role"
type"property"
multiple-itemsfalse
requiredtrue
label"role"
help-message"A role listed in [[Membership roles|this page]]"
uuid"67cb48efaee52"
visibility"visible"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
options-allow-nullfalse
options-wikilist"Membership roles"
options-values-parsed
Volunteer"Volunteer"
Participant of activity"Participant of activity"
Project coordinator"Project coordinator"
ESC coordinator"ESC coordinator"
Language teacher"Language teacher"
Mentor"Mentor"
Staff member"Staff member"
type"string"
format"text"
title"role"
description"A role listed in <a href="/wiki/Membership_roles" title="Membership roles">this page</a>"
enum
"Volunteer"
"Participant of activity"
"Project coordinator"
"ESC coordinator"
"Language teacher"
"Mentor"
"Staff member"
required
"person"
"role"
type"object"