VisualDataSchema:Project: Difference between revisions

From Wikiyouth
No edit summary
No edit summary
 
(24 intermediate revisions by the same user not shown)
Line 9: Line 9:
"project_number": {
"project_number": {
"wiki": {
"wiki": {
"name": "project_number",
"type": "property",
"type": "property",
"multiple-items": false,
"required": true,
"label": "project number",
"uuid": "67c9d014d142b",
"uuid": "67c9d014d142b",
"name": "project_number",
"visibility": "visible",
"visibility": "visible",
"label": "project number",
"multiple-items": false,
"preferred-input": "OO.ui.TextInputWidget",
"preferred-input": "OO.ui.TextInputWidget",
"input-config": [],
"input-config": []
"required": true
},
},
"type": "string",
"type": "string",
Line 25: Line 25:
"name": {
"name": {
"wiki": {
"wiki": {
"name": "name",
"type": "property",
"type": "property",
"multiple-items": false,
"label": "Project name",
"uuid": "6634e38ac4739",
"uuid": "6634e38ac4739",
"name": "name",
"visibility": "visible",
"visibility": "visible",
"label": "Project name",
"multiple-items": false,
"preferred-input": "OO.ui.TextInputWidget",
"preferred-input": "OO.ui.TextInputWidget",
"input-config": [],
"input-config": [],
Line 123: Line 123:
"MK01"
"MK01"
]
]
},
"sending_organization": {
"wiki": {
"name": "sending_organization",
"type": "property",
"multiple-items": false,
"required": true,
"label": "Sending organization",
"help-message": "must be registered with the [[Organizations|Organization]] form",
"label-parsed": "Sending organization",
"help-message-parsed": "must be registered with the \u003Ca href=\"/wiki/Organizations\" title=\"Organizations\"\u003EOrganization\u003C/a\u003E form",
"visibility": "visible",
"preferred-input": "LookupElement",
"input-config": [],
"options-askquery": "[[name::+]]",
"askquery-schema": "Organization",
"askquery-printouts": [
"name"
],
"options-values-parsed": {
"Istituto cultura italiana NCLE": "Istituto cultura italiana NCLE"
},
"uuid": "6634e38ac473d"
},
"type": "string",
"format": "text",
"title": "Sending organization",
"description": "must be registered with the \u003Ca href=\"/wiki/Organizations\" title=\"Organizations\"\u003EOrganization\u003C/a\u003E form"
},
"hosting_organization": {
"wiki": {
"name": "hosting_organization",
"type": "property",
"multiple-items": false,
"required": true,
"label": "Hosting organization",
"help-message": "must be registered with the [[Organizations|Organization]] form",
"label-parsed": "Hosting organization",
"help-message-parsed": "must be registered with the \u003Ca href=\"/wiki/Organizations\" title=\"Organizations\"\u003EOrganization\u003C/a\u003E form",
"visibility": "visible",
"preferred-input": "LookupElement",
"input-config": [],
"options-askquery": "[[name::+]]",
"askquery-schema": "Organization",
"askquery-printouts": [
"name"
],
"options-values-parsed": {
"Istituto cultura italiana NCLE": "Istituto cultura italiana NCLE"
},
"uuid": "6634e38ac4742"
},
"type": "string",
"format": "text",
"title": "Hosting organization",
"description": "must be registered with the \u003Ca href=\"/wiki/Organizations\" title=\"Organizations\"\u003EOrganization\u003C/a\u003E form"
},
"coordinating_organization": {
"wiki": {
"name": "coordinating_organization",
"type": "property",
"multiple-items": false,
"label": "Coordinating organization",
"help-message": "(if different from sending organization)\n\nmust be registered with the [[Organizations|Organization]] form",
"visibility": "visible",
"preferred-input": "LookupElement",
"input-config": [],
"options-askquery": "[[name::+]]",
"askquery-schema": "Organization",
"askquery-printouts": [
"name"
],
"required": false,
"uuid": "6634e38ac4745"
},
"type": "string",
"format": "text",
"title": "Coordinating organization",
"description": "\u003Cp\u003E(if different from sending organization)\n\u003C/p\u003E\u003Cp\u003Emust be registered with the \u003Ca href=\"/wiki/Organizations\" title=\"Organizations\"\u003EOrganization\u003C/a\u003E form\n\u003C/p\u003E"
},
},
"start_date": {
"start_date": {
Line 237: Line 158:
"title": "End date"
"title": "End date"
},
},
"volunteers_number": {
"organizations": {
"wiki": {
"name": "organizations",
"title": "Partner organizations",
"min-items": 1,
"unique-items": false,
"type": "schema",
"uuid": "6837fa920c244"
},
"items": {
"type": "object",
"wiki": {
"name": "organizations",
"type": "schema",
"uuid": "6837fa7ef0745",
"layout": "section",
"visibility": "visible"
},
"properties": {
"name": {
"wiki": {
"name": "name",
"type": "property",
"multiple-items": false,
"label": "name",
"visibility": "visible",
"preferred-input": "LookupElement",
"input-config": [],
"required": false,
"options-query": "[[name::+]]",
"query-schema": "Organization",
"query-printouts": [
"name"
],
"uuid": "6837fa60cfb5a"
},
"type": "string",
"format": "text",
"title": "name"
},
"role": {
"wiki": {
"name": "role",
"unique-items": false,
"type": "schema",
"uuid": "6837fa60cfb5e"
},
"items": {
"type": "string",
"wiki": {
"name": "role",
"type": "property",
"multiple-items": true,
"label": "role",
"visibility": "visible",
"preferred-input": "OO.ui.MenuTagMultiselectWidget",
"input-config": [],
"required": false,
"options-allow-null": false,
"options-wikilist": "Organization roles",
"options-values-parsed": {
"coordinating": "coordinating",
"sending": "sending",
"hosting": "hosting"
},
"uuid": "6837fa60cfb5f",
"layout": "table"
},
"format": "text",
"title": "role",
"enum": [
"coordinating",
"sending",
"hosting"
]
},
"type": "array",
"uniqueItems": false
}
}
},
"type": "array",
"title": "Partner organizations",
"minItems": 1,
"uniqueItems": false
},
"participants": {
"wiki": {
"wiki": {
"name": "volunteers_number",
"name": "participants",
"title": "participants",
"min-items": 2,
"unique-items": false,
"type": "schema",
"uuid": "683ca9210c428"
},
"items": {
"type": "object",
"wiki": {
"name": "",
"type": "schema",
"uuid": "683ca8bf33d90",
"layout": "section",
"visibility": "visible"
},
"properties": {
"person": {
"wiki": {
"name": "person",
"type": "property",
"multiple-items": false,
"required": true,
"label": "person",
"uuid": "683ca8bf33d97",
"visibility": "visible",
"preferred-input": "LookupElement",
"input-config": [],
"options-query": "[[name::\u003Cvalue\u003E~]]",
"query-schema": "Person",
"query-printouts": [
"name"
]
},
"type": "string",
"format": "text",
"title": "person"
},
"role": {
"wiki": {
"name": "role",
"type": "property",
"multiple-items": false,
"required": true,
"label": "role",
"visibility": "visible",
"preferred-input": "OO.ui.DropdownInputWidget",
"input-config": [],
"options-allow-null": false,
"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"
},
"uuid": "683ca8bf33d9b"
},
"type": "string",
"format": "text",
"title": "role",
"enum": [
"Volunteer",
"Participant of activity",
"Project coordinator",
"ESC coordinator",
"Language teacher",
"Mentor",
"Staff member"
]
}
},
"required": [
"person",
"role"
]
},
"type": "array",
"title": "participants",
"minItems": 2,
"uniqueItems": false
},
"activities": {
"wiki": {
"name": "activities",
"min-items": 0,
"unique-items": false,
"type": "schema",
"uuid": "683caba136205"
},
"items": {
"type": "string",
"wiki": {
"name": "activities",
"type": "property",
"uuid": "683cab02e51bc",
"visibility": "visible",
"label": "activities",
"multiple-items": true,
"preferred-input": "OO.ui.MenuTagMultiselectWidget",
"input-config": [],
"options-allow-null": false,
"options-query": "[[name::+]][[organization::\u003Corganizations/name\u003E]]",
"query-schema": "Activity",
"query-printouts": [
"name"
],
"required": false,
"default": []
},
"format": "text",
"title": "activities",
"default": []
},
"type": "array",
"minItems": 0,
"uniqueItems": false
},
"notes": {
"wiki": {
"name": "notes",
"type": "property",
"type": "property",
"multiple-items": false,
"multiple-items": false,
"required": true,
"label": "notes",
"label": "Number of volunteers",
"label-parsed": "Number of volunteers",
"visibility": "visible",
"visibility": "visible",
"preferred-input": "OO.ui.NumberInputWidget",
"preferred-input": "OO.ui.MultilineTextInputWidget",
"input-config": [],
"input-config": [],
"uuid": "6634e38ac474c"
"required": false,
"uuid": "67cc12029731b"
},
},
"type": "number",
"type": "string",
"title": "Number of volunteers"
"format": "text",
"title": "notes"
}
}
},
},
"required": [
"required": [
"project_number",
"project_number",
"sending_organization",
"hosting_organization",
"start_date",
"start_date",
"end_date",
"end_date"
"volunteers_number"
],
],
"type": "object",
"type": "object",
"title": "Project"
"title": "Project"
}
}

Latest revision as of 19:36, 1 June 2025

wiki
type"schema"
uuid"6634e38ac4735"
name"Project"
title"Project"
properties
project_number
wiki
name"project_number"
type"property"
multiple-itemsfalse
requiredtrue
label"project number"
uuid"67c9d014d142b"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
type"string"
format"text"
title"project number"
name
wiki
name"name"
type"property"
multiple-itemsfalse
label"Project name"
uuid"6634e38ac4739"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
type"string"
format"text"
title"Project name"
national_agency
wiki
name"national_agency"
type"property"
multiple-itemsfalse
label"national agency"
visibility"visible"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
requiredfalse
options-allow-nullfalse
options-wikilist"National agencies codes"
options-label-formula"{{National_agency_country_from_code|<value>}}"
uuid"67c9d014d142f"
options-values-parsed
AT01"Austria"
BE03-5"Belgium"
BG01"Bulgaria"
HR01"Croatia"
CY01"Cyprus"
CZ01"Czech"
DK01"Denmark"
EE01"Estonia"
FI01"Finland"
FR02"France"
DE04"Germany"
EL02"Greece"
HU01"Hungary"
IE01"Ireland"
IT03"Italy"
LV02"Latvia"
LI01"Liechtenstein"
LT02"Lithuania"
LU01"Luxembourg"
MT01"Malta"
NL02"Netherlands"
PL01"Poland"
PT02"Portugal"
RO01"Romania"
SK02"Slovakia"
SI02"Slovenia"
ES02"Spain"
SE02"Sweden"
TR01"Türkiye"
IS01"Iceland"
MK01"North Macedonia"
type"string"
format"text"
title"national agency"
enum
"AT01"
"BE03-5"
"BG01"
"HR01"
"CY01"
"CZ01"
"DK01"
"EE01"
"FI01"
"FR02"
"DE04"
"EL02"
"HU01"
"IE01"
"IT03"
"LV02"
"LI01"
"LT02"
"LU01"
"MT01"
"NL02"
"PL01"
"PT02"
"RO01"
"SK02"
"SI02"
"ES02"
"SE02"
"TR01"
"IS01"
"MK01"
start_date
wiki
name"start_date"
type"property"
multiple-itemsfalse
requiredtrue
label"Start date"
label-parsed"Start date"
visibility"visible"
preferred-input"mw.widgets.DateInputWidget"
input-config
Empty array
uuid"6634e38ac4748"
type"string"
format"date"
title"Start date"
end_date
wiki
name"end_date"
type"property"
multiple-itemsfalse
requiredtrue
label"End date"
label-parsed"End date"
visibility"visible"
preferred-input"mw.widgets.DateInputWidget"
input-config
Empty array
uuid"6634e38ac474a"
type"string"
format"date"
title"End date"
organizations
wiki
name"organizations"
title"Partner organizations"
min-items1
unique-itemsfalse
type"schema"
uuid"6837fa920c244"
items
type"object"
wiki
name"organizations"
type"schema"
uuid"6837fa7ef0745"
layout"section"
visibility"visible"
properties
name
wiki
name"name"
type"property"
multiple-itemsfalse
label"name"
visibility"visible"
preferred-input"LookupElement"
input-config
Empty array
requiredfalse
options-query"[[name::+]]"
query-schema"Organization"
query-printouts
"name"
uuid"6837fa60cfb5a"
type"string"
format"text"
title"name"
role
wiki
name"role"
unique-itemsfalse
type"schema"
uuid"6837fa60cfb5e"
items
type"string"
wiki
name"role"
type"property"
multiple-itemstrue
label"role"
visibility"visible"
preferred-input"OO.ui.MenuTagMultiselectWidget"
input-config
Empty array
requiredfalse
options-allow-nullfalse
options-wikilist"Organization roles"
options-values-parsed
coordinating"coordinating"
sending"sending"
hosting"hosting"
uuid"6837fa60cfb5f"
layout"table"
format"text"
title"role"
enum
"coordinating"
"sending"
"hosting"
type"array"
uniqueItemsfalse
type"array"
title"Partner organizations"
minItems1
uniqueItemsfalse
participants
wiki
name"participants"
title"participants"
min-items2
unique-itemsfalse
type"schema"
uuid"683ca9210c428"
items
type"object"
wiki
name""
type"schema"
uuid"683ca8bf33d90"
layout"section"
visibility"visible"
properties
person
wiki
name"person"
type"property"
multiple-itemsfalse
requiredtrue
label"person"
uuid"683ca8bf33d97"
visibility"visible"
preferred-input"LookupElement"
input-config
Empty array
options-query"[[name::<value>~]]"
query-schema"Person"
query-printouts
"name"
type"string"
format"text"
title"person"
role
wiki
name"role"
type"property"
multiple-itemsfalse
requiredtrue
label"role"
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"
uuid"683ca8bf33d9b"
type"string"
format"text"
title"role"
enum
"Volunteer"
"Participant of activity"
"Project coordinator"
"ESC coordinator"
"Language teacher"
"Mentor"
"Staff member"
required
"person"
"role"
type"array"
title"participants"
minItems2
uniqueItemsfalse
activities
wiki
name"activities"
min-items0
unique-itemsfalse
type"schema"
uuid"683caba136205"
items
type"string"
wiki
name"activities"
type"property"
uuid"683cab02e51bc"
visibility"visible"
label"activities"
multiple-itemstrue
preferred-input"OO.ui.MenuTagMultiselectWidget"
input-config
Empty array
options-allow-nullfalse
options-query"[[name::+]][[organization::<organizations/name>]]"
query-schema"Activity"
query-printouts
"name"
requiredfalse
default
Empty array
format"text"
title"activities"
default
Empty array
type"array"
minItems0
uniqueItemsfalse
notes
wiki
name"notes"
type"property"
multiple-itemsfalse
label"notes"
visibility"visible"
preferred-input"OO.ui.MultilineTextInputWidget"
input-config
Empty array
requiredfalse
uuid"67cc12029731b"
type"string"
format"text"
title"notes"
required
"project_number"
"start_date"
"end_date"
type"object"
title"Project"