Tasks: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
{
{
    "required": [
"required": [
        "title",
"title",
        "priority",
"priority",
        "status"
"status"
    ],
],
    "type": "object",
"type": "object",
    "title": "Task ddfd",
"title": "Task",
    "properties": {
"properties": {
        "belongs to": {
"belongs to": {
            "type": "string",
"type": "string",
            "x-format": "hidden",
"x-format": "hidden",
            "title": "Belongs to"
"title": "Belongs to"
        },
},
        "title": {
"title": {
            "type": "string",
"type": "string",
            "x-format": "text",
"x-format": "text",
            "title": "Title"
"title": "Title"
        },
},
        "description": {
"description": {
            "type": "string",
"type": "string",
            "x-format": "textarea",
"x-format": "textarea",
            "title": "Description",
"title": "Description",
            "x-input": "VisualEditor"
"x-input": "VisualEditor"
        },
},
        "assignee": {
"assignee": {
            "type": "array",
"type": "array",
            "minItems": 1,
"minItems": 1,
            "uniqueItems": true,
"uniqueItems": true,
            "default": [],
"default": [],
            "items": {
"items": {
                "type": "string",
"type": "string",
                "x-input": "mw.widgets.UsersMultiselectWidget",
"x-input": "mw.widgets.UsersMultiselectWidget",
                "x-format": "text",
"x-format": "text",
                "title": "Assignee"
"title": "Assignee"
            }
}
        },
},
        "due date": {
"due date": {
            "type": "string",
"type": "string",
            "format": "date",
"format": "date",
            "title": "Due date",
"title": "Due date",
            "x-input": "mw.widgets.DateInputWidget"
"x-input": "mw.widgets.DateInputWidget"
        },
},
        "priority": {
"priority": {
            "type": "string",
"type": "string",
            "x-format": "text",
"x-format": "text",
            "title": "Priority",
"title": "Priority",
            "default": "normal",
"default": "normal",
            "enum": [
"enum": [
                "high",
"high",
                "normal",
"normal",
                "low"
"low"
            ],
],
            "x-input": "OO.ui.RadioSelectInputWidget"
"x-input": "OO.ui.RadioSelectInputWidget"
        },
},
        "status": {
"status": {
            "type": "string",
"type": "string",
            "x-format": "text",
"x-format": "text",
            "title": "Status",
"title": "Status",
            "enum": [
"enum": [
                "open",
"open",
                "in progress",
"in progress",
                "completed",
"completed",
                "discarded"
"discarded"
            ],
],
            "x-input": "OO.ui.RadioSelectInputWidget"
"x-input": "OO.ui.RadioSelectInputWidget"
        },
},
        "created by": {
"created by": {
            "type": "string",
"type": "string",
            "x-format": "hidden"
"x-format": "hidden"
        },
},
        "created at": {
"created at": {
            "type": "string",
"type": "string",
            "x-format": "hidden"
"x-format": "hidden"
        }
}
    }
}
}
}

Latest revision as of 12:28, 6 May 2026

required
"title"
"priority"
"status"
type"object"
title"Task"
properties
belongs to
type"string"
x-format"hidden"
title"Belongs to"
title
type"string"
x-format"text"
title"Title"
description
type"string"
x-format"textarea"
title"Description"
x-input"VisualEditor"
assignee
type"array"
minItems1
uniqueItemstrue
default
Empty array
items
type"string"
x-input"mw.widgets.UsersMultiselectWidget"
x-format"text"
title"Assignee"
due date
type"string"
format"date"
title"Due date"
x-input"mw.widgets.DateInputWidget"
priority
type"string"
x-format"text"
title"Priority"
default"normal"
enum
"high"
"normal"
"low"
x-input"OO.ui.RadioSelectInputWidget"
status
type"string"
x-format"text"
title"Status"
enum
"open"
"in progress"
"completed"
"discarded"
x-input"OO.ui.RadioSelectInputWidget"
created by
type"string"
x-format"hidden"
created at
type"string"
x-format"hidden"