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/docs/api/apiv3/components/schemas/priority_model.yml

53 lines
1004 B

# Schema: PriorityModel
---
type: object
properties:
id:
type: integer
description: Priority id
readOnly: true
minimum: 0
exclusiveMinimum: true
name:
type: string
description: Priority name
readOnly: true
minLength: 1
position:
type: integer
description: Sort index of the priority
readOnly: true
minimum: 0
exclusiveMinimum: true
isDefault:
type: boolean
description: Indicates whether this is the default value
readOnly: true
isActive:
type: boolean
description: Indicates whether the priority is available
_links:
type: object
required:
- self
properties:
self:
allOf:
- "$ref": "./link.yml"
- description: |-
This priority
**Resource**: Priority
readOnly: true
example:
_type: Priority
_links:
self:
href: "/api/v3/priorities/1"
title: Low
id: 1
name: Low
position: 1
isDefault: false
isActive: true