> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Compliance Review Request V1

# Type: Compliance Review Request Object

# Link: https://dev.wix.com/docs/api-reference/account-level/enterprise/cms-compliance/compliance-review-request-v1/compliance-review-request-object.md

## Description: A compliance review request represents a single CMS publishing or unpublishing action
a user submitted for review.

It isn't stored and can't be queried. A submission returns it and carries it in the
`ReviewRequested` event, or, for a batch, in the `BulkReviewRequested` event alongside the
rest of the batch. Approving or rejecting it takes the same object back and carries it in the
`BulkReviewApproved` or `BulkReviewRejected` event.

## Schema:

```json
 Type: Compliance Review Request Object | type: ComplianceReviewRequest
 Description: A compliance review request represents a single CMS publishing or unpublishing action
a user submitted for review.

It isn't stored and can't be queried. A submission returns it and carries it in the
`ReviewRequested` event, or, for a batch, in the `BulkReviewRequested` event alongside the
rest of the batch. Approving or rejecting it takes the same object back and carries it in the
`BulkReviewApproved` or `BulkReviewRejected` event.
       - name: id  | type: string | description: Compliance review request ID. Matches the `_id` of the submitted data item.
       - name: action  | type: string | description: Publishing or unpublishing action the user requested for the data item.
           enum: PUBLISH_DRAFT, PUBLISH_CHANGED, UNPUBLISH_PUBLISHED, PUBLISH_PUBLISHED, UNPUBLISH_CHANGED
       - name: currentDataItem  | type: DataItem | description: Published (live) version of the data item. Returned for every action except `PUBLISH_DRAFT`.
           - name: id  | type: string | description: Data item ID.  When an item is inserted into a collection, the item's ID is automatically assigned a random value. You can optionally provide a custom ID in `dataItem.id` when inserting the item. If you specify an ID that already exists in the collection, the insertion will fail.
           - name: dataCollectionId  | type: string | description: ID of the collection this item belongs to.  This is the user-defined collection identifier set when the collection is created (for example, `EvalCustomers`), not a GUID.
           - name: data  | type: Struct | description: Data item contents.  Property-value pairs representing the data item's payload. When retrieving a data item, it also includes the following read-only fields:  + `_id`: Item ID. + `_createdDate`: Date and time the item was added to the collection. + `_updatedDate`: Date and time the item was last modified. When the item is first inserted, `_createdDate` and `_updatedDate` have the same value. + `_owner`: ID of the user who created the item. Can be modified with site owner permissions.
               - name: fields  | type: object | description: 
       - name: proposedDataItem  | type: DataItem | description: Version of the data item proposed by the request. For `PUBLISH_PUBLISHED`, this is the same published item as `current_data_item`. Absent only for `UNPUBLISH_PUBLISHED`.
       - name: submittedAt  | type: string | description: Date and time the action was submitted.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: submittedByUserId  | type: string | description: ID of the user who submitted the action.
       - name: submittedByAccountId  | type: string | description: ID of the account the action was submitted under.
       - name: submittedByEmail  | type: string | description: Email address of the user who submitted the action.  Returned by `Request Review` and `Bulk Request Review`, and carried in the `ReviewRequested` and `BulkReviewRequested` events. Always absent from `Bulk Approve Request Review` and `Bulk Reject Request Review` and from the `BulkReviewApproved` and `BulkReviewRejected` events: a decision call identifies the submitter with the `submitted_by_user_id` the caller sends back, which isn't checked against the original submission, so no address is reported from it. Read the submitter's email from the submission event instead.  Absent on the submission paths too whenever it can't be resolved, and its absence is never an error: a submission made with an API key carries no user identity, so `submitted_by_user_id` holds the account id, and an address is reported only if that id resolves to a user. A failed or unavailable lookup is treated the same way rather than failing the call. Never an empty string: the field is simply omitted.
           - name: value  | type: string | description: 
       - ONE-OF:
           - name: versionOnUnpublish  | type: string | description: Version to preserve as a draft after a changed item is unpublished.  Returned only for `UNPUBLISH_CHANGED`. Submitting and approving a review request both require it, so it's always returned there. Rejecting never unpublishes anything and doesn't require it, so it's returned only when the rejected request carried it.
               enum: KEEP_LATEST_DRAFT_VERSION, KEEP_LIVE_PUBLISHED_VERSION

```