> 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: "Schedule" Collection Fields



## Article: Wix Bookings "Schedule" Collection Fields

## Article Link: https://dev.wix.com/docs/velo/apis/wix-bookings-v2/schedule-collection-fields.md

## Article Content:

# Velo: Wix Bookings "Schedule" Collection Fields

<blockquote class="tip">

**Tip:** 
Before continuing, make sure you've read [Working with Wix App Collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code.md).

</blockquote>

To use the Schedule collection in code, refer to it as `"Bookings/Schedule"`.

```javascript
wixData.query("Bookings/Schedule")
  .find()
  .then( (results) => {
    // handle the results
  } );
```

This document describes the permissions and fields in your Schedule collection. 

### Permissions

The Schedule collection has the following [permissions](https://support.wix.com/en/article/about-collection-permissions):

*   **Read:** Anyone 
*   **Create:** None
*   **Update:** None
*   **Delete:** None

You cannot change the Schedule collection's permissions. 

### Fields

>**Note:** 
> This app collection contains read-only fields that cannot be managed from the collection. You can update the fields from the relevant app in your site’s [dashboard](https://support.wix.com/en/article/accessing-your-sites-dashboard).

The field name is listed as the heading of each section, with the field ID listed in parentheses, like this: Name (name). The fields appear in this document in the order in which they appear in your collection by default.

>**Note** 
> You cannot create a dynamic page based on the Schedule collection.

#### ID (\_id)

**Description**: Displays the service name from the Services collection.

**Type**: Reference

**Can connect to data**: Yes

**Can be sorted**: No

**Can be filtered**: No

**Read-only**: Yes

#### Service Schedule (serviceSchedule)

**Description**: A JSON object that represents the schedule that has been defined for this service.

**Type**: Reference

**Can connect to data**: Yes

**Can be sorted**: No

**Can be filtered**: No

**Read-only**: Yes

```json
{
  "mon":
    [
      {
        "staffid": "7b14c662-ef34-439a-45a6-8g43b8e15ba7",
        "startTime": "10:00:00:000",
        "endTime": "11:30:00:000"
      }
      ...
    ],
  "tue": [],
   ...                    
}
```

#### Service Duration in Minutes (serviceDurationInMinutes)

**Description**: The duration of this service, in minutes. For example, if your class lasts an hour and a half, this field displays 90.

**Type**: Number

**Can connect to data**: Yes

**Can be sorted**: No

**Can be filtered**: No

**Read-only**: Yes

#### Repeats Every X Weeks (repeatsEveryXWeeks)

**Description**: How often this service recurs. For example, if the sessions repeat every 2 weeks, this field displays 2.

**Type**: Number

**Can connect to data**: Yes

**Can be sorted**: No

**Can be filtered**: No

**Read-only**: Yes