reviews Schema Description

Documentation Updated: 2024-05-15

review_candidates

Describes the basic information of created review steps.
1idstring: UUIDThe UUID of the review the step belongs to.
2sequence_idnumberThe sequence id of the review the step belongs to.
3instance_idstring: UUIDThe instance id in the workflow service.
4bim360_account_idstring: UUIDBIM 360 HQ Account ID.
5bim360_project_idstring: UUIDBIM 360 HQ Project ID.
6step_idstringThe step id(every step in a review has a fixed id).
7step_namestringThe step name.
8candidate_typeenum: stringPossible Values:
  • user
  • role
  • company
The candidate type. Could be a user, role or company.
9candidate_oxygen_idstringThe oxygen id of the candidate.

review_comments

Describes the basic information of created review comments.
1idnumberPK: UUID of a review comment.
2bim360_account_idstring: UUIDBIM 360 HQ Account ID.
3bim360_project_idstring: UUIDBIM 360 HQ Project ID.
4review_document_idstring: UUIDId for the review document the comment belongs to
5created_bystringId of the user who created comment.
6statusenum: stringPossible Values:
  • draft
  • submitted
The current status of the comment.
7textstringThe comment text.
8created_attimestamp: SQLCreation time of the comment.
9updated_attimestamp: SQLUpdate time of the comment.
10deleted_attimestamp: SQLDeletion time of the comment.
11round_numnumberWhich round the comment belongs to

review_documents

Describes the basic information of created review documents.
1idstring: UUIDPK: UUID of a review document.
2bim360_account_idstring: UUIDBIM 360 HQ Account ID.
3bim360_project_idstring: UUIDBIM 360 HQ Project ID.
4review_idstring: UUIDId for the review the document belongs to
5versioned_urnstringThe version urn of the document.
6statusenum: stringPossible Values:
  • approved
  • rejected
The review status of the document.
7created_attimestamp: SQLCreation time of the document.
8updated_attimestamp: SQLUpdate time of the document.
9round_numnumberWhich round the document version belongs to

review_steps

Describes the basic information of created review steps.
1idstring: UUIDThe UUID of the review the step belongs to.
2sequence_idnumberThe sequence id of the review the step belongs to.
3instance_idstring: UUIDThe instance id in the workflow service.
4bim360_account_idstring: UUIDBIM 360 HQ Account ID.
5bim360_project_idstring: UUIDBIM 360 HQ Project ID.
6workflow_idstring: UUIDThe workflow id of a review.
7step_idstringThe step id(every step in a review has a fixed id).
8step_namestringThe step default name (deprecated).
9step_display_namestringThe step name which is shown for users.

review_tasks

Describes the basic information of created review tasks.
1idnumberPK: UUID of a review task.
2bim360_account_idstring: UUIDBIM 360 HQ Account ID.
3bim360_project_idstring: UUIDBIM 360 HQ Project ID.
4review_idstring: UUIDId for the review the task belongs to
5task_idstring: UUIDId of the task in the workflow service.
6task_keystringKey of the task in the workflow service.
7namestringName of the task in the workflow service.
8assigneestringId of the current task assignee
9next_task_keystringThe next task key in the workflow service.
10stateenum: stringPossible Values:
  • claimed
  • unclaimed
  • submitted
  • viod
The current state of the task.
11due_datetimestamp: SQLThe due date of the task.
12created_attimestamp: SQLCreation time of the task.
13updated_attimestamp: SQLUpdate time of the task.
14step_idstringId for the step the task belongs to

review_workflow_templates

Describes the basic information of created workflow templates.
1idstring: UUIDPK: UUID of a workflow template
2bim360_account_idstring: UUIDBIM 360 HQ Account ID.
3bim360_project_idstring: UUIDBIM 360 HQ Project ID.
4template_idstring: UUIDId to identify the template in the workflow service.
5created_attimestamp: SQLCreation time of the template.
6updated_attimestamp: SQLUpdate time of the template.

review_workflows

Describes the basic information of created workflows.
1idstring: UUIDPK: UUID of a review workflow
2bim360_account_idstring: UUIDBIM 360 HQ Account ID.
3bim360_project_idstring: UUIDBIM 360 HQ Project ID.
4workflow_template_idstring: UUIDId of the workflow template.
5form_idstring: UUIDThe form id in the workflow service.
6namestringThe name of the workflow.
7descriptionstringThe description of the workflow.
8statusenum: stringPossible Values:
  • initiating
  • active
  • archived
  • locked
The status of the workflow.
9bpmn_urnstringThe urn of bpmn in the workflow serivce.
10memostringThe note of the workflow.
11created_attimestamp: SQLCreation time of the workflow.
12updated_attimestamp: SQLUpdate time of the workflow.

reviews

Describes the basic information of created reviews.
1idstring: UUIDPK: UUID of a review.
2sequence_idnumberThe sequence id of a review.
3instance_idstring: UUIDThe instance id in the workflow service.
4bim360_account_idstring: UUIDBIM 360 HQ Account ID.
5bim360_project_idstring: UUIDBIM 360 HQ Project ID.
6workflow_idstring: UUIDThe workflow id of a review.
7statusenum: stringPossible Values:
  • initiating
  • open
  • closed
  • void
  • failed
  • closing
  • processing
The status of a review.
8review_namestringThe name of a review.
9memostringThe note of a review.
10created_bystringId of user who create the review
11next_due_datetimestamp: SQLThe next due date of a review.
12created_attimestamp: SQLCreation time of the reivew.
13updated_attimestamp: SQLUpdate time of the review.
14docs_countnumberThe count of reviewing documents of a review.
15approved_countnumberThe count of approved documents of a review.
16rejected_countnumberThe count of rejected documents of a review.
17workflow_namestringThe name of a workflow.
18started_attimestamp: SQLThe time of the review started.
19finished_attimestamp: SQLThe time of the review finished.
20next_action_candidates_usersstring: nullList of candidate users in the next action.
21next_action_candidates_rolesstring: nullList of candidate roles in the next action.
22next_action_candidates_companiesstring: nullList of candidate companies in the next action.
23next_action_claimed_bystring: nullList of users claimed the next action.
24current_round_numnumberThe current round number of this review
25current_stepnumberThe current step of this review
26total_stepsnumberThe total step of this review

workflow_notes

Describes the basic information of created review notes.
1idnumberPK: UUID of a review note.
2bim360_account_idstring: UUIDBIM 360 HQ Account ID.
3bim360_project_idstring: UUIDBIM 360 HQ Project ID.
4review_idstring: UUIDId for the review the note belongs to
5created_bystringId of the user who created comment.
6notestringThe comment text.
7created_attimestamp: SQLCreation time of the comment.
8updated_attimestamp: SQLUpdate time of the comment.
9round_numnumberWhich round the note belongs to