{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/maevesocial-com/json-schema/maevesocial-com-public-content-detail-dto-schema.json",
  "title": "PublicContentDetailDto",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/maevesocial-com-openapi.yml#/components/schemas/PublicContentDetailDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "appUrl": {
      "description": "Authenticated Maeve app link for reviewing this content. Use this URL exactly as returned.",
      "format": "uri",
      "type": "string"
    },
    "permalink": {
      "description": "Published provider URL when Maeve has a validated HTTPS permalink. Null before publication.",
      "format": "uri",
      "type": [
        "string",
        "null"
      ]
    },
    "platformPostId": {
      "description": "Saved provider identity for X, Google Business Profile, or LinkedIn personal and Page content. LinkedIn returns a share/ugcPost URN or null when no valid identity was captured. This is not proof of native visibility.",
      "type": [
        "string",
        "null"
      ]
    },
    "groupId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "organizationalTitle": {
      "description": "Organizational title shown inside Maeve. Never published.",
      "type": [
        "string",
        "null"
      ]
    },
    "internalTitle": {
      "type": [
        "string",
        "null"
      ]
    },
    "publishTitle": {
      "type": [
        "string",
        "null"
      ]
    },
    "origin": {
      "description": "Content origin. platform_import rows are imported reference records and have restricted actions.",
      "type": "string",
      "enum": [
        "user_created",
        "platform_import"
      ]
    },
    "allowedActions": {
      "nullable": true,
      "allOf": [
        {
          "$ref": "#/$defs/PublicContentAllowedActionsDto"
        }
      ]
    },
    "notes": {
      "description": "Free-form rich-text notes (HTML). Internal — never published. Empty string when none set.",
      "type": "string"
    },
    "captions": {
      "allOf": [
        {
          "$ref": "#/$defs/CaptionsDto"
        }
      ]
    },
    "resolvedCaption": {
      "type": "string"
    },
    "status": {
      "$ref": "#/$defs/ContentLibraryStatus"
    },
    "deliveryMode": {
      "description": "TikTok delivery destination. tiktok_drafts requires finishing in TikTok even when status is sent.",
      "type": "string",
      "enum": [
        "direct",
        "tiktok_drafts"
      ]
    },
    "workflowStatus": {
      "$ref": "#/$defs/ContentWorkflowStatus"
    },
    "reviewLifecycle": {
      "description": "Optional review lifecycle. Present on detail responses once resolver-backed surfaces are enabled; use state, blockers, and nextAction instead of content.status alone for review workflow decisions.",
      "nullable": true,
      "allOf": [
        {
          "$ref": "#/$defs/PublicReviewLifecycleDto"
        }
      ]
    },
    "scheduledAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "sentAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "calendarAt": {
      "description": "Timestamp used for calendar display: sentAt for published content, scheduledAt for planned content.",
      "type": [
        "string",
        "null"
      ]
    },
    "archivedAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    },
    "error": {
      "type": [
        "string",
        "null"
      ]
    },
    "publishWarnings": {
      "description": "Problems with a publish that succeeded, such as video_cover_not_applied when a cover could not be applied. Empty unless the content was published.",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message"
        ],
        "additionalProperties": false
      }
    },
    "failureCategory": {
      "description": "Backend-owned failed-post category. Null unless status is failed.",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "connection_expired",
        "account_action_required",
        "credits_depleted",
        "platform_rejected",
        "missed_window",
        "publishing_outcome_unknown",
        "temporary_service_issue",
        "unknown"
      ]
    },
    "recommendedAction": {
      "description": "Backend-recommended recovery action for failed content. Null unless status is failed.",
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "reconnect_account",
        "retry_after_account_action",
        "retry_now",
        "edit_and_reschedule",
        "reschedule_only",
        "confirm_result",
        "upgrade_billing",
        "wait_for_reset",
        "delete_only"
      ]
    },
    "platformDeletedAt": {
      "type": [
        "string",
        "null"
      ]
    },
    "platformDeletedByUserId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "integrationId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "postType": {
      "type": "string"
    },
    "poll": {
      "nullable": true,
      "allOf": [
        {
          "$ref": "#/$defs/LinkedInPollDto"
        }
      ]
    },
    "firstComment": {
      "type": [
        "string",
        "null"
      ]
    },
    "shareToFeed": {
      "type": "boolean"
    },
    "labelIds": {
      "description": "Workspace label IDs attached to this content.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "pillarIds": {
      "description": "Content pillar IDs attached to this content.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "pillars": {
      "description": "Content pillars attached to this content.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/PublicContentPillarDto"
      }
    },
    "formatIds": {
      "description": "Content format IDs attached to this content.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "formats": {
      "description": "Content formats attached to this content.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/PublicContentFormatDto"
      }
    },
    "campaignId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "campaignPhaseId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "priority": {
      "nullable": true,
      "allOf": [
        {
          "$ref": "#/$defs/WorkbenchPriority"
        }
      ]
    },
    "assigneeIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "assignees": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PublicContentAssigneeDto"
      }
    },
    "labels": {
      "description": "Workspace labels attached to this content.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/PublicContentLabelDto"
      }
    },
    "integration": {
      "$ref": "#/$defs/PublicContentIntegrationDto"
    },
    "contentMedia": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PublicContentMediaAttachmentDto"
      }
    },
    "threadMessages": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PublicContentThreadMessageResponseDto"
      }
    },
    "settings": {
      "description": "Sanitized strict provider settings for this content item's integration platform.",
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {}
    }
  },
  "required": [
    "id",
    "permalink",
    "organizationalTitle",
    "internalTitle",
    "publishTitle",
    "origin",
    "allowedActions",
    "notes",
    "resolvedCaption",
    "status",
    "workflowStatus",
    "scheduledAt",
    "sentAt",
    "calendarAt",
    "archivedAt",
    "createdAt",
    "updatedAt",
    "error",
    "publishWarnings",
    "failureCategory",
    "recommendedAction",
    "platformDeletedAt",
    "platformDeletedByUserId",
    "integrationId",
    "postType",
    "firstComment",
    "shareToFeed",
    "labelIds",
    "pillarIds",
    "pillars",
    "formatIds",
    "formats",
    "campaignId",
    "campaignPhaseId",
    "assigneeIds",
    "assignees",
    "labels",
    "integration",
    "contentMedia",
    "threadMessages"
  ],
  "additionalProperties": false,
  "$defs": {
    "CaptionOverridesDto": {
      "type": "object",
      "properties": {
        "x": {
          "maxLength": 25000,
          "type": [
            "string",
            "null"
          ]
        },
        "linkedin": {
          "maxLength": 25000,
          "type": [
            "string",
            "null"
          ]
        },
        "linkedin-page": {
          "maxLength": 25000,
          "type": [
            "string",
            "null"
          ]
        },
        "youtube": {
          "maxLength": 25000,
          "type": [
            "string",
            "null"
          ]
        },
        "instagram": {
          "maxLength": 25000,
          "type": [
            "string",
            "null"
          ]
        },
        "facebook": {
          "maxLength": 25000,
          "type": [
            "string",
            "null"
          ]
        },
        "threads": {
          "maxLength": 25000,
          "type": [
            "string",
            "null"
          ]
        },
        "tiktok": {
          "maxLength": 25000,
          "type": [
            "string",
            "null"
          ]
        },
        "pinterest": {
          "maxLength": 25000,
          "type": [
            "string",
            "null"
          ]
        },
        "google-business-profile": {
          "maxLength": 25000,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "CaptionsDto": {
      "type": "object",
      "properties": {
        "canonical": {
          "maxLength": 25000,
          "type": [
            "string",
            "null"
          ]
        },
        "overrides": {
          "nullable": true,
          "allOf": [
            {
              "$ref": "#/$defs/CaptionOverridesDto"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "ContentLibraryStatus": {
      "type": "string",
      "enum": [
        "draft",
        "pending_approval",
        "rejected",
        "scheduled",
        "sent",
        "failed",
        "cancelled"
      ]
    },
    "ContentWorkflowStatus": {
      "type": "string",
      "enum": [
        "drafting",
        "review",
        "approved",
        "scheduled",
        "published"
      ]
    },
    "LinkedInPollDto": {
      "type": "object",
      "properties": {
        "question": {
          "maxLength": 140,
          "type": "string",
          "minLength": 1
        },
        "options": {
          "minItems": 2,
          "maxItems": 4,
          "type": "array",
          "items": {
            "$ref": "#/$defs/LinkedInPollOptionDto"
          }
        },
        "duration": {
          "type": "string",
          "enum": [
            "ONE_DAY",
            "THREE_DAYS",
            "SEVEN_DAYS",
            "FOURTEEN_DAYS"
          ]
        },
        "voteSelectionType": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "SINGLE_VOTE"
          ]
        },
        "isVoterVisibleToAuthor": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "question",
        "options",
        "duration"
      ],
      "additionalProperties": false
    },
    "LinkedInPollOptionDto": {
      "type": "object",
      "properties": {
        "text": {
          "maxLength": 30,
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "text"
      ],
      "additionalProperties": false
    },
    "PublicContentAllowedActionsDto": {
      "type": "object",
      "properties": {
        "canEdit": {
          "type": "boolean"
        },
        "canReschedule": {
          "type": "boolean"
        },
        "canRetry": {
          "type": "boolean"
        },
        "canPublishNow": {
          "type": "boolean"
        },
        "canDelete": {
          "type": "boolean"
        },
        "canReuseAsDraft": {
          "type": "boolean"
        },
        "canUpdatePublishedCaption": {
          "type": "boolean"
        }
      },
      "required": [
        "canEdit",
        "canReschedule",
        "canRetry",
        "canPublishNow",
        "canDelete",
        "canReuseAsDraft",
        "canUpdatePublishedCaption"
      ],
      "additionalProperties": false
    },
    "PublicContentAssigneeDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "displayName": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "avatarUrl": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "displayName",
        "email",
        "avatarUrl"
      ],
      "additionalProperties": false
    },
    "PublicContentFormatDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "name": {
          "type": "string"
        },
        "color": {
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "sortOrder": {
          "type": "number"
        },
        "isSeeded": {
          "type": "boolean"
        },
        "archivedAt": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "name",
        "color",
        "sortOrder"
      ],
      "additionalProperties": false
    },
    "PublicContentIntegrationDto": {
      "type": "object",
      "properties": {
        "platform": {
          "type": "string"
        },
        "username": {
          "type": "string"
        },
        "avatarUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "platform",
        "username",
        "avatarUrl",
        "name"
      ],
      "additionalProperties": false
    },
    "PublicContentLabelDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "name": {
          "type": "string"
        },
        "color": {
          "type": [
            "string",
            "null"
          ]
        },
        "groupId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "archivedAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "mergedIntoLabelId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "mergedAt": {
          "type": [
            "string",
            "null"
          ]
        },
        "mergedByUserId": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        }
      },
      "required": [
        "id",
        "name",
        "color"
      ],
      "additionalProperties": false
    },
    "PublicContentMediaAttachmentDto": {
      "type": "object",
      "properties": {
        "mediaId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "order": {
          "type": "number"
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "thumbnailUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "filename": {
          "type": [
            "string",
            "null"
          ]
        },
        "crops": {
          "type": "object",
          "additionalProperties": {}
        },
        "userTags": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {}
          }
        },
        "productTags": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {}
          }
        },
        "cover": {
          "type": [
            "object",
            "null"
          ],
          "additionalProperties": {}
        }
      },
      "required": [
        "mediaId",
        "order",
        "type",
        "url",
        "thumbnailUrl",
        "filename",
        "crops",
        "userTags",
        "productTags",
        "cover"
      ],
      "additionalProperties": false
    },
    "PublicContentPillarDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "name": {
          "type": "string"
        },
        "color": {
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "sortOrder": {
          "type": "number"
        },
        "archivedAt": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "id",
        "name",
        "color",
        "sortOrder"
      ],
      "additionalProperties": false
    },
    "PublicContentThreadMessageResponseDto": {
      "type": "object",
      "properties": {
        "platformPostId": {
          "description": "Native X reply ID. Historical replies may have no captured ID.",
          "type": [
            "string",
            "null"
          ]
        },
        "permalink": {
          "description": "Validated HTTPS link for an X reply, when captured.",
          "format": "uri",
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "captions": {
          "$ref": "#/$defs/CaptionsDto"
        },
        "resolvedCaption": {
          "type": "string"
        },
        "contentMedia": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PublicContentMediaAttachmentDto"
          }
        }
      },
      "required": [
        "id",
        "captions",
        "resolvedCaption",
        "contentMedia"
      ],
      "additionalProperties": false
    },
    "PublicReviewLifecycleBlockerDto": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "missing_schedule",
            "schedule_expired",
            "review_pending",
            "changes_requested",
            "review_cancelled",
            "review_expired"
          ]
        },
        "message": {
          "type": "string"
        },
        "details": {
          "type": "object",
          "additionalProperties": {}
        }
      },
      "required": [
        "code"
      ],
      "additionalProperties": false
    },
    "PublicReviewLifecycleDto": {
      "type": "object",
      "properties": {
        "phase": {
          "type": "string",
          "enum": [
            "none",
            "team",
            "client"
          ]
        },
        "state": {
          "type": "string",
          "enum": [
            "none",
            "pending",
            "changes_requested",
            "needs_schedule",
            "approved",
            "overridden",
            "cancelled",
            "expired"
          ]
        },
        "actor": {
          "type": "string",
          "enum": [
            "none",
            "agency",
            "author",
            "approver",
            "client",
            "system"
          ]
        },
        "nextAction": {
          "type": "string",
          "enum": [
            "request_review",
            "send",
            "decide",
            "address_changes",
            "schedule",
            "publish",
            "none"
          ]
        },
        "blocksPublishing": {
          "type": "boolean"
        },
        "blockers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PublicReviewLifecycleBlockerDto"
          }
        },
        "progress": {
          "nullable": true,
          "allOf": [
            {
              "$ref": "#/$defs/PublicReviewLifecycleProgressDto"
            }
          ]
        }
      },
      "required": [
        "phase",
        "state",
        "actor",
        "nextAction",
        "blocksPublishing",
        "blockers"
      ],
      "additionalProperties": false
    },
    "PublicReviewLifecycleProgressDto": {
      "type": "object",
      "properties": {
        "reviewId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "itemId": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
        },
        "label": {
          "type": [
            "string",
            "null"
          ]
        },
        "stageKind": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "team",
            "client"
          ]
        },
        "stagePosition": {
          "type": [
            "number",
            "null"
          ]
        },
        "stageCount": {
          "type": "number"
        },
        "rule": {
          "type": "string",
          "enum": [
            "any",
            "all"
          ]
        },
        "inOrder": {
          "type": "boolean"
        },
        "waitingOn": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": {}
          }
        },
        "version": {
          "type": "number"
        }
      },
      "required": [
        "reviewId",
        "itemId",
        "stageCount",
        "rule",
        "inOrder",
        "waitingOn",
        "version"
      ],
      "additionalProperties": false
    },
    "WorkbenchPriority": {
      "type": "string",
      "enum": [
        "urgent",
        "high",
        "medium",
        "low"
      ]
    }
  }
}