VisualDataSchema:Article: Difference between revisions

From Wikiyouth
No edit summary
No edit summary
(6 intermediate revisions by the same user not shown)
Line 29: Line 29:
"unique-items": false,
"unique-items": false,
"type": "schema",
"type": "schema",
"uuid": "67c0861dbcf9b"
"uuid": "67cc0413acd18"
},
},
"items": {
"items": {
Line 38: Line 38:
"multiple-items": true,
"multiple-items": true,
"label": "Author",
"label": "Author",
"help-message": "Can be multiple authors, register as [[Register_as_volunteer/organization_member|volunteer / organization member]]",
"help-message": "Can be multiple authors, created through the [[Add person]] form",
"default": [],
"default": [],
"uuid": "679b9d3aa9e26",
"uuid": "67cc03eb7ca75",
"visibility": "visible",
"visibility": "visible",
"preferred-input": "MenuTagSearchMultiselect",
"preferred-input": "MenuTagSearchMultiselect",
"input-config": [],
"input-config": [],
"options-query": "[[first_name::\u003Cvalue\u003E~]]",
"options-query": "[[first_name::\u003Cvalue\u003E~||last_name::\u003Cvalue\u003E~]]",
"query-schema": "Person",
"query-schema": "Person",
"query-printouts": [
"query-printouts": [
"first_name",
"name"
"last_name"
],
],
"options-query-formula": "\u003Cfirst_name\u003E \u003Clast_name\u003E",
"options-label-formula": "\u003Cfirst_name\u003E \u003Clast_name\u003E",
"required": false,
"required": false,
"layout": "table"
"layout": "table"
Line 57: Line 54:
"format": "text",
"format": "text",
"title": "Author",
"title": "Author",
"description": "Can be multiple authors, register as \u003Ca href=\"/wiki/Register_as_volunteer/organization_member\" title=\"Register as volunteer/organization member\"\u003Evolunteer / organization member\u003C/a\u003E",
"description": "Can be multiple authors, created through the \u003Ca href=\"/wiki/Add_person\" title=\"Add person\"\u003EAdd person\u003C/a\u003E form",
"default": []
"default": []
},
},
Line 146: Line 143:
"format": "text",
"format": "text",
"title": "Image"
"title": "Image"
},
"organization": {
"wiki": {
"type": "property",
"name": "organization",
"visibility": "visible",
"label": "organization",
"multiple-items": false,
"preferred-input": "LookupElement",
"input-config": [],
"required": false,
"options-query": "[[name::~\u003Cvalue\u003E~]]",
"query-schema": "Organization",
"query-printouts": [
"name"
],
"uuid": "67cc68d1ebbed"
},
"type": "string",
"format": "text",
"title": "organization"
},
},
"project": {
"project": {
"wiki": {
"wiki": {
"type": "property",
"type": "property",
"uuid": "67c9caa1575f2",
"name": "project",
"name": "project",
"visibility": "visible",
"visibility": "visible",
"label": "project",
"label": "project",
"help-message": "select a project associated to the article...",
"multiple-items": false,
"multiple-items": false,
"preferred-input": "LookupElement",
"preferred-input": "LookupElement",
"input-config": [],
"input-config": [],
"required": false,
"options-query": "[[hosting_organization::\u003Corganization\u003E]][[project_number\u003E::\u003Cvalue\u003E~]]",
"query-schema": "Article",
"query-schema": "Project",
"query-printouts": [],
"query-printouts": [
"uuid": "67c9caa1575f2"
"project_number"
],
"required": false
},
},
"type": "string",
"type": "string",
"format": "text",
"format": "text",
"title": "project"
"title": "project",
"description": "select a project associated to the article..."
}
}
},
},

Revision as of 15:57, 8 March 2025

wiki
type"schema"
uuid"660c1eb9a1d8d"
name"Article"
properties
title
wiki
name"title"
type"property"
multiple-itemsfalse
requiredtrue
label"Title"
label-parsed"Title"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
uuid"660c1eb9a1d90"
type"string"
format"text"
title"Title"
authors
wiki
name"authors"
min-items1
unique-itemsfalse
type"schema"
uuid"67cc0413acd18"
items
type"string"
wiki
name"author"
type"property"
multiple-itemstrue
label"Author"
help-message"Can be multiple authors, created through the [[Add person]] form"
default
Empty array
uuid"67cc03eb7ca75"
visibility"visible"
preferred-input"MenuTagSearchMultiselect"
input-config
Empty array
options-query"[[first_name::<value>~||last_name::<value>~]]"
query-schema"Person"
query-printouts
"name"
requiredfalse
layout"table"
format"text"
title"Author"
description"Can be multiple authors, created through the <a href="/wiki/Add_person" title="Add person">Add person</a> form"
default
Empty array
type"array"
minItems1
uniqueItemsfalse
date
wiki
name"date"
type"property"
multiple-itemsfalse
label"Date"
label-parsed"Date"
visibility"visible"
preferred-input"mw.widgets.DateInputWidget"
input-config
Empty array
requiredfalse
uuid"660c1eb9a1d98"
type"string"
format"date"
title"Date"
abstract
wiki
name"abstract"
type"property"
multiple-itemsfalse
label"Abstract"
uuid"660c1eb9a1d9a"
visibility"visible"
preferred-input"OO.ui.MultilineTextInputWidget"
input-config
Empty array
requiredfalse
type"string"
format"textarea"
title"Abstract"
role
wiki
name"role"
type"property"
multiple-itemsfalse
label"Role"
options-allow-nulltrue
label-parsed"Role"
visibility"visible"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
requiredfalse
options-values-parsed
""
volunteer"volunteer"
project coordinator"project coordinator"
partecipant"partecipant"
other"other"
uuid"660c1eb9a1d9e"
type"string"
format"text"
title"Role"
enum
""
"volunteer"
"project coordinator"
"partecipant"
"other"
image
wiki
name"image"
type"property"
multiple-itemsfalse
input-config
namespace6
label"Image"
uuid"66100061f3eec"
visibility"visible"
preferred-input"mw.widgets.TitleInputWidget"
requiredfalse
type"string"
format"text"
title"Image"
organization
wiki
type"property"
name"organization"
visibility"visible"
label"organization"
multiple-itemsfalse
preferred-input"LookupElement"
input-config
Empty array
requiredfalse
options-query"[[name::~<value>~]]"
query-schema"Organization"
query-printouts
"name"
uuid"67cc68d1ebbed"
type"string"
format"text"
title"organization"
project
wiki
type"property"
uuid"67c9caa1575f2"
name"project"
visibility"visible"
label"project"
help-message"select a project associated to the article..."
multiple-itemsfalse
preferred-input"LookupElement"
input-config
Empty array
options-query"[[hosting_organization::<organization>]][[project_number>::<value>~]]"
query-schema"Project"
query-printouts
"project_number"
requiredfalse
type"string"
format"text"
title"project"
description"select a project associated to the article..."
required
"title"
type"object"