# Schema: StatusModel
---
type: object
properties:
  _type:
    type: string
    enum:
      - Status
  id:
    type: integer
    description: Status id
    minimum: 1
  name:
    type: string
    description: Status name
  isClosed:
    type: boolean
    description: Indicates, whether work package of this status are considered closed
  color:
    type: string
    format: hex-code
    description: The color of the status
  isDefault:
    type: boolean
    description: True, if this status is the default status for new work packages
  isReadonly:
    type: boolean
    description: Indicates, whether work package of this status are readonly
  excludedFromTotals:
    type: boolean
    description: |-
      Indicates, whether work package of this status are excluded from totals of `Work`, `Remaining work`, and
      `% Complete` in a hierarchy.
  defaultDoneRatio:
    type: integer
    description: The percentageDone being applied when changing to this status
    minimum: 0
    maximum: 100
  position:
    type: integer
    description: Sort index of the status
  _links:
    type: object
    required:
      - self
    properties:
      self:
        allOf:
          - $ref: './link.yml'
          - description: |-
              This status
              
              **Resource**: Status
