API: Models

All data models of the API v3 specification. Models that reference other models link to them.

Models

ActivityCommentWriteModel

{
  "type": "object",
  "properties": {
    "comment": {
      "type": "object",
      "properties": {
        "raw": {
          "type": "string",
          "description": "The raw content of the comment"
        }
      }
    },
    "internal": {
      "type": "boolean",
      "description": "Determines whether this comment is internal. This is only available to users\nwith `add_internal_comments` permission. It defaults to `false`, if unset.",
      "default": false
    }
  },
  "examples": [
    {
      "comment": {
        "raw": "I think this is awesome!"
      }
    }
  ]
}

ActivityModel

{
  "type": "object",
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Activity::Comment"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Activity id",
      "minimum": 1
    },
    "version": {
      "type": "integer",
      "description": "Activity version",
      "minimum": 1
    },
    "comment": {
      "$ref": "#/components/schemas/Formattable"
    },
    "details": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Formattable"
      }
    },
    "internal": {
      "type": "boolean",
      "description": "Whether this activity is internal (only visible to users with view_internal_comments permission)"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of update"
    },
    "_embedded": {
      "type": "object",
      "properties": {
        "attachments": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Attachments_Model"
            },
            {
              "description": "Collection of attachments for this activity"
            }
          ]
        },
        "workPackage": {
          "allOf": [
            {
              "$ref": "#/components/schemas/WorkPackageModel"
            },
            {
              "description": "The work package this activity belongs to\n\n# Conditions\n\nOnly embedded when the `journable` of the activity is a work package"
            }
          ]
        },
        "emojiReactions": {
          "allOf": [
            {
              "$ref": "#/components/schemas/EmojiReactions_Model"
            },
            {
              "description": "Collection of emoji reactions for this activity"
            }
          ]
        }
      }
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This activity\n\n**Resource**: Activity"
            }
          ]
        },
        "workPackage": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The work package this activity belongs to\n\n**Resource**: WorkPackage"
            }
          ]
        },
        "user": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user who created this activity\n\n**Resource**: Principal"
            }
          ]
        },
        "update": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Update this activity"
            }
          ]
        },
        "attachments": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The attachment collection of this activity\n\n**Resource**: Attachments"
            }
          ]
        },
        "addAttachment": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Attach a file to the activity\n\n# Conditions\n\n**Permissions**:\n- `add_work_package_comments`\n- for internal comments: `add_internal_comments`"
            }
          ]
        },
        "emojiReactions": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The emoji reactions collection of this activity\n\n**Resource**: EmojiReactions"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "id": 1,
      "_type": "Activity::Comment",
      "_links": {
        "self": {
          "href": "/api/v3/activity/1",
          "title": "Priority changed from High to Low"
        },
        "workPackage": {
          "href": "/api/v3/work_packages/1",
          "title": "quis numquam qui voluptatum quia praesentium blanditiis nisi"
        },
        "user": {
          "href": "/api/v3/users/1",
          "title": "John Sheppard - admin"
        },
        "attachments": {
          "href": "/api/v3/activities/1/attachments"
        },
        "emojiReactions": {
          "href": "/api/v3/activities/1/emoji_reactions"
        },
        "addAttachment": {
          "href": "/api/v3/activities/1/attachments",
          "method": "post"
        },
        "update": {
          "href": "/api/v3/activities/1",
          "method": "patch"
        }
      },
      "details": [
        {
          "format": "markdown",
          "raw": "Lorem ipsum dolor sit amet.",
          "html": "<p>Lorem ipsum dolor sit amet.</p>"
        }
      ],
      "comment": {
        "format": "markdown",
        "raw": "Lorem ipsum dolor sit amet.",
        "html": "<p>Lorem ipsum dolor sit amet.</p>"
      },
      "createdAt": "2014-05-21T08:51:20.721Z",
      "updatedAt": "2014-05-21T09:14:02.929Z",
      "version": 31
    }
  ]
}

AITextActionCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This text action collection\n\n**Resource**: AITextActionCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "description": "The actions available in the requested context, ordered by position.\nAn empty array means that the assistant is not available.",
              "items": {
                "$ref": "#/components/schemas/AITextActionModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_links": {
        "self": {
          "href": "/api/v3/work_packages/42/ai_text_actions"
        }
      },
      "_embedded": {
        "elements": [
          {
            "_type": "AITextAction",
            "id": 1,
            "label": "Improve writing",
            "position": 1,
            "injectsTypeTemplate": false,
            "_links": {
              "self": {
                "href": "/api/v3/ai_text_actions/1",
                "title": "Improve writing"
              }
            }
          },
          {
            "_type": "AITextAction",
            "id": 2,
            "label": "Apply the type template",
            "position": 2,
            "injectsTypeTemplate": true,
            "_links": {
              "self": {
                "href": "/api/v3/ai_text_actions/2",
                "title": "Apply the type template"
              }
            }
          }
        ]
      }
    }
  ]
}

AITextActionModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "label",
    "position",
    "injectsTypeTemplate",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "AITextAction"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Action id",
      "minimum": 1
    },
    "label": {
      "type": "string",
      "description": "Label shown to the user"
    },
    "position": {
      "type": "integer",
      "description": "Sort index of the action"
    },
    "injectsTypeTemplate": {
      "type": "boolean",
      "description": "Whether the action injects the work package type's description template into the prompt"
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This text action. The link identifies the action; there is no endpoint to fetch a single action.\n\n**Resource**: AITextAction"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "AITextAction",
      "id": 1,
      "label": "Improve writing",
      "position": 1,
      "injectsTypeTemplate": false,
      "_links": {
        "self": {
          "href": "/api/v3/ai_text_actions/1",
          "title": "Improve writing"
        }
      }
    }
  ]
}

AITextTransformRunModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "status",
    "events",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "AITextTransformRun"
      ]
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Run id. Only the user who created the run can read it."
    },
    "status": {
      "type": "string",
      "description": "Lifecycle of the run. `succeeded`, `failed` and `cancelled` are terminal.",
      "enum": [
        "queued",
        "running",
        "succeeded",
        "failed",
        "cancelled"
      ]
    },
    "events": {
      "type": "array",
      "description": "The run's events after the requested cursor, ordered by `seq`. Each event carries one of\nfour kinds with its own payload:\n\n| kind         | payload                                       | meaning                                                                                   |\n|--------------|-----------------------------------------------|-------------------------------------------------------------------------------------------|\n| `status`     | `{ \"status\": \"running\" }`                     | The job picked up the run.                                                                |\n| `text_delta` | `{ \"delta\": \"<chunk>\" }`                      | A chunk of generated text, bundled over roughly half a second. Render it progressively.   |\n| `completed`  | `{ \"text\": \"<full text>\" }`                   | The full final text. Build the result and any diff from this, never from the deltas.      |\n| `error`      | `{ \"message\": \"<text>\", \"reason\": \"<code>\" }` | The run failed. `message` is translated for the user, `reason` is one of `not_available`, `connection_failed`, `timeout`, `rate_limited`, `context_too_long`, `upstream_error`, `interrupted`. |",
      "items": {
        "type": "object",
        "required": [
          "seq",
          "kind",
          "payload"
        ],
        "properties": {
          "seq": {
            "type": "integer",
            "description": "Position of the event in the run, starting at 1. Use the highest seen value as the `after` cursor.",
            "minimum": 1
          },
          "kind": {
            "type": "string",
            "enum": [
              "status",
              "text_delta",
              "completed",
              "error"
            ]
          },
          "payload": {
            "type": "object",
            "description": "Depends on `kind`, see the table above.",
            "properties": {
              "status": {
                "type": "string",
                "description": "Only for kind `status`."
              },
              "delta": {
                "type": "string",
                "description": "Only for kind `text_delta`."
              },
              "text": {
                "type": "string",
                "description": "Only for kind `completed`."
              },
              "message": {
                "type": "string",
                "description": "Only for kind `error`."
              },
              "reason": {
                "type": "string",
                "description": "Only for kind `error`.",
                "enum": [
                  "not_available",
                  "connection_failed",
                  "timeout",
                  "rate_limited",
                  "context_too_long",
                  "upstream_error",
                  "interrupted"
                ]
              }
            }
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This run.\n\n**Resource**: AITextTransformRun"
            }
          ]
        },
        "cancel": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Requests cancellation of the run. Only present while the run is not terminal.\n\n# Conditions\n\n**Permission**: the run belongs to the current user"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "AITextTransformRun",
      "id": "6f0f2b3c-5a8e-4b2c-9c3d-1e2f3a4b5c6d",
      "status": "running",
      "events": [
        {
          "seq": 1,
          "kind": "status",
          "payload": {
            "status": "running"
          }
        },
        {
          "seq": 2,
          "kind": "text_delta",
          "payload": {
            "delta": "The login page does not work "
          }
        },
        {
          "seq": 3,
          "kind": "text_delta",
          "payload": {
            "delta": "on Safari 17."
          }
        },
        {
          "seq": 4,
          "kind": "completed",
          "payload": {
            "text": "The login page does not work on Safari 17."
          }
        }
      ],
      "_links": {
        "self": {
          "href": "/api/v3/ai_text_transform_runs/6f0f2b3c-5a8e-4b2c-9c3d-1e2f3a4b5c6d"
        },
        "cancel": {
          "href": "/api/v3/ai_text_transform_runs/6f0f2b3c-5a8e-4b2c-9c3d-1e2f3a4b5c6d/cancel",
          "method": "post"
        }
      }
    }
  ]
}

AITextTransformRunWriteModel

{
  "type": "object",
  "required": [
    "actionId",
    "content"
  ],
  "properties": {
    "actionId": {
      "type": "integer",
      "description": "Id of the AI text action to run",
      "minimum": 1
    },
    "content": {
      "type": "string",
      "description": "The text the action works on, usually the current content of the description field.\nMust not be blank and must not exceed 100,000 characters."
    },
    "workPackageId": {
      "type": "integer",
      "description": "Id of the work package whose description is edited. Requires the permission to edit the\nwork package. Cannot be combined with `projectId`.",
      "minimum": 1
    },
    "projectId": {
      "type": "integer",
      "description": "Id of the project a new work package is created in. Requires the permission to add work\npackages in that project and must be combined with `typeId`.",
      "minimum": 1
    },
    "typeId": {
      "type": "integer",
      "description": "Id of the type of the new work package. The type must be enabled in the project.\nMust be combined with `projectId`.",
      "minimum": 1
    }
  },
  "examples": [
    {
      "actionId": 1,
      "content": "Login page dont work on safari 17, i click submit and nothing happen.",
      "workPackageId": 42
    }
  ]
}

AttachmentModel

{
  "type": "object",
  "required": [
    "fileName",
    "description",
    "status",
    "contentType",
    "digest",
    "createdAt"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Attachment"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Attachment's id",
      "minimum": 1
    },
    "fileName": {
      "type": "string",
      "description": "The name of the uploaded file"
    },
    "fileSize": {
      "type": "integer",
      "description": "The size of the uploaded file in Bytes",
      "minimum": 0
    },
    "description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "A user provided description of the file"
        }
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "uploaded",
        "prepared",
        "scanned",
        "quarantined",
        "rescan",
        "import_prepared",
        "import_failed"
      ]
    },
    "contentType": {
      "type": "string",
      "description": "The files MIME-Type as determined by the server"
    },
    "digest": {
      "type": "object",
      "description": "A checksum for the files content",
      "required": [
        "algorithm",
        "hash"
      ],
      "properties": {
        "algorithm": {
          "type": "string",
          "description": "The algorithm used to generate the digest."
        },
        "hash": {
          "type": "string",
          "description": "The hexadecimal representation of the digested hash value."
        }
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation"
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "container",
        "author",
        "downloadLocation"
      ],
      "properties": {
        "delete": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Deletes this attachment\n\n# Conditions\n\n**Permission**: edit on attachment container or being the author for attachments without container"
            }
          ]
        },
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This attachment\n\n**Resource**: Attachment"
            }
          ]
        },
        "container": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The object (e.g. WorkPackage) housing the attachment\n\n**Resource**: Anything"
            }
          ]
        },
        "author": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user who uploaded the attachment\n\n**Resource**: User"
            }
          ]
        },
        "downloadLocation": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Download link to the attachment through OpenProject's content endpoint, which checks\ndownload access before serving the file or redirecting to external storage.\n\n**Resource**: -"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Attachment",
      "_links": {
        "self": {
          "href": "/api/v3/attachments/1"
        },
        "container": {
          "href": "/api/v3/work_packages/1"
        },
        "author": {
          "href": "/api/v3/users/1"
        },
        "downloadLocation": {
          "href": "/api/v3/attachments/1/content"
        }
      },
      "id": 1,
      "fileName": "cat.png",
      "fileSize": 24,
      "status": "uploaded",
      "description": {
        "format": "plain",
        "raw": "A picture of a cute cat",
        "html": "<p>A picture of a cute cat</p>"
      },
      "contentType": "image/png",
      "digest": {
        "algorithm": "md5",
        "hash": "64c26a8403cd796ea4cf913cda2ee4a9"
      },
      "createdAt": "2014-05-21T08:51:20.396Z"
    }
  ]
}

AttachmentPrepareUploadWriteModel

{
  "type": "object",
  "required": [
    "fileName",
    "fileSize"
  ],
  "properties": {
    "fileName": {
      "type": "string",
      "description": "The name the file will be stored under."
    },
    "fileSize": {
      "type": "integer",
      "description": "The size of the file in Bytes, exactly as it will be uploaded.",
      "minimum": 0
    },
    "contentType": {
      "type": "string",
      "description": "The MIME-Type of the file, as best known by the client (e.g. from the browser's `File` object).\n\nIf omitted, a generic default is assumed for this step. The actual content type is determined\nauthoritatively by the server once the upload has been completed (see the `completeUpload` step),\nat which point it is also matched against the configured content type allowlist, if any is\nconfigured (see [`attachment_whitelist`](../../system-settings/))."
    },
    "description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "A user provided description of the file."
        }
      ]
    },
    "digest": {
      "type": "object",
      "description": "An optional checksum for the file's content, as computed by the client. It is stored alongside\nthe attachment but not verified by the server.",
      "properties": {
        "algorithm": {
          "type": "string",
          "description": "The algorithm used to generate the digest."
        },
        "hash": {
          "type": "string",
          "description": "The hexadecimal representation of the digested hash value."
        }
      }
    }
  },
  "examples": [
    {
      "fileName": "cat.png",
      "fileSize": 24,
      "contentType": "image/png",
      "description": {
        "format": "plain",
        "raw": "A picture of a cute cat"
      }
    }
  ]
}

Attachments_Model

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The attachments collection\n\n**Resource**: AttachmentsCollection",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "properties": {
            "elements": {
              "type": "array",
              "readOnly": true,
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/AttachmentModel"
                  },
                  {
                    "description": "Collection of Attachments"
                  }
                ]
              }
            }
          }
        }
      }
    }
  ]
}

AttachmentUploadModel

{
  "type": "object",
  "required": [
    "_type",
    "_links",
    "id",
    "fileName"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "AttachmentUpload"
      ]
    },
    "id": {
      "type": "integer",
      "description": "The id of the pending `Attachment` record that was created for this upload. It can be used to\nreference the attachment (e.g. for deletion) before the upload has been completed.",
      "minimum": 1
    },
    "fileName": {
      "type": "string",
      "description": "The name the file will be stored under, as given in the request."
    },
    "description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "A user provided description of the file."
        }
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time this pending attachment record was created."
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "author",
        "addAttachment",
        "completeUpload"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Not an actual retrievable resource. As the pending upload is a temporary, one-time\nobject, requesting this URL directly will return a `404 Not Found`. Use the `id`\nproperty together with the container's attachments endpoints once the upload has\nbeen completed."
            }
          ]
        },
        "author": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user preparing the upload, i.e. the currently authenticated user.\n\n**Resource**: User"
            }
          ]
        },
        "container": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The object (e.g. WorkPackage) the resulting attachment will belong to. Absent if the\nupload was prepared without a container (see `POST /api/v3/attachments/prepare`).\n\n**Resource**: Anything"
            }
          ]
        },
        "addAttachment": {
          "type": "object",
          "description": "The direct upload instruction for the storage backend (e.g. an S3-compatible object store).\nThe client must issue exactly this request, unmodified, to upload the actual file content.\n\n# Conditions\n\nThe storage backend, and therefore the exact set of `form_fields`, is implementation\ndefined and may change between requests and OpenProject versions. Clients *must not*\nassume a specific set of fields and instead pass through the ones given.",
          "required": [
            "href",
            "method",
            "form_fields"
          ],
          "properties": {
            "href": {
              "type": "string",
              "description": "The URL of the storage backend the file needs to be uploaded to."
            },
            "method": {
              "type": "string",
              "description": "The HTTP verb to use for the direct upload request (currently always `post`)."
            },
            "form_fields": {
              "type": "object",
              "description": "A set of additional fields that *must* be included, in this exact form and order, as\nparts of the `multipart/form-data` request sent to `href`, in addition to a `file`\npart carrying the raw file content (which *must* be the last part of the request).\n\nThese fields typically include storage credentials in the form of a short-lived,\npre-signed upload policy (e.g. `key`, `policy`, `X-Amz-Credential`, `X-Amz-Signature`,\n`X-Amz-Algorithm`, `X-Amz-Date`, `success_action_status`, `Content-Type` for an S3\nbackend) and *must* be treated as opaque values by the client.",
              "additionalProperties": {
                "type": "string"
              }
            }
          }
        },
        "completeUpload": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "To be called by the client after the direct upload to `addAttachment` has finished\nsuccessfully, in order to complete the attachment.\n\n**Resource**: Attachment"
            }
          ]
        },
        "delete": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Deletes the pending attachment, e.g. to abort the upload.\n\n**Resource**: -"
            }
          ]
        },
        "staticDownloadLocation": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Direct download link to the attachment once it has been uploaded and stored on the\nOpenProject server.\n\n**Resource**: -"
            }
          ]
        },
        "downloadLocation": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Download link to the attachment through OpenProject's content endpoint, identical to\n`staticDownloadLocation`. Download access is checked before serving the file or\nredirecting to external storage.\n\n**Resource**: -"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "AttachmentUpload",
      "id": 42,
      "fileName": "cat.png",
      "description": {
        "format": "plain",
        "raw": "",
        "html": ""
      },
      "createdAt": "2014-05-21T08:51:20.396Z",
      "_links": {
        "self": {
          "href": "/api/v3/attachment_upload/42",
          "title": "cat.png"
        },
        "author": {
          "href": "/api/v3/users/1"
        },
        "container": {
          "href": "/api/v3/work_packages/1"
        },
        "addAttachment": {
          "href": "https://my-bucket.s3.amazonaws.com/",
          "method": "post",
          "form_fields": {
            "key": "uploads/42/cat.png",
            "acl": "private",
            "success_action_status": "201",
            "Content-Type": "image/png",
            "X-Amz-Credential": "AKIAIOSFODNN7EXAMPLE/20260101/eu-west-1/s3/aws4_request",
            "X-Amz-Algorithm": "AWS4-HMAC-SHA256",
            "X-Amz-Date": "20260101T000000Z",
            "policy": "eyJleHBpcmF0aW9uIjogIjIwMjYtMDEtMDFUMDE6MDA6MDBaIiwgImNvbmRpdGlvbnMiOiBbXX0=",
            "X-Amz-Signature": "abcdef0123456789"
          }
        },
        "completeUpload": {
          "href": "/api/v3/attachments/42/uploaded"
        },
        "delete": {
          "href": "/api/v3/attachments/42",
          "method": "delete"
        },
        "staticDownloadLocation": {
          "href": "/api/v3/attachments/42/content"
        },
        "downloadLocation": {
          "href": "/api/v3/attachments/42/content"
        }
      }
    }
  ]
}

Available_AssigneesModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The available assignees collection\n\n**Resource**: AvailableAssigneesCollection",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "properties": {
            "elements": {
              "type": "array",
              "readOnly": true,
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UserModel"
                  },
                  {
                    "description": "Collection of Users"
                  }
                ]
              }
            }
          }
        }
      }
    }
  ]
}

Available_projects_for_queryModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/queries/available_projects"
        }
      },
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_embedded": {
        "elements": [
          {
            "_type": "Project",
            "_links": {
              "self": {
                "href": "/api/v3/projects/6",
                "title": "A project"
              },
              "createWorkPackage": {
                "href": "/api/v3/projects/6/work_packages/form",
                "method": "post"
              },
              "createWorkPackageImmediate": {
                "href": "/api/v3/projects/6/work_packages",
                "method": "post"
              },
              "categories": {
                "href": "/api/v3/projects/6/categories"
              },
              "versions": {
                "href": "/api/v3/projects/6/versions"
              }
            },
            "id": 6,
            "identifier": "a_project",
            "name": "A project",
            "description": "Eveniet molestias omnis quis aut qui eum adipisci.",
            "createdAt": "2015-07-06T13:28:14+00:00",
            "updatedAt": "2015-10-01T09:55:02+00:00",
            "type": "Customer Project"
          },
          {
            "_type": "Project",
            "_links": {
              "self": {
                "href": "/api/v3/projects/14",
                "title": "Another project"
              },
              "createWorkPackage": {
                "href": "/api/v3/projects/14/work_packages/form",
                "method": "post"
              },
              "createWorkPackageImmediate": {
                "href": "/api/v3/projects/14/work_packages",
                "method": "post"
              },
              "categories": {
                "href": "/api/v3/projects/14/categories"
              },
              "versions": {
                "href": "/api/v3/projects/14/versions"
              }
            },
            "id": 14,
            "identifier": "another_project",
            "name": "Another project",
            "description": "",
            "createdAt": "2016-02-29T12:50:20+00:00",
            "updatedAt": "2016-02-29T12:50:20+00:00",
            "type": null
          }
        ]
      }
    }
  ]
}

Available_projects_for_time_entriesModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/time_entries/available_projects"
        }
      },
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_embedded": {
        "elements": [
          {
            "_type": "Project..."
          },
          {
            "_type": "Project..."
          }
        ]
      }
    }
  ]
}

Available_projects_for_versionsModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/versions/available_projects"
        }
      },
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_embedded": {
        "elements": [
          {
            "_type": "Project",
            "_links": {
              "self": {
                "href": "/api/v3/projects/6",
                "title": "A project"
              },
              "editWorkPackage": {
                "href": "/api/v3/work_packages/{id}/form",
                "templated": true,
                "method": "post"
              },
              "createWorkPackage": {
                "href": "/api/v3/projects/6/work_packages/form",
                "method": "post"
              },
              "createWorkPackageImmediate": {
                "href": "/api/v3/projects/6/work_packages",
                "method": "post"
              },
              "categories": {
                "href": "/api/v3/projects/6/categories"
              },
              "versions": {
                "href": "/api/v3/projects/6/versions"
              }
            },
            "id": 6,
            "identifier": "a_project",
            "name": "A project",
            "description": "Eveniet molestias omnis quis aut qui eum adipisci. Atque aut aut in exercitationem adipisci amet. Nisi asperiores quia ratione veritatis enim exercitationem magnam. Aut fuga architecto adipisci nihil. Et repellat pariatur. Aliquam et sed perferendis nostrum quaerat. Fugit doloremque voluptatem.",
            "createdAt": "2015-07-06T13:28:14+00:00",
            "updatedAt": "2015-10-01T09:55:02+00:00",
            "type": "Customer Project"
          },
          {
            "_type": "Project",
            "_links": {
              "self": {
                "href": "/api/v3/projects/14",
                "title": "Another project"
              },
              "createWorkPackage": {
                "href": "/api/v3/projects/14/work_packages/form",
                "method": "post"
              },
              "createWorkPackageImmediate": {
                "href": "/api/v3/projects/14/work_packages",
                "method": "post"
              },
              "categories": {
                "href": "/api/v3/projects/14/categories"
              },
              "versions": {
                "href": "/api/v3/projects/14/versions"
              }
            },
            "id": 14,
            "identifier": "another_project",
            "name": "Another project",
            "description": "",
            "createdAt": "2016-02-29T12:50:20+00:00",
            "updatedAt": "2016-02-29T12:50:20+00:00",
            "type": null
          }
        ]
      }
    }
  ]
}

Available_projects_for_work_packageModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/work_packages/5/available_projects"
        }
      },
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_embedded": {
        "elements": [
          {
            "_type": "Project",
            "_links": {
              "self": {
                "href": "/api/v3/projects/6",
                "title": "A project"
              },
              "editWorkPackage": {
                "href": "/api/v3/work_packages/{id}/form",
                "templated": true,
                "method": "post"
              },
              "createWorkPackage": {
                "href": "/api/v3/projects/6/work_packages/form",
                "method": "post"
              },
              "createWorkPackageImmediate": {
                "href": "/api/v3/projects/6/work_packages",
                "method": "post"
              },
              "categories": {
                "href": "/api/v3/projects/6/categories"
              },
              "versions": {
                "href": "/api/v3/projects/6/versions"
              }
            },
            "id": 6,
            "identifier": "a_project",
            "name": "A project",
            "description": "Eveniet molestias omnis quis aut qui eum adipisci. Atque aut aut in exercitationem adipisci amet. Nisi asperiores quia ratione veritatis enim exercitationem magnam. Aut fuga architecto adipisci nihil. Et repellat pariatur. Aliquam et sed perferendis nostrum quaerat. Fugit doloremque voluptatem.",
            "createdAt": "2015-07-06T13:28:14+00:00",
            "updatedAt": "2015-10-01T09:55:02+00:00",
            "type": "Customer Project"
          },
          {
            "_type": "Project",
            "_links": {
              "self": {
                "href": "/api/v3/projects/14",
                "title": "Another project"
              },
              "createWorkPackage": {
                "href": "/api/v3/projects/14/work_packages/form",
                "method": "post"
              },
              "createWorkPackageImmediate": {
                "href": "/api/v3/projects/14/work_packages",
                "method": "post"
              },
              "categories": {
                "href": "/api/v3/projects/14/categories"
              },
              "versions": {
                "href": "/api/v3/projects/14/versions"
              }
            },
            "id": 14,
            "identifier": "another_project",
            "name": "Another project",
            "description": "",
            "createdAt": "2016-02-29T12:50:20+00:00",
            "updatedAt": "2016-02-29T12:50:20+00:00",
            "type": null
          }
        ]
      }
    }
  ]
}

Available_relation_candidatesModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/projects/14/work_packages"
        }
      },
      "total": 2,
      "count": 2,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_type": "WorkPackage",
            "_links": {
              "self": {
                "href": "/api/v3/work_packages/1"
              }
            },
            "id": 1,
            "subject": "Skipped other properties for brevity"
          },
          {
            "_type": "WorkPackage",
            "_links": {
              "self": {
                "href": "/api/v3/work_packages/2"
              }
            },
            "id": 2,
            "subject": "Skipped other properties for brevity"
          }
        ]
      }
    }
  ]
}

Available_WatchersModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/work_packages/1/available_watchers"
        }
      },
      "total": 2,
      "count": 2,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_type": "User",
            "_links": {
              "self": {
                "href": "/api/v3/users/1",
                "title": "John Sheppard - j.sheppard"
              },
              "lock": {
                "href": "/api/v3/users/1/lock",
                "title": "Set lock on j.sheppard",
                "method": "POST"
              },
              "delete": {
                "href": "/api/v3/users/1",
                "title": "Delete j.sheppard",
                "method": "DELETE"
              }
            },
            "id": 1,
            "login": "j.sheppard",
            "firstName": "John",
            "lastName": "Sheppard",
            "email": "shep@mail.com",
            "avatar": "https://example.org/users/1/avatar",
            "status": "active",
            "createdAt": "2014-05-21T08:51:20.286Z",
            "updatedAt": "2014-05-21T08:51:20.286Z"
          },
          {
            "_type": "User",
            "_links": {
              "self": {
                "href": "/api/v3/users/2",
                "title": "Jim Sheppard - j.sheppard2"
              },
              "lock": {
                "href": "/api/v3/users/2/lock",
                "title": "Set lock on j.sheppard2",
                "method": "POST"
              },
              "delete": {
                "href": "/api/v3/users/2",
                "title": "Delete j.sheppard2",
                "method": "DELETE"
              }
            },
            "id": 2,
            "login": "j.sheppard2",
            "firstName": "Jim",
            "lastName": "Sheppard",
            "email": "shep@mail.net",
            "avatar": "https://example.org/users/1/avatar",
            "status": "active",
            "createdAt": "2014-05-21T08:51:20.286Z",
            "updatedAt": "2014-05-21T08:51:20.286Z"
          }
        ]
      }
    }
  ]
}

BudgetModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The unique identifier of the budget"
    },
    "_type": {
      "type": "string",
      "enum": [
        "Budget"
      ]
    },
    "subject": {
      "type": "string",
      "description": "The subject of the budget"
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This budget\n\n**Resource**: Budget",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Budget",
      "_links": {
        "self": {
          "href": "/api/v3/budgets/1",
          "title": "Q3 2015"
        }
      },
      "id": 1,
      "subject": "Q3 2015"
    }
  ]
}

Budgets_by_ProjectModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/projects/1/budgets"
        }
      },
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_embedded": {
        "elements": [
          {
            "_type": "Budget",
            "_links": {
              "self": {
                "href": "/api/v3/budgets/1",
                "title": "Q3 2015"
              }
            },
            "id": 1,
            "subject": "Q3 2015"
          },
          {
            "_type": "Budget",
            "_links": {
              "self": {
                "href": "/api/v3/budgets/2",
                "title": "Q4 2015"
              }
            },
            "id": 2,
            "subject": "Q4 2015"
          }
        ]
      }
    }
  ]
}

Categories_by_WorkspaceModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The categories collection\n\n**Resource**: CategoriesCollection",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "properties": {
            "elements": {
              "type": "array",
              "readOnly": true,
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/CategoryModel"
                  },
                  {
                    "description": "Collection of Categories"
                  }
                ]
              }
            }
          }
        }
      }
    }
  ]
}

CategoryModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Category id",
      "readOnly": true,
      "exclusiveMinimum": 0
    },
    "_type": {
      "type": "string",
      "enum": [
        "Category"
      ]
    },
    "name": {
      "type": "string",
      "description": "Category name"
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "project"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This category\n\n**Resource**: Category",
              "readOnly": true
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project of this category\n\n**Resource**: Project",
              "readOnly": true
            }
          ]
        },
        "defaultAssignee": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Default assignee for work packages of this category\n\n**Resource**: User",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/categories/10",
          "title": "Category with assignee"
        },
        "project": {
          "href": "/api/v3/projects/11",
          "title": "Example project"
        },
        "defaultAssignee": {
          "href": "/api/v3/users/42",
          "title": "John Sheppard"
        }
      },
      "_type": "Category",
      "id": 10,
      "name": "Foo"
    }
  ]
}

CollaborationTokenModel

{
  "type": "object",
  "description": "A short-lived token granting access to a document on the real-time collaboration (Hocuspocus) server.\n\nThe token is opaque: it is encrypted and can only be read by the collaboration server.\nIt must neither be stored nor logged. Pass it as the `token` of a Hocuspocus provider\nwhose `name` is the `documentName`, connecting to the `collaborationServer` link.",
  "required": [
    "_type",
    "token",
    "documentName",
    "expiresAt",
    "expiresInSeconds",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "CollaborationToken"
      ],
      "readOnly": true
    },
    "token": {
      "type": "string",
      "description": "The opaque, encrypted token to hand to the collaboration server.",
      "readOnly": true
    },
    "documentName": {
      "type": "string",
      "format": "uri",
      "description": "The name of the document on the collaboration server. It is the absolute API URL of the document.",
      "readOnly": true
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the token expires at.",
      "readOnly": true
    },
    "expiresInSeconds": {
      "type": "integer",
      "description": "The number of seconds until the token expires.",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "document",
        "createCollaborationToken",
        "collaborationServer"
      ],
      "readOnly": true,
      "properties": {
        "document": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The document the token grants access to\n\n**Resource**: Document",
              "readOnly": true
            }
          ]
        },
        "createCollaborationToken": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Creates a new token. Send this token as `token` to revoke it.",
              "readOnly": true
            }
          ]
        },
        "collaborationServer": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The WebSocket URL of the real-time collaboration server",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "CollaborationToken",
      "token": "Q2lwaGVydGV4dA==--SXZJdlZJdg==--QXV0aFRhZw==",
      "documentName": "https://openproject.example.com/api/v3/documents/1",
      "expiresAt": "2025-01-04T09:05:00Z",
      "expiresInSeconds": 300,
      "_links": {
        "document": {
          "href": "/api/v3/documents/1",
          "title": "Some document"
        },
        "createCollaborationToken": {
          "href": "/api/v3/documents/1/collaboration_token",
          "method": "post"
        },
        "collaborationServer": {
          "href": "wss://hocuspocus.example.com"
        }
      }
    }
  ]
}
{
  "type": "object",
  "required": [
    "self"
  ],
  "properties": {
    "self": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Link"
        },
        {
          "description": "This collection resource.\n\n**Resource**: Collection"
        }
      ]
    }
  }
}

CollectionModel

{
  "type": "object",
  "required": [
    "_type",
    "total",
    "count",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Collection"
      ]
    },
    "total": {
      "type": "integer",
      "description": "The total amount of elements available in the collection.",
      "minimum": 0
    },
    "count": {
      "type": "integer",
      "description": "Actual amount of elements in this response.",
      "minimum": 0
    },
    "_links": {
      "$ref": "#/components/schemas/CollectionLinks"
    }
  }
}

ConfigurationModel

{
  "type": "object",
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Configuration"
      ]
    },
    "maximumAttachmentFileSize": {
      "type": "integer",
      "description": "The maximum allowed size of an attachment in Bytes"
    },
    "maximumAPIV3PageSize": {
      "type": "integer",
      "description": "The maximum allowed page size for API v3 collections"
    },
    "perPageOptions": {
      "type": "array",
      "description": "Page size steps to be offered in UI for paginated lists",
      "items": {
        "type": "integer"
      }
    },
    "hostName": {
      "type": "string",
      "description": "The host name configured for the system"
    },
    "durationFormat": {
      "type": [
        "string",
        "null"
      ],
      "description": "The format used to display Work, Remaining Work, and Spent time durations",
      "enum": [
        null,
        "days_and_hours",
        "hours_only"
      ]
    },
    "dateFormat": {
      "type": [
        "string",
        "null"
      ],
      "description": "The format used to display dates in UI",
      "enum": [
        null,
        "%Y-%m-%d",
        "%d/%m/%Y",
        "%d.%m.%Y",
        "%d-%m-%Y",
        "%m/%d/%Y",
        "%d %b %Y",
        "%d %B %Y",
        "%b %d, %Y",
        "%B %d, %Y"
      ]
    },
    "timeFormat": {
      "type": [
        "string",
        "null"
      ],
      "description": "The format used to display time values",
      "enum": [
        null,
        "%H:%M",
        "%I:%M %p"
      ]
    },
    "userDefaultTimezone": {
      "type": [
        "string",
        "null"
      ],
      "description": "The default timezone for users, who does not have a timezone set for themselves"
    },
    "startOfWeek": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The first day of the week. Can be Monday (1), Saturday (6), or Sunday (7)",
      "enum": [
        null,
        1,
        6,
        7
      ]
    },
    "hoursPerDay": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The number of hours each working day"
    },
    "daysPerMonth": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The number of days that are considered a month for a more natural way of displaying durations"
    },
    "activeFeatureFlags": {
      "type": "array",
      "description": "The list of all feature flags that are active",
      "items": {
        "type": "string"
      }
    },
    "availableFeatures": {
      "type": "array",
      "description": "The list of features that are active due to the current subscription plan",
      "items": {
        "type": "string"
      }
    },
    "triallingFeatures": {
      "type": "array",
      "description": "The list of features that are active due to the current trial phase",
      "items": {
        "type": "string"
      }
    },
    "allowedLinkProtocols": {
      "type": "array",
      "description": "The list of allowed URL schemas for links",
      "items": {
        "type": "string"
      }
    },
    "wikisAvailable": {
      "type": "boolean",
      "description": "True, if wiki functionality is enabled globally.\nFalse, if it is deactivated - e.g. because external wikis should be used."
    },
    "_embedded": {
      "type": "object",
      "properties": {
        "userPreferences": {
          "$ref": "#/components/schemas/UserPreferencesModel"
        }
      }
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This configuration resource."
            }
          ]
        },
        "userPreferences": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user preferences of the currently authenticated user."
            }
          ]
        },
        "prepareAttachment": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Request an upload link.\n\n**Condition:** `direct_uploads` is enabled"
            }
          ]
        }
      }
    }
  }
}

CustomActionModel

{
  "type": "object",
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "CustomAction"
      ]
    },
    "name": {
      "type": "string",
      "description": "The name of the custom action"
    },
    "description": {
      "type": "string",
      "description": "The description for the custom action"
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "executeImmediately"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This custom action\n\n**Resource**: CustomAction"
            }
          ]
        },
        "executeImmediately": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Execute this custom action."
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "CustomAction",
      "name": "Change project and type",
      "description": "Changes project and type in one go",
      "_links": {
        "executeImmediately": {
          "href": "/api/v3/custom_actions/2/execute",
          "title": "Execute Change project and type",
          "method": "post"
        },
        "self": {
          "href": "/api/v3/custom_actions/2",
          "title": "Change project and type"
        }
      }
    }
  ]
}

CustomCommentProperties

{
  "type": "object",
  "patternProperties": {
    "^customComment\\d+$": {
      "type": [
        "null",
        "string"
      ],
      "description": "A plain-text comment associated with a project custom field that has comments enabled.\n\nThe property is only present when the corresponding `customField{N}` has `has_comment` set to `true`."
    }
  }
}

CustomFieldLinkedProperties

{
  "type": "object",
  "patternProperties": {
    "^customField\\d+$": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Link"
        },
        {
          "description": "A custom field value that belongs to a custom field of a reference type:\n\n- Hierarchy\n- List\n- User\n- Version\n- Weighted item list"
        }
      ]
    }
  }
}

CustomFieldModel

{
  "type": "object",
  "required": [
    "id",
    "name",
    "fieldFormat",
    "isRequired",
    "isMultiValue",
    "createdAt",
    "updatedAt",
    "_links"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "The custom field ID.",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "The human-readable name of the custom field."
    },
    "fieldFormat": {
      "type": "string",
      "description": "Defines which kind of values are allowed in the custom field.",
      "enum": [
        "bool",
        "date",
        "datetime",
        "float",
        "hierarchy",
        "int",
        "link",
        "list",
        "string",
        "text",
        "user",
        "version",
        "weighted_item_list"
      ]
    },
    "isRequired": {
      "type": "boolean",
      "description": "Whether the custom field must be filled out to save an object using it."
    },
    "isMultiValue": {
      "type": "boolean",
      "description": "Whether the custom field accepts more than one value."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation.",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the custom field.",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "APIv3 self-reference of the custom field."
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "id": 42,
      "name": "Celestial Body",
      "fieldFormat": "hierarchy",
      "isRequired": false,
      "isMultiValue": false,
      "createdAt": "2026-07-20T13:37:00Z",
      "updatedAt": "2026-07-20T20:13:37Z",
      "_links": {
        "self": {
          "href": "/api/v3/custom_fields/42",
          "title": "Celestial Body"
        }
      }
    }
  ]
}

CustomFieldProperties

{
  "type": "object",
  "patternProperties": {
    "^customField\\d+$": {
      "type": [
        "null",
        "number",
        "boolean",
        "string",
        "object"
      ],
      "description": "A custom field value, that belongs to a custom field of a simple type:\n\n- Boolean\n- Date\n- Float\n- Integer\n- Link (URL)\n- Text\n- Long text"
    }
  }
}

CustomOptionModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The identifier",
      "readOnly": true
    },
    "value": {
      "type": "string",
      "description": "The value defined for this custom option",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This custom option.\n\n**Resource**: CustomOption",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/custom_options/1"
        }
      },
      "_type": "CustomOption",
      "value": "Foo"
    }
  ]
}

DayCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This days collection\n\n**Resource**: DayCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "description": "The array of days. Each day has a name and a working status\nindicating if it is a working or a non-working day.",
              "items": {
                "$ref": "#/components/schemas/DayModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 5,
      "count": 5,
      "_links": {
        "self": {
          "href": "/api/v3/days?filters=[{\"interval\":{\"operator\":\"<>d\",\"values\":[\"2022-04-29\",\"2022-05-03\"]}}]"
        }
      },
      "_embedded": {
        "elements": [
          {
            "_type": "Day",
            "date": "2022-04-29",
            "name": "Friday",
            "working": true,
            "_links": {
              "self": {
                "href": "/api/v3/days/2022-04-29"
              },
              "weekday": {
                "href": "/api/v3/days/week/5",
                "title": "Friday"
              }
            }
          },
          {
            "_type": "Day",
            "date": "2022-04-30",
            "name": "Saturday",
            "working": false,
            "_links": {
              "self": {
                "href": "/api/v3/days/2022-04-30"
              },
              "nonWorkingReasons": [
                {
                  "href": "/api/v3/days/week/6",
                  "title": "Saturday"
                }
              ],
              "weekday": {
                "href": "/api/v3/days/week/6",
                "title": "Saturday"
              }
            }
          },
          {
            "_type": "Day",
            "date": "2022-05-01",
            "name": "Sunday (Labor day)",
            "working": false,
            "_links": {
              "self": {
                "href": "/api/v3/days/2022-05-01"
              },
              "nonWorkingReasons": [
                {
                  "href": "/api/v3/days/week/7",
                  "title": "Sunday"
                },
                {
                  "href": "/api/v3/days/non_working/2022-05-01",
                  "title": "Labor day"
                }
              ],
              "weekday": {
                "href": "/api/v3/days/week/7",
                "title": "Sunday"
              }
            }
          },
          {
            "_type": "Day",
            "date": "2022-05-02",
            "name": "Monday",
            "working": true,
            "_links": {
              "self": {
                "href": "/api/v3/days/2022-05-02"
              },
              "weekday": {
                "href": "/api/v3/days/week/1",
                "title": "Monday"
              }
            }
          },
          {
            "_type": "Day",
            "date": "2022-05-03",
            "name": "Tuesday",
            "working": true,
            "_links": {
              "self": {
                "href": "/api/v3/days/2022-05-03"
              },
              "weekday": {
                "href": "/api/v3/days/week/2",
                "title": "Tuesday"
              }
            }
          }
        ]
      }
    }
  ]
}

DayModel

{
  "type": "object",
  "required": [
    "_type",
    "date",
    "name",
    "working"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Day"
      ]
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "Date of the day."
    },
    "name": {
      "type": "string",
      "description": "Descriptive name for the day."
    },
    "working": {
      "type": "boolean",
      "description": "`true` for a working day, `false` otherwise."
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "$ref": "#/components/schemas/Link"
        },
        "nonWorkingReasons": {
          "type": "array",
          "description": "A list of resources describing why this day is a non-working day.\nLinked resources can be `NonWorkingDay` and `WeekDay` resources.\nThis property is absent for working days.",
          "items": {
            "$ref": "#/components/schemas/Link"
          }
        },
        "weekDay": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The week day for this day."
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Day",
      "date": "2022-12-25",
      "name": "Sunday (Christmas)",
      "working": false,
      "_links": {
        "self": {
          "href": "/api/v3/days/2022-12-25"
        },
        "nonWorkingReasons": [
          {
            "href": "/api/v3/days/week/7",
            "title": "Sunday"
          },
          {
            "href": "/api/v3/days/non_working/2022-12-25",
            "title": "Christmas"
          }
        ],
        "weekday": {
          "href": "/api/v3/days/week/7",
          "title": "Sunday"
        }
      }
    }
  ]
}

Default_Query_for_WorkspaceModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Query",
      "name": "default",
      "filters": [
        {
          "_type": "StatusQueryFilter",
          "name": "Status",
          "_links": {
            "filter": {
              "href": "/api/v3/queries/filters/status",
              "title": "Status"
            },
            "operator": {
              "href": "/api/v3/queries/operators/o",
              "title": "open"
            },
            "schema": {
              "href": "/api/v3/queries/filter_instance_schemas/status"
            },
            "values": []
          }
        }
      ],
      "public": false,
      "sums": false,
      "timelineVisible": false,
      "timelineZoomLevel": "days",
      "showHierarchies": true,
      "starred": false,
      "_embedded": {
        "results": {
          "_type": "WorkPackageCollection",
          "total": 234,
          "count": 30,
          "pageSize": 2,
          "offset": 1,
          "_embedded": {
            "elements": [
              "<--- shortened for brevity --->"
            ]
          },
          "_links": {
            "self": {
              "href": "/api/v3/workspaces/42/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D"
            },
            "jumpTo": {
              "href": "/api/v3/workspaces/42/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=%7Boffset%7D&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D",
              "templated": true
            },
            "changeSize": {
              "href": "/api/v3/workspaces/42/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=%7Bsize%7D&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D",
              "templated": true
            },
            "createWorkPackage": {
              "href": "/api/v3/work_packages/form",
              "method": "post"
            },
            "createWorkPackageImmediate": {
              "href": "/api/v3/work_packages",
              "method": "post"
            }
          }
        }
      },
      "_links": {
        "self": {
          "href": "/api/v3/workspaces/42/queries/default",
          "title": "Default"
        },
        "results": {
          "href": "/api/v3/workspaces/42/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D"
        },
        "columns": [
          {
            "href": "/api/v3/queries/columns/id",
            "title": "ID"
          },
          {
            "href": "/api/v3/queries/columns/subject",
            "title": "Subject"
          },
          {
            "href": "/api/v3/queries/columns/type",
            "title": "Type"
          },
          {
            "href": "/api/v3/queries/columns/status",
            "title": "Status"
          },
          {
            "href": "/api/v3/queries/columns/priority",
            "title": "Priority"
          },
          {
            "href": "/api/v3/queries/columns/assignee",
            "title": "Assignee"
          },
          {
            "href": "/api/v3/queries/columns/updated_at",
            "title": "Updated on"
          }
        ],
        "groupBy": {
          "href": null,
          "title": null
        },
        "sortBy": [
          {
            "href": "/api/v3/queries/sort_bys/parent-desc",
            "title": "Parent (Descending)"
          }
        ],
        "user": {
          "href": "/api/v3/users/1",
          "title": "OpenProject Admin"
        },
        "project": {
          "href": "/api/v3/projects/42",
          "title": "Lorem ipsum project"
        }
      }
    }
  ]
}

Default_QueryModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Query",
      "name": "default",
      "filters": [
        {
          "_type": "StatusQueryFilter",
          "name": "Status",
          "_links": {
            "filter": {
              "href": "/api/v3/queries/filters/status",
              "title": "Status"
            },
            "operator": {
              "href": "/api/v3/queries/operators/o",
              "title": "open"
            },
            "schema": {
              "href": "/api/v3/queries/filter_instance_schemas/status"
            },
            "values": []
          }
        }
      ],
      "public": false,
      "sums": false,
      "timelineVisible": false,
      "timelineZoomLevel": "days",
      "timelineLabels": {},
      "highlightingMode": "inline",
      "timestamps": [
        "P0D"
      ],
      "showHierarchies": true,
      "starred": false,
      "_embedded": {
        "results": {
          "_type": "WorkPackageCollection",
          "total": 234,
          "count": 30,
          "pageSize": 2,
          "offset": 1,
          "_embedded": {
            "elements": [
              "<--- shortened for brevity --->"
            ]
          },
          "_links": {
            "self": {
              "href": "/api/v3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D"
            },
            "jumpTo": {
              "href": "/api/v3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=%7Boffset%7D&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D",
              "templated": true
            },
            "changeSize": {
              "href": "/api/v3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=%7Bsize%7D&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D",
              "templated": true
            },
            "createWorkPackage": {
              "href": "/api/v3/work_packages/form",
              "method": "post"
            },
            "createWorkPackageImmediate": {
              "href": "/api/v3/work_packages",
              "method": "post"
            }
          },
          "highlightedAttributes": []
        }
      },
      "_links": {
        "self": {
          "href": "/api/v3/queries/default",
          "title": "Default"
        },
        "results": {
          "href": "/api/v3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D"
        },
        "columns": [
          {
            "href": "/api/v3/queries/columns/id",
            "title": "ID"
          },
          {
            "href": "/api/v3/queries/columns/subject",
            "title": "Subject"
          },
          {
            "href": "/api/v3/queries/columns/type",
            "title": "Type"
          },
          {
            "href": "/api/v3/queries/columns/status",
            "title": "Status"
          },
          {
            "href": "/api/v3/queries/columns/priority",
            "title": "Priority"
          },
          {
            "href": "/api/v3/queries/columns/assignee",
            "title": "Assignee"
          },
          {
            "href": "/api/v3/queries/columns/updated_at",
            "title": "Updated on"
          }
        ],
        "highlightedAttributes": [],
        "groupBy": {
          "href": null,
          "title": null
        },
        "sortBy": [
          {
            "href": "/api/v3/queries/sort_bys/parent-desc",
            "title": "Parent (Descending)"
          }
        ],
        "user": {
          "href": "/api/v3/users/1",
          "title": "OpenProject Admin"
        },
        "project": {
          "href": null
        }
      }
    }
  ]
}

DocumentModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Document's id",
      "readOnly": true,
      "exclusiveMinimum": 0
    },
    "title": {
      "type": "string",
      "description": "The title chosen for the document"
    },
    "description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "A text describing the document"
        }
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the document was created at",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "project",
        "attachments"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This document\n\n**Resource**: Document",
              "readOnly": true
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project the document is in\n\n**Resource**: Project"
            }
          ]
        },
        "attachments": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The attachments belonging to the document\n\n**Resource**: []Attachment"
            }
          ]
        },
        "createCollaborationToken": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Creates a token for the real-time collaboration server\n\n# Conditions\n\n**Permission**: view documents\n\nThe document is collaborative, real-time collaboration is enabled and the feature flag\n`documents_collaboration_token_api` is active.",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Document",
      "id": 1,
      "title": "Some other document",
      "description": {
        "format": "markdown",
        "raw": "Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto sortitus cresco apud vestrum qui.",
        "html": "<p>Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto sortitus cresco apud vestrum qui.</p>"
      },
      "createdAt": "2018-12-10T20:53:39.539Z",
      "_links": {
        "attachments": {
          "href": "/api/v3/documents/1/attachments"
        },
        "addAttachment": {
          "href": "/api/v3/documents/1/attachments",
          "method": "post"
        },
        "createCollaborationToken": {
          "href": "/api/v3/documents/1/collaboration_token",
          "method": "post"
        },
        "self": {
          "href": "/api/v3/documents/1",
          "title": "Some document"
        },
        "project": {
          "href": "/api/v3/projects/19",
          "title": "Some project"
        }
      },
      "_embedded": {
        "project": {
          "_type": "Project..."
        },
        "attachments": {
          "_type": "Collection",
          "total": 2,
          "count": 2,
          "_embedded...": {
            "elements": []
          },
          "_links": {
            "self": {
              "href": "/api/v3/documents/1/attachments"
            }
          }
        }
      }
    }
  ]
}

DocumentsModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "pageSize": 30,
      "offset": 1,
      "_embedded": {
        "elements": [
          {
            "description": {
              "format": "markdown",
              "raw": "Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto sortitus cresco apud vestrum qui.",
              "html": "<p>Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto sortitus cresco apud vestrum qui.</p>"
            },
            "_type": "Document",
            "id": 1,
            "title": "Some other document",
            "createdAt": "2018-12-10T20:53:39.966Z",
            "_links": {
              "attachments": {
                "href": "/api/v3/documents/1/attachments"
              },
              "addAttachment": {
                "href": "/api/v3/documents/1/attachments",
                "method": "post"
              },
              "self": {
                "href": "/api/v3/documents/1",
                "title": "Some document"
              },
              "project": {
                "href": "/api/v3/projects/19",
                "title": "Some project"
              }
            }
          },
          {
            "description": {
              "format": "markdown",
              "raw": "Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto sortitus cresco apud vestrum qui.",
              "html": "<p>Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto sortitus cresco apud vestrum qui.</p>"
            },
            "_type": "Document",
            "id": 2,
            "title": "Some other document",
            "createdAt": "2018-12-10T20:55:54.886Z",
            "_links": {
              "attachments": {
                "href": "/api/v3/documents/2/attachments"
              },
              "addAttachment": {
                "href": "/api/v3/documents/2/attachments",
                "method": "post"
              },
              "self": {
                "href": "/api/v3/documents/2",
                "title": "Some other document"
              },
              "project": {
                "href": "/api/v3/projects/29",
                "title": "Some other project"
              }
            }
          }
        ]
      },
      "_links": {
        "self": {
          "href": "/api/v3/documents?offset=1&pageSize=30"
        },
        "jumpTo": {
          "href": "/api/v3/documents?offset=%7Boffset%7D&pageSize=30",
          "templated": true
        },
        "changeSize": {
          "href": "/api/v3/documents?offset=1&pageSize=%7Bsize%7D",
          "templated": true
        }
      }
    }
  ]
}

EmojiReactionModel

{
  "type": "object",
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "EmojiReaction"
      ]
    },
    "id": {
      "type": "string",
      "description": "Emoji reaction id (format: reactable_id-reaction)"
    },
    "reaction": {
      "type": "string",
      "description": "The reaction identifier"
    },
    "emoji": {
      "type": "string",
      "description": "The emoji character"
    },
    "reactionsCount": {
      "type": "integer",
      "description": "Number of users who reacted with this emoji",
      "minimum": 1
    },
    "firstReactionAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the first reaction"
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This emoji reaction"
            }
          ]
        },
        "reactable": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The activity this emoji reaction belongs to"
            }
          ]
        },
        "reactingUsers": {
          "type": "array",
          "items": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Link"
              },
              {
                "description": "The users who reacted with this emoji"
              }
            ]
          }
        }
      }
    }
  },
  "examples": [
    {
      "_type": "EmojiReaction",
      "id": "1-thumbs_up",
      "reaction": "thumbs_up",
      "emoji": "👍",
      "reactionsCount": 3,
      "firstReactionAt": "2024-04-08T15:37:19.275Z",
      "_links": {
        "self": {
          "href": "/api/v3/emoji_reactions/1-thumbs_up"
        },
        "reactable": {
          "href": "/api/v3/activities/1"
        },
        "reactingUsers": [
          {
            "href": "/api/v3/users/435",
            "title": "John Doe"
          },
          {
            "href": "/api/v3/users/436",
            "title": "Jane Smith"
          },
          {
            "href": "/api/v3/users/437",
            "title": "Bob Johnson"
          }
        ]
      }
    }
  ]
}

EmojiReactions_Model

{
  "type": "object",
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Collection"
      ]
    },
    "total": {
      "type": "integer",
      "description": "Total number of emoji reactions",
      "minimum": 0
    },
    "count": {
      "type": "integer",
      "description": "Number of emoji reactions in this response",
      "minimum": 0
    },
    "_embedded": {
      "type": "object",
      "properties": {
        "elements": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/EmojiReactionModel"
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This collection"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_embedded": {
        "elements": [
          {
            "_type": "EmojiReaction",
            "id": "1-thumbs_up",
            "reaction": "thumbs_up",
            "emoji": "👍",
            "reactionsCount": 3,
            "firstReactionAt": "2024-04-08T15:37:19.275Z",
            "_links": {
              "self": {
                "href": "/api/v3/emoji_reactions/1-thumbs_up"
              },
              "reactable": {
                "href": "/api/v3/activities/1"
              },
              "reactingUsers": [
                {
                  "href": "/api/v3/users/435",
                  "title": "John Doe"
                },
                {
                  "href": "/api/v3/users/436",
                  "title": "Jane Smith"
                },
                {
                  "href": "/api/v3/users/437",
                  "title": "Bob Johnson"
                }
              ]
            }
          },
          {
            "_type": "EmojiReaction",
            "id": "1-heart",
            "reaction": "heart",
            "emoji": "❤️",
            "reactionsCount": 1,
            "firstReactionAt": "2024-04-08T15:38:19.275Z",
            "_links": {
              "self": {
                "href": "/api/v3/emoji_reactions/1-heart"
              },
              "reactable": {
                "href": "/api/v3/activities/1"
              },
              "reactingUsers": [
                {
                  "href": "/api/v3/users/435",
                  "title": "John Doe"
                }
              ]
            }
          }
        ]
      },
      "_links": {
        "self": {
          "href": "/api/v3/activities/1/emoji_reactions"
        }
      }
    }
  ]
}

ErrorResponse

{
  "type": "object",
  "required": [
    "_type",
    "errorIdentifier",
    "message"
  ],
  "properties": {
    "_embedded": {
      "type": "object",
      "properties": {
        "details": {
          "type": "object",
          "properties": {
            "attribute": {
              "type": "string"
            }
          }
        }
      }
    },
    "_type": {
      "type": "string",
      "enum": [
        "Error"
      ]
    },
    "errorIdentifier": {
      "type": "string"
    },
    "message": {
      "type": "string"
    }
  },
  "examples": [
    {
      "_type": "Error",
      "errorIdentifier": "urn:openproject-org:api:v3:errors:PropertyConstraintViolation",
      "message": "Project can't be blank.",
      "_embedded": {
        "details": {
          "attribute": "project"
        }
      }
    }
  ]
}

Example_FormModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/example/form"
        },
        "validate": {
          "href": "/api/v3/example/form",
          "method": "POST"
        },
        "previewMarkup": {
          "href": "/api/v3/render/markdown",
          "method": "POST"
        },
        "commit": {
          "href": "/api/v3/example",
          "method": "PATCH"
        }
      },
      "_type": "Form",
      "_embedded": {
        "payload": {
          "_links": {
            "status": {
              "href": "/api/v3/statuses/1"
            }
          },
          "_type": "Example",
          "lockVersion": 5,
          "subject": "An example title"
        },
        "schema": {
          "_type": "Schema",
          "_links": {
            "self": {
              "href": "/api/v3/example/schema"
            }
          },
          "lockVersion": {
            "type": "Integer",
            "writable": false
          },
          "subject": {
            "type": "String",
            "minLength": 1,
            "maxLength": 255
          },
          "status": {
            "_links": {
              "allowedValues": [
                {
                  "href": "/api/v3/statuses/1",
                  "title": "New"
                },
                {
                  "href": "/api/v3/statuses/2",
                  "title": "Closed"
                }
              ]
            },
            "type": "Status",
            "_embedded": {
              "allowedValues": [
                {
                  "_links": {
                    "self": {
                      "href": "/api/v3/statuses/1"
                    }
                  },
                  "_type": "Status",
                  "id": 1,
                  "name": "New",
                  "position": 1,
                  "isDefault": true,
                  "isClosed": false,
                  "defaultDoneRatio": 0,
                  "createdAt": "2014-05-21T08:51:20.759Z",
                  "updatedAt": "2014-05-21T09:12:00.237Z"
                },
                {
                  "_links": {
                    "self": {
                      "href": "/api/v3/statuses/2"
                    }
                  },
                  "_type": "Status",
                  "id": 2,
                  "name": "Closed",
                  "position": 2,
                  "isDefault": false,
                  "isClosed": true,
                  "defaultDoneRatio": 100,
                  "createdAt": "2014-05-21T08:51:20.759Z",
                  "updatedAt": "2014-05-21T09:12:00.237Z"
                }
              ]
            }
          }
        },
        "validationErrors": {
          "subject": {
            "_type": "Error",
            "errorIdentifier": "urn:openproject-org:api:v3:errors:BadExampleError",
            "message": "For the purpose of this example we need a validation error. The remainder of the response pretends there were no errors."
          }
        }
      }
    }
  ]
}

Example_SchemaModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Schema",
      "_dependencies": [],
      "_links": {
        "self": {
          "href": "/api/v3/example/schema"
        }
      },
      "lockVersion": {
        "name": "Resource Version",
        "type": "Integer",
        "writable": false
      },
      "subject": {
        "name": "Subject",
        "type": "String",
        "minLength": 1,
        "maxLength": 255
      },
      "status": {
        "_links": {
          "allowedValues": [
            {
              "href": "/api/v3/statuses/1",
              "title": "New"
            },
            {
              "href": "/api/v3/statuses/2",
              "title": "Closed"
            }
          ]
        },
        "name": "Status",
        "type": "Status",
        "location": "_links",
        "_embedded": {
          "allowedValues": [
            {
              "_links": {
                "self": {
                  "href": "/api/v3/statuses/1"
                }
              },
              "_type": "Status",
              "id": 1,
              "name": "New",
              "position": 1,
              "isDefault": true,
              "isClosed": false,
              "defaultDoneRatio": 0,
              "createdAt": "2014-05-21T08:51:20.991Z",
              "updatedAt": "2014-05-21T09:12:00.155Z"
            },
            {
              "_links": {
                "self": {
                  "href": "/api/v3/statuses/2"
                }
              },
              "_type": "Status",
              "id": 2,
              "name": "Closed",
              "position": 2,
              "isDefault": false,
              "isClosed": true,
              "defaultDoneRatio": 100,
              "createdAt": "2014-05-21T08:51:20.991Z",
              "updatedAt": "2014-05-21T09:12:00.155Z"
            }
          ]
        }
      }
    }
  ]
}

FileLinkCollectionReadModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/PaginatedCollectionModel"
    },
    {
      "type": "object",
      "properties": {
        "_links": {
          "type": "object",
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This file links collection\n\n**Resource**: FileLinkCollectionReadModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/FileLinkReadModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "pageSize": 30,
      "offset": 1,
      "_links": {
        "self": {
          "href": "/api/v3/work_packages/42/file_links"
        },
        "jumpTo": {
          "href": "/api/v3/work_packages/42/file_links?offset=%7Boffset%7D&pageSize=30",
          "templated": true
        },
        "changeSize": {
          "href": "/api/v3/work_packages/42/file_links?offset=1&pageSize=%7Bsize%7D",
          "templated": true
        }
      },
      "_embedded": {
        "elements": [
          {
            "id": 1337,
            "_type": "FileLink",
            "createdAt": "2021-12-20T13:37:00.211Z",
            "updatedAt": "2021-12-20T13:37:00.211Z",
            "originData": {
              "id": "5503",
              "name": "logo.png",
              "mimeType": "image/png",
              "size": 16042,
              "createdAt": "2021-12-19T09:42:10.170Z",
              "lastModifiedAt": "2021-12-20T14:00:13.987Z",
              "createdByName": "Luke Skywalker",
              "lastModifiedByName": "Anakin Skywalker"
            },
            "_links": {
              "self": {
                "href": "/api/v3/work_package/17/file_links/1337",
                "title": "file link"
              },
              "storage": {
                "href": "/api/v3/storage/42",
                "title": "storage"
              },
              "container": {
                "href": "/api/v3/work_package/17",
                "title": "work package"
              },
              "creator": {
                "href": "/api/v3/users/33",
                "title": "Obi-Wan Kenobi"
              },
              "delete": {
                "href": "/api/v3/work_package/17/file_links/1337",
                "method": "delete"
              },
              "originOpen": {
                "href": "https://nextcloud.deathstar.rocks/index.php/f?fileid=5503"
              },
              "staticOriginOpen": {
                "href": "/api/v3/work_package/17/file_links/1337/open"
              }
            }
          },
          {
            "_hint": "File Link resource shortened for brevity",
            "id": 1338
          }
        ]
      }
    }
  ]
}

FileLinkCollectionWriteModel

{
  "type": "object",
  "required": [
    "_embedded"
  ],
  "properties": {
    "_embedded": {
      "type": "object",
      "required": [
        "elements"
      ],
      "properties": {
        "elements": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/FileLinkWriteModel"
          }
        }
      }
    }
  },
  "examples": [
    {
      "_embedded": {
        "elements": [
          {
            "originData": {
              "id": "5503",
              "name": "logo.png",
              "mimeType": "image/png",
              "size": 16042,
              "createdAt": "2021-12-19T09:42:10.170Z",
              "lastModifiedAt": "2021-12-20T14:00:13.987Z",
              "createdByName": "Luke Skywalker",
              "lastModifiedByName": "Anakin Skywalker"
            },
            "_links": {
              "storage": {
                "href": "/api/v3/storage/42"
              }
            }
          }
        ]
      }
    }
  ]
}

FileLinkOriginDataModel

{
  "type": "object",
  "required": [
    "id",
    "name"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Linked file's id on the origin"
    },
    "name": {
      "type": "string",
      "description": "Linked file's name on the origin"
    },
    "mimeType": {
      "type": "string",
      "minLength": 0,
      "description": "MIME type of the linked file.\n\nTo link a folder entity, the custom MIME type `application/x-op-directory` MUST be provided. Otherwise it defaults back to\nan unknown MIME type."
    },
    "size": {
      "type": "integer",
      "minimum": 0,
      "description": "file size on origin in bytes"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of the creation datetime of the file on the origin"
    },
    "lastModifiedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of the datetime of the last modification of the file on the origin"
    },
    "createdByName": {
      "type": "string",
      "description": "Display name of the author that created the file on the origin"
    },
    "lastModifiedByName": {
      "type": "string",
      "description": "Display name of the author that modified the file on the origin last"
    }
  }
}

FileLinkReadModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "File link id"
    },
    "_type": {
      "type": "string",
      "enum": [
        "FileLink"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the file link"
    },
    "originData": {
      "$ref": "#/components/schemas/FileLinkOriginDataModel"
    },
    "_embedded": {
      "type": "object",
      "required": [
        "storage",
        "container"
      ],
      "properties": {
        "storage": {
          "$ref": "#/components/schemas/StorageReadModel"
        }
      }
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This file link.\n\n**Resource**: FileLink"
            }
          ]
        },
        "storage": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The storage resource of the linked file.\n\n**Resource**: Storage"
            }
          ]
        },
        "container": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The container the origin file is linked to.\n\nCan be one of the following **Resources**:\n\n- WorkPackage"
            }
          ]
        },
        "creator": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The creator of the file link.\n\n**Resource**: User"
            }
          ]
        },
        "delete": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The uri to delete the file link.\n\n**Resource**: N/A"
            }
          ]
        },
        "status": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The urn of the user specific file link status on its storage. Can be one of:\n\n- urn:openproject-org:api:v3:file-links:permission:ViewAllowed\n- urn:openproject-org:api:v3:file-links:permission:ViewNotAllowed\n- urn:openproject-org:api:v3:file-links:NotFound\n- urn:openproject-org:api:v3:file-links:Error\n\n**Resource**: N/A"
            }
          ]
        },
        "originOpen": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The uri to open the origin file on the origin itself.\n\n**Resource**: N/A"
            }
          ]
        },
        "staticOriginOpen": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "A static uri to open the origin file on the storage. Responds with a redirect.\n\n**Resource**: N/A"
            }
          ]
        },
        "originOpenLocation": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The uri to open the location of origin file on the origin itself.\n\n**Resource**: N/A"
            }
          ]
        },
        "staticOriginOpenLocation": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "A static uri to open the location of the origin file on the storage. Responds with a redirect.\n\n**Resource**: N/A"
            }
          ]
        },
        "staticOriginDownload": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "A static uri to generate a new download URL from the storage. Responds with a redirect.\n\n**Resource**: N/A"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "id": 1337,
      "_type": "FileLink",
      "createdAt": "2021-12-20T13:37:00.211Z",
      "updatedAt": "2021-12-20T13:37:00.211Z",
      "originData": {
        "id": "5503",
        "name": "logo.png",
        "mimeType": "image/png",
        "size": 16042,
        "createdAt": "2021-12-19T09:42:10.170Z",
        "lastModifiedAt": "2021-12-20T14:00:13.987Z",
        "createdByName": "Luke Skywalker",
        "lastModifiedByName": "Anakin Skywalker"
      },
      "_embedded": {
        "storage": {
          "id": 1337,
          "_type": "Storage",
          "name": "It's no moon",
          "createdAt": "2021-12-20T13:37:00.211Z",
          "updatedAt": "2021-12-20T13:37:00.211Z",
          "_links": {
            "self": {
              "href": "/api/v3/storages/1337",
              "title": "It's no moon"
            },
            "type": {
              "href": "urn:openproject-org:api:v3:storages:nextcloud",
              "title": "Nextcloud"
            },
            "origin": {
              "href": "https://nextcloud.deathstar.rocks/"
            },
            "open": {
              "href": "https://example.com/a-link-to-open-the-file"
            },
            "authorizationState": {
              "href": "urn:openproject-org:api:v3:storages:authorization:Connected"
            }
          }
        },
        "container": {
          "_hint": "Work package resource shortened for brevity",
          "_type": "WorkPackage",
          "id": 1528,
          "subject": "Develop API"
        }
      },
      "_links": {
        "self": {
          "href": "/api/v3/work_package/17/file_links/1337"
        },
        "storage": {
          "href": "/api/v3/storage/42",
          "title": "It's no moon"
        },
        "container": {
          "href": "/api/v3/work_package/17",
          "title": "Develop API"
        },
        "creator": {
          "href": "/api/v3/users/33",
          "title": "Obi-Wan Kenobi"
        },
        "delete": {
          "href": "/api/v3/work_package/17/file_links/1337"
        },
        "status": {
          "href": "urn:openproject-org:api:v3:file-links:permission:ViewAllowed",
          "title": "View allowed"
        },
        "originOpen": {
          "href": "https://nextcloud.deathstar.rocks/index.php/f/5503?openfile=1"
        },
        "staticOriginOpen": {
          "href": "/api/v3/file_links/1337/open"
        },
        "originOpenLocation": {
          "href": "https://nextcloud.deathstar.rocks/index.php/f/5503?openfile=0"
        },
        "staticOriginOpenLocation": {
          "href": "/api/v3/file_links/1337/open?location=true"
        },
        "staticOriginDownload": {
          "href": "/api/v3/file_links/1337/download"
        }
      }
    }
  ]
}

FileLinkWriteModel

{
  "type": "object",
  "required": [
    "originData",
    "_links"
  ],
  "properties": {
    "originData": {
      "$ref": "#/components/schemas/FileLinkOriginDataModel"
    },
    "_links": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "storage"
          ],
          "properties": {
            "storage": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The storage resource of the linked file.\n\n**Resource**: Storage"
                }
              ]
            }
          }
        },
        {
          "type": "object",
          "required": [
            "storageUrl"
          ],
          "properties": {
            "storageUrl": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The storage url the file link references to.\n\n**Resource**: N/A"
                }
              ]
            }
          }
        }
      ]
    }
  },
  "examples": [
    {
      "originData": {
        "id": "5503",
        "name": "logo.png",
        "mimeType": "image/png",
        "size": 16042,
        "createdAt": "2021-12-19T09:42:10.170Z",
        "lastModifiedAt": "2021-12-20T14:00:13.987Z",
        "createdByName": "Luke Skywalker",
        "lastModifiedByName": "Anakin Skywalker"
      },
      "_links": {
        "storageUrl": {
          "href": "https://nextcloud.my-deathstar.org"
        }
      }
    }
  ]
}

FileUploadForm

{
  "type": "object",
  "properties": {
    "metadata": {
      "type": "object",
      "properties": {
        "fileName": {
          "type": "string"
        }
      }
    },
    "file": {
      "type": "string",
      "format": "binary"
    }
  }
}

Formattable

{
  "type": "object",
  "required": [
    "format"
  ],
  "properties": {
    "format": {
      "type": "string",
      "enum": [
        "plain",
        "markdown",
        "custom"
      ],
      "readOnly": true,
      "description": "Indicates the formatting language of the raw text"
    },
    "raw": {
      "type": "string",
      "description": "The raw text, as entered by the user"
    },
    "html": {
      "type": "string",
      "readOnly": true,
      "description": "The text converted to HTML according to the format"
    }
  },
  "examples": [
    {
      "format": "markdown",
      "raw": "I **am** formatted!",
      "html": "I <strong>am</strong> formatted!"
    }
  ]
}

GridCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/PaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_embedded"
      ],
      "properties": {
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/GridReadModel"
              }
            }
          }
        }
      }
    }
  ]
}

GridReadModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "rowCount",
    "columnCount",
    "widgets",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Grid"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Grid's id",
      "minimum": 1
    },
    "rowCount": {
      "type": "integer",
      "description": "The number of rows the grid has",
      "minimum": 1
    },
    "columnCount": {
      "type": "integer",
      "description": "The number of columns the grid has",
      "minimum": 1
    },
    "widgets": {
      "type": "array",
      "description": "The set of `GridWidget`s selected for the grid.\n\n# Conditions\n\n- The widgets must not overlap.",
      "items": {
        "$ref": "#/components/schemas/GridWidgetModel"
      }
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the grid was created."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the grid was last updated."
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "scope"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This grid.\n\n**Resource**: Grid"
            }
          ]
        },
        "attachments": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The attachment collection of this grid.\n\n**Resource**: AttachmentCollection"
            }
          ]
        },
        "addAttachment": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Link for adding an attachment to this grid."
            }
          ]
        },
        "scope": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The location where this grid is used, usually represented as a relative URL."
            }
          ]
        },
        "updateImmediately": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Directly perform edits on this grid.\n\n# Conditions\n\n**Permission**: depends on the page the grid is defined for"
            }
          ]
        },
        "update": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Validate edits on the grid via a form resource before committing\n\n# Conditions\n\n**Permission**: depends on the page the grid is defined for"
            }
          ]
        },
        "delete": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Deletes this grid resource."
            }
          ]
        }
      }
    }
  }
}

GridWidgetModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "identifier",
    "startRow",
    "endRow",
    "startColumn",
    "endColumn"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "GridWidget"
      ]
    },
    "id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The grid widget's unique identifier. Can be null, if a new widget is created within a grid.",
      "minimum": 1
    },
    "identifier": {
      "type": "string",
      "description": "An alternative, human legible, and unique identifier."
    },
    "startRow": {
      "type": "integer",
      "description": "The index of the starting row of the widget. The row is inclusive.",
      "minimum": 1
    },
    "endRow": {
      "type": "integer",
      "description": "The index of the ending row of the widget. The row is exclusive.",
      "minimum": 1
    },
    "startColumn": {
      "type": "integer",
      "description": "The index of the starting column of the widget. The column is inclusive.",
      "minimum": 1
    },
    "endColumn": {
      "type": "integer",
      "description": "The index of the ending column of the widget. The column is exclusive.",
      "minimum": 1
    },
    "options": {
      "type": "object"
    }
  }
}

GridWriteModel

{
  "type": "object",
  "properties": {
    "rowCount": {
      "type": "integer",
      "description": "The number of rows the grid has",
      "minimum": 1
    },
    "columnCount": {
      "type": "integer",
      "description": "The number of columns the grid has",
      "minimum": 1
    },
    "widgets": {
      "type": "array",
      "description": "The set of `GridWidget`s selected for the grid.\n\n# Conditions\n\n- The widgets must not overlap.",
      "items": {
        "$ref": "#/components/schemas/GridWidgetModel"
      }
    },
    "_links": {
      "type": "object",
      "properties": {
        "scope": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The location where this grid is used, usually represented as a relative URL."
            }
          ]
        }
      }
    }
  }
}

GroupCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This group collection\n\n**Resource**: Collection"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/GroupModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_links": {
        "self": {
          "href": "/api/v3/groups"
        }
      },
      "_embedded": {
        "elements": [
          {
            "_type": "Group",
            "id": 1337,
            "name": "Stormtroopers",
            "createdAt": "2022-09-23T11:06:36.300Z",
            "updatedAt": "2022-09-23T11:06:36.300Z",
            "_links": {
              "self": {
                "href": "/api/v3/groups/9",
                "title": "Stormtroopers"
              },
              "delete": {
                "href": "/api/v3/group/9",
                "method": "delete"
              },
              "memberships": {
                "href": "/api/v3/memberships?filters=[{\"principal\":{\"operator\":\"=\",\"values\":[\"9\"]}}]",
                "title": "Memberships"
              },
              "updateImmediately": {
                "href": "/api/v3/group/9",
                "method": "patch"
              },
              "members": [
                {
                  "href": "/api/v3/users/363",
                  "title": "ST-097E"
                },
                {
                  "href": "/api/v3/users/60",
                  "title": "ST-C-334"
                }
              ]
            }
          },
          {
            "_abbreviated": "Group resource shortened for brevity",
            "id": 1338
          }
        ]
      }
    }
  ]
}

GroupModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/PrincipalModel"
    },
    {
      "$ref": "#/components/schemas/CustomFieldProperties"
    },
    {
      "type": "object",
      "required": [
        "_type",
        "_embedded"
      ],
      "properties": {
        "_type": {
          "type": "string",
          "enum": [
            "Group"
          ]
        },
        "_embedded": {
          "type": "object",
          "properties": {
            "members": {
              "type": "array",
              "description": "Embedded list of members.",
              "items": {
                "$ref": "#/components/schemas/UserModel"
              }
            }
          }
        },
        "_links": {
          "type": "object",
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This group resource\n\n**Resource**: Group"
                }
              ]
            },
            "members": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Link"
                  },
                  {
                    "description": "A member of the group\n\n# Conditions:\n\n- user has permission `manage_members` in any project\n\n**Resource**: User"
                  }
                ]
              }
            },
            "memberships": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "An collection of all memberships of the group.\n\n**Resource**: MembershipCollection"
                }
              ]
            },
            "delete": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "An href to delete the group.\n\n# Conditions:\n\n- `admin`"
                }
              ]
            },
            "updateImmediately": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "An href to update the group.\n\n# Conditions:\n\n- `admin`\n\n**Resource**: Group"
                }
              ]
            }
          }
        }
      }
    }
  ]
}

GroupWriteModel

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The new group name."
    },
    "_links": {
      "type": "object",
      "properties": {
        "members": {
          "type": "array",
          "items": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Link"
              },
              {
                "description": "A new member for the group.\n\n**Resource**: User"
              }
            ]
          }
        }
      }
    }
  },
  "examples": [
    {
      "name": "Emperor's guard",
      "_links": {
        "members": [
          {
            "href": "/api/v3/users/42"
          },
          {
            "href": "/api/v3/users/43"
          },
          {
            "href": "/api/v3/users/44"
          }
        ]
      }
    }
  ]
}

HelpTextCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This help text collection\n\n**Resource**: HelpTextCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/HelpTextModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "total": 2,
      "count": 2,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_type": "HelpText",
            "_links": {
              "self": {
                "href": "/api/v3/help_texts/1"
              },
              "editText": {
                "href": "/admin/attribute_help_texts/1/edit",
                "type": "text/html"
              },
              "attachments": {
                "href": "/api/v3/help_texts/1/attachments"
              },
              "addAttachment": {
                "href": "/api/v3/help_texts/1/attachments",
                "method": "post"
              }
            },
            "id": 1,
            "attribute": "id",
            "attributeCaption": "ID",
            "scope": "WorkPackage",
            "helpText": {
              "format": "markdown",
              "raw": "Help text for id attribute.",
              "html": "<p>Help text for id attribute.</p>"
            }
          },
          {
            "_type": "HelpText",
            "_links": {
              "self": {
                "href": "/api/v3/help_texts/2"
              },
              "editText": {
                "href": "/admin/attribute_help_texts/2/edit",
                "type": "text/html"
              },
              "attachments": {
                "href": "/api/v3/help_texts/2/attachments"
              },
              "addAttachment": {
                "href": "/api/v3/help_texts/2/attachments",
                "method": "post"
              }
            },
            "id": 2,
            "attribute": "status",
            "attributeCaption": "Status",
            "scope": "WorkPackage",
            "helpText": {
              "format": "markdown",
              "raw": "Help text for status attribute.",
              "html": "<p>Help text for status attribute.</p>"
            }
          }
        ]
      },
      "_links": {
        "self": {
          "href": "/api/v3/help_texts"
        }
      }
    }
  ]
}

HelpTextModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "attribute",
    "scope",
    "helpText",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "HelpText"
      ]
    },
    "id": {
      "type": "integer",
      "format": "int64",
      "minimum": 1
    },
    "attribute": {
      "type": "string",
      "description": "The attribute the help text is assigned to."
    },
    "scope": {
      "type": "string",
      "enum": [
        "WorkPackage",
        "Project"
      ]
    },
    "helpText": {
      "$ref": "#/components/schemas/Formattable"
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "editText",
        "attachments",
        "addAttachment"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This help text resource.\n\n**Resource**: HelpText"
            }
          ]
        },
        "editText": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Edit the help text entry.\n\n**Resource**: text/html"
            }
          ]
        },
        "attachments": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The attachment collection of this help text.\n\n**Resource**: AttachmentCollection"
            }
          ]
        },
        "addAttachment": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Add an attachment to the help text."
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "HelpText",
      "id": 1,
      "attribute": "id",
      "scope": "WorkPackage",
      "caption": "Some plain text caption",
      "helpText": {
        "format": "markdown",
        "raw": "Help text for id attribute.",
        "html": "<p>Help text for id attribute.</p>"
      },
      "_links": {
        "self": {
          "href": "/api/v3/help_texts/1"
        },
        "editText": {
          "href": "/admin/attribute_help_texts/1/edit",
          "type": "text/html"
        },
        "attachments": {
          "href": "/api/v3/help_texts/1/attachments"
        },
        "addAttachment": {
          "href": "/api/v3/help_texts/1/attachments",
          "method": "post"
        }
      }
    }
  ]
}

HierarchyItemCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This hierarchy item collection\n\n**Resource**: HierarchyItemCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/HierarchyItemReadModel"
              }
            }
          }
        }
      }
    }
  ]
}

HierarchyItemReadModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "label",
    "short",
    "weight",
    "formattedWeight",
    "depth",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "HierarchyItem"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Hierarchy item identifier"
    },
    "label": {
      "type": [
        "string",
        "null"
      ],
      "description": "The label of the hierarchy item"
    },
    "short": {
      "type": [
        "string",
        "null"
      ],
      "description": "The short name of the hierarchy item. If this attribute is set, the `weight` and\nthe `formattedWeight` are `null`."
    },
    "weight": {
      "type": [
        "string",
        "null"
      ],
      "description": "The accurate weight of the hierarchy item. As a decimal precision number it is written as a string to\nnot loose precision with conversion to a floating point number.\nIf this attribute is set, the `short` is null."
    },
    "formattedWeight": {
      "type": [
        "string",
        "null"
      ],
      "description": "The formatted weight of the hierarchy item. The standard formatting of the OpenProject server is used to\nconvert this number into a representable format - i.e. falling back to scientific notation for very small and\nvery big numbers.\nIf this attribute is set, the `short` is null."
    },
    "depth": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The hierarchy depth. The root item has a depth of nil, the children of the root item have a depth of 0."
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "children",
        "branch"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This hierarchy item\n\n**Resource**: HierarchyItem"
            }
          ]
        },
        "parent": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The hierarchy item that is the parent of the current hierarchy item\n\n**Resource**: HierarchyItem"
            }
          ]
        },
        "children": {
          "type": "array",
          "items": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Link"
              },
              {
                "description": "A hierarchy item that is a child of the current hierarchy item\n\n**Resource**: HierarchyItem"
              }
            ]
          }
        },
        "branch": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The branch of the hierarchy item, ordered from root to node.\n\n**Resource**: HierarchyItemCollection"
            }
          ]
        }
      }
    }
  }
}

HourlyRateCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This collection of hourly rates.\n**Resource**: HourlyRateCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "description": "The array of hourly rates visible to the requesting user, ordered by `validFrom` descending.\nProject rates and default rates are told apart by the presence of the `project` link.",
              "items": {
                "$ref": "#/components/schemas/HourlyRateModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_links": {
        "self": {
          "href": "/api/v3/principals/42/hourly_rates"
        }
      },
      "_embedded": {
        "elements": [
          {
            "_type": "HourlyRate",
            "id": 1,
            "validFrom": "2025-01-01",
            "rate": 50.0,
            "_links": {
              "self": {
                "href": "/api/v3/principals/42/hourly_rates/1"
              },
              "principal": {
                "href": "/api/v3/users/42",
                "title": "Jane Doe"
              },
              "project": {
                "href": "/api/v3/projects/7",
                "title": "Customer Portal"
              }
            }
          },
          {
            "_type": "HourlyRate",
            "id": 2,
            "validFrom": "2024-01-01",
            "rate": 30.0,
            "_links": {
              "self": {
                "href": "/api/v3/principals/42/hourly_rates/2"
              },
              "principal": {
                "href": "/api/v3/users/42",
                "title": "Jane Doe"
              }
            }
          }
        ]
      }
    }
  ]
}

HourlyRateModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "validFrom",
    "rate"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "HourlyRate"
      ]
    },
    "id": {
      "type": "integer",
      "description": "The unique identifier of the hourly rate.",
      "minimum": 1
    },
    "validFrom": {
      "type": "string",
      "format": "date",
      "description": "The date from which this rate takes effect (ISO 8601 format). It stays in effect until a\nlater rate of the same kind takes over."
    },
    "rate": {
      "type": "number",
      "format": "float",
      "description": "The amount charged per hour, in the currency configured for the instance."
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "principal"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This hourly rate.\n**Resource**: HourlyRate"
            }
          ]
        },
        "principal": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user or placeholder user this rate belongs to.\n**Resource**: Principal"
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project this rate applies in. Absent on a default rate, which applies in every\nproject where the principal has no project rate. Can only be written on creation.\n\n**Resource**: Project"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "HourlyRate",
      "id": 1,
      "validFrom": "2025-01-01",
      "rate": 50.0,
      "_links": {
        "self": {
          "href": "/api/v3/principals/42/hourly_rates/1"
        },
        "principal": {
          "href": "/api/v3/users/42",
          "title": "Jane Doe"
        },
        "project": {
          "href": "/api/v3/projects/7",
          "title": "Customer Portal"
        }
      }
    }
  ]
}

LabelCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This label collection\n\n**Resource**: LabelCollectionModel",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/LabelModel"
              }
            }
          }
        }
      }
    }
  ]
}

LabelModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Label id",
      "readOnly": true,
      "exclusiveMinimum": 0
    },
    "name": {
      "type": "string",
      "description": "Label name",
      "readOnly": true,
      "minLength": 1,
      "maxLength": 255
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the label was created",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the label was last updated",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This label\n\n**Resource**: Label",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Label",
      "_links": {
        "self": {
          "href": "/api/v3/labels/1",
          "title": "Bug"
        }
      },
      "id": 1,
      "name": "Bug",
      "createdAt": "2014-08-29T12:40:53.373Z",
      "updatedAt": "2014-08-29T12:40:53.373Z"
    }
  ]
}

LabelWriteModel

{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Label name. Matched case-insensitively against existing labels.",
      "minLength": 1,
      "maxLength": 255
    }
  },
  "examples": [
    {
      "name": "Bug"
    }
  ]
}
{
  "type": "object",
  "required": [
    "href"
  ],
  "properties": {
    "href": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL to the referenced resource (might be relative)"
    },
    "title": {
      "type": "string",
      "description": "Representative label for the resource"
    },
    "templated": {
      "type": "boolean",
      "default": false,
      "description": "If true the href contains parts that need to be replaced by the client"
    },
    "method": {
      "type": "string",
      "default": "GET",
      "description": "The HTTP verb to use when requesting the resource"
    },
    "payload": {
      "type": "object",
      "description": "The payload to send in the request to achieve the desired result"
    },
    "identifier": {
      "type": "string",
      "description": "An optional unique identifier to the link object"
    },
    "type": {
      "type": "string",
      "description": "The MIME-Type of the returned resource."
    }
  },
  "examples": [
    {
      "href": "/api/v3/work_packages",
      "method": "POST"
    }
  ]
}

List_actionsModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/actions"
        }
      },
      "total": 2,
      "count": 2,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_links": {
              "self": {
                "href": "/api/v3/actions/work_packages/create",
                "title": "Add work package"
              }
            },
            "_type": "Action",
            "id": "work_packages/create",
            "name": "Add work package",
            "description": "Creating a work package within a project including the uploading of attachments. Some attributes might not be selected, e.g version which requires a second permission",
            "modules": [
              "work_packages"
            ]
          },
          {
            "_links": {
              "self": {
                "href": "/api/v3/actions/work_packages/assign_versions",
                "title": "Assigning version"
              }
            },
            "_type": "Action",
            "id": "work_packages/assign_versions",
            "name": "Assign version",
            "description": "Assigning a work package to a version when creating/updating a work package. Only principals having this permission can assign a value to the version property of the work package resource.",
            "modules": [
              "work_packages",
              "versions"
            ]
          }
        ]
      }
    }
  ]
}

List_available_parent_project_candidatesModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The project collection\n\n**Resource**: ProjectCollection",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "properties": {
            "elements": {
              "type": "array",
              "readOnly": true,
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/ProjectModel"
                  },
                  {
                    "$ref": "#/components/schemas/ProgramModel"
                  },
                  {
                    "$ref": "#/components/schemas/PortfolioModel"
                  }
                ]
              },
              "description": "Collection of projects"
            }
          }
        }
      }
    }
  ]
}

List_capabilitiesModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/capabilities"
        },
        "changeSize": {
          "href": "/api/v3/capabilities?pageSize={size}",
          "templated": true
        },
        "jumpTo": {
          "href": "/api/v3/capabilities?offset={offset}",
          "templated": true
        }
      },
      "total": 4,
      "count": 4,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_links": {
              "self": {
                "href": "/api/v3/capabilities/work_packages/create/p123-567"
              },
              "action": {
                "href": "/api/v3/actions/work_packages/create",
                "title": "Add work package"
              },
              "context": {
                "href": "/api/v3/projects/123",
                "title": "A project"
              },
              "principal": {
                "href": "/api/v3/users/567",
                "title": "Some user"
              }
            },
            "_type": "Capability",
            "id": "work_packages/create/p123-567"
          },
          {
            "_links": {
              "self": {
                "href": "/api/v3/capabilities/work_packages/assignee/p123-567"
              },
              "action": {
                "href": "/api/v3/actions/work_packages/assignee"
              },
              "context": {
                "href": "/api/v3/projects/123",
                "title": "A project"
              },
              "principal": {
                "href": "/api/v3/users/567",
                "title": "Some user"
              }
            },
            "_type": "Capability",
            "id": "work_packages/assignee/p123-567"
          },
          {
            "_links": {
              "self": {
                "href": "/api/v3/capabilities/memberships/create/p345-821",
                "title": "Create members"
              },
              "action": {
                "href": "/api/v3/actions/memberships/create"
              },
              "context": {
                "href": "/api/v3/projects/345",
                "title": "A project"
              },
              "principal": {
                "href": "/api/v3/users/821",
                "title": "Some user"
              }
            },
            "_type": "Capability",
            "id": "memberships/create/p345-821"
          },
          {
            "_links": {
              "self": {
                "href": "/api/v3/capabilities/users/delete/g-567",
                "title": "Delete user"
              },
              "context": {
                "href": "/api/v3/capabilities/context/global",
                "title": "Global"
              },
              "principal": {
                "href": "/api/v3/users/567",
                "title": "Some user"
              }
            },
            "_type": "Capability",
            "id": "users/delete/g-567"
          }
        ]
      }
    }
  ]
}

List_of_NewsModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Collection",
      "total": 78,
      "count": 2,
      "pageSize": 2,
      "offset": 1,
      "_embedded": {
        "elements": [
          {
            "_type": "News",
            "id": 1,
            "title": "asperiores possimus nam doloribus ab",
            "summary": "Celebrer spiculum colo viscus claustrum atque. Id nulla culpa sumptus. Comparo crapula depopulo demonstro.",
            "description": {
              "format": "markdown",
              "raw": "Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto sortitus cresco apud vestrum qui.",
              "html": "<p>Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto sortitus cresco apud vestrum qui.</p>"
            },
            "createdAt": "2015-03-20T12:57:01.509Z",
            "_links": {
              "self": {
                "href": "/api/v3/news/1",
                "title": "asperiores possimus nam doloribus ab"
              },
              "project": {
                "href": "/api/v3/projects/1",
                "title": "Seeded Project"
              },
              "author": {
                "href": "/api/v3/users/2",
                "title": "Peggie Feeney"
              },
              "updateImmediately": {
                "href": "api/v3/news/1",
                "method": "patch"
              },
              "delete": {
                "href": "api/v3/news/1",
                "method": "delete"
              }
            }
          },
          {
            "_type": "News",
            "id": 2,
            "title": "terminatio tutamen. Officia adeptio sp",
            "summary": "Consequatur sequi surculus creo tui aequitas.",
            "description": {
              "format": "markdown",
              "raw": "Amicitia alius cattus voluntarius. Virgo viduo terminatio tutamen. Officia adeptio spectaculum atavus nisi cum concido bis. Harum caecus auxilium sol theatrum eaque consequatur. Omnis aeger suus adipisci cicuta. Cur delicate alias curto cursim atqui talio fugiat.",
              "html": "<p>Amicitia alius cattus voluntarius. Virgo viduo terminatio tutamen. Officia adeptio spectaculum atavus nisi cum concido bis. Harum caecus auxilium sol theatrum eaque consequatur. Omnis aeger suus adipisci cicuta. Cur delicate alias curto cursim atqui talio fugiat.</p>"
            },
            "createdAt": "2015-03-20T12:57:01.509Z",
            "_links": {
              "self": {
                "href": "/api/v3/news/2",
                "title": "terminatio tutamen. Officia adeptio sp"
              },
              "project": {
                "href": "/api/v3/projects/1",
                "title": "Seeded Project"
              },
              "author": {
                "href": "/api/v3/users/2",
                "title": "Peggie Feeney"
              },
              "updateImmediately": {
                "href": "api/v3/news/2",
                "method": "patch"
              },
              "delete": {
                "href": "api/v3/news/2",
                "method": "delete"
              }
            }
          }
        ]
      },
      "_links": {
        "self": {
          "href": "/api/v3/news?offset=1&pageSize=2"
        },
        "jumpTo": {
          "href": "/api/v3/news?offset=%7Boffset%7D&pageSize=2",
          "templated": true
        },
        "changeSize": {
          "href": "/api/v3/news?offset=1&pageSize=%7Bsize%7D",
          "templated": true
        },
        "nextByOffset": {
          "href": "/api/v3/news?offset=2&pageSize=2"
        }
      }
    }
  ]
}

List_workspaces_by_versionModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/versions/2/workspaces"
        }
      },
      "total": 1,
      "count": 1,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_type": "Project",
            "_links": {
              "self": {
                "href": "/api/v3/projects/1",
                "title": "Lorem"
              },
              "categories": {
                "href": "/api/v3/projects/1/categories"
              },
              "versions": {
                "href": "/api/v3/projects/1/versions"
              },
              "status": {
                "href": "/api/v3/project_statuses/on_track",
                "title": "On track"
              }
            },
            "id": 1,
            "identifier": "project_identifier",
            "name": "Project example",
            "description": {
              "format": "markdown",
              "raw": "Lorem **ipsum** dolor sit amet",
              "html": "<p>Lorem <strong>ipsum</strong> dolor sit amet</p>"
            },
            "active": true,
            "statusExplanation": {
              "format": "markdown",
              "raw": "Everything **fine**",
              "html": "<p>Everything <strong>fine</strong></p>"
            },
            "createdAt": "2014-05-21T08:51:20.142Z",
            "updatedAt": "2014-05-21T08:51:20.142Z"
          }
        ]
      }
    }
  ]
}

MeetingAgendaItemCollectionModel

{
  "type": "object",
  "required": [
    "_type",
    "count",
    "total",
    "_embedded",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Collection"
      ]
    },
    "count": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    },
    "_embedded": {
      "type": "object",
      "required": [
        "elements"
      ],
      "properties": {
        "elements": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/MeetingAgendaItemModel"
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The link to this agenda item collection resource\n\n**Resource**: MeetingAgendaItemCollection"
            }
          ]
        }
      }
    }
  }
}

MeetingAgendaItemModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "title",
    "itemType",
    "position",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "MeetingAgendaItem"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Identifier of this agenda item",
      "minimum": 1
    },
    "title": {
      "type": "string",
      "description": "The agenda item's title. Required for simple items."
    },
    "notes": {
      "$ref": "#/components/schemas/Formattable"
    },
    "position": {
      "type": "integer",
      "description": "The manual position within the section, also used to break ties in vote-based sorting."
    },
    "voteScore": {
      "type": "integer",
      "readOnly": true,
      "description": "The number of upvotes minus downvotes. Can be negative."
    },
    "durationInMinutes": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The agenda item's duration in minutes."
    },
    "itemType": {
      "type": "string",
      "description": "The type of this agenda item. Possible values:\n\n- *simple*: a simple text agenda item\n- *work_package*: an agenda item linked to a work package",
      "enum": [
        "simple",
        "work_package"
      ]
    },
    "lockVersion": {
      "type": "integer",
      "description": "The version of the item as used for optimistic locking."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change."
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This agenda item\n\n**Resource**: MeetingAgendaItem"
            }
          ]
        },
        "upvote": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Toggle the current user's upvote via POST. Replaces an existing downvote.\nAvailable with `view_meetings` in vote-based mode for non-backlog items\nin draft, open, or in-progress meetings that are not templates."
            }
          ]
        },
        "downvote": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Toggle the current user's downvote via POST. Replaces an existing upvote.\nAvailable under the same conditions as `upvote`."
            }
          ]
        },
        "meeting": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The meeting this agenda item belongs to\n\n**Resource**: Meeting"
            }
          ]
        },
        "author": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user who created this agenda item\n\n**Resource**: User"
            }
          ]
        },
        "presenter": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user presenting this agenda item\n\n**Resource**: User"
            }
          ]
        },
        "workPackage": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The linked work package (for work_package type items)\n\n**Resource**: WorkPackage"
            }
          ]
        },
        "section": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The section this agenda item belongs to\n\n**Resource**: MeetingSection"
            }
          ]
        }
      }
    }
  }
}

MeetingAgendaItemWriteModel

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "The agenda item's title."
    },
    "notes": {
      "$ref": "#/components/schemas/Formattable"
    },
    "durationInMinutes": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The agenda item's duration in minutes."
    },
    "itemType": {
      "type": "string",
      "description": "The type of this agenda item (simple or work_package).",
      "enum": [
        "simple",
        "work_package"
      ]
    },
    "lockVersion": {
      "type": "integer",
      "description": "The version of the item as used for optimistic locking. Required for PATCH operations."
    },
    "_links": {
      "type": "object",
      "properties": {
        "workPackage": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The linked work package (for work_package type items)\n\n**Resource**: WorkPackage"
            }
          ]
        },
        "presenter": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user presenting this agenda item\n\n**Resource**: User"
            }
          ]
        },
        "section": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The section this agenda item belongs to\n\n**Resource**: MeetingSection"
            }
          ]
        }
      }
    }
  }
}

MeetingCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/PaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_embedded",
        "_links"
      ],
      "properties": {
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/MeetingModel"
              }
            }
          }
        },
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The link to this meeting collection resource\n\n**Resource**: MeetingCollection"
                }
              ]
            }
          }
        }
      }
    }
  ]
}

MeetingModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "lockVersion",
    "title",
    "startTime",
    "endTime",
    "duration",
    "agendaSortingMode",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Meeting"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Identifier of this meeting",
      "minimum": 1
    },
    "title": {
      "type": "string",
      "description": "The meeting's title"
    },
    "location": {
      "type": "string",
      "description": "The meeting's location"
    },
    "lockVersion": {
      "type": "integer",
      "description": "The version of the item as used for optimistic locking"
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "The scheduled meeting start time."
    },
    "endTime": {
      "type": "string",
      "format": "date-time",
      "description": "The scheduled meeting end time."
    },
    "duration": {
      "type": "string",
      "format": "duration",
      "description": "The meeting duration in hours."
    },
    "state": {
      "type": "string",
      "description": "The current state of the meeting. Possible values:\n\n- *open*: the meeting is open\n- *draft*: the meeting is in draft state\n- *in_progress*: the meeting is currently in progress\n- *cancelled*: the meeting has been cancelled\n- *closed*: the meeting is closed",
      "enum": [
        "open",
        "draft",
        "in_progress",
        "cancelled",
        "closed"
      ]
    },
    "agendaSortingMode": {
      "type": "string",
      "description": "The agenda sorting mode. Defaults to `manual`. In `vote_based` mode, items\nare ordered by their net vote score within each section; sections remain manually sorted.",
      "enum": [
        "manual",
        "vote_based"
      ]
    },
    "sharing": {
      "type": "string",
      "description": "How the meeting template is shared. Only applicable for one-time templates. Possible values:\n\n- *none*: not shared\n- *descendants*: shared with descendant projects\n- *system*: shared globally",
      "enum": [
        "none",
        "descendants",
        "system"
      ]
    },
    "template": {
      "type": "boolean",
      "description": "Whether this meeting is a template."
    },
    "notify": {
      "type": "boolean",
      "description": "Whether email notifications are enabled for this meeting. When enabled, changes made\nthrough the API (leaving draft, updating the schedule, adding or removing participants,\ndeleting the meeting) notify participants, mirroring the web application."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation. Can be writable by admins with the `apiv3_write_readonly_attributes` setting enabled."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the meeting."
    },
    "_embedded": {
      "type": "object",
      "required": [
        "attachments",
        "author"
      ],
      "properties": {
        "attachments": {
          "$ref": "#/components/schemas/Attachments_Model"
        },
        "author": {
          "$ref": "#/components/schemas/UserModel"
        },
        "project": {
          "$ref": "#/components/schemas/ProjectModel"
        }
      }
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This meeting\n\n**Resource**: Meeting"
            }
          ]
        },
        "schema": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The meeting schema\n\n**Resource**: Schema"
            }
          ]
        },
        "update": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Form endpoint to update this meeting\n\n# Conditions\n\n**Permission**: edit meetings"
            }
          ]
        },
        "updateImmediately": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Directly update this meeting\n\n# Conditions\n\n**Permission**: edit meetings"
            }
          ]
        },
        "delete": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Delete this meeting\n\n# Conditions\n\n**Permission**: delete meetings"
            }
          ]
        },
        "author": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user having created the meeting\n\n**Resource**: User"
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project the meeting is in\n\n**Resource**: Project"
            }
          ]
        },
        "attachments": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The attachment collection of this meeting.\n\n**Resource**: AttachmentCollection"
            }
          ]
        },
        "addAttachment": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Attach a file to the meeting\n\n# Conditions\n\n**Permission**: edit meetings"
            }
          ]
        }
      }
    }
  }
}

MeetingOutcomeCollectionModel

{
  "type": "object",
  "required": [
    "_type",
    "count",
    "total",
    "_embedded",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Collection"
      ]
    },
    "count": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    },
    "_embedded": {
      "type": "object",
      "required": [
        "elements"
      ],
      "properties": {
        "elements": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/MeetingOutcomeModel"
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The link to this outcome collection resource\n\n**Resource**: MeetingOutcomeCollection"
            }
          ]
        }
      }
    }
  }
}

MeetingOutcomeModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "kind",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "MeetingOutcome"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Identifier of this outcome",
      "minimum": 1
    },
    "kind": {
      "type": "string",
      "description": "The type of this outcome. Possible values:\n\n- *information*: an informational outcome with notes\n- *work_package*: an outcome linked to a work package",
      "enum": [
        "information",
        "work_package"
      ]
    },
    "notes": {
      "$ref": "#/components/schemas/Formattable"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change."
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This outcome\n\n**Resource**: MeetingOutcome"
            }
          ]
        },
        "author": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user who created this outcome\n\n**Resource**: User"
            }
          ]
        },
        "agendaItem": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The agenda item this outcome belongs to\n\n**Resource**: MeetingAgendaItem"
            }
          ]
        },
        "workPackage": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The linked work package (for work_package type outcomes)\n\n**Resource**: WorkPackage"
            }
          ]
        }
      }
    }
  }
}

MeetingOutcomeWriteModel

{
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "description": "The type of this outcome. Possible values:\n\n- *information*: an informational outcome with notes\n- *work_package*: an outcome linked to a work package",
      "enum": [
        "information",
        "work_package"
      ]
    },
    "notes": {
      "$ref": "#/components/schemas/Formattable"
    },
    "_links": {
      "type": "object",
      "properties": {
        "workPackage": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The linked work package (for work_package type outcomes)\n\n**Resource**: WorkPackage"
            }
          ]
        }
      }
    }
  }
}

MeetingSectionCollectionModel

{
  "type": "object",
  "required": [
    "_type",
    "count",
    "total",
    "_embedded",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Collection"
      ]
    },
    "count": {
      "type": "integer"
    },
    "total": {
      "type": "integer"
    },
    "_embedded": {
      "type": "object",
      "required": [
        "elements"
      ],
      "properties": {
        "elements": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/MeetingSectionModel"
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The link to this section collection resource\n\n**Resource**: MeetingSectionCollection"
            }
          ]
        }
      }
    }
  }
}

MeetingSectionModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "title",
    "position",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "MeetingSection"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Identifier of this section",
      "minimum": 1
    },
    "title": {
      "type": "string",
      "description": "The section's title."
    },
    "position": {
      "type": "integer",
      "description": "The position of the section within the meeting."
    },
    "backlog": {
      "type": "boolean",
      "description": "Whether this section is the meeting's backlog. Backlog sections are read-only via the API."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change."
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This section\n\n**Resource**: MeetingSection"
            }
          ]
        },
        "meeting": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The meeting this section belongs to\n\n**Resource**: Meeting"
            }
          ]
        }
      }
    }
  }
}

MeetingSectionWriteModel

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "The section's title."
    }
  }
}

MeetingWriteModel

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "The meeting's title"
    },
    "location": {
      "type": "string",
      "description": "The meeting's location"
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "The scheduled meeting start time."
    },
    "duration": {
      "type": "string",
      "description": "The meeting duration as an ISO 8601 duration (e.g. `PT1H` for 1 hour, `PT1H30M` for 1.5 hours)."
    },
    "state": {
      "type": "string",
      "description": "The current state of the meeting. Possible values:\n\n- *open*\n- *draft*\n- *in_progress*\n- *cancelled*\n- *closed*",
      "enum": [
        "open",
        "draft",
        "in_progress",
        "cancelled",
        "closed"
      ]
    },
    "agendaSortingMode": {
      "type": "string",
      "description": "The agenda sorting mode. Defaults to `manual` on creation. Updating it requires\n`edit_meetings`. Switching modes preserves votes and manual positions.",
      "enum": [
        "manual",
        "vote_based"
      ]
    },
    "sharing": {
      "type": "string",
      "description": "How the meeting template is shared. Only applicable for one-time templates.",
      "enum": [
        "none",
        "descendants",
        "system"
      ]
    },
    "template": {
      "type": "boolean",
      "description": "Whether this meeting is a template."
    },
    "notify": {
      "type": "boolean",
      "description": "Whether to send email notifications to participants."
    },
    "lockVersion": {
      "type": "integer",
      "description": "The version of the item as used for optimistic locking.\n\nRequired for PATCH operations to detect concurrent modifications."
    },
    "_links": {
      "type": "object",
      "properties": {
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project the meeting belongs to. Required on creation, read-only afterwards.\n\n**Resource**: Project"
            }
          ]
        }
      }
    }
  }
}

MembershipCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/PaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_embedded"
      ],
      "properties": {
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/MembershipReadModel"
              }
            }
          }
        }
      }
    }
  ]
}

MembershipFormModel

{
  "type": "object",
  "required": [
    "_type",
    "_embedded",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Form"
      ]
    },
    "_embedded": {
      "type": "object",
      "required": [
        "payload",
        "schema",
        "validationError"
      ],
      "properties": {
        "payload": {
          "$ref": "#/components/schemas/MembershipWriteModel"
        },
        "schema": {
          "$ref": "#/components/schemas/MembershipSchemaModel"
        },
        "validationError": {
          "type": "object",
          "properties": {
            "base": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "principal": {
              "$ref": "#/components/schemas/ErrorResponse"
            },
            "roles": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "validate",
        "commit"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This form request.\n\n**Resource**: Form"
            }
          ]
        },
        "validate": {
          "type": "array",
          "items": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Link"
              },
              {
                "description": "The endpoint to validate the membership payload."
              }
            ]
          }
        },
        "commit": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The endpoint to create the membership with the same payload, as sent to the form.\n\n**Resource**: Membership"
            }
          ]
        }
      }
    }
  }
}

MembershipReadModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "createdAt",
    "updatedAt",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Membership"
      ]
    },
    "id": {
      "type": "integer",
      "description": "The membership's id",
      "minimum": 1
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the membership was created."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the membership was last updated."
    },
    "_embedded": {
      "type": "object",
      "properties": {
        "project": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ProjectModel"
            },
            {
              "$ref": "#/components/schemas/ProgramModel"
            },
            {
              "$ref": "#/components/schemas/PortfolioModel"
            }
          ]
        },
        "principal": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/UserModel"
            },
            {
              "$ref": "#/components/schemas/GroupModel"
            }
          ]
        },
        "roles": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/RoleModel"
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "schema",
        "project",
        "principal",
        "roles"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This membership.\n\n**Resource**: Membership"
            }
          ]
        },
        "schema": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This membership schema.\n\n**Resource**: Schema"
            }
          ]
        },
        "update": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The endpoint for updating the membership.\n\n# Conditions\n\n**Permission**: manage_members"
            }
          ]
        },
        "updateImmediately": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The endpoint for updating the membership without form validation.\n\n# Conditions\n\n**Permission**: manage_members"
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The workspace the membership is related to.\n\n**Resource**: Workspace"
            }
          ]
        },
        "principal": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The principal the membership is related to.\n\n**Resource**: Principal"
            }
          ]
        },
        "roles": {
          "type": "array",
          "items": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Link"
              },
              {
                "description": "A role the principal has.\n\n**Resource**: Role"
              }
            ]
          }
        }
      }
    }
  }
}

MembershipSchemaModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/SchemaModel"
    },
    {
      "type": "object",
      "required": [
        "id",
        "createdAt",
        "updatedAt",
        "notificationMessage",
        "project",
        "principal",
        "roles"
      ],
      "properties": {
        "id": {
          "$ref": "#/components/schemas/SchemaPropertyModel"
        },
        "createdAt": {
          "$ref": "#/components/schemas/SchemaPropertyModel"
        },
        "updatedAt": {
          "$ref": "#/components/schemas/SchemaPropertyModel"
        },
        "notificationMessage": {
          "$ref": "#/components/schemas/SchemaPropertyModel"
        },
        "project": {
          "$ref": "#/components/schemas/SchemaPropertyModel"
        },
        "principal": {
          "$ref": "#/components/schemas/SchemaPropertyModel"
        },
        "roles": {
          "$ref": "#/components/schemas/SchemaPropertyModel"
        }
      }
    }
  ]
}

MembershipWriteModel

{
  "type": "object",
  "required": [
    "_links"
  ],
  "properties": {
    "_links": {
      "type": "object",
      "properties": {
        "principal": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The principal that is to get a membership.\n\n**Resource**: Principal"
            }
          ]
        },
        "roles": {
          "type": "array",
          "items": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Link"
              },
              {
                "description": "A role the principal has.\n\n**Resource**: Role"
              }
            ]
          }
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project that is to get a membership. If no project is given, the principal's membership is supposed\nto be global.\n\n**Resource**: Project"
            }
          ]
        }
      }
    },
    "_meta": {
      "type": "object",
      "properties": {
        "notificationMessage": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Formattable"
            },
            {
              "description": "A customized notification message, which will overwrite the standard notification."
            }
          ]
        },
        "sendNotification": {
          "type": "boolean",
          "description": "Set to false, if no notification should get sent.",
          "default": true
        }
      }
    }
  }
}

NewsCreateModel

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "The headline of the news",
      "readOnly": true
    },
    "summary": {
      "type": "string",
      "description": "A short summary",
      "readOnly": true
    },
    "description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "The main body of the news with all the details"
        }
      ]
    },
    "_links": {
      "type": "object",
      "required": [
        "project"
      ],
      "properties": {
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project the news is situated in\n\n**Resource**: Project"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "title": "asperiores possimus nam doloribus ab",
      "summary": "Celebrer spiculum colo viscus claustrum atque. Id nulla culpa sumptus. Comparo crapula depopulo demonstro.",
      "description": {
        "format": "markdown",
        "raw": "**Videlicet deserunt aequitas cognatus**. Concedo quia est quia pariatur vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto sortitus cresco apud vestrum qui."
      },
      "_links": {
        "project": {
          "href": "/api/v3/projects/1"
        }
      }
    }
  ]
}

NewsModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "News' id",
      "readOnly": true,
      "exclusiveMinimum": 0
    },
    "title": {
      "type": "string",
      "description": "The headline of the news",
      "readOnly": true
    },
    "summary": {
      "type": "string",
      "description": "A short summary",
      "readOnly": true
    },
    "description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "The main body of the news with all the details",
          "readOnly": true
        }
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the news was created at",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "project",
        "author"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This news\n\n**Resource**: News",
              "readOnly": true
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The workspace the news is situated in\n\n**Resource**: workspace"
            }
          ]
        },
        "author": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user having created the news\n\n**Resource**: User",
              "readOnly": true
            }
          ]
        },
        "updateImmediately": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Directly perform edits on the news\n\n**Permission** manage news"
            }
          ]
        },
        "delete": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Delete the news\n\n**Permission** manage news"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "News",
      "id": 1,
      "title": "asperiores possimus nam doloribus ab",
      "summary": "Celebrer spiculum colo viscus claustrum atque. Id nulla culpa sumptus. Comparo crapula depopulo demonstro.",
      "description": {
        "format": "markdown",
        "raw": "Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto sortitus cresco apud vestrum qui.",
        "html": "<p>Videlicet deserunt aequitas cognatus. Concedo quia est quia pariatur vorago vallum. Calco autem atavus accusamus conscendo cornu ulterius. Tam patria ago consectetur ventito sustineo nihil caecus. Supra officiis eos velociter somniculosus tonsor qui. Suffragium aduro arguo angustus cogito quia tolero vulnus. Supplanto sortitus cresco apud vestrum qui.</p>"
      },
      "createdAt": "2015-03-20T12:57:01.908Z",
      "_links": {
        "self": {
          "href": "/api/v3/news/1",
          "title": "asperiores possimus nam doloribus ab"
        },
        "project": {
          "href": "/api/v3/projects/1",
          "title": "A project"
        },
        "author": {
          "href": "/api/v3/users/2",
          "title": "Peggie Feeney"
        },
        "updateImmediately": {
          "href": "api/v3/news/1",
          "method": "patch"
        },
        "delete": {
          "href": "api/v3/news/1",
          "method": "delete"
        }
      },
      "_embedded": {
        "project": {
          "_type": "Workspace..."
        },
        "author": {
          "_type": "User..."
        }
      }
    }
  ]
}

NonWorkingDayCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This non working days collection\n\n**Resource**: NonWorkingDayCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "description": "The array of non working days. Each day has a name and a date.",
              "items": {
                "$ref": "#/components/schemas/NonWorkingDayModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_links": {
        "self": {
          "href": "/api/v3/non_working?filters=[{\"interval\":{\"operator\":\"<>d\",\"values\":[\"2022-04-29\",\"2022-12-24\"]}}]"
        }
      },
      "_embedded": {
        "elements": [
          {
            "_type": "NonWorkingDay",
            "date": "2022-12-24",
            "name": "Christmas Evening",
            "_links": {
              "self": {
                "href": "/api/v3/days/non_working/2022-04-24"
              },
              "weekday": {
                "href": "/api/v3/days/week/6",
                "title": "Saturday"
              }
            }
          },
          {
            "_type": "NonWorkingDay",
            "date": "2022-05-01",
            "name": "Labor day",
            "_links": {
              "self": {
                "href": "/api/v3/days/non_working/2022-05-01"
              },
              "weekday": {
                "href": "/api/v3/days/week/7",
                "title": "Sunday"
              }
            }
          }
        ]
      }
    }
  ]
}

NonWorkingDayModel

{
  "type": "object",
  "required": [
    "_type",
    "date",
    "name"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "NonWorkingDay"
      ]
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "Date of the non-working day."
    },
    "name": {
      "type": "string",
      "description": "Descriptive name for the non-working day."
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This non-working day.\n\n**Resource**: NonWorkingDay"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "NonWorkingDay",
      "date": "2022-12-25",
      "name": "Christmas",
      "_links": {
        "self": {
          "href": "/api/v3/days/non_working/2022-12-25",
          "title": "Christmas"
        }
      }
    }
  ]
}

NotificationCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This notification collection\n\n**Resource**: NotificationCollectionModel"
                }
              ]
            },
            "jumpTo": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The notification collection at another offset\n\n**Resource**: NotificationCollectionModel"
                }
              ]
            },
            "changeSize": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The notification collection with another size\n\n**Resource**: NotificationCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements",
            "detailsSchemas"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/NotificationModel"
              }
            },
            "detailsSchemas": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/SchemaModel"
              }
            }
          }
        }
      }
    }
  ]
}

NotificationModel

{
  "type": "object",
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Notification"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Notification id",
      "minimum": 1
    },
    "reason": {
      "type": "string",
      "description": "The reason for the notification",
      "enum": [
        "assigned",
        "commented",
        "created",
        "dateAlert",
        "mentioned",
        "prioritized",
        "processed",
        "responsible",
        "subscribed",
        "scheduled",
        "watched"
      ]
    },
    "readIAN": {
      "type": "boolean",
      "description": "Whether the notification is marked as read"
    },
    "details": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/ValuesPropertyModel"
          }
        ]
      },
      "description": "A list of objects including detailed information about the notification."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the notification was created at"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the notification was last updated"
    },
    "_embedded": {
      "type": "object",
      "required": [
        "project",
        "resource"
      ],
      "properties": {
        "actor": {
          "$ref": "#/components/schemas/UserModel"
        },
        "project": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/ProjectModel"
            },
            {
              "$ref": "#/components/schemas/ProgramModel"
            },
            {
              "$ref": "#/components/schemas/PortfolioModel"
            }
          ]
        },
        "activity": {
          "$ref": "#/components/schemas/ActivityModel"
        },
        "resource": {
          "oneOf": [
            {
              "$ref": "#/components/schemas/WorkPackageModel"
            }
          ]
        }
      }
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "project",
        "actor",
        "activity",
        "resource"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This notification\n\n**Resource**: Notification"
            }
          ]
        },
        "readIAN": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Request to mark the notification as read. Only available if the notification is currently unread."
            }
          ]
        },
        "unreadIAN": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Request to mark the notification as unread. Only available if the notification is currently read."
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The workspace the notification originated in\n\n**Resource**: Workspace"
            }
          ]
        },
        "actor": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user that caused the notification. This might be null in\ncase no user triggered the notification.\n\n**Resource**: User"
            }
          ]
        },
        "resource": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The linked resource of the notification, if any.\n\n**Resource**: Polymorphic"
            }
          ]
        },
        "activity": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The journal activity, if the notification originated from a journal entry. This might be null in\ncase no activity triggered the notification.\n\n**Resource**: Activity"
            }
          ]
        }
      }
    }
  }
}

OAuthApplicationReadModel

{
  "type": "object",
  "required": [
    "id",
    "_type",
    "name",
    "clientId",
    "confidential",
    "_links"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "minimum": 1
    },
    "_type": {
      "type": "string",
      "enum": [
        "OAuthApplication"
      ]
    },
    "name": {
      "type": "string",
      "description": "The name of the OAuth 2 application"
    },
    "clientId": {
      "type": "string",
      "description": "OAuth 2 client id"
    },
    "clientSecret": {
      "type": "string",
      "description": "OAuth 2 client secret. This is only returned when creating a new OAuth application."
    },
    "confidential": {
      "type": "boolean",
      "description": "true, if OAuth 2 credentials are confidential, false, if no secret is stored"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the OAuth 2 Application was created at"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the OAuth 2 Application was last updated"
    },
    "scopes": {
      "type": "array",
      "description": "An array of the scopes of the OAuth 2 Application",
      "items": {
        "type": "string"
      }
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "owner",
        "redirectUri"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This OAuth application\n\n**Resource**: OAuthApplication"
            }
          ]
        },
        "owner": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user that created the OAuth application.\n\n**Resource**: User"
            }
          ]
        },
        "integration": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The resource that integrates this OAuth application into itself. Currently, only `Storage` resources are\nable to create and maintain own OAuth application.\n\n**Resource**: Storage"
            }
          ]
        },
        "redirectUri": {
          "type": "array",
          "items": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Link"
              },
              {
                "description": "A redirect URI of the OAuth application\n\n**Resource**: N/A"
              }
            ]
          }
        }
      }
    }
  },
  "examples": [
    {
      "id": 1337,
      "_type": "OAuthApplication",
      "name": "Vader's secure OAuth app",
      "clientId": "O5h6WObhMg1Z8IcLHRE3_LMh4jJYmmca2V6OTFSv8DA",
      "confidential": true,
      "createdAt": "2022-12-07T12:56:42.626Z",
      "updatedAt": "2022-12-07T12:56:42.626Z",
      "scopes": [
        "api_v3"
      ],
      "_links": {
        "self": {
          "href": "/api/v3/oauth_applications/1337"
        },
        "owner": {
          "href": "/api/v3/users/13",
          "title": "Darth Vader"
        },
        "integration": {
          "href": "/api/v3/storages/42",
          "title": "Death Star Cloud"
        },
        "redirectUri": [
          {
            "href": "https://death-star.cloud.tools/index.php/apps/integration_openproject/oauth-redirect"
          }
        ]
      }
    }
  ]
}

OAuthClientCredentialsReadModel

{
  "type": "object",
  "required": [
    "id",
    "_type",
    "clientId",
    "confidential",
    "_links"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "minimum": 1
    },
    "_type": {
      "type": "string",
      "enum": [
        "OAuthClientCredentials"
      ]
    },
    "clientId": {
      "type": "string",
      "description": "OAuth 2 client id"
    },
    "confidential": {
      "type": "boolean",
      "description": "true, if OAuth 2 credentials are confidential, false, if no secret is stored"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the OAuth client credentials were created at"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time the OAuth client credentials were last updated"
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "integration"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This OAuth Client Credentials object\n\n**Resource**: OAuthClientCredentials"
            }
          ]
        },
        "integration": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The resource that integrates this OAuth client credentials. Currently, only `Storage` resources are\nable to contain OAuth client credentials.\n\n**Resource**: Storage"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "id": 1337,
      "_type": "OAuthClientCredentials",
      "clientId": "O5h6WObhMg1Z8IcLHRE3_LMh4jJYmmca2V6OTFSv8DA",
      "confidential": true,
      "createdAt": "2022-12-07T12:56:42.836Z",
      "updatedAt": "2022-12-07T12:56:42.836Z",
      "_links": {
        "self": {
          "href": "/api/v3/oauth_client_credentials/1337"
        },
        "integration": {
          "href": "/api/v3/storages/42",
          "title": "Death Star Cloud"
        }
      }
    }
  ]
}

OAuthClientCredentialsWriteModel

{
  "type": "object",
  "required": [
    "clientId",
    "clientSecret"
  ],
  "properties": {
    "clientId": {
      "type": "string",
      "description": "OAuth 2 client id"
    },
    "clientSecret": {
      "type": "string",
      "description": "OAuth 2 client secret"
    }
  },
  "examples": [
    {
      "clientId": "O5h6WObhMg1Z8IcLHRE3_LMh4jJYmmca2V6OTFSv8DA",
      "clientSecret": "LSk52mn4jmtSYTgH0NzDj-u2z5LMpT8bsS0BouwJQQw"
    }
  ]
}
{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionLinks"
    },
    {
      "type": "object",
      "required": [
        "jumpTo",
        "changeSize"
      ],
      "properties": {
        "jumpTo": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "A templated link to jump to a given offset."
            }
          ]
        },
        "changeSize": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "A templated link to change the current page size."
            }
          ]
        },
        "previousByOffset": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "A link to the previous page of the collection.\n\n# Conditions\n- The collection is not on the first page."
            }
          ]
        },
        "nextByOffset": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "A link to the next page of the collection.\n\n# Conditions\n- The collection is not on the last page."
            }
          ]
        }
      }
    }
  ]
}

OffsetPaginatedCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "pageSize",
        "offset",
        "_links"
      ],
      "properties": {
        "pageSize": {
          "type": "integer",
          "description": "The amount of elements per page. If not set by the request this value defaults to the server's system\nsettings.",
          "minimum": 0
        },
        "offset": {
          "type": "integer",
          "description": "The page offset indicating on which page the element collection starts.",
          "minimum": 0
        },
        "_links": {
          "$ref": "#/components/schemas/OffsetPaginatedCollectionLinks"
        }
      }
    }
  ]
}

PaginatedCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "pageSize",
        "offset"
      ],
      "properties": {
        "pageSize": {
          "type": "integer",
          "description": "Amount of elements that a response will hold.",
          "minimum": 0
        },
        "offset": {
          "type": "integer",
          "description": "The page number that is requested from paginated collection.",
          "minimum": 1
        },
        "_links": {
          "type": "object",
          "required": [
            "jumpTo",
            "changeSize"
          ],
          "properties": {
            "jumpTo": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Templated link to another page offset.\n\n**Resource**: Collection"
                }
              ]
            },
            "changeSize": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Templated link for another page size.\n\n**Resource**: Collection"
                }
              ]
            }
          }
        }
      }
    }
  ]
}

PlaceholderUserCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This placeholder user collection\n\n**Resource**: Collection"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/PlaceholderUserModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_links": {
        "self": {
          "href": "/api/v3/placeholder_users"
        }
      },
      "_embedded": {
        "elements": [
          {
            "_abbreviated": "PlaceholderUser resource shortened for brevity",
            "_type": "PlaceholderUser",
            "id": 1337
          },
          {
            "_abbreviated": "PlaceholderUser resource shortened for brevity",
            "_type": "PlaceholderUser",
            "id": 1338
          }
        ]
      }
    }
  ]
}

PlaceholderUserCreateModel

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The new name of the placeholder user to be created."
    }
  }
}

PlaceholderUserModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/PrincipalModel"
    },
    {
      "type": "object",
      "required": [
        "_type"
      ],
      "properties": {
        "_type": {
          "type": "string",
          "enum": [
            "PlaceholderUser"
          ]
        },
        "status": {
          "type": "string",
          "description": "The current activation status of the placeholder user.\n\n# Conditions\n\n- User has `manage_placeholder_user` permission globally"
        },
        "_links": {
          "type": "object",
          "required": [
            "showUser"
          ],
          "properties": {
            "showUser": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "A relative path to show the placeholder user in the web application."
                }
              ]
            },
            "delete": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "An href to delete the placeholder user.\n\n# Conditions:\n\n- `manage_placeholder_user`"
                }
              ]
            },
            "updateImmediately": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "An href to update the placeholder user.\n\n# Conditions:\n\n- `manage_placeholder_user`\n\n**Resource**: PlaceholderUser"
                }
              ]
            }
          }
        }
      }
    }
  ]
}

PortfolioCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "allOf": [
            {
              "$ref": "#/components/schemas/OffsetPaginatedCollectionLinks"
            },
            {
              "type": "object",
              "properties": {
                "representations": {
                  "type": "array",
                  "items": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Link"
                      },
                      {
                        "description": "A portfolio collection representation in a specific file format."
                      }
                    ]
                  }
                }
              }
            }
          ]
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/PortfolioModel"
              }
            }
          }
        }
      }
    }
  ]
}

PortfolioModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CustomFieldProperties"
    },
    {
      "$ref": "#/components/schemas/CustomCommentProperties"
    },
    {
      "type": "object",
      "properties": {
        "_type": {
          "type": "string",
          "enum": [
            "Portfolio"
          ]
        },
        "id": {
          "type": "integer",
          "description": "Portfolios' id",
          "minimum": 1
        },
        "identifier": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "active": {
          "type": "boolean",
          "description": "Indicates whether the portfolio is currently active or already archived"
        },
        "favorited": {
          "type": "boolean",
          "description": "Indicates whether the portfolio is favorited by the current user"
        },
        "statusExplanation": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Formattable"
            },
            {
              "description": "A text detailing and explaining why the portfolio has the reported status"
            }
          ]
        },
        "public": {
          "type": "boolean",
          "description": "Indicates whether the portfolio is accessible for everybody"
        },
        "description": {
          "$ref": "#/components/schemas/Formattable"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of creation. Can be writable by admins with the `apiv3_write_readonly_attributes` setting enabled."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of the most recent change to the portfolio"
        },
        "_links": {
          "type": "object",
          "required": [
            "self",
            "categories"
          ],
          "properties": {
            "update": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Form endpoint that aids in updating this portfolio\n\n# Conditions\n\n**Permission**: edit workspace"
                }
              ]
            },
            "updateImmediately": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Directly update this portfolio\n\n# Conditions\n\n**Permission**: edit workspace"
                }
              ]
            },
            "delete": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Delete this portfolio\n\n# Conditions\n\n**Permission**: admin"
                }
              ]
            },
            "favor": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Mark this portfolio as favorited by the current user\n\n# Conditions\n\nOnly present if the portfolio is not yet favorited\n\nPermission**: none but login is required"
                }
              ]
            },
            "disfavor": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Mark this portfolio as not favorited by the current user\n\n# Conditions\nOnly present if the portfolio is favorited by the current user\n\nPermission**: none but login is required"
                }
              ]
            },
            "createWorkPackage": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Form endpoint that aids in preparing and creating a work package\n\n# Conditions\n\n**Permission**: add work packages"
                }
              ]
            },
            "createWorkPackageImmediately": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Directly creates a work package in the portfolio\n\n# Conditions\n\n**Permission**: add work packages"
                }
              ]
            },
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This portfolio\n\n**Resource**: Portfolio"
                }
              ]
            },
            "categories": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Categories available in this portfolio\n\n**Resource**: Collection"
                }
              ]
            },
            "types": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Types available in this portfolio\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view work packages or manage types"
                }
              ]
            },
            "versions": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Versions available in this portfolio\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view work packages or manage versions"
                }
              ]
            },
            "memberships": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Memberships in the  portfolio\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view members"
                }
              ]
            },
            "workPackages": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Work Packages of this portfolio\n\n**Resource**: Collection"
                }
              ]
            },
            "parent": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Parent of the portfolio\n\n**Resource**: Portfolio\n\n# Conditions\n\n**Permission** edit workspace"
                }
              ]
            },
            "status": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Denotes the status of the portfolio, so whether the portfolio is on track, at risk or is having trouble.\n\n**Resource**: ProjectStatus\n\n# Conditions\n\n**Permission** edit workspace"
                }
              ]
            },
            "storages": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Link"
                  },
                  {
                    "description": "The link to a storage that is active for this portfolio.\n\n**Resource**: Storage\n\n# Conditions\n\n**Permission**: view_file_links"
                  }
                ]
              }
            },
            "projectStorages": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The project storage collection of this portfolio.\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view_file_links"
                }
              ]
            },
            "ancestors": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Link"
                  },
                  {
                    "description": "A collection of links to the ancestor portfolios.\n\n**Resource**: Portfolio"
                  }
                ]
              }
            }
          }
        }
      }
    }
  ]
}

PostModel

{
  "type": "object",
  "required": [
    "subject"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Identifier of this post",
      "readOnly": true,
      "exclusiveMinimum": 0
    },
    "subject": {
      "type": "string",
      "description": "The post's subject"
    },
    "_links": {
      "type": "object",
      "properties": {
        "addAttachment": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Attach a file to the post\n\n# Conditions\n\n**Permission**: edit messages",
              "readOnly": true
            }
          ]
        },
        "topic": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The post that opens the topic: the post itself, or the post it replies to\n\n**Resource**: Post",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Post",
      "id": 1,
      "subject": "A post with a subject",
      "_embedded": {
        "project": {
          "_type": "Project..."
        }
      },
      "_links": {
        "self": {
          "href": "/api/v3/posts/1"
        },
        "attachments": {
          "href": "/api/v3/posts/1/attachments"
        },
        "addAttachment": {
          "href": "/api/v3/posts/1/attachments",
          "method": "post"
        },
        "topic": {
          "href": "/api/v3/posts/1"
        },
        "project": {
          "href": "/api/v3/projects/1",
          "title": "A project with a title"
        }
      }
    }
  ]
}

PrincipalCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_embedded"
      ],
      "properties": {
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/UserModel"
                  },
                  {
                    "$ref": "#/components/schemas/PlaceholderUserModel"
                  },
                  {
                    "$ref": "#/components/schemas/GroupModel"
                  }
                ]
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 3,
      "count": 3,
      "_links": {
        "self": {
          "href": "/api/v3/principals"
        }
      },
      "_embedded": {
        "elements": [
          {
            "_abbreviated": "User resource shortened for brevity",
            "_type": "User",
            "id": 1337
          },
          {
            "_abbreviated": "Group resource shortened for brevity",
            "_type": "Group",
            "id": 1338
          },
          {
            "_abbreviated": "PlaceholderUser resource shortened for brevity",
            "_type": "PlaceholderUser",
            "id": 1339
          }
        ]
      }
    }
  ]
}

PrincipalModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "name",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "User",
        "Group",
        "PlaceholderUser"
      ]
    },
    "id": {
      "type": "integer",
      "description": "The principal's unique identifier.",
      "minimum": 1
    },
    "name": {
      "type": "string",
      "description": "The principal's display name, layout depends on instance settings."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the principal"
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This principal resource.\n\n**Resource**: User|Group|PlaceholderUser"
            }
          ]
        },
        "memberships": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "An href to the collection of the principal's memberships.\n\n# Conditions:\n\n- user has permission `view_members` or `manage_members` in any project\n\n**Resource**: Collection"
            }
          ]
        }
      }
    }
  }
}

PriorityCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "properties": {
                    "self": {
                      "allOf": [
                        {
                          "$ref": "#/components/schemas/Link"
                        },
                        {
                          "description": "This priority collection\n\n**Resource**: PriorityCollectionModel"
                        }
                      ]
                    }
                  }
                }
              ],
              "readOnly": true
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/PriorityModel"
              }
            }
          }
        }
      }
    }
  ]
}

PriorityModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Priority id",
      "readOnly": true,
      "exclusiveMinimum": 0
    },
    "name": {
      "type": "string",
      "description": "Priority name",
      "readOnly": true,
      "minLength": 1
    },
    "position": {
      "type": "integer",
      "description": "Sort index of the priority",
      "readOnly": true,
      "exclusiveMinimum": 0
    },
    "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": "#/components/schemas/Link"
            },
            {
              "description": "This priority\n\n**Resource**: Priority",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Priority",
      "_links": {
        "self": {
          "href": "/api/v3/priorities/1",
          "title": "Low"
        }
      },
      "id": 1,
      "name": "Low",
      "position": 1,
      "isDefault": false,
      "isActive": true
    }
  ]
}

ProgramCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "allOf": [
            {
              "$ref": "#/components/schemas/OffsetPaginatedCollectionLinks"
            },
            {
              "type": "object",
              "properties": {
                "representations": {
                  "type": "array",
                  "items": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Link"
                      },
                      {
                        "description": "A program collection representation in a specific file format."
                      }
                    ]
                  }
                }
              }
            }
          ]
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ProgramModel"
              }
            }
          }
        }
      }
    }
  ]
}

ProgramModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CustomFieldProperties"
    },
    {
      "$ref": "#/components/schemas/CustomCommentProperties"
    },
    {
      "type": "object",
      "properties": {
        "_type": {
          "type": "string",
          "enum": [
            "Program"
          ]
        },
        "id": {
          "type": "integer",
          "description": "Programs' id",
          "minimum": 1
        },
        "identifier": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "active": {
          "type": "boolean",
          "description": "Indicates whether the program is currently active or already archived"
        },
        "favorited": {
          "type": "boolean",
          "description": "Indicates whether the program is favorited by the current user"
        },
        "statusExplanation": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Formattable"
            },
            {
              "description": "A text detailing and explaining why the program has the reported status"
            }
          ]
        },
        "public": {
          "type": "boolean",
          "description": "Indicates whether the program is accessible for everybody"
        },
        "description": {
          "$ref": "#/components/schemas/Formattable"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of creation. Can be writable by admins with the `apiv3_write_readonly_attributes` setting enabled."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of the most recent change to the program"
        },
        "_links": {
          "type": "object",
          "required": [
            "self",
            "categories"
          ],
          "properties": {
            "update": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Form endpoint that aids in updating this program\n\n# Conditions\n\n**Permission**: edit workspace"
                }
              ]
            },
            "updateImmediately": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Directly update this program\n\n# Conditions\n\n**Permission**: edit workspace"
                }
              ]
            },
            "delete": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Delete this program\n\n# Conditions\n\n**Permission**: admin"
                }
              ]
            },
            "favor": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Mark this program as favorited by the current user\n\n# Conditions\n\nOnly present if the program is not yet favorited\n\nPermission**: none but login is required"
                }
              ]
            },
            "disfavor": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Mark this program as not favorited by the current user\n\n# Conditions\nOnly present if the program is favorited by the current user\n\nPermission**: none but login is required"
                }
              ]
            },
            "createWorkPackage": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Form endpoint that aids in preparing and creating a work package\n\n# Conditions\n\n**Permission**: add work packages"
                }
              ]
            },
            "createWorkPackageImmediately": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Directly creates a work package in the program\n\n# Conditions\n\n**Permission**: add work packages"
                }
              ]
            },
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This program\n\n**Resource**: Program"
                }
              ]
            },
            "categories": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Categories available in this program\n\n**Resource**: Collection"
                }
              ]
            },
            "types": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Types available in this program\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view work packages or manage types"
                }
              ]
            },
            "versions": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Versions available in this program\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view work packages or manage versions"
                }
              ]
            },
            "memberships": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Memberships in the  program\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view members"
                }
              ]
            },
            "workPackages": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Work Packages of this program\n\n**Resource**: Collection"
                }
              ]
            },
            "parent": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Parent of the program\n\n**Resource**: Program\n\n# Conditions\n\n**Permission** edit workspace"
                }
              ]
            },
            "status": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Denotes the status of the program, so whether the program is on track, at risk or is having trouble.\n\n**Resource**: ProjectStatus\n\n# Conditions\n\n**Permission** edit workspace"
                }
              ]
            },
            "storages": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Link"
                  },
                  {
                    "description": "The link to a storage that is active for this program.\n\n**Resource**: Storage\n\n# Conditions\n\n**Permission**: view_file_links"
                  }
                ]
              }
            },
            "projectStorages": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The project storage collection of this program.\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view_file_links"
                }
              ]
            },
            "ancestors": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Link"
                  },
                  {
                    "description": "A collection of links to the ancestor workspace.\n\n**Resource**: Workspace"
                  }
                ]
              }
            }
          }
        }
      }
    }
  ]
}

ProjectCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "allOf": [
            {
              "$ref": "#/components/schemas/OffsetPaginatedCollectionLinks"
            },
            {
              "type": "object",
              "properties": {
                "representations": {
                  "type": "array",
                  "items": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Link"
                      },
                      {
                        "description": "A project collection representation in a specific file format."
                      }
                    ]
                  }
                }
              }
            }
          ]
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ProjectModel"
              }
            }
          }
        }
      }
    }
  ]
}

ProjectConfigurationModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/ConfigurationModel"
    },
    {
      "type": "object",
      "properties": {
        "enabledInternalComments": {
          "type": "boolean",
          "description": "Whether internal comments are enabled for this project",
          "readOnly": true
        }
      }
    }
  ]
}

ProjectModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CustomFieldProperties"
    },
    {
      "$ref": "#/components/schemas/CustomCommentProperties"
    },
    {
      "type": "object",
      "properties": {
        "_type": {
          "type": "string",
          "enum": [
            "Project"
          ]
        },
        "id": {
          "type": "integer",
          "description": "Projects' id",
          "minimum": 1
        },
        "identifier": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "active": {
          "type": "boolean",
          "description": "Indicates whether the project is currently active or already archived"
        },
        "favorited": {
          "type": "boolean",
          "description": "Indicates whether the project is favorited by the current user"
        },
        "statusExplanation": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Formattable"
            },
            {
              "description": "A text detailing and explaining why the project has the reported status"
            }
          ]
        },
        "public": {
          "type": "boolean",
          "description": "Indicates whether the project is accessible for everybody"
        },
        "description": {
          "$ref": "#/components/schemas/Formattable"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of creation. Can be writable by admins with the `apiv3_write_readonly_attributes` setting enabled."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of the most recent change to the project"
        },
        "_links": {
          "type": "object",
          "required": [
            "self",
            "categories"
          ],
          "properties": {
            "update": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Form endpoint that aids in updating this project\n\n# Conditions\n\n**Permission**: edit workspace"
                }
              ]
            },
            "updateImmediately": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Directly update this project\n\n# Conditions\n\n**Permission**: edit workspace"
                }
              ]
            },
            "delete": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Delete this project\n\n# Conditions\n\n**Permission**: admin"
                }
              ]
            },
            "favor": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Mark this project as favorited by the current user\n\n# Conditions\n\nOnly present if the project is not yet favorited\n\nPermission**: none but login is required"
                }
              ]
            },
            "disfavor": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Mark this project as not favorited by the current user\n\n# Conditions\nOnly present if the project is favorited by the current user\n\nPermission**: none but login is required"
                }
              ]
            },
            "createWorkPackage": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Form endpoint that aids in preparing and creating a work package\n\n# Conditions\n\n**Permission**: add work packages"
                }
              ]
            },
            "createWorkPackageImmediately": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Directly creates a work package in the project\n\n# Conditions\n\n**Permission**: add work packages"
                }
              ]
            },
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This project\n\n**Resource**: Project"
                }
              ]
            },
            "categories": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Categories available in this project\n\n**Resource**: Collection"
                }
              ]
            },
            "types": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Types available in this project\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view work packages or manage types"
                }
              ]
            },
            "versions": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Versions available in this project\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view work packages or manage versions"
                }
              ]
            },
            "memberships": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Memberships in the project\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view members"
                }
              ]
            },
            "workPackages": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Work Packages of this project\n\n**Resource**: Collection"
                }
              ]
            },
            "parent": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Parent of the project\n\n**Resource**: Workspace\n\n# Conditions\n\n**Permission** edit workspace"
                }
              ]
            },
            "status": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Denotes the status of the project, so whether the project is on track, at risk or is having trouble.\n\n**Resource**: ProjectStatus\n\n# Conditions\n\n**Permission** edit workspace"
                }
              ]
            },
            "storages": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Link"
                  },
                  {
                    "description": "The link to a storage that is active for this project.\n\n**Resource**: Storage\n\n# Conditions\n\n**Permission**: view_file_links"
                  }
                ]
              }
            },
            "projectStorages": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The project storage collection of this project.\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission**: view_file_links"
                }
              ]
            },
            "ancestors": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Link"
                  },
                  {
                    "description": "A collection of links to the ancestor workspaces.\n\n**Resource**: Workspace"
                  }
                ]
              }
            }
          }
        }
      }
    }
  ]
}

ProjectPhaseDefinitionCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This file links collection\n\n**Resource**: ProjectPhaseDefinitionCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ProjectPhaseDefinitionModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_links": {
        "self": {
          "href": "/api/v3/project_phase_definitions"
        }
      },
      "_embedded": {
        "elements": [
          {
            "id": 14,
            "name": "Initiating",
            "_type": "ProjectPhaseDefinition",
            "_abbreviated": "project phase definition resource shortened for brevity"
          },
          {
            "id": 15,
            "name": "Executing",
            "_type": "ProjectPhaseDefinition",
            "_abbreviated": "project phase definition resource shortened for brevity"
          }
        ]
      }
    }
  ]
}

ProjectPhaseDefinitionModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "name",
    "startGate",
    "startGateName",
    "finishGate",
    "finishGateName",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "ProjectPhaseDefinition"
      ]
    },
    "id": {
      "type": "integer",
      "description": "The project phase definition's id",
      "minimum": 1
    },
    "name": {
      "type": "string"
    },
    "startGate": {
      "type": "boolean"
    },
    "startGateName": {
      "type": [
        "string",
        "null"
      ]
    },
    "finishGate": {
      "type": "boolean"
    },
    "finishGateName": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the project phase definition"
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This project phase definition.\n\n**Resource**: ProjectPhaseDefinition"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "ProjectPhaseDefinition",
      "id": 1337,
      "name": "Initiating",
      "startGate": true,
      "startGateName": "Before Initiating",
      "finishGate": true,
      "finishGateName": null,
      "createdAt": "2023-01-20T14:30:00.368Z",
      "updatedAt": "2023-05-23T11:57:48.618Z",
      "_links": {
        "self": {
          "href": "/api/v3/project_phase_definitions/23"
        }
      }
    }
  ]
}

ProjectPhaseModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "name",
    "active",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "ProjectPhase"
      ]
    },
    "id": {
      "type": "integer",
      "description": "The project phase's id",
      "minimum": 1
    },
    "name": {
      "type": "string"
    },
    "active": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the project phase"
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "definition",
        "project"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This project phase.\n\n**Resource**: ProjectPhase"
            }
          ]
        },
        "definition": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The definition this phase relies on.\n\n**Resource**: ProjectPhaseDefinition"
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project resource, that is the container of this phase.\n\n**Resource**: Project"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "ProjectPhase",
      "id": 1337,
      "name": "Initiating",
      "active": true,
      "createdAt": "2023-01-20T14:30:00.368Z",
      "updatedAt": "2023-05-23T11:57:48.618Z",
      "_links": {
        "self": {
          "href": "/api/v3/project_phases/23"
        },
        "definition": {
          "title": "Initiating",
          "href": "/api/v3/project_definitions/11"
        },
        "project": {
          "title": "Death Star 3.0",
          "href": "/api/v3/projects/11"
        }
      }
    }
  ]
}

ProjectStorageCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This file links collection\n\n**Resource**: ProjectStorageCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ProjectStorageModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_links": {
        "self": {
          "href": "/api/v3/project_storages?filters=%5B%7B%22storage%22%3A%7B%22operator%22%3A%22%3D%22%2C%22values%22%3A%5B%2281%22%5D%7D%7D%5D"
        }
      },
      "_embedded": {
        "elements": [
          {
            "id": 1337,
            "_type": "ProjectStorage",
            "_abbreviated": "project storage resource shortened for brevity"
          },
          {
            "id": 1338,
            "_type": "ProjectStorage",
            "_abbreviated": "File Link resource shortened for brevity"
          }
        ]
      }
    }
  ]
}

ProjectStorageModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "projectFolderMode",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "ProjectStorage"
      ]
    },
    "id": {
      "type": "integer",
      "description": "The project storage's id",
      "minimum": 1
    },
    "projectFolderMode": {
      "type": "string",
      "enum": [
        "inactive",
        "manual"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the project storage"
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "creator",
        "storage",
        "project"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This project storage.\n\n**Resource**: ProjectStorage"
            }
          ]
        },
        "creator": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user who created the project storage.\n\n**Resource**: User"
            }
          ]
        },
        "storage": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The storage resource, that is linked to a project with this project storage.\n\n**Resource**: Storage"
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project resource, that is linked to a storage with this project storage.\n\n**Resource**: Project"
            }
          ]
        },
        "projectFolder": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The directory on the storage that is used as a project folder.\n\n**Resource**: StorageFile\n\n# Conditions\n\nOnly provided, if the `projectFolderMode` is `manual` or `automatic`."
            }
          ]
        },
        "open": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "A link to OpenProject storage.\n\n# Conditions\n\nIf the storage has not been configured(oauth client is missing, for instance), then the link is null."
            }
          ]
        },
        "openWithConnectionEnsured": {
          "deprecated": true,
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "A link to OpenProject storage with making sure user has access to it.\n\n**Deprecated:** Use `open` instead, which returns a link that will ensure the user's connection to the storage\nas well, but properly works for all kinds of storage configurations."
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "ProjectStorage",
      "id": 1337,
      "projectFolderMode": "manual",
      "createdAt": "2023-01-20T14:30:00.368Z",
      "updatedAt": "2023-05-23T11:57:48.618Z",
      "_links": {
        "self": {
          "href": "/api/v3/project_storages/23"
        },
        "projectFolder": {
          "href": "/api/v3/storages/81/files/30"
        },
        "creator": {
          "title": "Darth Vader",
          "href": "/api/v3/users/3"
        },
        "project": {
          "title": "Death Star 3.0",
          "href": "/api/v3/projects/11"
        },
        "storage": {
          "title": "Palpatine's Data Vault",
          "href": "/api/v3/storages/81"
        },
        "open": {
          "href": "/api/v3/storages/81/open"
        },
        "openWithConnectionEnsured": {
          "href": "/api/v3/storages/81/open"
        }
      }
    }
  ]
}

QueriesModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/queries"
        }
      },
      "total": 1,
      "count": 1,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_type": "Query",
            "id": 9,
            "name": "fdsfdsfdsf",
            "createdAt": "2015-03-20T12:56:56.858Z",
            "updatedAt": "2015-05-20T18:16:53.887Z",
            "filters": [
              {
                "_type": "StatusQueryFilter",
                "name": "Status",
                "_links": {
                  "filter": {
                    "href": "/api/v3/queries/filters/status",
                    "title": "Status"
                  },
                  "operator": {
                    "href": "/api/v3/queries/operators/o",
                    "title": "open"
                  },
                  "schema": {
                    "href": "/api/v3/queries/filter_instance_schemas/status"
                  },
                  "values": []
                }
              },
              {
                "_type": "DueDateQueryFilter",
                "name": "Finish date",
                "values": [
                  "1"
                ],
                "_links": {
                  "filter": {
                    "href": "/api/v3/queries/filters/dueDate",
                    "title": "Finish date"
                  },
                  "operator": {
                    "href": "/api/v3/queries/operators/<t+",
                    "title": "in less than"
                  },
                  "schema": {
                    "href": "/api/v3/queries/filter_instance_schemas/dueDate"
                  }
                }
              }
            ],
            "public": false,
            "sums": false,
            "starred": true,
            "projections": [
              {
                "_type": "Query::TableProjection"
              },
              {
                "_type": "Query::TeamPlannerProjection",
                "_links": {
                  "rows": [
                    {
                      "href": "/api/v3/users/1",
                      "title": "Bob Bobbit"
                    }
                  ]
                }
              },
              {
                "_type": "Query::CalendarProjection"
              }
            ],
            "_embedded": {
              "results": {
                "_type": "WorkPackageCollection",
                "total": 234,
                "count": 30,
                "pageSize": 30,
                "offset": 1,
                "_embedded": {
                  "elements": [
                    "<--- shortened for brevity --->"
                  ]
                },
                "_links": {
                  "self": {
                    "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D"
                  },
                  "jumpTo": {
                    "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=%7Boffset%7D&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D",
                    "templated": true
                  },
                  "changeSize": {
                    "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=%7Bsize%7D&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D",
                    "templated": true
                  },
                  "createWorkPackage": {
                    "href": "/api/v3/work_packages/form",
                    "method": "post"
                  },
                  "createWorkPackageImmediate": {
                    "href": "/api/v3/work_packages",
                    "method": "post"
                  }
                }
              }
            },
            "_links": {
              "self": {
                "href": "/api/v3/queries/9",
                "title": "fdsfdsfdsf"
              },
              "results": {
                "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D"
              },
              "columns": [
                {
                  "href": "/api/v3/queries/columns/id",
                  "title": "ID"
                },
                {
                  "href": "/api/v3/queries/columns/subject",
                  "title": "Subject"
                },
                {
                  "href": "/api/v3/queries/columns/type",
                  "title": "Type"
                },
                {
                  "href": "/api/v3/queries/columns/status",
                  "title": "Status"
                },
                {
                  "href": "/api/v3/queries/columns/priority",
                  "title": "Priority"
                },
                {
                  "href": "/api/v3/queries/columns/assignee",
                  "title": "Assignee"
                },
                {
                  "href": "/api/v3/queries/columns/updated_at",
                  "title": "Updated on"
                }
              ],
              "groupBy": {
                "href": null,
                "title": null
              },
              "sortBy": [
                {
                  "href": "/api/v3/queries/sort_bys/parent-desc",
                  "title": "Parent (Descending)"
                }
              ],
              "user": {
                "href": "/api/v3/users/1",
                "title": "OpenProject Admin"
              },
              "project": {
                "href": "/api/v3/projects/3",
                "title": "copy"
              }
            }
          }
        ]
      }
    }
  ]
}

Query_ColumnModel

{
  "type": "object",
  "required": [
    "id",
    "name"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Query column id",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Query column name"
    }
  },
  "examples": [
    {
      "_type": "QueryColumn::Property",
      "id": "priority",
      "name": "Priority",
      "_links": {
        "self": {
          "href": "/api/v3/queries/columns/priority",
          "title": "Priority"
        }
      }
    }
  ]
}

Query_Create_Form

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Query name."
    }
  },
  "examples": [
    {
      "name": "New query name"
    }
  ]
}

Query_Filter_Instance_Model

{
  "type": "object",
  "required": [
    "_links",
    "_type",
    "name"
  ],
  "properties": {
    "_links": {
      "type": "object",
      "required": [
        "filter",
        "schema"
      ],
      "properties": {
        "filter": {
          "$ref": "#/components/schemas/Link"
        },
        "schema": {
          "$ref": "#/components/schemas/Link"
        },
        "operator": {
          "$ref": "#/components/schemas/Link"
        }
      }
    },
    "_type": {
      "type": "string"
    },
    "name": {
      "type": "string"
    }
  }
}

Query_Filter_Instance_SchemaModel

{
  "type": "object",
  "required": [
    "name",
    "_links"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Describes the name attribute",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "filter"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This QueryFilterInstanceSchema (same as for schema)\n\n**Resource**: QueryFilterInstanceSchema",
              "readOnly": true
            }
          ]
        },
        "filter": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The filter for which this schema is specific\n\n**Resource**: Filter",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "QueryFilterInstanceSchema",
      "_dependencies": [
        {
          "_type": "SchemaDependency",
          "on": "operator",
          "dependencies": {
            "/api/v3/queries/operators/=": {
              "values": {
                "type": "[]User",
                "name": "Values",
                "required": true,
                "hasDefault": false,
                "writable": true,
                "_links": {}
              }
            },
            "/api/v3/queries/operators/!": {
              "values": {
                "type": "[]User",
                "name": "Values",
                "required": true,
                "hasDefault": false,
                "writable": true,
                "_links": {}
              }
            }
          }
        }
      ],
      "name": "A name",
      "_links": {
        "self": {
          "href": "/api/v3/queries/filter_instance_schemas/author"
        },
        "filter": {
          "href": "/api/v3/queries/filters/author",
          "title": "Author"
        }
      }
    }
  ]
}

Query_Filter_Instance_Schemas_For_WorkspaceModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_embedded": {
        "elements": [
          {
            "_type": "QueryFilterInstanceSchema",
            "_dependencies": [
              {
                "_type": "SchemaDependency",
                "on": "operator",
                "dependencies": {
                  "/api/v3/queries/operators/=": {
                    "values": {
                      "type": "[]User",
                      "name": "Values",
                      "required": true,
                      "hasDefault": false,
                      "writable": true,
                      "_links": {}
                    }
                  },
                  "/api/v3/queries/operators/!": {
                    "values": {
                      "type": "[]User",
                      "name": "Values",
                      "required": true,
                      "hasDefault": false,
                      "writable": true,
                      "_links": {}
                    }
                  },
                  "/api/v3/queries/operators/!*": {},
                  "/api/v3/queries/operators/*": {}
                }
              }
            ],
            "name": {
              "type": "String",
              "name": "Name",
              "required": true,
              "hasDefault": true,
              "writable": false
            },
            "filter": {
              "type": "QueryFilter",
              "name": "Filter",
              "required": true,
              "hasDefault": false,
              "writable": true,
              "_links": {}
            },
            "_links": {
              "self": {
                "href": "/api/v3/queries/filter_instance_schemas/assignee"
              },
              "filter": {
                "href": "/api/v3/queries/filters/assignee",
                "title": "Assignee"
              }
            }
          },
          {
            "_type": "QueryFilterInstanceSchema",
            "_dependencies": [
              {
                "_type": "SchemaDependency",
                "on": "operator",
                "dependencies": {
                  "/api/v3/queries/operators/=": {
                    "values": {
                      "type": "[]User",
                      "name": "Values",
                      "required": true,
                      "hasDefault": false,
                      "writable": true,
                      "_links": {}
                    }
                  },
                  "/api/v3/queries/operators/!": {
                    "values": {
                      "type": "[]User",
                      "name": "Values",
                      "required": true,
                      "hasDefault": false,
                      "writable": true,
                      "_links": {}
                    }
                  }
                }
              }
            ],
            "name": {
              "type": "String",
              "name": "Name",
              "required": true,
              "hasDefault": true,
              "writable": false
            },
            "filter": {
              "type": "QueryFilter",
              "name": "Filter",
              "required": true,
              "hasDefault": false,
              "writable": true,
              "_links": {}
            },
            "_links": {
              "self": {
                "href": "/api/v3/queries/filter_instance_schemas/author"
              },
              "filter": {
                "href": "/api/v3/queries/filters/author",
                "title": "Author"
              }
            }
          }
        ]
      },
      "_links": {
        "self": {
          "href": "/api/v3/workspaces/42/queries/filter_instance_schemas"
        }
      }
    }
  ]
}

Query_Filter_Instance_SchemasModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_embedded": {
        "elements": [
          {
            "_type": "QueryFilterInstanceSchema",
            "_dependencies": [
              {
                "_type": "SchemaDependency",
                "on": "operator",
                "dependencies": {
                  "/api/v3/queries/operators/=": {
                    "values": {
                      "type": "[]User",
                      "name": "Values",
                      "required": true,
                      "hasDefault": false,
                      "writable": true,
                      "_links": {}
                    }
                  },
                  "/api/v3/queries/operators/!": {
                    "values": {
                      "type": "[]User",
                      "name": "Values",
                      "required": true,
                      "hasDefault": false,
                      "writable": true,
                      "_links": {}
                    }
                  },
                  "/api/v3/queries/operators/!*": {},
                  "/api/v3/queries/operators/*": {}
                }
              }
            ],
            "name": {
              "type": "String",
              "name": "Name",
              "required": true,
              "hasDefault": true,
              "writable": false
            },
            "filter": {
              "type": "QueryFilter",
              "name": "Filter",
              "required": true,
              "hasDefault": false,
              "writable": true,
              "_links": {}
            },
            "_links": {
              "self": {
                "href": "/api/v3/queries/filter_instance_schemas/assignee"
              },
              "filter": {
                "href": "/api/v3/queries/filters/assignee",
                "title": "Assignee"
              }
            }
          },
          {
            "_type": "QueryFilterInstanceSchema",
            "_dependencies": [
              {
                "_type": "SchemaDependency",
                "on": "operator",
                "dependencies": {
                  "/api/v3/queries/operators/=": {
                    "values": {
                      "type": "[]User",
                      "name": "Values",
                      "required": true,
                      "hasDefault": false,
                      "writable": true,
                      "_links": {}
                    }
                  },
                  "/api/v3/queries/operators/!": {
                    "values": {
                      "type": "[]User",
                      "name": "Values",
                      "required": true,
                      "hasDefault": false,
                      "writable": true,
                      "_links": {}
                    }
                  }
                }
              }
            ],
            "name": {
              "type": "String",
              "name": "Name",
              "required": true,
              "hasDefault": true,
              "writable": false
            },
            "filter": {
              "type": "QueryFilter",
              "name": "Filter",
              "required": true,
              "hasDefault": false,
              "writable": true,
              "_links": {}
            },
            "_links": {
              "self": {
                "href": "/api/v3/queries/filter_instance_schemas/author"
              },
              "filter": {
                "href": "/api/v3/queries/filters/author",
                "title": "Author"
              }
            }
          }
        ]
      },
      "_links": {
        "self": {
          "href": "/api/v3/queries/filter_instance_schemas"
        }
      }
    }
  ]
}

Query_FilterModel

{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "QueryFilter id"
    }
  },
  "examples": [
    {
      "_type": "QueryFilter",
      "id": "status",
      "_links": {
        "self": {
          "href": "/api/v3/queries/filters/status",
          "title": "Status"
        }
      }
    }
  ]
}

Query_OperatorModel

{
  "type": "object",
  "required": [
    "id",
    "name"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Query operator id",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Query operator name"
    }
  },
  "examples": [
    {
      "_type": "QueryOperator",
      "id": "!",
      "name": "is not",
      "_links": {
        "self": {
          "href": "/api/v3/queries/operators/!",
          "title": "is not"
        }
      }
    }
  ]
}

Query_Sort_ByModel

{
  "type": "object",
  "required": [
    "id",
    "name"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "QuerySortBy id",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "QuerySortBy name"
    }
  },
  "examples": [
    {
      "_type": "QuerySortBy",
      "id": "status-asc",
      "name": "Status (Ascending)",
      "_links": {
        "self": {
          "href": "/api/v3/queries/sort_bys/status-asc",
          "title": "Status (Ascending)"
        },
        "column": {
          "href": "/api/v3/queries/columns/status",
          "title": "Status"
        },
        "direction": {
          "href": "urn:openproject-org:api:v3:queries:directions:asc",
          "title": "Ascending"
        }
      }
    }
  ]
}

Query_Update_Form

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Query name."
    }
  },
  "examples": [
    {
      "name": "Updated query name"
    }
  ]
}

QueryModel

{
  "type": "object",
  "required": [
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Query id",
      "readOnly": true,
      "exclusiveMinimum": 0
    },
    "name": {
      "type": "string",
      "description": "Query name",
      "readOnly": true
    },
    "filters": {
      "type": "array",
      "description": "A set of QueryFilters which will be applied to the work packages to determine the resulting work packages",
      "readOnly": false,
      "items": {
        "$ref": "#/components/schemas/Query_Filter_Instance_Model"
      }
    },
    "sums": {
      "type": "boolean",
      "description": "Should sums (of supported properties) be shown?",
      "readOnly": true
    },
    "timelineVisible": {
      "type": "boolean",
      "description": "Should the timeline mode be shown?",
      "readOnly": true,
      "deprecated": true
    },
    "timelineLabels": {
      "type": "array",
      "description": "Which labels are shown in the timeline, empty when default",
      "readOnly": true,
      "deprecated": true,
      "items": {
        "type": "string"
      }
    },
    "timelineZoomLevel": {
      "type": "string",
      "description": "Which zoom level should the timeline be rendered in?",
      "readOnly": true,
      "deprecated": true
    },
    "timestamps": {
      "type": "array",
      "description": "Timestamps to filter by when showing changed attributes on work packages.",
      "readOnly": false
    },
    "highlightingMode": {
      "type": "string",
      "description": "Which highlighting mode should the table have?",
      "readOnly": true,
      "deprecated": true
    },
    "showHierarchies": {
      "type": "boolean",
      "description": "Should the hierarchy mode be enabled?",
      "readOnly": true,
      "deprecated": true
    },
    "hidden": {
      "type": "boolean",
      "description": "Should the query be hidden from the query list?",
      "readOnly": true,
      "deprecated": true
    },
    "public": {
      "type": "boolean",
      "description": "Can users besides the owner see the query?",
      "readOnly": true
    },
    "starred": {
      "type": "boolean",
      "description": "Should the query be highlighted to the user?",
      "readOnly": true
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the query",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "properties": {
        "star": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Elevates the query to the status of 'starred'\n\n# Conditions\n\n**Permission**: save queries for own queries, manage public queries for public queries; Only present if query is not yet starred",
              "readOnly": true
            }
          ]
        },
        "unstar": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Removes the 'starred' status\n\n# Conditions\n\n**Permission**: save queries for own queries, manage public queries for public queries; Only present if query is starred",
              "readOnly": true
            }
          ]
        },
        "update": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Use the Form based process to verify the query before persisting\n\n# Conditions\n\n**Permission**: view work packages",
              "readOnly": true
            }
          ]
        },
        "updateImmediately": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Persist the query without using a Form based process for guidance\n\n# Conditions\n\n**Permission**: save queries for own queries, manage public queries for public queries;",
              "readOnly": true
            }
          ]
        }
      }
    }
  }
}

RecurringMeetingCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/PaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_embedded",
        "_links"
      ],
      "properties": {
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/RecurringMeetingModel"
              }
            }
          }
        },
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The link to this recurring meeting collection resource\n\n**Resource**: RecurringMeetingCollection"
                }
              ]
            }
          }
        }
      }
    }
  ]
}

RecurringMeetingModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "title",
    "frequency",
    "interval",
    "endAfter",
    "startTime",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "RecurringMeeting"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Identifier of this recurring meeting",
      "minimum": 1
    },
    "title": {
      "type": "string",
      "description": "The recurring meeting's title"
    },
    "frequency": {
      "type": "string",
      "description": "The recurrence frequency. Possible values:\n\n- *daily*: repeats every day (or every N days depending on interval)\n- *working_days*: repeats on working days only\n- *weekly*: repeats every week (or every N weeks depending on interval)\n- *monthly_day_of_month*: repeats monthly on a specific day of month (for example, the 16th)\n- *monthly_nth_weekday*: repeats monthly by weekday pattern (for example, first Tuesday, last Friday)",
      "enum": [
        "daily",
        "working_days",
        "weekly",
        "monthly_day_of_month",
        "monthly_nth_weekday"
      ]
    },
    "interval": {
      "type": "integer",
      "description": "The interval between occurrences. For example, an interval of 2 with a weekly frequency\nmeans the meeting occurs every 2 weeks. Not applicable for working_days frequency.",
      "minimum": 1
    },
    "monthlyDay": {
      "type": "integer",
      "description": "Day of month for `monthly_day_of_month` frequency.\nUsed when frequency is `monthly_day_of_month`.",
      "minimum": 1,
      "maximum": 31
    },
    "monthlyOrdinal": {
      "type": "integer",
      "description": "Ordinal position for `monthly_nth_weekday` frequency.\nAllowed values:\n- `1` (first)\n- `2` (second)\n- `3` (third)\n- `4` (fourth)\n- `-1` (last)\nUsed when frequency is `monthly_nth_weekday`.",
      "enum": [
        1,
        2,
        3,
        4,
        -1
      ]
    },
    "monthlyWeekday": {
      "type": "string",
      "description": "Weekday for `monthly_nth_weekday` frequency.\nUsed when frequency is `monthly_nth_weekday`.",
      "enum": [
        "sunday",
        "monday",
        "tuesday",
        "wednesday",
        "thursday",
        "friday",
        "saturday"
      ]
    },
    "endAfter": {
      "type": "string",
      "description": "How the recurrence ends. Possible values:\n\n- *specific_date*: ends on a specific date\n- *iterations*: ends after a specific number of occurrences\n- *never*: never ends",
      "enum": [
        "specific_date",
        "iterations",
        "never"
      ]
    },
    "endDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "description": "The date on which the recurrence ends. Only present when endAfter is `specific_date`."
    },
    "iterations": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The number of occurrences after which the recurrence ends.\nOnly present when endAfter is `iterations`.",
      "minimum": 1
    },
    "timeZone": {
      "type": "string",
      "description": "The time zone in which the recurring meeting is scheduled (e.g. \"Europe/Berlin\")."
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "The scheduled start time of the recurring meeting."
    },
    "location": {
      "type": "string",
      "description": "The meeting's location (inherited from the template meeting)."
    },
    "duration": {
      "type": "number",
      "description": "The meeting duration in hours (inherited from the template meeting)."
    },
    "notify": {
      "type": "boolean",
      "description": "Whether email notifications are enabled for the series (read from the template meeting).\nRead-only on this resource: set it when completing the template via\n`POST /recurring_meetings/{id}/template_completed`, or change it later by updating the\ntemplate meeting (`PATCH /meetings/{template_id}`)."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the recurring meeting."
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This recurring meeting\n\n**Resource**: RecurringMeeting"
            }
          ]
        },
        "updateImmediately": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Directly update this recurring meeting\n\n# Conditions\n\n**Permission**: edit meetings"
            }
          ]
        },
        "delete": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Delete this recurring meeting\n\n# Conditions\n\n**Permission**: delete meetings"
            }
          ]
        },
        "template": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The template meeting associated with this recurring meeting\n\n**Resource**: Meeting"
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project the recurring meeting belongs to\n\n**Resource**: Project"
            }
          ]
        },
        "author": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user who created this recurring meeting\n\n**Resource**: User"
            }
          ]
        },
        "occurrencesUpcoming": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The upcoming occurrences of this recurring meeting\n\n**Resource**: MeetingOccurrenceCollection"
            }
          ]
        },
        "occurrencesPast": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The past occurrences of this recurring meeting\n\n**Resource**: MeetingOccurrenceCollection"
            }
          ]
        },
        "occurrencesCancelled": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The cancelled occurrences of this recurring meeting\n\n**Resource**: MeetingOccurrenceCollection"
            }
          ]
        },
        "occurrencesOpen": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The open (instantiated) occurrences of this recurring meeting\n\n**Resource**: MeetingOccurrenceCollection"
            }
          ]
        }
      }
    }
  }
}

RecurringMeetingOccurrenceCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This occurrence collection\n\n**Resource**: MeetingOccurrenceCollection"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/RecurringMeetingOccurrenceModel"
              }
            }
          }
        }
      }
    }
  ]
}

RecurringMeetingOccurrenceModel

{
  "type": "object",
  "required": [
    "_type",
    "startTime",
    "state"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "MeetingOccurrence"
      ]
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "The start time of this occurrence."
    },
    "state": {
      "type": "string",
      "description": "The current state of the occurrence. Possible values:\n\n- *open*: the occurrence has been instantiated as a meeting\n- *cancelled*: the occurrence has been cancelled\n- *scheduled*: the occurrence is scheduled but not yet instantiated",
      "enum": [
        "open",
        "cancelled",
        "scheduled"
      ]
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This occurrence\n\n**Resource**: MeetingOccurrence"
            }
          ]
        },
        "meeting": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The instantiated meeting for this occurrence, if it exists.\n\n**Resource**: Meeting"
            }
          ]
        },
        "recurringMeeting": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The recurring meeting this occurrence belongs to\n\n**Resource**: RecurringMeeting"
            }
          ]
        }
      }
    }
  }
}

RecurringMeetingWriteModel

{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "The recurring meeting's title"
    },
    "frequency": {
      "type": "string",
      "description": "The recurrence frequency. Possible values:\n\n- *daily*\n- *working_days*\n- *weekly*\n- *monthly_day_of_month*\n- *monthly_nth_weekday*",
      "enum": [
        "daily",
        "working_days",
        "weekly",
        "monthly_day_of_month",
        "monthly_nth_weekday"
      ]
    },
    "interval": {
      "type": "integer",
      "description": "The interval between occurrences. Not applicable for working_days frequency.",
      "minimum": 1
    },
    "monthlyDay": {
      "type": "integer",
      "description": "Day of month for `monthly_day_of_month` frequency.\nRequired for `monthly_day_of_month` unless inferred from `startTime`.",
      "minimum": 1,
      "maximum": 31
    },
    "monthlyOrdinal": {
      "type": "integer",
      "description": "Ordinal position for `monthly_nth_weekday` frequency.\nRequired for `monthly_nth_weekday` unless inferred from `startTime`.\nAllowed values:\n- `1` (first)\n- `2` (second)\n- `3` (third)\n- `4` (fourth)\n- `-1` (last)",
      "enum": [
        1,
        2,
        3,
        4,
        -1
      ]
    },
    "monthlyWeekday": {
      "type": "string",
      "description": "Weekday for `monthly_nth_weekday` frequency.\nRequired for `monthly_nth_weekday` unless inferred from `startTime`.",
      "enum": [
        "sunday",
        "monday",
        "tuesday",
        "wednesday",
        "thursday",
        "friday",
        "saturday"
      ]
    },
    "endAfter": {
      "type": "string",
      "description": "How the recurrence ends. Possible values:\n\n- *specific_date*\n- *iterations*\n- *never*",
      "enum": [
        "specific_date",
        "iterations",
        "never"
      ]
    },
    "endDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "description": "The date on which the recurrence ends. Required when endAfter is `specific_date`."
    },
    "iterations": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The number of occurrences after which the recurrence ends.\nRequired when endAfter is `iterations`.",
      "minimum": 1
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "The scheduled start time of the recurring meeting."
    },
    "location": {
      "type": "string",
      "description": "The meeting's location."
    },
    "duration": {
      "type": "number",
      "description": "The meeting duration in hours."
    },
    "notify": {
      "type": "boolean",
      "description": "Whether to send email notifications to participants."
    },
    "_links": {
      "type": "object",
      "properties": {
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project the recurring meeting belongs to. Required on creation, read-only afterwards.\n\n**Resource**: Project"
            }
          ]
        }
      }
    }
  }
}

RelationCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This relation collection\n\n**Resource**: RelationCollectionReadModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/RelationReadModel"
              }
            }
          }
        }
      }
    }
  ]
}

RelationReadModel

{
  "type": "object",
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Relation"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Relation ID"
    },
    "name": {
      "type": "string",
      "description": "The internationalized name of this type of relation"
    },
    "type": {
      "type": "string",
      "description": "The relation type.",
      "enum": [
        "relates",
        "duplicates",
        "duplicated",
        "blocks",
        "blocked",
        "precedes",
        "follows",
        "includes",
        "partof",
        "requires",
        "required"
      ]
    },
    "reverseType": {
      "type": "string",
      "description": "The type of relation from the perspective of the related work package.",
      "enum": [
        "relates",
        "duplicates",
        "duplicated",
        "blocks",
        "blocked",
        "precedes",
        "follows",
        "includes",
        "partof",
        "requires",
        "required"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "A descriptive text for the relation."
    },
    "lag": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The lag in days between closing of `from` and start of `to`",
      "minimum": 0
    },
    "_embedded": {
      "type": "object",
      "properties": {
        "from": {
          "$ref": "#/components/schemas/WorkPackageModel"
        },
        "to": {
          "$ref": "#/components/schemas/WorkPackageModel"
        }
      }
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This relation\n\n**Resource**: Relation\n\n# Conditions\n\n**Permission**: view work packages"
            }
          ]
        },
        "updateImmediately": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Updates the relation between two work packages\n\n# Conditions\n\n**Permission**: manage work package relations"
            }
          ]
        },
        "delete": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Destroys the relation between the two work packages\n\n# Conditions\n\n**Permission**: manage work package relations"
            }
          ]
        },
        "from": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The emanating work package\n\n**Resource**: WorkPackage\n\n# Conditions\n\n**Permission**: view work packages"
            }
          ]
        },
        "to": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The work package the relation ends in\n\n**Resource**: WorkPackage\n\n# Conditions\n\n**Permission**: view work packages"
            }
          ]
        }
      }
    }
  }
}

RelationWriteModel

{
  "type": "object",
  "required": [
    "_links",
    "type"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "The relation type.",
      "enum": [
        "relates",
        "duplicates",
        "duplicated",
        "blocks",
        "blocked",
        "precedes",
        "follows",
        "includes",
        "partof",
        "requires",
        "required"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "A descriptive text for the relation."
    },
    "lag": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The lag in days between closing of `from` and start of `to`",
      "minimum": 0
    },
    "_links": {
      "type": "object",
      "properties": {
        "to": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The work package the relation ends in. Only available on relation creation, not on update.\n\n**Resource**: WorkPackage\n\n# Conditions\n\n**Permission**: view work packages"
            }
          ]
        }
      }
    }
  }
}

ReminderModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Reminder id",
      "readOnly": true,
      "minimum": 1
    },
    "note": {
      "type": "string",
      "description": "The note of the reminder"
    },
    "remindAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time when the reminder is due"
    },
    "_links": {
      "required": [
        "creator",
        "remindable"
      ],
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This reminder\n\n**Resource**: Reminder"
            }
          ]
        },
        "creator": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The person that created the reminder\n\n**Resource**: User"
            }
          ]
        },
        "remindable": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The resource that the reminder is associated with\n\n**Resource**: WorkPackage"
            }
          ]
        }
      }
    }
  }
}

RepositoryBranchCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This collection of repository branches\n\n**Resource**: RepositoryBranchCollectionModel",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/RepositoryBranchModel"
              }
            }
          }
        }
      }
    }
  ]
}

RepositoryBranchModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Identifier of the resource within OpenProject",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Name of the branch",
      "readOnly": true
    },
    "projectName": {
      "type": "string",
      "description": "Name of the project on the provider, e.g. `my-group/my-project`",
      "readOnly": true
    },
    "webUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL of the branch on the provider's website",
      "readOnly": true
    },
    "author": {
      "description": "The user on the provider who created the resource. Null if unknown.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/RepositoryUserModel"
        },
        {
          "type": "null"
        }
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was first synchronized into OpenProject",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was last synchronized into OpenProject",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This branch\n\n**Resource**: RepositoryBranch",
              "readOnly": true
            }
          ]
        },
        "workPackage": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The work package this branch belongs to\n\n**Resource**: WorkPackage",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "RepositoryBranch",
      "_links": {
        "self": {
          "href": "/api/v3/repository_branches/1",
          "title": "bug/1234-crash-when-saving"
        },
        "workPackage": {
          "href": "/api/v3/work_packages/1234",
          "title": "Crash when saving"
        }
      },
      "id": 1,
      "name": "bug/1234-crash-when-saving",
      "projectName": "my-group/my-project",
      "webUrl": "https://gitlab.example.com/my-group/my-project/-/tree/bug/1234-crash-when-saving",
      "author": {
        "name": "Jane Doe",
        "username": "jdoe",
        "avatarUrl": "https://gitlab.example.com/uploads/user/avatar/1/avatar.png"
      },
      "createdAt": "2026-10-01T12:00:00.000Z",
      "updatedAt": "2026-10-01T12:00:00.000Z"
    }
  ]
}

RepositoryCommitCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This collection of repository commits\n\n**Resource**: RepositoryCommitCollectionModel",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/RepositoryCommitModel"
              }
            }
          }
        }
      }
    }
  ]
}

RepositoryCommitModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Identifier of the resource within OpenProject",
      "readOnly": true
    },
    "sha": {
      "type": "string",
      "description": "SHA of the commit",
      "readOnly": true
    },
    "message": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "Commit message",
          "readOnly": true
        }
      ]
    },
    "authorName": {
      "type": "string",
      "description": "Author name as recorded in the commit",
      "readOnly": true
    },
    "authoredAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the commit was authored",
      "readOnly": true
    },
    "projectName": {
      "type": "string",
      "description": "Name of the project on the provider, e.g. `my-group/my-project`",
      "readOnly": true
    },
    "webUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL of the resource on the provider's website",
      "readOnly": true
    },
    "author": {
      "description": "The user on the provider who created the resource. Null if unknown.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/RepositoryUserModel"
        },
        {
          "type": "null"
        }
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was first synchronized into OpenProject",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was last synchronized into OpenProject",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This commit\n\n**Resource**: RepositoryCommit",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "RepositoryCommit",
      "_links": {
        "self": {
          "href": "/api/v3/repository_commits/1",
          "title": "Fix crash when saving"
        }
      },
      "id": 1,
      "sha": "0a1b2c3d4e5f60718293a4b5c6d7e8f901234567",
      "message": {
        "format": "plain",
        "raw": "Fix crash when saving\n\nOP#1234",
        "html": "<p>Fix crash when saving</p><p>OP#1234</p>"
      },
      "authorName": "Jane Doe",
      "authoredAt": "2026-10-01T12:00:00.000Z",
      "projectName": "my-group/my-project",
      "webUrl": "https://gitlab.example.com/my-group/my-project/-/commit/0a1b2c3d4e5f60718293a4b5c6d7e8f901234567",
      "author": {
        "name": "Jane Doe",
        "username": "jdoe",
        "avatarUrl": "https://gitlab.example.com/uploads/user/avatar/1/avatar.png"
      },
      "createdAt": "2026-10-01T12:00:00.000Z",
      "updatedAt": "2026-10-01T12:00:00.000Z"
    }
  ]
}

RepositoryIssueCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This collection of repository issues\n\n**Resource**: RepositoryIssueCollectionModel",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/RepositoryIssueModel"
              }
            }
          }
        }
      }
    }
  ]
}

RepositoryIssueModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Identifier of the resource within OpenProject",
      "readOnly": true
    },
    "displayId": {
      "type": "string",
      "description": "Identifier of the issue as displayed by the provider, e.g. `42`",
      "readOnly": true
    },
    "title": {
      "type": "string",
      "description": "Title of the issue",
      "readOnly": true
    },
    "description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "Description of the issue",
          "readOnly": true
        }
      ]
    },
    "state": {
      "type": "string",
      "description": "State of the issue as reported by the provider, e.g. `opened`",
      "readOnly": true
    },
    "labels": {
      "type": "array",
      "description": "Labels attached to the resource on the provider",
      "readOnly": true,
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "color": {
            "type": "string",
            "description": "Hexadecimal color code, e.g. `#d9534f`"
          }
        }
      }
    },
    "projectName": {
      "type": "string",
      "description": "Name of the project on the provider, e.g. `my-group/my-project`",
      "readOnly": true
    },
    "webUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL of the resource on the provider's website",
      "readOnly": true
    },
    "author": {
      "description": "The user on the provider who created the resource. Null if unknown.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/RepositoryUserModel"
        },
        {
          "type": "null"
        }
      ]
    },
    "externalUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was last updated on the provider",
      "readOnly": true
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was first synchronized into OpenProject",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was last synchronized into OpenProject",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This issue\n\n**Resource**: RepositoryIssue",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "RepositoryIssue",
      "_links": {
        "self": {
          "href": "/api/v3/repository_issues/1",
          "title": "Crash when saving"
        }
      },
      "id": 1,
      "displayId": "42",
      "title": "Crash when saving",
      "description": {
        "format": "markdown",
        "raw": "Steps to reproduce...",
        "html": "<p>Steps to reproduce...</p>"
      },
      "state": "opened",
      "labels": [
        {
          "title": "bug",
          "color": "#d9534f"
        }
      ],
      "projectName": "my-group/my-project",
      "webUrl": "https://gitlab.example.com/my-group/my-project/-/issues/42",
      "author": {
        "name": "Jane Doe",
        "username": "jdoe",
        "avatarUrl": "https://gitlab.example.com/uploads/user/avatar/1/avatar.png"
      },
      "externalUpdatedAt": "2026-10-01T12:00:00.000Z",
      "createdAt": "2026-10-01T12:00:00.000Z",
      "updatedAt": "2026-10-01T12:00:00.000Z"
    }
  ]
}

RepositoryMergeRequestCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This collection of repository merge requests\n\n**Resource**: RepositoryMergeRequestCollectionModel",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/RepositoryMergeRequestModel"
              }
            }
          }
        }
      }
    }
  ]
}

RepositoryMergeRequestModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Identifier of the resource within OpenProject",
      "readOnly": true
    },
    "displayId": {
      "type": "string",
      "description": "Identifier of the merge request as displayed by the provider, e.g. `42`",
      "readOnly": true
    },
    "title": {
      "type": "string",
      "description": "Title of the merge request",
      "readOnly": true
    },
    "description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "Description of the merge request",
          "readOnly": true
        }
      ]
    },
    "state": {
      "type": "string",
      "description": "State of the merge request as reported by the provider, e.g. `opened`",
      "readOnly": true
    },
    "labels": {
      "type": "array",
      "description": "Labels attached to the resource on the provider",
      "readOnly": true,
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "color": {
            "type": "string",
            "description": "Hexadecimal color code, e.g. `#d9534f`"
          }
        }
      }
    },
    "projectName": {
      "type": "string",
      "description": "Name of the project on the provider, e.g. `my-group/my-project`",
      "readOnly": true
    },
    "webUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL of the resource on the provider's website",
      "readOnly": true
    },
    "author": {
      "description": "The user on the provider who created the resource. Null if unknown.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/RepositoryUserModel"
        },
        {
          "type": "null"
        }
      ]
    },
    "externalUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was last updated on the provider",
      "readOnly": true
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was first synchronized into OpenProject",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was last synchronized into OpenProject",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This merge request\n\n**Resource**: RepositoryMergeRequest",
              "readOnly": true
            }
          ]
        },
        "pipelines": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "All of the CI pipelines that ran for this merge request\n\n**Resource**: RepositoryPipelineCollectionModel",
              "readOnly": true
            }
          ]
        },
        "latestPipeline": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The CI pipeline that started last. A pipeline that has not started yet counts as the latest one.\nOmitted if the merge request has no pipelines.\n\n**Resource**: RepositoryPipeline",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "RepositoryMergeRequest",
      "_links": {
        "self": {
          "href": "/api/v3/repository_merge_requests/1",
          "title": "Fix crash when saving"
        },
        "pipelines": {
          "href": "/api/v3/repository_merge_requests/1/repository_pipelines"
        },
        "latestPipeline": {
          "href": "/api/v3/repository_pipelines/99",
          "title": "success"
        }
      },
      "id": 1,
      "displayId": "7",
      "title": "Fix crash when saving",
      "description": {
        "format": "markdown",
        "raw": "Fixes OP#1234",
        "html": "<p>Fixes OP#1234</p>"
      },
      "state": "merged",
      "labels": [],
      "projectName": "my-group/my-project",
      "webUrl": "https://gitlab.example.com/my-group/my-project/-/merge_requests/7",
      "author": {
        "name": "Jane Doe",
        "username": "jdoe",
        "avatarUrl": "https://gitlab.example.com/uploads/user/avatar/1/avatar.png"
      },
      "externalUpdatedAt": "2026-10-01T12:00:00.000Z",
      "createdAt": "2026-10-01T12:00:00.000Z",
      "updatedAt": "2026-10-01T12:00:00.000Z"
    }
  ]
}

RepositoryPipelineCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This collection of repository pipelines\n\n**Resource**: RepositoryPipelineCollectionModel",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/RepositoryPipelineModel"
              }
            }
          }
        }
      }
    }
  ]
}

RepositoryPipelineModel

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Identifier of the resource within OpenProject",
      "readOnly": true
    },
    "status": {
      "type": "string",
      "description": "Status of the pipeline as reported by the provider, e.g. `success`",
      "readOnly": true
    },
    "webUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL of the pipeline on the provider's website",
      "readOnly": true
    },
    "detailsUrl": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "description": "URL of the pipeline's details (e.g. its jobs) on the provider's website",
      "readOnly": true
    },
    "author": {
      "description": "The user on the provider who triggered the pipeline. Null if unknown.",
      "oneOf": [
        {
          "$ref": "#/components/schemas/RepositoryUserModel"
        },
        {
          "type": "null"
        }
      ]
    },
    "startedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Time the pipeline started. Null if it has not started yet.",
      "readOnly": true
    },
    "completedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Time the pipeline completed. Null if it has not completed yet.",
      "readOnly": true
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was first synchronized into OpenProject",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time the resource was last synchronized into OpenProject",
      "readOnly": true
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "mergeRequest"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This pipeline\n\n**Resource**: RepositoryPipeline",
              "readOnly": true
            }
          ]
        },
        "mergeRequest": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The merge request the pipeline was run for\n\n**Resource**: RepositoryMergeRequest",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "RepositoryPipeline",
      "_links": {
        "self": {
          "href": "/api/v3/repository_pipelines/99",
          "title": "success"
        },
        "mergeRequest": {
          "href": "/api/v3/repository_merge_requests/1",
          "title": "Fix crash when saving"
        }
      },
      "id": 99,
      "status": "success",
      "webUrl": "https://gitlab.example.com/my-group/my-project/-/pipelines/99",
      "detailsUrl": "https://gitlab.example.com/my-group/my-project/-/pipelines/99/builds",
      "author": {
        "name": "Jane Doe",
        "username": "jdoe",
        "avatarUrl": "https://gitlab.example.com/uploads/user/avatar/1/avatar.png"
      },
      "startedAt": "2026-10-01T12:00:00.000Z",
      "completedAt": "2026-10-01T12:10:00.000Z",
      "createdAt": "2026-10-01T12:00:00.000Z",
      "updatedAt": "2026-10-01T12:10:00.000Z"
    }
  ]
}

RepositoryUserModel

{
  "type": "object",
  "description": "A user on a repository provider. This is not an OpenProject user.",
  "readOnly": true,
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name of the user"
    },
    "username": {
      "type": "string",
      "description": "Username on the provider"
    },
    "avatarUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL of the user's avatar image"
    }
  },
  "examples": [
    {
      "name": "Crawler Carl",
      "username": "carl",
      "avatarUrl": "https://img.example.com/carl.png"
    }
  ]
}

RevisionModel

{
  "type": "object",
  "required": [
    "identifier",
    "formattedIdentifier",
    "authorName",
    "message",
    "createdAt"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Revision's id, assigned by OpenProject",
      "readOnly": true,
      "exclusiveMinimum": 0
    },
    "identifier": {
      "type": "string",
      "description": "The raw SCM identifier of the revision (e.g. full SHA hash)",
      "readOnly": true
    },
    "formattedIdentifier": {
      "type": "string",
      "description": "The SCM identifier of the revision, formatted (e.g. shortened unambiguous SHA hash). May be identical to identifier in many cases",
      "readOnly": true
    },
    "authorName": {
      "type": "string",
      "description": "The name of the author that committed this revision. Note that this name is retrieved from the repository and does not identify a user in OpenProject.",
      "readOnly": true
    },
    "message": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "The commit message of the revision",
          "readOnly": true
        }
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "The time this revision was committed to the repository"
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "project",
        "showRevision"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This revision\n\n**Resource**: Revision",
              "readOnly": true
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project to which the revision belongs\n\n**Resource**: Project",
              "readOnly": true
            }
          ]
        },
        "author": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user that added this revision, if the authorName was mapped to a user in OpenProject\n\n**Resource**: User",
              "readOnly": true
            }
          ]
        },
        "showRevision": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "A URL to the repository view (outside APIv3) showing this revision\n\n**Resource**: -",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Revision",
      "_links": {
        "self": {
          "href": "/api/v3/revisions/1"
        },
        "project": {
          "href": "/api/v3/projects/1"
        },
        "author": {
          "href": "/api/v3/users/1"
        },
        "showRevision": {
          "href": "/projects/identifier/repository/revision/11f4b07"
        }
      },
      "id": 1,
      "identifier": "11f4b07dff4f4ce9548a52b7d002daca7cd63ec6",
      "formattedIdentifier": "11f4b07",
      "authorName": "Some Developer",
      "message": {
        "format": "plain",
        "raw": "This revision provides new features\n\nAn elaborate description",
        "html": "<p>This revision provides new features<br/><br/>An elaborate description</p>"
      },
      "createdAt": "2015-07-21T13:36:59.859Z"
    }
  ]
}

RevisionsModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/work_packages/42/revisions"
        }
      },
      "total": 2,
      "count": 2,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_type": "Revision",
            "_links": {
              "self": {
                "href": "/api/v3/revisions/13"
              },
              "project": {
                "href": "/api/v3/projects/1",
                "title": "A Test Project"
              },
              "author": {
                "href": "/api/v3/users/1",
                "title": "John Sheppard - j.sheppard"
              },
              "showRevision": {
                "href": "/projects/identifier/repository/revision/11f4b07"
              }
            },
            "id": 13,
            "identifier": "11f4b07dff4f4ce9548a52b7d002daca7cd63ec6",
            "formattedIdentifier": "11f4b07",
            "authorName": "John Sheppard",
            "message": {
              "format": "plain",
              "raw": "This revision provides new features\n\nAn elaborate description",
              "html": "<p>This revision provides new features<br/><br/>An elaborate description</p>"
            },
            "createdAt": "2015-07-21T13:36:59.201Z"
          },
          {
            "_type": "Revision",
            "_links": {
              "self": {
                "href": "/api/v3/revisions/14"
              },
              "project": {
                "href": "/api/v3/projects/1",
                "title": "A Test Project"
              },
              "author": {
                "href": "/api/v3/users/2",
                "title": "Jim Sheppard - j.sheppard"
              },
              "showRevision": {
                "href": "/projects/identifier/repository/revision/029ed72a"
              }
            },
            "id": 13,
            "identifier": "029ed72a3b7b7c4ab332b1f6eaa6576e7c946059",
            "formattedIdentifier": "029ed72a",
            "authorName": "j1msheppard",
            "message": {
              "format": "plain",
              "raw": "This revision fixes some stuff\n\nMore information here",
              "html": "<p>This revision fixes some stuff<br/><br/>More information here</p>"
            },
            "createdAt": "2015-06-30T08:47:00.548Z"
          }
        ]
      }
    }
  ]
}

RoleModel

{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Role"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Role id",
      "readOnly": true,
      "minimum": 1
    },
    "name": {
      "type": "string",
      "description": "Role name"
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This role\n\n**Resource**: Role",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Role",
      "id": 3,
      "name": "Manager",
      "_links": {
        "self": {
          "href": "/api/v3/roles/3",
          "title": "Manager"
        }
      }
    }
  ]
}

RolesModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Collection",
      "total": 5,
      "count": 5,
      "_embedded": {
        "elements": [
          {
            "_type": "Role",
            "id": 3,
            "name": "Manager",
            "_links": {
              "self": {
                "href": "/api/v3/roles/3",
                "title": "Manager"
              }
            }
          },
          {
            "_type": "Role",
            "id": 2,
            "name": "Anonymous",
            "_links": {
              "self": {
                "href": "/api/v3/roles/2",
                "title": "Anonymous"
              }
            }
          },
          {
            "_type": "Role",
            "id": 5,
            "name": "Reader",
            "_links": {
              "self": {
                "href": "/api/v3/roles/5",
                "title": "Reader"
              }
            }
          },
          {
            "_type": "Role",
            "id": 4,
            "name": "Member",
            "_links": {
              "self": {
                "href": "/api/v3/roles/4",
                "title": "Member"
              }
            }
          },
          {
            "_type": "Role",
            "id": 1,
            "name": "Non member",
            "_links": {
              "self": {
                "href": "/api/v3/roles/1",
                "title": "Non member"
              }
            }
          }
        ]
      },
      "_links": {
        "self": {
          "href": "/api/v3/roles"
        }
      }
    }
  ]
}

RootModel

{
  "type": "object",
  "required": [
    "_type",
    "instanceName",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Root"
      ]
    },
    "instanceName": {
      "type": "string",
      "description": "The name of the OpenProject instance"
    },
    "coreVersion": {
      "type": "string",
      "description": "The OpenProject core version number for the instance\n\n# Conditions\n\n**Permission** requires admin privileges"
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "configuration",
        "memberships",
        "priorities",
        "relations",
        "statuses",
        "time_entries",
        "types",
        "user",
        "userPreferences",
        "workPackages"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This root information object.\n\n**Resource**: Root"
            }
          ]
        },
        "configuration": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The configuration resource.\n\n**Resource**: Configuration"
            }
          ]
        },
        "memberships": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The collection of memberships.\n\n**Resource**: Collection"
            }
          ]
        },
        "priorities": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The collection of priorities.\n\n**Resource**: Collection"
            }
          ]
        },
        "relations": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The collection of relations.\n\n**Resource**: Collection"
            }
          ]
        },
        "statuses": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The collection of statuses.\n\n**Resource**: Collection"
            }
          ]
        },
        "time_entries": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The collection of time entries.\n\n**Resource**: Collection"
            }
          ]
        },
        "types": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The collection of types.\n\n**Resource**: Collection"
            }
          ]
        },
        "user": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The current user resource.\n\n**Resource**: User"
            }
          ]
        },
        "userPreferences": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The current user preferences resource.\n\n**Resource**: UserPreferences"
            }
          ]
        },
        "workPackages": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The work package collection.\n\n**Resource**: Collection"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Root",
      "instanceName": "OpenProject",
      "coreVersion": "12.1.0",
      "_links": {
        "self": {
          "href": "/api/v3"
        },
        "configuration": {
          "href": "/api/v3/configuration"
        },
        "memberships": {
          "href": "/api/v3/memberships"
        },
        "priorities": {
          "href": "/api/v3/priorities"
        },
        "relations": {
          "href": "/api/v3/relations"
        },
        "statuses": {
          "href": "/api/v3/statuses"
        },
        "time_entries": {
          "href": "/api/v3/time_entries"
        },
        "types": {
          "href": "/api/v3/types"
        },
        "user": {
          "href": "/api/v3/users/3",
          "title": "Anakin Skywalker"
        },
        "userPreferences": {
          "href": "/api/v3/users/3/preferences"
        },
        "workPackages": {
          "href": "/api/v3/work_packages"
        }
      }
    }
  ]
}

Schema_For_Global_QueriesModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Schema",
      "_dependencies": [],
      "id": {
        "type": "Integer",
        "name": "ID",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "name": {
        "type": "String",
        "name": "Name",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "minLength": 1,
        "maxLength": 255
      },
      "createdAt": {
        "type": "DateTime",
        "name": "Created on",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "updatedAt": {
        "type": "DateTime",
        "name": "Updated on",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "user": {
        "type": "User",
        "name": "User",
        "required": true,
        "hasDefault": true,
        "writable": false
      },
      "project": {
        "type": "Project",
        "name": "Project",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "location": "_links",
        "_links": {}
      },
      "public": {
        "type": "Boolean",
        "name": "Public",
        "required": false,
        "hasDefault": true,
        "writable": true
      },
      "sums": {
        "type": "Boolean",
        "name": "Sums",
        "required": false,
        "hasDefault": true,
        "writable": true
      },
      "timelineVisible": {
        "type": "Boolean",
        "name": "Timeline visible",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "deprecated": true
      },
      "timelineZoomLevel": {
        "type": "String",
        "name": "Timeline zoom level",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "deprecated": true
      },
      "timelineLabels": {
        "type": "QueryTimelineLabels",
        "name": "Timeline labels",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "deprecated": true
      },
      "timestamps": {
        "type": "[]Timestamp",
        "name": "Timestamps",
        "required": false,
        "hasDefault": true,
        "writable": true
      },
      "highlightingMode": {
        "type": "String",
        "name": "Highlighting mode",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "deprecated": true
      },
      "highlightedAttributes": {
        "type": "[]QueryColumn",
        "name": "Highlighted attributes",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "location": "_links",
        "deprecated": true
      },
      "showHierarchies": {
        "type": "Boolean",
        "name": "Show hierarchies",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "deprecated": true
      },
      "starred": {
        "type": "Boolean",
        "name": "Starred",
        "required": false,
        "hasDefault": true,
        "writable": true
      },
      "columns": {
        "type": "[]QueryColumn",
        "name": "Columns",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "location": "_links",
        "deprecated": true,
        "_links": {}
      },
      "filters": {
        "type": "[]QueryFilterInstance",
        "name": "Filters",
        "required": false,
        "writable": true,
        "hasDefault": true,
        "location": "_links",
        "_links": {
          "allowedValuesSchemas": {
            "href": "/api/v3/queries/filter_instance_schemas"
          }
        }
      },
      "groupBy": {
        "type": "[]QueryGroupBy",
        "name": "Group results by",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "_links": {}
      },
      "sortBy": {
        "type": "[]QuerySortBy",
        "name": "Sort by",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "_links": {}
      },
      "results": {
        "type": "WorkPackageCollection",
        "name": "Results",
        "required": false,
        "hasDefault": false,
        "writable": false
      },
      "_embedded": {
        "filtersSchemas": {
          "_type": "Collection",
          "total": 20,
          "count": 20,
          "_embedded": {
            "elements": [
              {
                "_type": "QueryFilterInstanceSchema",
                "_dependencies": [
                  {
                    "_type": "SchemaDependency",
                    "on": "operator",
                    "dependencies": {
                      "/api/v3/queries/operators/=": {
                        "values": {
                          "type": "[]User",
                          "name": "Values",
                          "required": true,
                          "hasDefault": false,
                          "writable": true,
                          "_links": {}
                        }
                      },
                      "/api/v3/queries/operators/!": {
                        "values": {
                          "type": "[]User",
                          "name": "Values",
                          "required": true,
                          "hasDefault": false,
                          "writable": true,
                          "_links": {}
                        }
                      },
                      "/api/v3/queries/operators/!*": {},
                      "/api/v3/queries/operators/*": {}
                    }
                  }
                ],
                "name": {
                  "type": "String",
                  "name": "Name",
                  "required": true,
                  "hasDefault": true,
                  "writable": false
                },
                "filter": {
                  "type": "QueryFilter",
                  "name": "Filter",
                  "required": true,
                  "hasDefault": false,
                  "writable": true,
                  "_links": {}
                },
                "_links": {
                  "self": {
                    "href": "/api/v3/queries/filter_instance_schemas/assignee"
                  },
                  "filter": {
                    "href": "/api/v3/queries/filters/assignee",
                    "title": "Assignee"
                  }
                }
              },
              {
                "_type": "QueryFilterInstanceSchema",
                "_dependencies": [
                  {
                    "_type": "SchemaDependency",
                    "on": "operator",
                    "dependencies": {
                      "/api/v3/queries/operators/=": {
                        "values": {
                          "type": "[]User",
                          "name": "Values",
                          "required": true,
                          "hasDefault": false,
                          "writable": true,
                          "_links": {}
                        }
                      },
                      "/api/v3/queries/operators/!": {
                        "values": {
                          "type": "[]User",
                          "name": "Values",
                          "required": true,
                          "hasDefault": false,
                          "writable": true,
                          "_links": {}
                        }
                      }
                    }
                  }
                ],
                "name": {
                  "type": "String",
                  "name": "Name",
                  "required": true,
                  "hasDefault": true,
                  "writable": false
                },
                "filter": {
                  "type": "QueryFilter",
                  "name": "Filter",
                  "required": true,
                  "hasDefault": false,
                  "writable": true,
                  "_links": {}
                },
                "_links": {
                  "self": {
                    "href": "/api/v3/queries/filter_instance_schemas/author"
                  },
                  "filter": {
                    "href": "/api/v3/queries/filters/author",
                    "title": "Author"
                  }
                }
              }
            ]
          },
          "_links": {
            "self": {
              "href": "/api/v3/queries/filter_instance_schemas"
            }
          }
        }
      },
      "_links": {
        "self": {
          "href": "/api/v3/queries/schema"
        }
      }
    }
  ]
}

Schema_For_Workspace_QueriesModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Schema",
      "_dependencies": [],
      "id": {
        "type": "Integer",
        "name": "ID",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "name": {
        "type": "String",
        "name": "Name",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "minLength": 1,
        "maxLength": 255
      },
      "createdAt": {
        "type": "DateTime",
        "name": "Created on",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "updatedAt": {
        "type": "DateTime",
        "name": "Updated on",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "user": {
        "type": "User",
        "name": "User",
        "required": true,
        "hasDefault": true,
        "writable": false
      },
      "project": {
        "type": "Workspace",
        "name": "Project",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "_links": {}
      },
      "public": {
        "type": "Boolean",
        "name": "Public",
        "required": false,
        "hasDefault": true,
        "writable": true
      },
      "sums": {
        "type": "Boolean",
        "name": "Sums",
        "required": false,
        "hasDefault": true,
        "writable": true
      },
      "timelineVisible": {
        "type": "Boolean",
        "name": "Timeline visible",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "deprecated": true
      },
      "timelineZoomLevel": {
        "type": "String",
        "name": "Timeline zoom level",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "deprecated": true
      },
      "showHierarchies": {
        "type": "Boolean",
        "name": "Show hierarchies",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "deprecated": true
      },
      "starred": {
        "type": "Boolean",
        "name": "Starred",
        "required": false,
        "hasDefault": true,
        "writable": true
      },
      "columns": {
        "type": "[]QueryColumn",
        "name": "Columns",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "deprecated": true,
        "_links": {}
      },
      "filters": {
        "type": "[]QueryFilterInstance",
        "name": "Filters",
        "required": false,
        "writable": true,
        "hasDefault": true,
        "_links": {
          "allowedValuesSchemas": {
            "href": "/api/v3/workspaces/42/queries/filter_instance_schemas"
          }
        }
      },
      "groupBy": {
        "type": "[]QueryGroupBy",
        "name": "Group results by",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "_links": {}
      },
      "sortBy": {
        "type": "[]QuerySortBy",
        "name": "Sort by",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "_links": {}
      },
      "results": {
        "type": "WorkPackageCollection",
        "name": "Results",
        "required": false,
        "hasDefault": false,
        "writable": false
      },
      "_embedded": {
        "filtersSchemas": {
          "_type": "Collection",
          "total": 20,
          "count": 20,
          "_embedded": {
            "elements": [
              {
                "_type": "QueryFilterInstanceSchema",
                "_dependencies": [
                  {
                    "_type": "SchemaDependency",
                    "on": "operator",
                    "dependencies": {
                      "/api/v3/queries/operators/=": {
                        "values": {
                          "type": "[]User",
                          "name": "Values",
                          "required": true,
                          "hasDefault": false,
                          "writable": true,
                          "_links": {}
                        }
                      },
                      "/api/v3/queries/operators/!": {
                        "values": {
                          "type": "[]User",
                          "name": "Values",
                          "required": true,
                          "hasDefault": false,
                          "writable": true,
                          "_links": {}
                        }
                      },
                      "/api/v3/queries/operators/!*": {},
                      "/api/v3/queries/operators/*": {}
                    }
                  }
                ],
                "name": {
                  "type": "String",
                  "name": "Name",
                  "required": true,
                  "hasDefault": true,
                  "writable": false
                },
                "filter": {
                  "type": "QueryFilter",
                  "name": "Filter",
                  "required": true,
                  "hasDefault": false,
                  "writable": true,
                  "_links": {}
                },
                "_links": {
                  "self": {
                    "href": "/api/v3/queries/filter_instance_schemas/assignee"
                  },
                  "filter": {
                    "href": "/api/v3/queries/filters/assignee",
                    "title": "Assignee"
                  }
                }
              },
              {
                "_type": "QueryFilterInstanceSchema",
                "_dependencies": [
                  {
                    "_type": "SchemaDependency",
                    "on": "operator",
                    "dependencies": {
                      "/api/v3/queries/operators/=": {
                        "values": {
                          "type": "[]User",
                          "name": "Values",
                          "required": true,
                          "hasDefault": false,
                          "writable": true,
                          "_links": {}
                        }
                      },
                      "/api/v3/queries/operators/!": {
                        "values": {
                          "type": "[]User",
                          "name": "Values",
                          "required": true,
                          "hasDefault": false,
                          "writable": true,
                          "_links": {}
                        }
                      }
                    }
                  }
                ],
                "name": {
                  "type": "String",
                  "name": "Name",
                  "required": true,
                  "hasDefault": true,
                  "writable": false
                },
                "filter": {
                  "type": "QueryFilter",
                  "name": "Filter",
                  "required": true,
                  "hasDefault": false,
                  "writable": true,
                  "_links": {}
                },
                "_links": {
                  "self": {
                    "href": "/api/v3/queries/filter_instance_schemas/author"
                  },
                  "filter": {
                    "href": "/api/v3/queries/filters/author",
                    "title": "Author"
                  }
                }
              }
            ]
          },
          "_links": {
            "self": {
              "href": "/api/v3/workspaces/42/queries/filter_instance_schemas"
            }
          }
        }
      },
      "_links": {
        "self": {
          "href": "/api/v3/workspaces/42/queries/schema"
        }
      }
    }
  ]
}

SchemaModel

{
  "type": "object",
  "required": [
    "_type",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Schema"
      ]
    },
    "_dependencies": {
      "type": "array",
      "description": "A list of dependencies between one property's value and another property",
      "items": {
        "type": "string"
      }
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This schema\n\n**Resource**: Schema"
            }
          ]
        }
      }
    }
  }
}

SchemaPropertyModel

{
  "type": "object",
  "required": [
    "type",
    "name",
    "required",
    "hasDefault",
    "writable"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "The resource type for this property."
    },
    "name": {
      "type": "string",
      "description": "The name of the property."
    },
    "required": {
      "type": "boolean",
      "description": "Indicates, if the property is required for submitting a request of this schema."
    },
    "hasDefault": {
      "type": "boolean",
      "description": "Indicates, if the property has a default."
    },
    "writable": {
      "type": "boolean",
      "description": "Indicates, if the property is writable when sending a request of this schema."
    },
    "options": {
      "type": "object",
      "description": "Additional options for the property."
    },
    "location": {
      "type": "string",
      "description": "Defines the json path where the property is located in the payload.",
      "default": ""
    },
    "placeholder": {
      "type": "string",
      "description": "A placeholder for the property to display if the property has no value."
    },
    "_links": {
      "type": "object",
      "description": "Useful links for this property (e.g. an endpoint to fetch allowed values)"
    }
  }
}

SpecificationModel

{
  "type": "object",
  "required": [
    "openapi",
    "info"
  ],
  "properties": {
    "openapi": {
      "type": "string",
      "description": "The OpenAPI specification version number."
    },
    "info": {
      "type": "object",
      "description": "Provides metadata about the API."
    },
    "servers": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "An object representing a Server."
      },
      "description": "An array of Server Objects."
    },
    "paths": {
      "type": "object",
      "description": "The available paths and operations for the API."
    },
    "components": {
      "type": "object",
      "description": "An element to hold various Objects for the OpenAPI Description."
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "Adds metadata to a single tag."
      },
      "description": "A list of tags used by the OpenAPI Description with additional metadata."
    }
  }
}

SprintCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This sprint collection\n\n**Resource**: Collection"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/SprintModel"
              }
            }
          }
        }
      }
    }
  ]
}

SprintModel

{
  "type": "object",
  "required": [
    "id",
    "_type",
    "name",
    "startDate",
    "finishDate",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Sprint id",
      "minimum": 1
    },
    "_type": {
      "type": "string",
      "enum": [
        "Sprint"
      ]
    },
    "name": {
      "type": "string",
      "description": "Sprint name"
    },
    "description": {
      "$ref": "#/components/schemas/Formattable"
    },
    "startDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "finishDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "startedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "The time when the sprint was started. This is an explicit action performed by users, the date can thus divert\nfrom the (planned) sprint start_date."
    },
    "completedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "The time when the sprint was completed. This is an explicit action performed by users, the date can thus divert\nfrom the (planned) sprint finish_date."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the sprint"
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "definingWorkspace"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This sprint\n\n**Resource**: Sprint"
            }
          ]
        },
        "definingWorkspace": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The workspace to which the sprint belongs.\n\n**Resource**: Workspace"
            }
          ]
        },
        "status": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The current status of the sprint which can be any of:\n\n  - *\"urn:openproject-org:api:v3:sprints:status:in_planning\"*: The sprint hasn't started yet, it is planned.\n  - *\"urn:openproject-org:api:v3:sprints:status:active\"*: The sprint is currently active.\n  - *\"urn:openproject-org:api:v3:sprints:status:completed\"*: The sprint has finished.\n\n**Resource**: N/A"
            }
          ]
        }
      }
    }
  }
}

Star_QueryModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Query",
      "id": 9,
      "name": "fdsfdsfdsf",
      "createdAt": "2015-03-20T12:56:56.085Z",
      "updatedAt": "2015-05-20T18:16:53.619Z",
      "filters": [
        {
          "_type": "StatusQueryFilter",
          "name": "Status",
          "_links": {
            "filter": {
              "href": "/api/v3/queries/filters/status",
              "title": "Status"
            },
            "operator": {
              "href": "/api/v3/queries/operators/o",
              "title": "open"
            },
            "schema": {
              "href": "/api/v3/queries/filter_instance_schemas/status"
            },
            "values": []
          }
        },
        {
          "_type": "DueDateQueryFilter",
          "name": "Finish date",
          "values": [
            "1"
          ],
          "_links": {
            "filter": {
              "href": "/api/v3/queries/filters/dueDate",
              "title": "Finish date"
            },
            "operator": {
              "href": "/api/v3/queries/operators/<t+",
              "title": "in less than"
            },
            "schema": {
              "href": "/api/v3/queries/filter_instance_schemas/dueDate"
            }
          }
        }
      ],
      "public": false,
      "sums": false,
      "starred": true,
      "_embedded": {
        "results": {
          "_type": "WorkPackageCollection",
          "total": 234,
          "count": 30,
          "pageSize": 2,
          "offset": 1,
          "_embedded": {
            "elements": [
              "<--- shortened for brevity --->"
            ]
          },
          "_links": {
            "self": {
              "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D"
            },
            "jumpTo": {
              "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=%7Boffset%7D&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D",
              "templated": true
            },
            "changeSize": {
              "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=%7Bsize%7D&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D",
              "templated": true
            },
            "createWorkPackage": {
              "href": "/api/v3/work_packages/form",
              "method": "post"
            },
            "createWorkPackageImmediate": {
              "href": "/api/v3/work_packages",
              "method": "post"
            }
          }
        }
      },
      "_links": {
        "self": {
          "href": "/api/v3/queries/9",
          "title": "fdsfdsfdsf"
        },
        "results": {
          "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D"
        },
        "columns": [
          {
            "href": "/api/v3/queries/columns/id",
            "title": "ID"
          },
          {
            "href": "/api/v3/queries/columns/subject",
            "title": "Subject"
          },
          {
            "href": "/api/v3/queries/columns/type",
            "title": "Type"
          },
          {
            "href": "/api/v3/queries/columns/status",
            "title": "Status"
          },
          {
            "href": "/api/v3/queries/columns/priority",
            "title": "Priority"
          },
          {
            "href": "/api/v3/queries/columns/assignee",
            "title": "Assignee"
          },
          {
            "href": "/api/v3/queries/columns/updated_at",
            "title": "Updated on"
          }
        ],
        "groupBy": {
          "href": null,
          "title": null
        },
        "sortBy": [
          {
            "href": "/api/v3/queries/sort_bys/parent-desc",
            "title": "Parent (Descending)"
          }
        ],
        "user": {
          "href": "/api/v3/users/1",
          "title": "OpenProject Admin"
        },
        "project": {
          "href": "/api/v3/projects/3",
          "title": "copy"
        }
      }
    }
  ]
}

StatusCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_embedded"
      ],
      "properties": {
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/StatusModel"
              }
            }
          }
        }
      }
    }
  ]
}

StatusModel

{
  "type": "object",
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Status"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Status id",
      "minimum": 1
    },
    "name": {
      "type": "string",
      "description": "Status name"
    },
    "category": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "to_do",
        "in_progress",
        "closed",
        null
      ],
      "description": "The category of the status. Used to group statuses for filtering and reporting.\n- `to_do`: Work has not started yet\n- `in_progress`: Work is currently being done\n- `closed`: Work is finished\n- `null`: No category assigned"
    },
    "isClosed": {
      "type": "boolean",
      "description": "Indicates, whether work package of this status are considered closed"
    },
    "color": {
      "type": [
        "string",
        "null"
      ],
      "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\n`% 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": "#/components/schemas/Link"
            },
            {
              "description": "This status\n\n**Resource**: Status"
            }
          ]
        }
      }
    }
  }
}

StorageCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This storage collection\n\n**Resource**: StorageCollectionReadModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/StorageReadModel"
              }
            }
          }
        }
      }
    }
  ]
}

StorageFileModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/FileLinkOriginDataModel"
    },
    {
      "type": "object",
      "required": [
        "_type",
        "location",
        "permissions",
        "_links"
      ],
      "properties": {
        "_type": {
          "type": "string",
          "enum": [
            "StorageFile"
          ]
        },
        "location": {
          "type": "string",
          "description": "Location identification for file in storage"
        },
        "permissions": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "readable",
              "writable"
            ]
          },
          "description": "List of permissions for the authenticated user."
        },
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This storage file\n\n**Resource**: StorageFile"
                }
              ]
            }
          }
        }
      }
    }
  ]
}

StorageFilesModel

{
  "type": "object",
  "required": [
    "_type",
    "files",
    "parent",
    "ancestors",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "StorageFiles"
      ]
    },
    "files": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/StorageFileModel"
      },
      "description": "List of files provided by the selected storage."
    },
    "parent": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StorageFileModel"
        },
        {
          "description": "File of the currently selected parent directory."
        }
      ]
    },
    "ancestors": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/StorageFileModel"
      },
      "description": "List of ancestors of the parent directory. Can be empty, if parent directory was root directory."
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Not provided\n\n**Resource**: urn:openproject-org:api:v3:storages:storage_file:no_link_provided"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "StorageFiles",
      "files": [
        {
          "id": "42",
          "name": "readme.md",
          "_type": "StorageFile",
          "location": "/readme.md",
          "mimeType": "text/markdown",
          "size": 4096,
          "createdAt": "2021-12-19T09:42:10.170Z",
          "lastModifiedAt": "2021-12-20T14:00:13.987Z",
          "createdByName": "Luke Skywalker",
          "lastModifiedByName": "Anakin Skywalker",
          "permissions": [
            "readable",
            "writable"
          ],
          "_links": {
            "self": {
              "href": "urn:openproject-org:api:v3:storages:storage_file:no_link_provided"
            }
          }
        },
        {
          "id": "43",
          "name": "readme.pdf",
          "_type": "StorageFile",
          "location": "/readme.pdf",
          "mimeType": "application/pdf",
          "size": 2048,
          "createdAt": "2021-12-19T09:42:10.170Z",
          "lastModifiedAt": "2021-12-20T14:00:13.987Z",
          "createdByName": "Luke Skywalker",
          "lastModifiedByName": "Anakin Skywalker",
          "permissions": [
            "readable",
            "writable"
          ],
          "_links": {
            "self": {
              "href": "urn:openproject-org:api:v3:storages:storage_file:no_link_provided"
            }
          }
        }
      ],
      "parent": {
        "id": "41",
        "name": "/",
        "_type": "StorageFile",
        "location": "/",
        "mimeType": "application/x-op-directory",
        "size": 6144,
        "createdAt": "2021-12-20T09:42:10.170Z",
        "lastModifiedAt": "2021-12-21T14:00:13.987Z",
        "createdByName": "Luke Skywalker",
        "lastModifiedByName": "Anakin Skywalker",
        "permissions": [
          "readable"
        ],
        "_links": {
          "self": {
            "href": "urn:openproject-org:api:v3:storages:storage_file:no_link_provided"
          }
        }
      },
      "ancestors": [],
      "_links": {
        "self": {
          "href": "urn:openproject-org:api:v3:storages:storage_file:no_link_provided"
        }
      }
    }
  ]
}

StorageFileUploadLinkModel

{
  "type": "object",
  "required": [
    "_type",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "UploadLink"
      ]
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "destination"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The resource link of the upload link resource.\n\nAs the upload link is a temporal object, and cannot be retrieved again, the\nself link usually is `urn:openproject-org:api:v3:storages:upload_link:no_link_provided`.\n\n**Resource**: UploadLink"
            }
          ]
        },
        "destination": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The direct upload link.\n\n**Resource**: N/A"
            }
          ]
        }
      }
    }
  }
}

StorageFileUploadPreparationModel

{
  "type": "object",
  "required": [
    "projectId",
    "fileName",
    "parent"
  ],
  "properties": {
    "projectId": {
      "type": "integer",
      "description": "The project identifier, from where a user starts uploading a file.",
      "minimum": 1
    },
    "fileName": {
      "type": "string",
      "description": "The file name."
    },
    "parent": {
      "type": "string",
      "description": "The directory to which the file is to be uploaded. For root directories, the value `/` must\nbe provided."
    }
  }
}

StorageFolderWriteModel

{
  "type": "object",
  "required": [
    "name",
    "parentId"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the folder to be created"
    },
    "parentId": {
      "type": "string",
      "description": "Unique identifier of the parent folder in which the new folder should be created in"
    }
  }
}

StorageReadModel

{
  "type": "object",
  "required": [
    "id",
    "_type",
    "name",
    "_links"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Storage id"
    },
    "_type": {
      "type": "string",
      "enum": [
        "Storage"
      ]
    },
    "name": {
      "type": "string",
      "description": "Storage name"
    },
    "storageAudience": {
      "type": "string",
      "description": "The audience that the storage expects in tokens for requests to it,\nusually the storage's client ID at the identity provider.\n\nThis is only required for authentication through single-sign-on and so far\nonly supported for provider type Nextcloud."
    },
    "tokenExchangeScope": {
      "type": "string",
      "description": "The scope that will be requested when requesting a token for the storage through token exchange. Has no effect if no\ntoken exchange is performed.\n\nThis is only required for authentication through single-sign-on and so far only supported for provider type Nextcloud."
    },
    "tenantId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The tenant id of a file storage of type OneDrive.\n\nIgnored if the provider type is not OneDrive. May be null if the storage is not configured completely."
    },
    "driveId": {
      "type": [
        "string",
        "null"
      ],
      "description": "The drive id of a file storage of type OneDrive.\n\nIgnored if the provider type is not OneDrive. May be null if the storage is not configured completely."
    },
    "hasApplicationPassword": {
      "type": "boolean",
      "description": "Whether the storage has the application password to use for the Nextcloud storage.\n\nIgnored if the provider type is not Nextcloud."
    },
    "forbiddenFileNameCharacters": {
      "type": "string",
      "description": "A string with all the characters forbidden to be used for file and folder names in the storage. Used by OpenProject to avoid\ncreating files with unsupported names (e.g. when creating project folders).\n\nOnly supported for provider type Nextcloud so far."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the storage"
    },
    "configured": {
      "type": "boolean",
      "description": "Indication, if the storage is fully configured"
    },
    "_embedded": {
      "type": "object",
      "properties": {
        "oauthApplication": {
          "$ref": "#/components/schemas/OAuthApplicationReadModel"
        },
        "oauthClientCredentials": {
          "$ref": "#/components/schemas/OAuthClientCredentialsReadModel"
        }
      }
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "type",
        "open",
        "authorizationState"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This storage resource. Contains the user defined storage name as title.\n\n**Resource**: Storage"
            }
          ]
        },
        "type": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The urn of the storage type. Currently Nextcloud and OneDrive storages are supported.\n\n- urn:openproject-org:api:v3:storages:Nextcloud\n- urn:openproject-org:api:v3:storages:OneDrive\n\n**Resource**: N/A"
            }
          ]
        },
        "authenticationMethod": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The urn of the authentication method. Currently only Nextcloud storages support this setting.\n\n- urn:openproject-org:api:v3:storages:authenticationMethod:TwoWayOAuth2 (default)\n- urn:openproject-org:api:v3:storages:authenticationMethod:OAuth2SSO\n\n**Resource**: N/A"
            }
          ]
        },
        "origin": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Web URI of the storage instance. This link is ignored, if the storage is hosted in a cloud and has no own\nURL, like file storages of type OneDrive.\n\n**Resource**: N/A"
            }
          ]
        },
        "open": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "URI of the file storage location, from where the user usually starts browsing files.\n\n**Resource**: N/A"
            }
          ]
        },
        "authorizationState": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The urn of the storage connection state. Can be one of:\n\n- urn:openproject-org:api:v3:storages:authorization:Connected\n- urn:openproject-org:api:v3:storages:authorization:FailedAuthorization\n- urn:openproject-org:api:v3:storages:authorization:Error\n\n**Resource**: N/A"
            }
          ]
        },
        "authorize": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The link to the starting point of the authorization cycle for a configured storage provider.\n\n# Conditions\n\n`authorizationState` is:\n\n- urn:openproject-org:api:v3:storages:authorization:FailedAuthorization\n\n**Resource**: N/A"
            }
          ]
        },
        "oauthApplication": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The OAuth 2 provider application linked to the storage.\n\n# Conditions\n\n- User has role `admin`\n\n**Resource**: OAuthApplication"
            }
          ]
        },
        "oauthClientCredentials": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The OAuth 2 credentials resource linked to the storage.\n\n# Conditions\n\n- User has role `admin`\n\n**Resource**: OAuthClientCredentials"
            }
          ]
        }
      }
    }
  }
}

StorageWriteModel

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Storage name, if not provided, falls back to a default."
    },
    "storageAudience": {
      "type": "string",
      "description": "The audience that the storage expects in tokens for requests to it,\nusually the storage's client ID at the identity provider.\n\nThis is only required for authentication through single-sign-on and so far\nonly supported for provider type Nextcloud."
    },
    "tokenExchangeScope": {
      "type": "string",
      "description": "The scope that will be requested when requesting a token for the storage through token exchange. Has no effect if no\ntoken exchange is performed.\n\nThis is only required for authentication through single-sign-on and so far only supported for provider type Nextcloud."
    },
    "applicationPassword": {
      "type": [
        "string",
        "null"
      ],
      "description": "The application password to use for the Nextcloud storage. Ignored if the provider type is not Nextcloud.\n\nIf a string is provided, the password is set and automatic management is enabled for the storage.\nIf null is provided, the password is unset and automatic management is disabled for the storage."
    },
    "forbiddenFileNameCharacters": {
      "type": "string",
      "description": "A string with all the characters forbidden to be used for file and folder names in the storage. Used by OpenProject to avoid\ncreating files with unsupported names (e.g. when creating project folders).\n\nOnly supported for provider type Nextcloud so far."
    },
    "_links": {
      "type": "object",
      "required": [
        "origin",
        "type"
      ],
      "properties": {
        "origin": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The storage's host URL.\n\n**Resource**: N/A"
            }
          ]
        },
        "type": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The urn of the storage type. Currently Nextcloud and OneDrive storages are supported.\n\n- urn:openproject-org:api:v3:storages:Nextcloud\n- urn:openproject-org:api:v3:storages:OneDrive\n\n**Resource**: N/A"
            }
          ]
        },
        "authenticationMethod": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The urn of the authentication method. Currently only Nextcloud storages support this setting.\n\n- urn:openproject-org:api:v3:storages:authenticationMethod:TwoWayOAuth2 (default)\n- urn:openproject-org:api:v3:storages:authenticationMethod:OAuth2SSO\n\n**Resource**: N/A"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "name": "Coruscant",
      "applicationPassword": "qJ_VLNReW@sd-Edz2hyC",
      "_links": {
        "origin": {
          "href": "https://nextcloud.deathstar.rocks"
        },
        "type": {
          "href": "urn:openproject-org:api:v3:storages:Nextcloud"
        }
      }
    }
  ]
}

TimeEntryActivityModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "name",
    "position",
    "default",
    "_embedded",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "TimeEntriesActivity"
      ]
    },
    "id": {
      "type": "integer",
      "description": "Time entry id",
      "minimum": 1
    },
    "name": {
      "type": "string",
      "description": "The human readable name chosen for this activity"
    },
    "position": {
      "type": "integer",
      "description": "The rank the activity has in a list of activities"
    },
    "default": {
      "type": "boolean",
      "description": "Flag to signal whether this activity is the default activity"
    },
    "_embedded": {
      "type": "object",
      "required": [
        "projects"
      ],
      "properties": {
        "projects": {
          "type": "array",
          "items": {
            "oneOf": [
              {
                "$ref": "#/components/schemas/ProjectModel"
              },
              {
                "$ref": "#/components/schemas/ProgramModel"
              },
              {
                "$ref": "#/components/schemas/PortfolioModel"
              }
            ]
          }
        }
      }
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "projects"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This time entry activity\n\n**Resource**: TimeEntriesActivity"
            }
          ]
        },
        "projects": {
          "type": "array",
          "items": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Link"
              },
              {
                "description": "One of the projects the time entry is active in.\n\n**Resource**: Project"
              }
            ]
          }
        }
      }
    }
  },
  "examples": [
    {
      "_type": "TimeEntriesActivity",
      "id": 18,
      "name": "Management",
      "position": 8,
      "default": false,
      "_embedded": {
        "projects": []
      },
      "_links": {
        "self": {
          "href": "/api/v3/time_entries/activities/18",
          "title": "Management"
        },
        "projects": [
          {
            "href": "/api/v3/projects/death_star_v2",
            "title": "DeathStarV2"
          },
          {
            "href": "/api/v3/projects/star_killer_base",
            "title": "StarKillerBase"
          }
        ]
      }
    }
  ]
}

TimeEntryCollectionModel

{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This time entry collection\n\n**Resource**: TimeEntryCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/TimeEntryModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 39,
      "count": 2,
      "pageSize": 2,
      "offset": 1,
      "_embedded": {
        "elements": [
          {
            "_type": "TimeEntry",
            "id": 5,
            "comment": {
              "format": "plain",
              "raw": "Some comment",
              "html": "<p>Some comment</p>"
            },
            "spentOn": "2015-03-20",
            "hours": "PT5H",
            "startTime": "2015-03-20T10:00:00.000Z",
            "endTime": "2015-03-20T15:00:00.000Z",
            "createdAt": "2015-03-20T12:56:56.803Z",
            "updatedAt": "2015-03-20T12:56:56.803Z",
            "_links": {
              "self": {
                "href": "/api/v3/time_entries/1"
              },
              "updateImmediately": {
                "href": "/api/v3/time_entries/1",
                "method": "patch"
              },
              "delete": {
                "href": "/api/v3/time_entries/1",
                "method": "delete"
              },
              "project": {
                "href": "/api/v3/projects/1",
                "title": "Some project"
              },
              "entity": {
                "href": "/api/v3/work_packages/1",
                "title": "Some work package"
              },
              "user": {
                "href": "/api/v3/users/2",
                "title": "Some user"
              },
              "activity": {
                "href": "/api/v3/time_entries/activities/18",
                "title": "Some time entry activity"
              }
            }
          },
          {
            "_type": "TimeEntry",
            "id": 10,
            "comment": {
              "format": "plain",
              "raw": "Another comment",
              "html": "<p>Another comment</p>"
            },
            "spentOn": "2015-03-21",
            "hours": "PT7H",
            "startTime": "2015-03-20T15:00:00.000Z",
            "endTime": "2015-03-20T22:00:00.000Z",
            "createdAt": "2015-03-20T12:56:56.569Z",
            "updatedAt": "2015-03-20T12:56:56.371Z",
            "_links": {
              "self": {
                "href": "/api/v3/time_entries/2"
              },
              "project": {
                "href": "/api/v3/projects/42",
                "title": "Some other project"
              },
              "entity": {
                "href": "/api/v3/work_packages/541",
                "title": "Some other work package"
              },
              "user": {
                "href": "/api/v3/users/6",
                "title": "Some other project"
              },
              "activity": {
                "href": "/api/v3/time_entries/activities/14",
                "title": "some other time entry activity"
              }
            }
          }
        ]
      },
      "_links": {
        "self": {
          "href": "/api/v3/time_entries?offset=1&pageSize=2"
        },
        "jumpTo": {
          "href": "/api/v3/time_entries?offset=%7Boffset%7D&pageSize=2",
          "templated": true
        },
        "changeSize": {
          "href": "/api/v3/time_entries?offset=1&pageSize=%7Bsize%7D",
          "templated": true
        },
        "nextByOffset": {
          "href": "/api/v3/time_entries?offset=2&pageSize=2"
        },
        "createTimeEntry": {
          "href": "/api/v3/time_entries/form",
          "method": "post"
        },
        "createTimeEntryImmediately": {
          "href": "/api/v3/time_entries",
          "method": "post"
        }
      }
    }
  ]
}

TimeEntryModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CustomFieldProperties"
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "The id of the time entry",
          "minimum": 1
        },
        "comment": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Formattable"
            },
            {
              "description": "A comment to the time entry"
            }
          ]
        },
        "spentOn": {
          "type": "string",
          "format": "date",
          "description": "The date the expenditure is booked for"
        },
        "hours": {
          "type": "string",
          "format": "duration",
          "description": "The time quantifying the expenditure"
        },
        "ongoing": {
          "type": "boolean",
          "description": "Whether the time entry is actively tracking time"
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time the time entry was created"
        },
        "startTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "The time the time entry was started, or null if the time entry does not have a start time.\n\nThe time is returned as UTC time, if presented to the user it should be converted to the user's timezone.\n\nThis field is only available if the global `allow_tracking_start_and_end_times` setting is enabled."
        },
        "endTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "The time the time entry was ended, or null if the time entry does not have a start time.\n\nThe time is returned as UTC time, if presented to the user it should be converted to the user's timezone.\n\nThis field is only available if the global `allow_tracking_start_and_end_times` setting is enabled."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "The time the time entry was last updated"
        },
        "_links": {
          "type": "object",
          "required": [
            "self",
            "project",
            "user",
            "activity",
            "entity"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This time entry\n\n**Resource**: TimeEntry"
                }
              ]
            },
            "updateImmediately": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Directly perform edits on this time entry\n\n# Conditions\n\n**Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user"
                }
              ]
            },
            "update": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Form endpoint that aids in preparing and performing edits on a TimeEntry\n\n# Conditions\n\n**Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user"
                }
              ]
            },
            "delete": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Delete this time entry\n\n# Conditions\n\n**Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user"
                }
              ]
            },
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The time entry schema\n\n**Resource**: Schema"
                }
              ]
            },
            "project": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The project the time entry is bundled in. The project might be different from the work package's project once the workPackage is moved.\n\n**Resource**: Project"
                }
              ]
            },
            "workPackage": {
              "deprecated": true,
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The work package the time entry is created on\n\n**Resource**: WorkPackage\n\n# Conditions\n\nOnly rendered if the entity the time entry is created on is a work package.\n\n**Deprecated**: this field is being replaced by `entity`, which also supports meetings.\nRead and write `entity` instead."
                }
              ]
            },
            "entity": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The entity the time entry is created on\n\n**Resource**: WorkPackage"
                }
              ]
            },
            "user": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The user the time entry tracks expenditures for\n\n**Resource**: User"
                }
              ]
            },
            "activity": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The time entry activity the time entry is categorized as\n\n**Resource**: TimeEntriesActivity"
                }
              ]
            }
          }
        }
      },
      "examples": [
        {
          "_type": "TimeEntry",
          "id": 42,
          "comment": {
            "format": "plain",
            "raw": "The force shall set me free.",
            "html": "<p>The force shall set me free.</p>"
          },
          "spentOn": "2023-01-11",
          "hours": "PT4H",
          "startTime": "2023-01-11T09:58:00.000Z",
          "endTime": "2023-01-11T13:58:00.000Z",
          "createdAt": "2023-01-11T13:58:24.927Z",
          "updatedAt": "2023-01-11T13:58:24.927Z",
          "_links": {
            "self": {
              "href": "/api/v3/time_entries/42"
            },
            "updateImmediately": {
              "href": "/api/v3/time_entries/42",
              "method": "patch"
            },
            "update": {
              "href": "/api/v3/time_entries/42/form",
              "method": "post"
            },
            "delete": {
              "href": "/api/v3/time_entries/42",
              "method": "delete"
            },
            "schema": {
              "href": "/api/v3/time_entries/schema"
            },
            "project": {
              "href": "/api/v3/projects/11",
              "title": "DeathStarV2"
            },
            "workPackage": {
              "href": "/api/v3/work_packages/77",
              "title": "Build new hangar"
            },
            "entity": {
              "href": "/api/v3/work_packages/77",
              "title": "Build new hangar"
            },
            "user": {
              "href": "/api/v3/users/3",
              "title": "Darth Vader"
            },
            "activity": {
              "href": "/api/v3/time_entries/activities/1",
              "title": "Management"
            }
          }
        }
      ]
    }
  ]
}

TypeModel

{
  "type": "object",
  "required": [
    "id",
    "name",
    "color",
    "position",
    "isDefault",
    "isMilestone",
    "createdAt",
    "updatedAt"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Type id",
      "readOnly": true,
      "exclusiveMinimum": 0
    },
    "name": {
      "type": "string",
      "description": "Type name",
      "readOnly": true
    },
    "color": {
      "type": [
        "string",
        "null"
      ],
      "description": "The color used to represent this type",
      "readOnly": true
    },
    "position": {
      "type": "integer",
      "description": "Sort index of the type",
      "readOnly": true
    },
    "isDefault": {
      "type": "boolean",
      "description": "Is this type active by default in new projects?",
      "readOnly": true
    },
    "isMilestone": {
      "type": "boolean",
      "description": "Do work packages of this type represent a milestone?",
      "readOnly": true
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of creation",
      "readOnly": true
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Time of the most recent change to the user"
    },
    "_links": {
      "type": "object",
      "required": [
        "self"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This type\n\n**Resource**: Type",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/types/1"
        }
      },
      "_type": "Type",
      "id": 1,
      "name": "Bug",
      "color": "#ff0000",
      "position": 1,
      "isDefault": true,
      "isMilestone": false,
      "createdAt": "2014-05-21T08:51:20.624Z",
      "updatedAt": "2014-05-21T08:51:20.624Z"
    }
  ]
}

Types_by_WorkspaceModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The types collection\n\n**Resource**: TypesCollection",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "properties": {
            "elements": {
              "type": "array",
              "readOnly": true,
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/TypeModel"
                  },
                  {
                    "description": "Collection of Types"
                  }
                ]
              }
            }
          }
        }
      }
    }
  ]
}

TypesModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/types"
        }
      },
      "total": 2,
      "count": 2,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_links": {
              "self": {
                "href": "/api/v3/types/1"
              }
            },
            "_type": "Type",
            "id": 1,
            "name": "Bug",
            "color": "#ff0000",
            "position": 1,
            "isDefault": true,
            "isMilestone": false,
            "createdAt": "2014-05-21T08:51:20.429Z",
            "updatedAt": "2014-05-21T08:51:20.429Z"
          },
          {
            "_links": {
              "self": {
                "href": "/api/v3/types/2"
              }
            },
            "_type": "Type",
            "id": 2,
            "name": "Feature",
            "color": "#888",
            "position": 2,
            "isDefault": false,
            "isMilestone": false,
            "createdAt": "2014-05-21T08:51:20.429Z",
            "updatedAt": "2014-05-21T08:51:20.429Z"
          }
        ]
      }
    }
  ]
}

Unstar_QueryModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Query",
      "id": 9,
      "name": "fdsfdsfdsf",
      "createdAt": "2015-03-20T12:56:56.257Z",
      "updatedAt": "2015-05-20T18:16:53.953Z",
      "filters": [
        {
          "_type": "StatusQueryFilter",
          "name": "Status",
          "_links": {
            "filter": {
              "href": "/api/v3/queries/filters/status",
              "title": "Status"
            },
            "operator": {
              "href": "/api/v3/queries/operators/o",
              "title": "open"
            },
            "schema": {
              "href": "/api/v3/queries/filter_instance_schemas/status"
            },
            "values": []
          }
        },
        {
          "_type": "DueDateQueryFilter",
          "name": "Finish date",
          "values": [
            "1"
          ],
          "_links": {
            "filter": {
              "href": "/api/v3/queries/filters/dueDate",
              "title": "Finish date"
            },
            "operator": {
              "href": "/api/v3/queries/operators/<t+",
              "title": "in less than"
            },
            "schema": {
              "href": "/api/v3/queries/filter_instance_schemas/dueDate"
            }
          }
        }
      ],
      "public": false,
      "sums": false,
      "starred": false,
      "_embedded": {
        "results": {
          "_type": "WorkPackageCollection",
          "total": 234,
          "count": 30,
          "pageSize": 2,
          "offset": 1,
          "_embedded": {
            "elements": [
              "<--- shortened for brevity --->"
            ]
          },
          "_links": {
            "self": {
              "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D"
            },
            "jumpTo": {
              "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=%7Boffset%7D&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D",
              "templated": true
            },
            "changeSize": {
              "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=%7Bsize%7D&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D",
              "templated": true
            },
            "createWorkPackage": {
              "href": "/api/v3/work_packages/form",
              "method": "post"
            },
            "createWorkPackageImmediate": {
              "href": "/api/v3/work_packages",
              "method": "post"
            }
          }
        }
      },
      "_links": {
        "self": {
          "href": "/api/v3/queries/9",
          "title": "fdsfdsfdsf"
        },
        "results": {
          "href": "/api/v3/projects/3/work_packages?filters=%5B%7B%22status%22%3A%7B%22operator%22%3A%22o%22%2C%22values%22%3A%5B%5D%7D%7D%2C%7B%22dueDate%22%3A%7B%22operator%22%3A%22%3Ct%2B%22%2C%22values%22%3A%5B%221%22%5D%7D%7D%5D&offset=1&pageSize=2&sortBy=%5B%5B%22parent%22%2C%22desc%22%5D%5D"
        },
        "columns": [
          {
            "href": "/api/v3/queries/columns/id",
            "title": "ID"
          },
          {
            "href": "/api/v3/queries/columns/subject",
            "title": "Subject"
          },
          {
            "href": "/api/v3/queries/columns/type",
            "title": "Type"
          },
          {
            "href": "/api/v3/queries/columns/status",
            "title": "Status"
          },
          {
            "href": "/api/v3/queries/columns/priority",
            "title": "Priority"
          },
          {
            "href": "/api/v3/queries/columns/assignee",
            "title": "Assignee"
          },
          {
            "href": "/api/v3/queries/columns/updated_at",
            "title": "Updated on"
          }
        ],
        "groupBy": {
          "href": null,
          "title": null
        },
        "sortBy": [
          {
            "href": "/api/v3/queries/sort_bys/parent-desc",
            "title": "Parent (Descending)"
          }
        ],
        "user": {
          "href": "/api/v3/users/1",
          "title": "OpenProject Admin"
        },
        "project": {
          "href": "/api/v3/projects/3",
          "title": "copy"
        }
      }
    }
  ]
}

UserCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This user collection\n\n**Resource**: Collection"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/UserModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_links": {
        "self": {
          "href": "/api/v3/users"
        }
      },
      "_embedded": {
        "elements": [
          {
            "_abbreviated": "User resource shortened for brevity",
            "_type": "User",
            "id": 1337
          },
          {
            "_abbreviated": "User resource shortened for brevity",
            "_type": "User",
            "id": 1338
          }
        ]
      }
    }
  ]
}

UserCreateModel

{
  "type": "object",
  "required": [
    "admin",
    "email",
    "login",
    "firstName",
    "lastName",
    "language"
  ],
  "properties": {
    "admin": {
      "type": "boolean"
    },
    "email": {
      "type": "string",
      "maxLength": 60
    },
    "login": {
      "type": "string",
      "maxLength": 256
    },
    "password": {
      "type": "string",
      "description": "The user's password.\n\n*Conditions:*\n\nWritable on create.\n\nWritable on update only when:\n- the caller updates their own account\n- `currentPassword` is provided and valid"
    },
    "currentPassword": {
      "type": "string",
      "description": "The user's current password.\n\n*Conditions:*\n\nRequired when changing `password` for a self update (`PATCH /api/v3/users/me` or `PATCH /api/v3/users/{id}` where `id` is the caller).\nAlso required when a user changes their own `email` and password confirmation is enabled (the default).\n\nIgnored for non-self updates (for example, administrators updating other users)."
    },
    "firstName": {
      "type": "string",
      "maxLength": 30
    },
    "lastName": {
      "type": "string",
      "maxLength": 30
    },
    "status": {
      "type": "string",
      "description": "The current activation status of the user.\n\n*Conditions:*\n\nOnly writable on creation, not on update."
    },
    "language": {
      "type": "string"
    }
  },
  "examples": [
    {
      "login": "j.sheppard",
      "password": "idestroyedsouvereign",
      "currentPassword": "iusedtobuildstarships",
      "firstName": "John",
      "lastName": "Sheppard",
      "email": "shep@mail.com",
      "admin": true,
      "status": "active",
      "language": "en"
    }
  ]
}

UserModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/PrincipalModel"
    },
    {
      "$ref": "#/components/schemas/CustomFieldProperties"
    },
    {
      "type": "object",
      "required": [
        "_type",
        "avatar"
      ],
      "properties": {
        "_type": {
          "type": "string",
          "enum": [
            "User"
          ]
        },
        "avatar": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "description": "URL to user's avatar"
        },
        "login": {
          "type": "string",
          "description": "The user's login name\n\n# Conditions\n\n- User is self, or `create_user` or `manage_user` permission globally",
          "maxLength": 256
        },
        "firstName": {
          "type": "string",
          "description": "The user's first name\n\n# Conditions\n\n- User is self, or `create_user` or `manage_user` permission globally",
          "maxLength": 30
        },
        "lastName": {
          "type": "string",
          "description": "The user's last name\n\n# Conditions\n\n- User is self, or `create_user` or `manage_user` permission globally",
          "maxLength": 30
        },
        "email": {
          "type": "string",
          "description": "The user's email address\n\n# Conditions\n\n- E-Mail address not hidden\n- User is not a new record\n- User is self, or `create_user` or `manage_user` permission globally",
          "maxLength": 60
        },
        "admin": {
          "type": "boolean",
          "description": "Flag indicating whether or not the user is an admin\n\n# Conditions\n\n- `admin`"
        },
        "status": {
          "type": "string",
          "description": "The current activation status of the user.\n\n# Conditions\n\n- User is self, or `create_user` or `manage_user` permission globally"
        },
        "language": {
          "type": "string",
          "description": "User's language | ISO 639-1 format\n\n# Conditions\n\n- User is self, or `create_user` or `manage_user` permission globally"
        },
        "identityUrl": {
          "type": [
            "string",
            "null"
          ],
          "description": "User's identity_url for OmniAuth authentication.\n**Deprecated:** It will be removed in the near future.\n\n# Conditions\n\n- User is self, or `create_user` or `manage_user` permission globally",
          "deprecated": true
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of creation"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of the most recent change to the user"
        },
        "_links": {
          "type": "object",
          "properties": {
            "showUser": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "A relative path to show the user in the web application.\n\n# Condition\n\n- User is not a new record\n- User is not `locked`"
                }
              ]
            },
            "updateImmediately": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "A link to update the user resource.\n\n# Conditions\n\n- `admin`"
                }
              ]
            },
            "lock": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Restrict the user from logging in and performing any actions.\n\n# Conditions\n\n- User is not locked\n- `admin`"
                }
              ]
            },
            "unlock": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Allow a locked user to login and act again.\n\n# Conditions\n\n- User is not locked\n- `admin`"
                }
              ]
            },
            "delete": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Permanently remove a user from the instance\n\n# Conditions\n\neither:\n  - `admin`\n  - Setting `users_deletable_by_admin` is set\nor:\n  - User is self\n  - Setting `users_deletable_by_self` is set"
                }
              ]
            },
            "authSource": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Permanently remove a user from the instance\n\n# Conditions\n\n- LDAP authentication configured\n- `admin`"
                }
              ]
            }
          }
        }
      }
    }
  ]
}

UserNonWorkingTimeCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This collection of non-working times records.\n**Resource**: UserNonWorkingTimeCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "description": "The array of personal non-working times for the user, ordered by start date ascending.",
              "items": {
                "$ref": "#/components/schemas/UserNonWorkingTimeModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_links": {
        "self": {
          "href": "/api/v3/users/42/non_working_times"
        }
      },
      "_embedded": {
        "elements": [
          {
            "_type": "UserNonWorkingTime",
            "id": 7,
            "startDate": "2025-06-16",
            "endDate": "2025-06-20",
            "_links": {
              "self": {
                "href": "/api/v3/users/42/non_working_times/7"
              },
              "user": {
                "href": "/api/v3/users/42",
                "title": "Jane Doe"
              }
            }
          },
          {
            "_type": "UserNonWorkingTime",
            "id": 8,
            "startDate": "2025-12-24",
            "endDate": "2025-12-24",
            "_links": {
              "self": {
                "href": "/api/v3/users/42/non_working_times/8"
              },
              "user": {
                "href": "/api/v3/users/42",
                "title": "Jane Doe"
              }
            }
          }
        ]
      }
    }
  ]
}

UserNonWorkingTimeModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "startDate",
    "endDate"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "UserNonWorkingTime"
      ]
    },
    "id": {
      "type": "integer",
      "description": "The unique identifier of the non-working time record.",
      "minimum": 1
    },
    "startDate": {
      "type": "string",
      "format": "date",
      "description": "The first date of the non-working time range in ISO 8601 format (YYYY-MM-DD)."
    },
    "endDate": {
      "type": "string",
      "format": "date",
      "description": "The last date of the non-working time range in ISO 8601 format (YYYY-MM-DD).\nMust be greater than or equal to `startDate`."
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "user"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This non-working time record.\n**Resource**: UserNonWorkingTime"
            }
          ]
        },
        "user": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user this non-working time belongs to.\n**Resource**: User"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "UserNonWorkingTime",
      "id": 7,
      "startDate": "2025-06-16",
      "endDate": "2025-06-20",
      "_links": {
        "self": {
          "href": "/api/v3/users/42/non_working_times/7"
        },
        "user": {
          "href": "/api/v3/users/42",
          "title": "Jane Doe"
        }
      }
    }
  ]
}

UserPreferencesModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/my_preferences"
        },
        "user": {
          "href": "/api/v3/users/1",
          "title": "John Sheppard"
        },
        "updateImmediately": {
          "href": "/api/v3/users/3/preferences",
          "method": "patch"
        }
      },
      "_type": "UserPreferences",
      "commentSortDescending": true,
      "disableKeyboardShortcuts": false,
      "timeZone": "Europe/Berlin",
      "dateFormat": "%Y-%m-%d",
      "timeFormat": "%H:%M",
      "warnOnLeavingUnsaved": true,
      "notifications": [
        {
          "watched": false,
          "involved": true,
          "mentioned": false,
          "shared": true,
          "newsAdded": "false,",
          "newsCommented": false,
          "documentAdded": false,
          "forumMessages": false,
          "wikiPageAdded": false,
          "wikiPageUpdated": false,
          "membershipAdded": false,
          "membershipUpdated": false,
          "workPackageCommented": false,
          "workPackageProcessed": false,
          "workPackagePrioritized": false,
          "workPackageScheduled": false,
          "_links": {
            "project": {
              "href": null
            }
          }
        }
      ]
    }
  ]
}

UserWorkingHoursCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This collection of working hours records.\n**Resource**: UserWorkingHoursCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "description": "The array of working hours records for the user, ordered by `validFrom` descending.",
              "items": {
                "$ref": "#/components/schemas/UserWorkingHoursModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 2,
      "count": 2,
      "_links": {
        "self": {
          "href": "/api/v3/users/42/working_hours"
        }
      },
      "_embedded": {
        "elements": [
          {
            "_type": "UserWorkingHours",
            "id": 2,
            "validFrom": "2025-01-01",
            "mondayHours": 6.0,
            "tuesdayHours": 6.0,
            "wednesdayHours": 6.0,
            "thursdayHours": 6.0,
            "fridayHours": 6.0,
            "saturdayHours": 0.0,
            "sundayHours": 0.0,
            "availabilityFactor": 80,
            "_links": {
              "self": {
                "href": "/api/v3/users/42/working_hours/2"
              },
              "user": {
                "href": "/api/v3/users/42",
                "title": "Jane Doe"
              }
            }
          },
          {
            "_type": "UserWorkingHours",
            "id": 1,
            "validFrom": "2024-01-01",
            "mondayHours": 8.0,
            "tuesdayHours": 8.0,
            "wednesdayHours": 8.0,
            "thursdayHours": 8.0,
            "fridayHours": 8.0,
            "saturdayHours": 0.0,
            "sundayHours": 0.0,
            "availabilityFactor": 100,
            "_links": {
              "self": {
                "href": "/api/v3/users/42/working_hours/1"
              },
              "user": {
                "href": "/api/v3/users/42",
                "title": "Jane Doe"
              }
            }
          }
        ]
      }
    }
  ]
}

UserWorkingHoursModel

{
  "type": "object",
  "required": [
    "_type",
    "id",
    "validFrom",
    "mondayHours",
    "tuesdayHours",
    "wednesdayHours",
    "thursdayHours",
    "fridayHours",
    "saturdayHours",
    "sundayHours",
    "availabilityFactor"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "UserWorkingHours"
      ]
    },
    "id": {
      "type": "integer",
      "description": "The unique identifier of the working hours record.",
      "minimum": 1
    },
    "validFrom": {
      "type": "string",
      "format": "date",
      "description": "The date from which this working hours configuration is in effect (ISO 8601 format).\nMultiple records may exist for a user; the one with the latest `validFrom` that is\nnot in the future is the currently active record."
    },
    "mondayHours": {
      "type": "number",
      "format": "float",
      "description": "Hours worked on Monday.",
      "minimum": 0
    },
    "tuesdayHours": {
      "type": "number",
      "format": "float",
      "description": "Hours worked on Tuesday.",
      "minimum": 0
    },
    "wednesdayHours": {
      "type": "number",
      "format": "float",
      "description": "Hours worked on Wednesday.",
      "minimum": 0
    },
    "thursdayHours": {
      "type": "number",
      "format": "float",
      "description": "Hours worked on Thursday.",
      "minimum": 0
    },
    "fridayHours": {
      "type": "number",
      "format": "float",
      "description": "Hours worked on Friday.",
      "minimum": 0
    },
    "saturdayHours": {
      "type": "number",
      "format": "float",
      "description": "Hours worked on Saturday.",
      "minimum": 0
    },
    "sundayHours": {
      "type": "number",
      "format": "float",
      "description": "Hours worked on Sunday.",
      "minimum": 0
    },
    "availabilityFactor": {
      "type": "integer",
      "description": "The percentage of working hours the user is available. Must be between 0 and 100.",
      "minimum": 0,
      "maximum": 100
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "user"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This working hours record.\n**Resource**: UserWorkingHours"
            }
          ]
        },
        "user": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The user this working hours record belongs to.\n**Resource**: User"
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "UserWorkingHours",
      "id": 1,
      "validFrom": "2024-01-01",
      "mondayHours": 8.0,
      "tuesdayHours": 8.0,
      "wednesdayHours": 8.0,
      "thursdayHours": 8.0,
      "fridayHours": 8.0,
      "saturdayHours": 0.0,
      "sundayHours": 0.0,
      "availabilityFactor": 100,
      "_links": {
        "self": {
          "href": "/api/v3/users/42/working_hours/1"
        },
        "user": {
          "href": "/api/v3/users/42",
          "title": "Jane Doe"
        }
      }
    }
  ]
}

ValuesPropertyModel

{
  "type": "object",
  "required": [
    "_type",
    "property",
    "value",
    "_links"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Values::Property"
      ]
    },
    "property": {
      "type": "string",
      "description": "The key of the key - value pair represented by the Values::Property"
    },
    "value": {
      "type": "string",
      "description": "The value of the key - value pair represented by the Values::Property"
    },
    "_links": {
      "type": "object",
      "required": [
        "self",
        "schema"
      ],
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This key - value pair.\n\n**Resource**: Storage"
            }
          ]
        },
        "schema": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The schema describing the key - value pair.\n\n**Resource**: Schema"
            }
          ]
        }
      }
    }
  }
}

Version_schemaModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Schema",
      "_dependencies": [],
      "id": {
        "type": "Integer",
        "name": "ID",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "name": {
        "type": "String",
        "name": "Name",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "minLength": 1,
        "maxLength": 60
      },
      "description": {
        "type": "Formattable",
        "name": "Description",
        "required": false,
        "hasDefault": false,
        "writable": true
      },
      "startDate": {
        "type": "Date",
        "name": "Start date",
        "required": false,
        "hasDefault": false,
        "writable": true
      },
      "endDate": {
        "type": "Date",
        "name": "Finish date",
        "required": false,
        "hasDefault": false,
        "writable": false
      },
      "status": {
        "type": "String",
        "name": "Status",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "visibility": "default",
        "_links": {}
      },
      "sharing": {
        "type": "String",
        "name": "Sharing",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "visibility": "default",
        "_links": {}
      },
      "createdAt": {
        "type": "DateTime",
        "name": "Created on",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "updatedAt": {
        "type": "DateTime",
        "name": "Updated on",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "definingProject": {
        "type": "Project",
        "name": "Project",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "_links": {}
      },
      "customField14": {
        "type": "String",
        "name": "text CF",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "visibility": "default"
      },
      "customField40": {
        "type": "CustomOption",
        "name": "List CF",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "location": "_links",
        "visibility": "default",
        "_links": {}
      },
      "_links": {
        "self": {
          "href": "/api/v3/versions/schema"
        }
      }
    }
  ]
}

VersionCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This version collection\n\n**Resource**: Collection"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/VersionReadModel"
              }
            }
          }
        }
      }
    }
  ]
}

VersionReadModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CustomFieldProperties"
    },
    {
      "type": "object",
      "required": [
        "id",
        "_type",
        "name",
        "description",
        "startDate",
        "endDate",
        "status",
        "sharing",
        "createdAt",
        "updatedAt"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "description": "Version id",
          "minimum": 1
        },
        "_type": {
          "type": "string",
          "enum": [
            "Version"
          ]
        },
        "name": {
          "type": "string",
          "description": "Version name"
        },
        "description": {
          "$ref": "#/components/schemas/Formattable"
        },
        "startDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "endDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "status": {
          "type": "string",
          "description": "The current status of the version. This could be:\n\n- *open*: if the version is available to be assigned to work packages in all shared projects\n- *locked*: if the version is not finished, but locked for further assignments to work packages\n- *closed*: if the version is finished",
          "enum": [
            "open",
            "locked",
            "closed"
          ]
        },
        "sharing": {
          "type": "string",
          "description": "The indicator of how the version is shared between projects. This could be:\n\n- *none*: if the version is only available in the defining project\n- *descendants*: if the version is shared with the descendants of the defining project\n- *hierarchy*: if the version is shared with the descendants and the ancestors of the defining project\n- *tree*: if the version is shared with the root project of the defining project and all descendants of the root project\n- *system*: if the version is shared globally",
          "enum": [
            "none",
            "descendants",
            "hierarchy",
            "tree",
            "system"
          ]
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of creation"
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of the most recent change to the version"
        },
        "_links": {
          "allOf": [
            {
              "$ref": "#/components/schemas/CustomFieldLinkedProperties"
            },
            {
              "type": "object",
              "required": [
                "self",
                "schema",
                "definingProject",
                "availableInProjects"
              ],
              "properties": {
                "self": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Link"
                    },
                    {
                      "description": "This version\n\n**Resource**: Version"
                    }
                  ]
                },
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Link"
                    },
                    {
                      "description": "The schema of this version\n\n**Resource**: VersionSchema"
                    }
                  ]
                },
                "update": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Link"
                    },
                    {
                      "description": "Form endpoint that aids in preparing and performing edits on the version\n\n# Conditions\n\n**Permission**: manage versions"
                    }
                  ]
                },
                "delete": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Link"
                    },
                    {
                      "description": "Deletes this version\n\n# Conditions\n\n**Permission**: manage versions"
                    }
                  ]
                },
                "updateImmediately": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Link"
                    },
                    {
                      "description": "Directly perform edits on the version\n\n# Conditions\n\n**Permission**: manage versions"
                    }
                  ]
                },
                "definingProject": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Link"
                    },
                    {
                      "description": "The workspace to which the version belongs\n\n**Resource**: Workspace"
                    }
                  ]
                },
                "availableInProjects": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Link"
                    },
                    {
                      "description": "Workspaces where this version can be used\n\n**Resource**: Workspace"
                    }
                  ]
                }
              }
            }
          ]
        }
      }
    }
  ]
}

Versions_by_WorkspaceModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The versions collection\n\n**Resource**: VersionsCollection",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "properties": {
            "elements": {
              "type": "array",
              "readOnly": true,
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/VersionReadModel"
                  },
                  {
                    "description": "Collection of Versions"
                  }
                ]
              }
            }
          }
        }
      }
    }
  ]
}

VersionWriteModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CustomFieldProperties"
    },
    {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Version name"
        },
        "description": {
          "$ref": "#/components/schemas/Formattable"
        },
        "startDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "endDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "status": {
          "type": "string",
          "description": "The current status of the version. This could be:\n\n- *open*: if the version is available to be assigned to work packages in all shared projects\n- *locked*: if the version is not finished, but locked for further assignments to work packages\n- *closed*: if the version is finished",
          "enum": [
            "open",
            "locked",
            "closed"
          ]
        },
        "sharing": {
          "type": "string",
          "description": "The indicator of how the version is shared between projects. This could be:\n\n- *none*: if the version is only available in the defining project\n- *descendants*: if the version is shared with the descendants of the defining project\n- *hierarchy*: if the version is shared with the descendants and the ancestors of the defining project\n- *tree*: if the version is shared with the root project of the defining project and all descendants of the root project\n- *system*: if the version is shared globally",
          "enum": [
            "none",
            "descendants",
            "hierarchy",
            "tree",
            "system"
          ]
        },
        "_links": {
          "allOf": [
            {
              "$ref": "#/components/schemas/CustomFieldLinkedProperties"
            },
            {
              "type": "object",
              "properties": {
                "definingProject": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/Link"
                    },
                    {
                      "description": "The workspace to which the version belongs\n\n**Resource**: Workspace"
                    }
                  ]
                }
              }
            }
          ]
        }
      }
    }
  ]
}

View_actionModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/actions/work_packages/create",
          "title": "Add work package"
        }
      },
      "_type": "Action",
      "id": "work_packages/create",
      "name": "Add work package",
      "description": "Creating a work package within a project including the uploading of attachments. Some attributes might not be selected, e.g version which requires a second permission",
      "modules": [
        "work_packages"
      ]
    }
  ]
}

View_capabilitiesModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/capabilities/work_packages/create/p123-567"
        },
        "action": {
          "href": "/api/v3/actions/work_packages/create",
          "title": "Add work package"
        },
        "context": {
          "href": "/api/v3/projects/123",
          "title": "A project"
        },
        "principal": {
          "href": "/api/v3/users/567",
          "title": "Some user"
        }
      },
      "_type": "Capability",
      "id": "work_packages/create/p123-567"
    }
  ]
}

View_global_contextModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/capabilities/context/global"
        }
      },
      "_type": "CapabilityContext::Global",
      "id": "global"
    }
  ]
}

View_project_statusModel

{
  "type": "object",
  "examples": [
    {
      "_type": "ProjectStatus",
      "id": "on_track",
      "name": "On track",
      "_links": {
        "self": {
          "href": "/api/v3/project_statuses/on_track"
        }
      }
    }
  ]
}

View_time_entry_schemaModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Schema",
      "_dependencies": [],
      "id": {
        "type": "Integer",
        "name": "ID",
        "required": true,
        "hasDefault": false,
        "writable": false,
        "options": {}
      },
      "createdAt": {
        "type": "DateTime",
        "name": "Created on",
        "required": true,
        "hasDefault": false,
        "writable": false,
        "options": {}
      },
      "updatedAt": {
        "type": "DateTime",
        "name": "Updated on",
        "required": true,
        "hasDefault": false,
        "writable": false,
        "options": {}
      },
      "spentOn": {
        "type": "Date",
        "name": "Date",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "options": {}
      },
      "hours": {
        "type": "Duration",
        "name": "Hours",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "options": {}
      },
      "user": {
        "type": "User",
        "name": "User",
        "required": true,
        "hasDefault": false,
        "writable": false,
        "options": {}
      },
      "workPackage": {
        "type": "WorkPackage",
        "name": "Work package",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "location": "_links",
        "deprecated": true,
        "_links": {}
      },
      "project": {
        "type": "Project",
        "name": "Project",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "location": "_links",
        "_links": {}
      },
      "activity": {
        "type": "TimeEntriesActivity",
        "name": "Activity",
        "required": true,
        "hasDefault": true,
        "writable": true,
        "location": "_links",
        "_links": {}
      },
      "customField29": {
        "type": "String",
        "name": "sfsdfsdfsdfsdfdsf",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "options": {
          "rtl": null
        }
      },
      "_links": {
        "self": {
          "href": "/api/v3/time_entries/schema"
        }
      }
    }
  ]
}

View_user_schemaModel

{
  "type": "object",
  "examples": [
    {
      "_type": "Schema",
      "_dependencies": [],
      "id": {
        "type": "Integer",
        "name": "ID",
        "required": true,
        "hasDefault": false,
        "writable": false,
        "options": {}
      },
      "login": {
        "type": "String",
        "name": "Username",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "minLength": 1,
        "maxLength": 255,
        "options": {}
      },
      "admin": {
        "type": "Boolean",
        "name": "Administrator",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "options": {}
      },
      "mail": {
        "type": "String",
        "name": "Email",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "minLength": 1,
        "maxLength": 255,
        "options": {}
      },
      "firstName": {
        "type": "String",
        "name": "First name",
        "required": true,
        "hasDefault": false,
        "writable": false,
        "minLength": 1,
        "maxLength": 255,
        "options": {}
      },
      "lastName": {
        "type": "String",
        "name": "Last name",
        "required": true,
        "hasDefault": false,
        "writable": false,
        "minLength": 1,
        "maxLength": 255,
        "options": {}
      },
      "avatar": {
        "type": "String",
        "name": "Avatar",
        "required": false,
        "hasDefault": false,
        "writable": false,
        "options": {}
      },
      "status": {
        "type": "String",
        "name": "Status",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "options": {}
      },
      "identityUrl": {
        "type": "String",
        "name": "Identity url",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "options": {}
      },
      "language": {
        "type": "String",
        "name": "Language",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "options": {}
      },
      "password": {
        "type": "Password",
        "name": "Password",
        "required": false,
        "hasDefault": false,
        "writable": false,
        "options": {}
      },
      "createdAt": {
        "type": "DateTime",
        "name": "Created on",
        "required": true,
        "hasDefault": false,
        "writable": false,
        "options": {}
      },
      "updatedAt": {
        "type": "DateTime",
        "name": "Updated on",
        "required": true,
        "hasDefault": false,
        "writable": false,
        "options": {}
      },
      "customField1": {
        "type": "String",
        "name": "User String CF",
        "required": false,
        "hasDefault": false,
        "writable": true
      },
      "customField2": {
        "type": "CustomOption",
        "name": "User List cf",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "location": "_links"
      },
      "_links": {
        "self": {
          "href": "/api/v3/users/schema"
        }
      }
    }
  ]
}

WatchersModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The watcher list\n\n**Resource**: WatchersModel",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "properties": {
            "elements": {
              "type": "array",
              "readOnly": true,
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/UserModel"
                  },
                  {
                    "description": "Collection of Users"
                  }
                ]
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/work_packages/14/watchers"
        }
      },
      "total": 2,
      "count": 2,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_type": "User",
            "_links": {
              "self": {
                "href": "/api/v3/users/1",
                "title": "John Sheppard - j.sheppard"
              },
              "showUser": {
                "href": "/users/1",
                "type": "text/html"
              },
              "lock": {
                "href": "/api/v3/users/1/lock",
                "title": "Set lock on j.sheppard",
                "method": "POST"
              },
              "delete": {
                "href": "/api/v3/users/1",
                "title": "Delete j.sheppard",
                "method": "DELETE"
              }
            },
            "id": 1,
            "login": "j.sheppard",
            "firstName": "John",
            "lastName": "Sheppard",
            "name": "John Sheppard",
            "mail": "shep@mail.com",
            "avatar": "https://example.org/users/1/avatar",
            "status": "active",
            "createdAt": "2014-05-21T08:51:20.396Z",
            "updatedAt": "2014-05-21T08:51:20.396Z"
          },
          {
            "_type": "User",
            "_links": {
              "self": {
                "href": "/api/v3/users/2",
                "title": "Jim Sheppard - j.sheppard2"
              },
              "lock": {
                "href": "/api/v3/users/2/lock",
                "title": "Set lock on j.sheppard2",
                "method": "POST"
              },
              "delete": {
                "href": "/api/v3/users/2",
                "title": "Delete j.sheppard2",
                "method": "DELETE"
              }
            },
            "id": 2,
            "login": "j.sheppard2",
            "firstName": "Jim",
            "lastName": "Sheppard",
            "name": "Jim Sheppard",
            "mail": "shep@mail.net",
            "avatar": "https://example.org/users/1/avatar",
            "status": "active",
            "createdAt": "2014-05-21T08:51:20.396Z",
            "updatedAt": "2014-05-21T08:51:20.396Z"
          }
        ]
      }
    }
  ]
}

WeekDayCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This week days collection\n\n**Resource**: WeekDayCollectionModel"
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "description": "The array of week days.",
              "minItems": 7,
              "maxItems": 7,
              "items": {
                "$ref": "#/components/schemas/WeekDayModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_type": "Collection",
      "total": 7,
      "count": 7,
      "_links": {
        "self": {
          "href": "/api/v3/days/week"
        }
      },
      "_embedded": {
        "elements": [
          {
            "_type": "WeekDay",
            "day": 1,
            "name": "Monday",
            "working": true,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/1",
                "title": "Monday"
              }
            }
          },
          {
            "_type": "WeekDay",
            "day": 2,
            "name": "Tuesday",
            "working": true,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/2",
                "title": "Tuesday"
              }
            }
          },
          {
            "_type": "WeekDay",
            "day": 3,
            "name": "Wednesday",
            "working": true,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/3",
                "title": "Wednesday"
              }
            }
          },
          {
            "_type": "WeekDay",
            "day": 4,
            "name": "Thursday",
            "working": true,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/4",
                "title": "Thursday"
              }
            }
          },
          {
            "_type": "WeekDay",
            "day": 5,
            "name": "Friday",
            "working": true,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/5",
                "title": "Friday"
              }
            }
          },
          {
            "_type": "WeekDay",
            "day": 6,
            "name": "Saturday",
            "working": false,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/6",
                "title": "Saturday"
              }
            }
          },
          {
            "_type": "WeekDay",
            "day": 7,
            "name": "Sunday",
            "working": false,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/7",
                "title": "Sunday"
              }
            }
          }
        ]
      }
    }
  ]
}

WeekDayCollectionWriteModel

{
  "type": "object",
  "required": [
    "_type",
    "_embedded"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Collection"
      ]
    },
    "_embedded": {
      "type": "object",
      "required": [
        "elements"
      ],
      "properties": {
        "elements": {
          "type": "array",
          "description": "The array of week days.",
          "minItems": 1,
          "maxItems": 7,
          "items": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WeekDayWriteModel"
              },
              {
                "type": "object",
                "required": [
                  "_links"
                ],
                "properties": {
                  "_links": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/WeekDaySelfLinkModel"
                      }
                    ]
                  }
                }
              }
            ]
          }
        }
      }
    }
  },
  "examples": [
    {
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_type": "WeekDay",
            "working": true,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/1"
              }
            }
          },
          {
            "_type": "WeekDay",
            "working": true,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/2"
              }
            }
          },
          {
            "_type": "WeekDay",
            "working": true,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/4"
              }
            }
          },
          {
            "_type": "WeekDay",
            "working": false,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/6"
              }
            }
          },
          {
            "_type": "WeekDay",
            "working": false,
            "_links": {
              "self": {
                "href": "/api/v3/days/week/7"
              }
            }
          }
        ]
      }
    }
  ]
}

WeekDayModel

{
  "type": "object",
  "required": [
    "_type",
    "day",
    "name",
    "working"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "WeekDay"
      ]
    },
    "day": {
      "type": "integer",
      "description": "The week day from 1 to 7. 1 is Monday. 7 is Sunday.",
      "readOnly": true,
      "minimum": 1,
      "maximum": 7
    },
    "name": {
      "type": "string",
      "description": "The week day name."
    },
    "working": {
      "type": "boolean",
      "description": "`true` for a working week day, `false` otherwise."
    },
    "_links": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WeekDaySelfLinkModel"
        }
      ]
    }
  },
  "examples": [
    {
      "_type": "WeekDay",
      "day": 5,
      "name": "Friday",
      "working": false,
      "_links": {
        "self": {
          "href": "/api/v3/day/week/5",
          "title": "Friday"
        }
      }
    }
  ]
}

WeekDaySelfLinkModel

{
  "type": "object",
  "description": "Identify a particular week day by its href.",
  "properties": {
    "self": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Link"
        },
        {
          "description": "This week day resource link.\n\n**Resource**: WeekDay",
          "readOnly": true
        }
      ]
    }
  },
  "examples": [
    {
      "self": {
        "href": "/api/v3/days/week/3",
        "title": "Wednesday"
      }
    }
  ]
}

WeekDayWriteModel

{
  "type": "object",
  "description": "Describes a week day as a working day or a non-working day (weekend).",
  "required": [
    "_type",
    "working"
  ],
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "WeekDay"
      ]
    },
    "working": {
      "type": "boolean",
      "description": "`true` for a working day. `false` for a weekend day."
    }
  },
  "examples": [
    {
      "_type": "WeekDay",
      "working": false
    }
  ]
}

Wiki_PageModel

{
  "type": "object",
  "required": [
    "title"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Identifier of this wiki page",
      "readOnly": true,
      "exclusiveMinimum": 0
    },
    "title": {
      "type": "string",
      "description": "The wiki page's title"
    },
    "_links": {
      "type": "object",
      "properties": {
        "addAttachment": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Attach a file to the wiki page\n\n# Conditions\n\n**Permission**: edit wiki page",
              "readOnly": true
            }
          ]
        }
      }
    }
  },
  "examples": [
    {
      "_type": "WikiPage",
      "id": 72,
      "title": "A wiki page with a name",
      "_embedded": {
        "project": {
          "_type": "Project...",
          "id": 12
        }
      },
      "_links": {
        "self": {
          "href": "/api/v3/wiki_pages/72"
        },
        "attachments": {
          "href": "/api/v3/wiki_pages/72/attachments"
        },
        "addAttachment": {
          "href": "/api/v3/wiki_pages/72/attachments",
          "method": "post"
        },
        "project": {
          "href": "/api/v3/projects/12",
          "title": "some project"
        }
      }
    }
  ]
}

Work_Package_activitiesModel

{
  "type": "object",
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/work_packages/1/revisions"
        }
      },
      "total": 2,
      "count": 2,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_type": "Activity",
            "_links": {
              "self": {
                "href": "/api/v3/activity/1"
              },
              "workPackage": {
                "href": "/api/v3/work_packages/1"
              },
              "user": {
                "href": "/api/v3/users/1"
              }
            },
            "id": 1,
            "details": [],
            "comment": {
              "format": "markdown",
              "raw": "Lorem ipsum dolor sit amet.",
              "html": "<p>Lorem ipsum dolor sit amet.</p>"
            },
            "createdAt": "2014-05-21T08:51:20.396Z",
            "updatedAt": "2014-05-21T09:14:02.324Z",
            "version": 1
          },
          {
            "_type": "Activity",
            "_links": {
              "self": {
                "href": "/api/v3/activity/2"
              },
              "workPackage": {
                "href": "/api/v3/work_packages/1"
              },
              "user": {
                "href": "/api/v3/users/1"
              }
            },
            "id": 2,
            "details": [],
            "comment": {
              "format": "markdown",
              "raw": "Lorem ipsum dolor sit amet.",
              "html": "<p>Lorem ipsum dolor sit amet.</p>"
            },
            "createdAt": "2014-05-21T09:51:22.769Z",
            "updatedAt": "2014-05-21T10:14:02.927Z",
            "version": 2
          }
        ]
      }
    }
  ]
}

Work_PackagesModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "type": "object",
          "required": [
            "self"
          ],
          "properties": {
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The work package collection\n\n**Resource**: WorkPackageCollection",
                  "readOnly": true
                }
              ]
            }
          }
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/WorkPackageModel"
              }
            }
          }
        }
      }
    }
  ],
  "examples": [
    {
      "_links": {
        "self": {
          "href": "/api/v3/work_packages"
        }
      },
      "total": 2,
      "count": 2,
      "_type": "Collection",
      "_embedded": {
        "elements": [
          {
            "_abbreviated": "Work package resource shortened for brevity",
            "_type": "WorkPackage",
            "_links": {
              "self": {
                "href": "/api/v3/work_packages/1"
              }
            },
            "id": 1
          },
          {
            "_abbreviated": "Work package resource shortened for brevity",
            "_type": "WorkPackage",
            "_links": {
              "self": {
                "href": "/api/v3/work_packages/2"
              }
            },
            "id": 2
          }
        ]
      }
    }
  ]
}

WorkPackageFormModel

{
  "type": "object",
  "description": "The work package creation form. This object is returned, whenever a work package form endpoint is called. It contains\nan allowed payload definition, the full schema and any validation errors on the current request body.",
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Form"
      ]
    },
    "_embedded": {
      "type": "object",
      "properties": {
        "payload": {
          "$ref": "#/components/schemas/WorkPackageWriteModel"
        },
        "schema": {
          "$ref": "#/components/schemas/WorkPackageSchemaModel"
        },
        "validationErrors": {
          "type": "object",
          "description": "All validation errors, where the key is the faulty property. The object is empty, if the request body is\nvalid."
        }
      }
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This form endpoint\n\n**Resource** : Form"
            }
          ]
        },
        "validate": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The endpoint for validating the request bodies. Often referring to this very form endpoint."
            }
          ]
        },
        "previewMarkup": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Renders a markup preview for the work package form."
            }
          ]
        },
        "customFields": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Link to the HTML page for the custom field definitions."
            }
          ]
        },
        "configureForm": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Link to the HTML page for the form configuration."
            }
          ]
        }
      }
    }
  }
}

WorkPackageModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/CustomFieldProperties"
    },
    {
      "type": "object",
      "required": [
        "id",
        "subject",
        "_type",
        "_links"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "description": "Work package id"
        },
        "_type": {
          "type": "string",
          "enum": [
            "WorkPackage"
          ]
        },
        "displayId": {
          "type": "string",
          "description": "The user-facing identifier for the work package.\nIts format depends on the `work_packages_identifier` setting.\nWhen set to `semantic`: the project-based identifier (e.g. \"PROJ-42\").\nWhen set to `classic`: the numeric ID as a string (e.g. \"123\")."
        },
        "lockVersion": {
          "type": "integer",
          "description": "The version of the item as used for optimistic locking"
        },
        "subject": {
          "type": "string",
          "description": "Work package subject"
        },
        "description": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Formattable"
            },
            {
              "description": "The work package description"
            }
          ]
        },
        "scheduleManually": {
          "type": "boolean",
          "description": "Uses manual scheduling mode when true (default). Uses automatic scheduling\nmode when false. Can be automatic only when predecessors or children are\npresent."
        },
        "readonly": {
          "type": "boolean",
          "description": "If true, the work package is in a readonly status so with the exception of the status, no other property can be altered."
        },
        "hasProjectAttributes": {
          "type": "boolean",
          "description": "If true, the work package's type has at least one project custom field activated and visible to the current user."
        },
        "startDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "Scheduled beginning of a work package"
        },
        "dueDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "Scheduled end of a work package"
        },
        "date": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "Date on which a milestone is achieved"
        },
        "derivedStartDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "Similar to start date but is not set by a client but rather deduced by the work packages' descendants. If manual scheduleManually is active, the two dates can deviate."
        },
        "derivedDueDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "Similar to due date but is not set by a client but rather deduced by the work packages' descendants. If manual scheduleManually is active, the two dates can deviate."
        },
        "duration": {
          "type": [
            "string",
            "null"
          ],
          "format": "duration",
          "description": "**(NOT IMPLEMENTED)** The amount of time in hours the work package needs to be completed.\nNot available for milestone type of work packages."
        },
        "estimatedTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "duration",
          "description": "Time a work package likely needs to be completed excluding its descendants"
        },
        "derivedEstimatedTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "duration",
          "description": "Time a work package likely needs to be completed including its descendants"
        },
        "ignoreNonWorkingDays": {
          "type": "boolean",
          "description": "**(NOT IMPLEMENTED)** When scheduling, whether or not to ignore the non working days being defined.\nA work package with the flag set to true will be allowed to be scheduled to a non working day."
        },
        "position": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The position this work package has in a version configured to be backlog (sprint or product).\n\n# Conditions\n\n**Permission** Backlogs needs to be enabled in the work package's project and the work package's type is configured to be a backlog type."
        },
        "spentTime": {
          "type": "string",
          "format": "duration",
          "description": "The time booked for this work package by users working on it\n\n# Conditions\n\n**Permission** view time entries"
        },
        "allocatedTime": {
          "type": "string",
          "format": "duration",
          "description": "The sum of the confirmed resource allocations of this work package\n\n# Conditions\n\n**Permission** view resource planners, requires the resource management module and an enterprise token"
        },
        "storyPoints": {
          "type": [
            "integer",
            "null"
          ],
          "description": "The estimation in story points on how long this work package will take to complete\n\n# Conditions\n\n**Permission** Backlogs needs to be enabled in the work package's project and the work package's type is configured to be a backlog type.",
          "readOnly": false
        },
        "percentageDone": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Amount of total completion for a work package",
          "minimum": 0,
          "maximum": 100
        },
        "derivedPercentageDone": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Amount of total completion for a work package derived from itself and its descendant work packages",
          "minimum": 0,
          "maximum": 100
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of creation. Can be writable by admins with the `apiv3_write_readonly_attributes` setting enabled."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Time of the most recent change to the work package."
        },
        "_links": {
          "type": "object",
          "required": [
            "self",
            "schema",
            "ancestors",
            "author",
            "priority",
            "project",
            "status",
            "type"
          ],
          "properties": {
            "addComment": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Post comment to WP\n\n# Conditions\n\n**Permission**: add work package notes"
                }
              ]
            },
            "addRelation": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Adds a relation to this work package.\n\n# Conditions\n\n**Permission**: manage wp relations"
                }
              ]
            },
            "addWatcher": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Add any user to WP watchers\n\n# Conditions\n\n**Permission**: add watcher"
                }
              ]
            },
            "allocateResource": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "A request returning the dialog to add a resource allocation to this work package. It is used by the frontend and not intended for API users.\n\n# Conditions\n\n**Permission**: allocate user resources, requires the resource management module and an enterprise token"
                }
              ]
            },
            "customActions": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Link"
                  },
                  {
                    "description": "A predefined action that can be applied to the work package.\n\n**Resource**: CustomAction"
                  }
                ]
              }
            },
            "previewMarkup": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Post markup (in markdown) here to receive an HTML-rendered response"
                }
              ]
            },
            "removeWatcher": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Remove any user from WP watchers\n\n# Conditions\n\n**Permission**: delete watcher"
                }
              ]
            },
            "delete": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Delete this work package\n\n# Conditions\n\n**Permission**: delete_work_packages"
                }
              ]
            },
            "logTime": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Create time entries on the work package\n\n# Conditions\n\n**Permission**: log_time or log_own_time"
                }
              ]
            },
            "move": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Link to page for moving this work package\n\n# Conditions\n\n**Permission**: move_work_packages"
                }
              ]
            },
            "copy": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Link to page for copying this work package\n\n# Conditions\n\n**Permission**: add_work_packages"
                }
              ]
            },
            "unwatch": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Remove current user from WP watchers\n\n# Conditions\n\nlogged in; watching"
                }
              ]
            },
            "update": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Form endpoint that aids in preparing and performing edits on a work package\n\n# Conditions\n\n**Permission**: edit work package"
                }
              ]
            },
            "updateImmediately": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Directly perform edits on a work package\n\n# Conditions\n\n**Permission**: edit work package"
                }
              ]
            },
            "watch": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Add current user to WP watchers\n\n# Conditions\n\nlogged in; not watching"
                }
              ]
            },
            "self": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "This work package\n\n**Resource**: WorkPackage"
                }
              ]
            },
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The schema of this work package\n\n**Resource**: Schema"
                }
              ]
            },
            "allocatedPrincipals": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Link"
                  },
                  {
                    "description": "A user or placeholder user with a confirmed resource allocation on this work package. Each principal\nis listed once. Allocated users the current user may not see are summarized in a single entry\nwith the undisclosed urn `urn:openproject-org:api:v3:undisclosed` as its href.\n\n**Resource**: User or PlaceholderUser\n\n# Conditions\n\n**Permission** view resource planners, requires the resource management module and an enterprise token"
                  }
                ]
              }
            },
            "ancestors": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Link"
                  },
                  {
                    "description": "A visible ancestor work package of the current work package.\n\n**Resource**: WorkPackage\n\n# Conditions\n\n**Permission** view work packages"
                  }
                ]
              }
            },
            "attachments": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The files attached to this work package\n\n**Resource**: Collection\n\n# Conditions\n\n- **Setting**: deactivate_work_package_attachments set to false in related workspace"
                }
              ]
            },
            "addAttachment": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Attach a file to the work package\n\n# Conditions\n\n- **Permission**: edit work package"
                }
              ]
            },
            "prepareAttachment": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Attach a file to the work package\n\n# Conditions\n\n- **Setting**: direct uploads enabled"
                }
              ]
            },
            "author": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The person that created the work package\n\n**Resource**: User"
                }
              ]
            },
            "assignee": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The person that is intended to work on the work package\n\n**Resource**: User"
                }
              ]
            },
            "availableWatchers": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "All users that can be added to the work package as watchers.\n\n**Resource**: User\n\n# Conditions\n\n**Permission** add work package watchers"
                }
              ]
            },
            "budget": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The budget this work package is associated to\n\n**Resource**: Budget\n\n# Conditions\n\n**Permission** view cost objects"
                }
              ]
            },
            "category": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The category of the work package\n\n**Resource**: Category"
                }
              ]
            },
            "children": {
              "type": "array",
              "items": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/Link"
                  },
                  {
                    "description": "A visible child work package of the current work package.\n\n**Resource**: WorkPackage\n\n# Conditions\n\n**Permission** view work packages"
                  }
                ]
              }
            },
            "addFileLink": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Add a file link to the work package\n\n# Conditions\n\n**Permission**: manage_file_links"
                }
              ]
            },
            "fileLinks": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Gets the file link collection of this work package\n\n# Conditions\n\n**Permission**: view_file_links"
                }
              ]
            },
            "repositoryIssues": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Gets the collection of repository issues linked to this work package\n\n# Conditions\n\n**Permission**: show_repository_content"
                }
              ]
            },
            "repositoryMergeRequests": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Gets the collection of repository merge requests linked to this work package\n\n# Conditions\n\n**Permission**: show_repository_content"
                }
              ]
            },
            "repositoryBranches": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Gets the collection of repository branches linked to this work package\n\n# Conditions\n\n**Permission**: show_repository_content"
                }
              ]
            },
            "repositoryCommits": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Gets the collection of repository commits linked to this work package\n\n# Conditions\n\n**Permission**: show_repository_content"
                }
              ]
            },
            "labels": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Link"
              },
              "description": "List of labels attached to the work package\n\n**Resource**: Collection of Label"
            },
            "parent": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Parent work package\n\n**Resource**: WorkPackage"
                }
              ]
            },
            "priority": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The priority of the work package\n\n**Resource**: Priority"
                }
              ]
            },
            "project": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The workspace to which the work package belongs\n\n**Resource**: Workspace"
                }
              ]
            },
            "projectPhase": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The project phase to which the work package belongs\n\n**Resource**: ProjectPhase"
                }
              ]
            },
            "projectPhaseDefinition": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The definition of the project phase the work package belongs to\n\n**Resource**: ProjectPhaseDefinition"
                }
              ]
            },
            "responsible": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The person that is responsible for the overall outcome\n\n**Resource**: User"
                }
              ]
            },
            "relations": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Relations this work package is involved in\n\n**Resource**: Relation\n\n# Conditions\n\n**Permission** view work packages"
                }
              ]
            },
            "revisions": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "Revisions that are referencing the work package\n\n**Resource**: Revision\n\n# Conditions\n\n**Permission** view changesets"
                }
              ]
            },
            "status": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The current status of the work package\n\n**Resource**: Status"
                }
              ]
            },
            "sprint": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The sprint the work package is assigned to\n\n**Resource**: Sprint\n\n# Conditions\n\n**Permission** view sprints"
                }
              ]
            },
            "showResourceAllocations": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "A request returning the dialog showing the resource allocations of this work package. It is used by the frontend and not intended for API users.\n\n**Resource**: N/A\n\n# Conditions\n\n**Permission** view resource planners, requires the resource management module and an enterprise token"
                }
              ]
            },
            "timeEntries": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "All time entries logged on the work package. Please note that this is a link to an HTML resource for now and as such, the link is subject to change.\n\n**Resource**: N/A\n\n# Conditions\n\n**Permission** view time entries"
                }
              ]
            },
            "type": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The type of the work package\n\n**Resource**: Type"
                }
              ]
            },
            "version": {
              "deprecated": true,
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "The version associated to the work package\n\n**Resource**: Version\n\n# Conditions\n\n**Deprecated**: this single-valued field is being replaced by `targetVersions`.\nRead and write `targetVersions` instead. While multiple versions is not enabled,\n`version` must not be written together with `targetVersions` in the same request."
                }
              ]
            },
            "targetVersions": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Link"
              },
              "description": "List of versions associated to the work package\n\n**Resource**: Collection of Version\n\n# Conditions\n\n- Transitioning from single to multiple version support\n- (Temporary) Only allows a single value for compatibility with the version field\n- (Temporary) Must not be written together with `version` in the same request"
            },
            "observedInVersions": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/Link"
              },
              "description": "List of versions in which the behavior described by the work package was observed\n\n**Resource**: Collection of Version"
            },
            "watchers": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/Link"
                },
                {
                  "description": "All users that are currently watching this work package\n\n**Resource**: Collection\n\n# Conditions\n\n**Permission** view work package watchers"
                }
              ]
            }
          }
        }
      }
    }
  ]
}

WorkPackagePatchModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/WorkPackageWriteModel"
    },
    {
      "type": "object",
      "required": [
        "lockVersion"
      ],
      "properties": {
        "lockVersion": {
          "type": "integer",
          "description": "The version of the item as used for optimistic locking"
        }
      }
    }
  ]
}

WorkPackageSchemaModel

{
  "type": "object",
  "description": "A schema for a work package. This schema defines the attributes of a work package.\n\nTODO: Incomplete, needs to be updated with the real behavior of schemas (when does which attribute appear?).",
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Schema"
      ]
    },
    "_dependencies": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "TBD"
    },
    "_attributeGroups": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "TBD (WorkPackageFormAttributeGroup)"
    },
    "lockVersion": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "id": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "subject": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "description": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "duration": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "scheduleManually": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "ignoreNonWorkingDays": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "startDate": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "dueDate": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "derivedStartDate": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "derivedDueDate": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "estimatedTime": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "derivedEstimatedTime": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "remainingTime": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "derivedRemainingTime": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "percentageDone": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "derivedPercentageDone": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "allocatedTime": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "allocatedPrincipals": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "readonly": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "createdAt": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "updatedAt": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "author": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "position": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "project": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "projectPhase": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "projectPhaseDefinition": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "parent": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "sprint": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "storyPoints": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "assignee": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "responsible": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "type": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "status": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "category": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "version": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "targetVersions": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "priority": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "_links": {
      "type": "object",
      "properties": {
        "self": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "This work package schema\n\n**Resource**: Schema"
            }
          ]
        }
      }
    }
  }
}

WorkPackageWriteModel

{
  "type": "object",
  "description": "This model is used for creating and updating work packages. It can also be used for validation against the work\npackage form endpoints.",
  "properties": {
    "subject": {
      "type": "string",
      "description": "Work package subject"
    },
    "description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "The work package description"
        }
      ]
    },
    "scheduleManually": {
      "type": "boolean",
      "description": "Uses manual scheduling mode when true (default). Uses automatic scheduling\nmode when false. Can be automatic only when predecessors or children are\npresent."
    },
    "startDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "description": "Scheduled beginning of a work package"
    },
    "dueDate": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "description": "Scheduled end of a work package"
    },
    "estimatedTime": {
      "type": [
        "string",
        "null"
      ],
      "format": "duration",
      "description": "Time a work package likely needs to be completed excluding its descendants"
    },
    "duration": {
      "type": [
        "string",
        "null"
      ],
      "format": "duration",
      "description": "The amount of time in hours the work package needs to be completed. This value must be bigger or equal to `P1D`,\nand any the value will get floored to the nearest day.\n\nThe duration has no effect, unless either a start date or a due date is set.\n\nNot available for milestone type of work packages."
    },
    "ignoreNonWorkingDays": {
      "type": "boolean",
      "description": "When scheduling, whether or not to ignore the non working days being defined.\nA work package with the flag set to true will be allowed to be scheduled to a non working day."
    },
    "_links": {
      "type": "object",
      "properties": {
        "category": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The category of the work package\n\n**Resource**: Category"
            }
          ]
        },
        "type": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The type of the work package\n\n**Resource**: Type"
            }
          ]
        },
        "priority": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The priority of the work package\n\n**Resource**: Priority"
            }
          ]
        },
        "project": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The project to which the work package belongs\n\n**Resource**: Project"
            }
          ]
        },
        "status": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The current status of the work package\n\n**Resource**: Status"
            }
          ]
        },
        "responsible": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The person that is responsible for the overall outcome\n\n**Resource**: User"
            }
          ]
        },
        "assignee": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The person that is intended to work on the work package\n\n**Resource**: User"
            }
          ]
        },
        "version": {
          "deprecated": true,
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "The version associated to the work package\n\n**Resource**: Version"
            }
          ]
        },
        "targetVersions": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/Link"
          },
          "description": "List of versions associated to the work package\n\n**Resource**: Collection of Version\n\n# Conditions\n\n- Transitioning from single to multiple version support\n- (Temporary) Only allows a single value for compatibility with the version field"
        },
        "observedInVersions": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/Link"
          },
          "description": "List of versions in which the behavior described by the work package was observed\n\n**Resource**: Collection of Version"
        },
        "labels": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/Link"
          },
          "description": "List of labels attached to the work package\n\nAn entry whose `href` is `null` and whose `title` is a non-blank name creates that label when the work package\nis saved, or reuses an existing label with the same name (case-insensitive). The form endpoint echoes such\nentries back without creating anything. Creating a label requires the user to be allowed to edit work\npackages in at least one project, as for `POST /api/v3/labels`. Names are limited to 255 characters, and a\nsingle request may contain at most 50 entries without an `href`. A `title` is ignored on entries that have\nan `href`.\n\n**Resource**: Collection of Label"
        },
        "parent": {
          "allOf": [
            {
              "$ref": "#/components/schemas/Link"
            },
            {
              "description": "Parent work package\n\n**Resource**: WorkPackage"
            }
          ]
        }
      }
    },
    "_meta": {
      "type": "object",
      "description": "Meta information for the work package request",
      "properties": {
        "validateCustomFields": {
          "type": "boolean",
          "description": "When set to true, explicitly validates all required custom fields on the work package, regardless of whether\nthey are provided in the request body. This overrides the default behavior where only custom fields included\nin the request are validated. Use this parameter when you need to ensure all required custom fields have\nvalid values before allowing the update to proceed.",
          "default": false
        }
      }
    }
  }
}

WorkspaceCollectionModel

{
  "allOf": [
    {
      "$ref": "#/components/schemas/OffsetPaginatedCollectionModel"
    },
    {
      "type": "object",
      "required": [
        "_links",
        "_embedded"
      ],
      "properties": {
        "_links": {
          "allOf": [
            {
              "$ref": "#/components/schemas/OffsetPaginatedCollectionLinks"
            },
            {
              "type": "object",
              "properties": {
                "representations": {
                  "type": "array",
                  "items": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/Link"
                      },
                      {
                        "description": "A workspace collection representation in a specific file format."
                      }
                    ]
                  }
                }
              }
            }
          ]
        },
        "_embedded": {
          "type": "object",
          "required": [
            "elements"
          ],
          "properties": {
            "elements": {
              "type": "array",
              "items": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/PortfolioModel"
                  },
                  {
                    "$ref": "#/components/schemas/ProgramModel"
                  },
                  {
                    "$ref": "#/components/schemas/ProjectModel"
                  }
                ]
              }
            }
          }
        }
      }
    }
  ]
}

WorkspacePatchModel

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the workspace."
    },
    "identifier": {
      "type": "string",
      "description": "The identifier of the workspace."
    },
    "active": {
      "type": "boolean",
      "description": "Set to `false` to archive a workspace, and to `true to reactive it."
    },
    "public": {
      "type": "boolean",
      "description": "Whether the workspace is public or not."
    },
    "description": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Formattable"
        },
        {
          "description": "The workspace description"
        }
      ]
    }
  }
}

WorkspacesSchemaModel

{
  "type": "object",
  "description": "A schema for a workspace. This schema defines the attributes of a workspace.",
  "properties": {
    "_type": {
      "type": "string",
      "enum": [
        "Schema"
      ],
      "description": "The type identifier for this resource"
    },
    "_dependencies": {
      "type": "array",
      "description": "Schema dependencies (currently empty for workspaces)"
    },
    "_attributeGroups": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "_type": {
            "type": "string",
            "enum": [
              "ProjectFormCustomFieldSection"
            ],
            "description": "The type identifier for this resource"
          },
          "id": {
            "type": "integer",
            "description": "The unique identifier of the custom field section"
          },
          "name": {
            "type": "string",
            "description": "The human-readable name of the custom field section"
          },
          "attributes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Array of camelCase custom field attribute names belonging to this section.\nOnly includes custom fields visible to the current user."
          }
        }
      },
      "description": "Defines the organizational structure of project custom fields into sections for UI rendering.\n\nEach attribute group represents a project attribute section containing related project attributes.\nThe sections determine how project attributes are visually organized and grouped in forms.\n\n**Key behaviors:**\n- Admin-only project attributes appear only for users with admin privileges\n- Empty sections (with no accessible project attributes) are omitted from the response\n- The order reflects the configured section positioning in admin settings\n- Each section contains only project attributes assigned to that specific section\n\n**Example structure:**\n```json\n[\n  {\n    \"_type\": \"ProjectFormCustomFieldSection\",\n    \"name\": \"Project Details\",\n    \"attributes\": [\"customField1\", \"customField3\"]\n  },\n  {\n    \"_type\": \"ProjectFormCustomFieldSection\",\n    \"name\": \"Budget Information\",\n    \"attributes\": [\"customField2\", \"customField4\"]\n  }\n]\n```"
    },
    "id": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "name": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "identifier": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "description": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "public": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "active": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "status": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "statusExplanation": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "parent": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "createdAt": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "updatedAt": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "_links": {
      "type": "object",
      "description": "Links related to this resource",
      "properties": {
        "self": {
          "type": "object",
          "properties": {
            "href": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "patternProperties": {
    "^customField\\d+$": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    },
    "^customComment\\d+$": {
      "$ref": "#/components/schemas/SchemaPropertyModel"
    }
  },
  "examples": [
    {
      "_type": "Schema",
      "_dependencies": [],
      "_attributeGroups": [
        {
          "_type": "ProjectFormCustomFieldSection",
          "name": "Project Details",
          "attributes": [
            "customField30",
            "customField34"
          ]
        },
        {
          "_type": "ProjectFormCustomFieldSection",
          "name": "Budget Information",
          "attributes": [
            "customField31",
            "customField32",
            "customField35"
          ]
        }
      ],
      "id": {
        "type": "Integer",
        "name": "ID",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "name": {
        "type": "String",
        "name": "Name",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "minLength": 1,
        "maxLength": 255
      },
      "identifier": {
        "type": "String",
        "name": "Identifier",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "minLength": 1,
        "maxLength": 100
      },
      "description": {
        "type": "Formattable",
        "name": "Description",
        "required": false,
        "hasDefault": false,
        "writable": true
      },
      "public": {
        "type": "Boolean",
        "name": "Public",
        "required": true,
        "hasDefault": false,
        "writable": true
      },
      "active": {
        "type": "Boolean",
        "name": "Active",
        "required": true,
        "hasDefault": true,
        "writable": true
      },
      "status": {
        "type": "ProjectStatus",
        "name": "Status",
        "required": false,
        "hasDefault": true,
        "writable": true,
        "_links": {
          "allowedValues": [
            {
              "href": "/api/v3/project_statuses/on_track",
              "title": "On track"
            },
            {
              "href": "/api/v3/project_statuses/at_risk",
              "title": "At risk"
            },
            {
              "href": "/api/v3/project_statuses/off_track",
              "title": "Off track"
            }
          ]
        }
      },
      "statusExplanation": {
        "type": "Formattable",
        "name": "Status explanation",
        "required": false,
        "hasDefault": false,
        "writable": true
      },
      "parent": {
        "type": "Workspace",
        "name": "Subproject of",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "location": "_links",
        "visibility": "default",
        "_links": {}
      },
      "createdAt": {
        "type": "DateTime",
        "name": "Created on",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "updatedAt": {
        "type": "DateTime",
        "name": "Updated on",
        "required": true,
        "hasDefault": false,
        "writable": false
      },
      "customField30": {
        "type": "Integer",
        "name": "Integer project custom field",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "visibility": "default"
      },
      "customField31": {
        "type": "CustomOption",
        "name": "List project custom field",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "location": "_links",
        "visibility": "default",
        "_links": {}
      },
      "customField32": {
        "type": "Version",
        "name": "Version project custom field",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "location": "_links",
        "visibility": "default",
        "_links": {}
      },
      "customField34": {
        "type": "Boolean",
        "name": "Boolean project custom field",
        "required": false,
        "hasDefault": false,
        "writable": true,
        "visibility": "default"
      },
      "customField35": {
        "type": "String",
        "name": "Text project custom field",
        "required": true,
        "hasDefault": false,
        "writable": true,
        "visibility": "default"
      },
      "customComment35": {
        "type": "String",
        "name": "Text project custom field comment",
        "required": false,
        "hasDefault": false,
        "writable": true
      },
      "_links": {
        "self": {
          "href": "/api/v3/workspaces/schema"
        }
      }
    }
  ]
}