OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/frontend/tests/integration/mocks/work-packages/schemas/1-7.json

251 lines
4.7 KiB

{
"_type": "Schema",
"_links": {
"self": {
"href": "/api/v3/work_packages/schemas/1-7"
}
},
"lockVersion": {
"type": "Integer",
"name": "Lock Version",
"required": true,
"writable": false
},
"id": {
"type": "Integer",
"name": "ID",
"required": true,
"writable": false
},
"subject": {
"type": "String",
"name": "Subject",
"required": true,
"writable": true,
"minLength": 1,
"maxLength": 255
},
"description": {
"type": "Formattable",
"name": "Description",
"required": true,
"writable": true
},
"startDate": {
"type": "Date",
"name": "Start date",
"required": false,
"writable": true
},
"dueDate": {
"type": "Date",
"name": "Due date",
"required": false,
"writable": true
},
"estimatedTime": {
"type": "Duration",
"name": "Estimated time",
"required": false,
"writable": true
},
"spentTime": {
"type": "Duration",
"name": "Spent time",
"required": true,
"writable": false
},
"percentageDone": {
"type": "Integer",
"name": "Progress (%)",
"required": true,
"writable": true
},
"createdAt": {
"type": "DateTime",
"name": "Created on",
"required": true,
"writable": false
},
"updatedAt": {
"type": "DateTime",
"name": "Updated on",
"required": true,
"writable": false
},
"author": {
"type": "User",
"name": "Author",
"required": true,
"writable": false
},
"project": {
"type": "Project",
"name": "Project",
"required": true,
"writable": false
},
"assignee": {
"type": "User",
"name": "Assignee",
"required": false,
"writable": true,
"_links": {}
},
"responsible": {
"type": "User",
"name": "Responsible",
"required": false,
"writable": true,
"_links": {}
},
"type": {
"type": "Type",
"name": "Type",
"required": true,
"writable": true,
"_links": {},
"_embedded": {}
},
"status": {
"type": "Status",
"name": "Status",
"required": true,
"writable": true,
"_links": {},
"_embedded": {}
},
"category": {
"type": "Category",
"name": "Category",
"required": false,
"writable": true,
"_links": {},
"_embedded": {}
},
"version": {
"type": "Version",
"name": "Version",
"required": false,
"writable": true,
"_links": {},
"_embedded": {}
},
"priority": {
"type": "Priority",
"name": "Priority",
"required": true,
"writable": true,
"_links": {},
"_embedded": {}
},
"overallCosts": {
"type": "String",
"name": "Overall costs",
"required": false,
"writable": false
},
"costsByType": {
"type": "Collection",
"name": "Spent units",
"required": false,
"writable": false
},
"costObject": {
"type": "Budget",
"name": "Budget",
"required": false,
"writable": true,
"_links": {},
"_embedded": {}
},
"storyPoints": {
"type": "Integer",
"name": "Story Points",
"required": false,
"writable": true
},
"remainingTime": {
"type": "Duration",
"name": "Remaining Hours",
"required": false,
"writable": true
},
"customField1": {
"type": "Formattable",
"name": "culpa et",
"required": false,
"writable": true
},
"customField2": {
"type": "Formattable",
"name": "velit sit",
"required": false,
"writable": true
},
"customField3": {
"type": "Formattable",
"name": "earum consectetur",
"required": false,
"writable": true
},
"customField4": {
"type": "String",
"name": "cf_text",
"required": false,
"writable": true
},
"customField5": {
"type": "Integer",
"name": "cf_int",
"required": false,
"writable": true
},
"customField6": {
"type": "Float",
"name": "cf_float",
"required": false,
"writable": true
},
"customField7": {
"type": "Float",
"name": "cf_float2",
"required": false,
"writable": true
},
"customField8": {
"type": "StringObject",
"name": "cf_list",
"required": false,
"writable": true,
"_links": {},
"_embedded": {}
},
"customField9": {
"type": "Date",
"name": "cf_date",
"required": false,
"writable": true
},
"customField10": {
"type": "Boolean",
"name": "cf_bool",
"required": false,
"writable": true
},
"customField11": {
"type": "User",
"name": "cf_user",
"required": false,
"writable": true,
"_links": {}
},
"customField12": {
"type": "Version",
"name": "cf_version",
"required": false,
"writable": true,
"_links": {},
"_embedded": {}
}
}