> 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: Resources V2

# Type: Resource Object

# Link: https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/resource-object.md

## Description: A resource represents an entity, such as a room or a staff member, that can be
scheduled for use in a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/about-the-bookings-apis.md).
The availability of a resource is tracked to ensure that it
can be allocated at a requested time slot and to prevent double bookings.

## Schema:

```json
 Type: Resource Object | type: Resource
 Description: A resource represents an entity, such as a room or a staff member, that can be
scheduled for use in a [booking](https://dev.wix.com/docs/rest/business-solutions/bookings/bookings/about-the-bookings-apis.md).
The availability of a resource is tracked to ensure that it
can be allocated at a requested time slot and to prevent double bookings.
       - name: id  | type: string | description: Resource ID.
           - name: value  | type: string | description: 
       - name: revision  | type: string | description: Revision number, which increments by 1 each time the resource is updated. To prevent conflicting changes, the current revision must be passed when updating the resource.
           - name: value  | type: string | description: 
       - name: createdDate  | type: string | description: Time in `YYYY-MM-DDThh:mm:ss.sssZ` format the resource was created.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Time in `YYYY-MM-DDThh:mm:ss.sssZ` format the resource was last updated.
       - name: name  | type: string | description: Name of the resource.
       - name: typeId  | type: string | description: ID of the [resource type](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resource-types-v2/introduction.md).  Once a type has been set it can't be modified. You can create a resource without specifying a type. However, customers can't book such resources.
       - name: workingHoursSchedules  | type: WorkingHoursSchedules | description: Information about the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction.md) specifying the working hours and locations of the resource.  Resources without a working hour schedule are available 24/7 at the locations specified in the field `locationOptions`. When both `workingHoursSchedules` and `locationOptions` are set, `workingHoursSchedules` takes precedence.
           - name: values  | type: Array<WorkingHoursSchedule> | description: Schedules specifying the working hours of the resource. Currently, only a single schedule is supported.
               - name: scheduleId  | type: string | description: ID of the working hour [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction.md).
               - name: shared  | type: boolean | description: Whether the schedule is shared by multiple resources or unique for this resource.  Default: `false`
       - name: locationOptions  | type: LocationOptions | description: Information about the location where the resource is available.
           - name: availableInAllLocations  | type: boolean | description: Whether the resource is available in all [business locations](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations.md#location-types).  - `true`: The resource is available in all business locations. - `false`: The resource is available only in specific locations.  Default: `false`
               - name: value  | type: boolean | description: 
           - name: specificLocationOptions  | type: SpecificLocation | description: Details of resource availability in specific locations.
               - name: availableInBusinessLocations  | type: boolean | description: Whether the resource is available in [business locations](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-locations.md#location-types).  - `true`: The resource is available in business locations. - `false`: The resource isn't available in business locations.  Default: `false`
               - name: businessLocations  | type: Array<BusinessLocation> | description: Information about the business locations where the resource is available. Not returned, if the resource is available in either all business locations or in no business location. You can specify up to 100 business locations.
       - name: eventsSchedule  | type: EventsSchedule | description: Schedule containing the [events](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/introduction.md) for which the resource has been booked.
           - name: scheduleId  | type: string | description: ID of the event [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/introduction.md).
       - name: extendedFields  | type: ExtendedFields | description: Extensions enabling users to save custom data related to the resource.
           - name: namespaces  | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).

```