{"openapi":"3.0.0","paths":{"/api/v1/properties":{"post":{"description":"Creates a property and returns the complete property record.","operationId":"CreateProperty","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePropertyV1RequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyV1ResponseDto"}}}},"403":{"description":"Only administrator keys may create an inactive property."}},"security":[{"api_key":[]}],"summary":"Create a property","tags":["Properties"],"x-vmp-capability-id":"POST /properties","x-vmp-auth-kinds":["api-key"]},"get":{"description":"Compatibility endpoint for consumers migrating from the legacy API to granular VMP API keys.","operationId":"PropertyV1Controller_findAll_v1","parameters":[{"name":"externalId3","required":false,"in":"query","schema":{"type":"string"}},{"name":"externalId2","required":false,"in":"query","schema":{"type":"string"}},{"name":"externalId1","required":false,"in":"query","schema":{"type":"string"}},{"name":"updatedAt","required":false,"in":"query","schema":{"type":"number"}},{"name":"createdAt","required":false,"in":"query","schema":{"type":"number"}},{"name":"newPublicViewer","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"organizationId","required":false,"in":"query","schema":{"type":"number"}},{"name":"order","required":false,"in":"query","schema":{"enum":["ASC","DESC"],"type":"string"}},{"name":"sortBy","required":false,"in":"query","schema":{"enum":["createdAt","updatedAt","name"],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of items per page.","schema":{"default":100,"type":"number"}},{"name":"page","required":false,"in":"query","description":"Page number for pagination.","schema":{"default":1,"type":"number"}}],"responses":{"200":{"description":"The complete requested page.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PropertyV1ResponseDto"}}}}},"206":{"description":"The requested page has another page after it.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PropertyV1ResponseDto"}}}}}},"security":[{"api_key":[]}],"summary":"List properties","tags":["Properties"],"x-vmp-capability-id":"GET /properties","x-vmp-auth-kinds":["api-key"]}},"/api/v1/properties/{id}":{"put":{"description":"Updates a property selected by numeric ID or exact property code and returns the updated record.","operationId":"UpdateProperty","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePropertyV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyV1ResponseDto"}}}},"400":{"description":"The subdomain uses the reserved \"managed-\" prefix."},"403":{"description":"Only administrator keys may change a property's status."},"409":{"description":"A Managed property's subdomain cannot change (MANAGED_PROPERTY_SUBDOMAIN_LOCKED)."},"422":{"description":"A Managed property's status cannot change here (MANAGED_PROPERTY_STATUS_LOCKED)."}},"security":[{"api_key":[]}],"summary":"Update a property","tags":["Properties"],"x-vmp-capability-id":"PUT /properties/{id}","x-vmp-auth-kinds":["api-key"]},"get":{"description":"Returns the property through the V1 compatibility contract, selected by numeric ID or exact property code.","operationId":"PropertyV1Controller_findOne_v1","parameters":[{"name":"id","required":true,"in":"path","description":"Numeric property ID or exact property code.","schema":{"type":"string"}}],"responses":{"200":{"description":"The requested property.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyV1ResponseDto"}}}},"404":{"description":"Property not found or access denied."}},"security":[{"api_key":[]}],"summary":"Get a property by ID or code","tags":["Properties"],"x-vmp-capability-id":"GET /properties/{id}","x-vmp-auth-kinds":["api-key"]},"delete":{"description":"Deletes a property selected by numeric ID or exact property code.","operationId":"DeleteProperty","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletePropertyV1ResponseDto"}}}},"403":{"description":"Only coach administrators may delete a Managed property."}},"security":[{"api_key":[]}],"summary":"Delete a property by ID or code","tags":["Properties"],"x-vmp-capability-id":"DELETE /properties/{id}","x-vmp-auth-kinds":["api-key"]}},"/api/v1/users":{"get":{"operationId":"GetUsers","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserV1ResponseDto"}}}}}},"security":[{"api_key":[]}],"summary":"Get all users","tags":["User"],"x-vmp-capability-id":"GET /users","x-vmp-auth-kinds":["api-key"]}},"/api/v1/users/{id}":{"get":{"operationId":"GetUser","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Get user by ID","tags":["User"],"x-vmp-capability-id":"GET /users/{id}","x-vmp-auth-kinds":["api-key"]}},"/api/v1/diagrams":{"post":{"operationId":"CreateDiagram","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDiagramV1Dto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagramV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Create a diagram","tags":["Diagrams"],"x-vmp-capability-id":"POST /diagrams","x-vmp-auth-kinds":["api-key","auth0-bearer"]},"get":{"operationId":"ListDiagrams","parameters":[{"name":"order","required":false,"in":"query","schema":{"enum":["ASC","DESC"],"type":"string"}},{"name":"sortBy","required":false,"in":"query","schema":{"enum":["createdAt","updatedAt","name"],"type":"string"}},{"name":"limit","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"spaceRecordId","required":false,"in":"query","schema":{"type":"string"}},{"name":"spaceId","required":false,"in":"query","schema":{"type":"string"}},{"name":"propertyId","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DiagramV1ResponseDto"}}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"List diagrams","tags":["Diagrams"],"x-vmp-capability-id":"GET /diagrams","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/diagrams/counts-by-space":{"get":{"operationId":"GetDiagramCountsBySpace","parameters":[{"name":"propertyId","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"additionalProperties":{"type":"integer"},"type":"object"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Get diagram counts grouped by space","tags":["Diagrams"],"x-vmp-capability-id":"GET /diagrams/counts-by-space","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/diagrams/bulk-duplicate":{"post":{"operationId":"BulkDuplicateDiagrams","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDuplicateDiagramsV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkDuplicateDiagramsV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Duplicate multiple diagrams","tags":["Diagrams"],"x-vmp-capability-id":"POST /diagrams/bulk-duplicate","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/diagrams/{id}/beo":{"get":{"operationId":"DownloadDiagramBeo","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"content":{"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"schema":{"format":"binary","type":"string"}}},"description":"BEO document stream"}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Download a diagram BEO document","tags":["Diagrams"],"x-vmp-capability-id":"GET /diagrams/{id}/beo","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/diagrams/{id}/duplicate":{"post":{"operationId":"DuplicateDiagram","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateDiagramV1Dto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagramV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Duplicate a diagram","tags":["Diagrams"],"x-vmp-capability-id":"POST /diagrams/{id}/duplicate","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/diagrams/{id}/furniture":{"get":{"operationId":"GetDiagramFurniture","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DiagramFurnitureV1ResponseDto"}}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Get furniture placed in a diagram","tags":["Diagrams"],"x-vmp-capability-id":"GET /diagrams/{id}/furniture","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/diagrams/{id}/freshness":{"get":{"operationId":"GetDiagramFreshness","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagramFreshnessV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Check a diagram furniture-count cache","tags":["Diagrams"],"x-vmp-capability-id":"GET /diagrams/{id}/freshness","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/diagrams/{id}":{"get":{"operationId":"GetDiagram","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagramV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Get a diagram by ID","tags":["Diagrams"],"x-vmp-capability-id":"GET /diagrams/{id}","x-vmp-auth-kinds":["api-key","auth0-bearer"]},"put":{"operationId":"UpdateDiagram","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDiagramV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagramV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Update a diagram","tags":["Diagrams"],"x-vmp-capability-id":"PUT /diagrams/{id}","x-vmp-auth-kinds":["api-key","auth0-bearer"]},"patch":{"operationId":"UpdateDiagramMetadata","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDiagramMetadataV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagramV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Update diagram description and tags","tags":["Diagrams"],"x-vmp-capability-id":"PATCH /diagrams/{id}","x-vmp-auth-kinds":["api-key","auth0-bearer"]},"delete":{"operationId":"DeleteDiagram","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":""}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Delete a diagram","tags":["Diagrams"],"x-vmp-capability-id":"DELETE /diagrams/{id}","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/diagrams/{id}/owner":{"patch":{"operationId":"AssignDiagramOwner","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssignDiagramOwnerV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagramV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Assign a diagram owner","tags":["Diagrams"],"x-vmp-capability-id":"PATCH /diagrams/{id}/owner","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/diagrams/{id}/share-permission":{"patch":{"operationId":"UpdateDiagramSharePermission","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDiagramSharePermissionV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiagramV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Update diagram share permission","tags":["Diagrams"],"x-vmp-capability-id":"PATCH /diagrams/{id}/share-permission","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/diagrams/{id}/asset-library":{"post":{"operationId":"IncludeDiagramInAssetLibrary","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"Diagram included in asset library"}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Include diagram in asset library","tags":["Diagrams"],"x-vmp-capability-id":"POST /diagrams/{id}/asset-library","x-vmp-auth-kinds":["api-key","auth0-bearer"]},"delete":{"operationId":"ExcludeDiagramFromAssetLibrary","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"Diagram excluded from asset library"}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Exclude diagram from asset library","tags":["Diagrams"],"x-vmp-capability-id":"DELETE /diagrams/{id}/asset-library","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/properties/{propertyId}/asset-library":{"get":{"operationId":"GetPropertyAssetLibrary","parameters":[{"name":"propertyId","required":true,"in":"path","schema":{"type":"number"}},{"name":"limit","required":false,"in":"query","schema":{"minimum":1,"maximum":200,"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"minimum":1,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DiagramV1ResponseDto"}}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Get asset library diagrams","tags":["Diagrams"],"x-vmp-capability-id":"GET /properties/{propertyId}/asset-library","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/properties/{id}/spaces":{"get":{"description":"Returns the spaces configured for a property.","operationId":"ListSpaces","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SpaceV1ResponseDto"}}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"List spaces for a property","tags":["Spaces","Inventory"],"x-vmp-capability-id":"GET /properties/{id}/spaces","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/properties/{propertyId}/spaces/{spaceId}":{"get":{"description":"Returns one space by its Spazious identifier.","operationId":"GetSpace","parameters":[{"name":"propertyId","required":true,"in":"path","schema":{"type":"number"}},{"name":"spaceId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Get a space by ID","tags":["Spaces","Inventory"],"x-vmp-capability-id":"GET /properties/{propertyId}/spaces/{spaceId}","x-vmp-auth-kinds":["api-key","auth0-bearer"]},"patch":{"description":"Updates the editable fields of a space and returns the result.","operationId":"UpdateSpace","parameters":[{"name":"propertyId","required":true,"in":"path","schema":{"type":"number"}},{"name":"spaceId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSpaceV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaceV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Update a space","tags":["Spaces","Inventory"],"x-vmp-capability-id":"PATCH /properties/{propertyId}/spaces/{spaceId}","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/properties/{propertyId}/inventory":{"get":{"description":"Returns the property's furniture inventory, optionally including disabled items.","operationId":"GetPropertyInventory","parameters":[{"name":"propertyId","required":true,"in":"path","schema":{"type":"number"}},{"name":"includeDisabled","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/InventoryItemV1ResponseDto"}}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Get furniture inventory for a property","tags":["Spaces","Inventory"],"x-vmp-capability-id":"GET /properties/{propertyId}/inventory","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/properties/{propertyId}/inventory/{furnitureUuid}":{"patch":{"description":"Updates the furniture item's quantity, name, or both.","operationId":"UpdateFurniture","parameters":[{"name":"propertyId","required":true,"in":"path","schema":{"type":"number"}},{"name":"furnitureUuid","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFurnitureV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InventoryItemV1ResponseDto"}}}}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Update furniture","tags":["Spaces","Inventory"],"x-vmp-capability-id":"PATCH /properties/{propertyId}/inventory/{furnitureUuid}","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/properties/{id}/spazious-token":{"get":{"description":"Returns a short-lived OAuth access token for the property's Spazious integration.","operationId":"GetSpaziousToken","parameters":[{"name":"id","required":true,"in":"path","description":"Numeric property ID.","schema":{"type":"number"}}],"responses":{"200":{"description":"The short-lived token and Spazious property ID.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpaziousTokenV1ResponseDto"}}}},"404":{"description":"Property not found, access denied, or Spazious not configured."}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Get a Spazious access token","tags":["Spaces","Inventory"],"x-vmp-capability-id":"GET /properties/{id}/spazious-token","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/properties/{id}/validate-spazious-credentials":{"post":{"description":"Checks whether the supplied Spazious credentials are valid for the property.","operationId":"ValidateSpaziousCredentials","parameters":[{"name":"id","required":true,"in":"path","description":"Numeric property ID.","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateSpaziousCredentialsV1RequestDto"}}}},"responses":{"200":{"description":"The credentials are valid.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateSpaziousCredentialsV1ResponseDto"}}}},"400":{"description":"Required credentials are missing."},"404":{"description":"Property not found or access denied."},"422":{"description":"The credentials were rejected."},"503":{"description":"Spazious is temporarily unavailable."}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Validate Spazious credentials","tags":["Spaces","Inventory"],"x-vmp-capability-id":"POST /properties/{id}/validate-spazious-credentials","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/properties/{id}/sync-diagrams":{"post":{"operationId":"SyncSpaziousDiagrams","parameters":[{"name":"id","required":true,"in":"path","description":"Numeric property ID.","schema":{"type":"number"}}],"responses":{"202":{"description":"The import started."},"400":{"description":"Spazious is not configured for this property."},"409":{"description":"An import is already running."}},"security":[{"api_key":[]},{"access-token":[]}],"summary":"Import the property's Spazious diagrams","tags":["Spaces","Inventory"],"x-vmp-capability-id":"POST /properties/{id}/sync-diagrams","x-vmp-auth-kinds":["api-key","auth0-bearer"]}},"/api/v1/media-items":{"get":{"description":"Compatibility endpoint for consumers migrating from the legacy API to granular VMP API keys.","operationId":"MediaItemV1Controller_findAll_v1","parameters":[{"name":"externalId3","required":false,"in":"query","schema":{"type":"string"}},{"name":"externalId2","required":false,"in":"query","schema":{"type":"string"}},{"name":"externalId1","required":false,"in":"query","schema":{"type":"string"}},{"name":"updatedAt","required":false,"in":"query","schema":{"type":"number"}},{"name":"createdAt","required":false,"in":"query","schema":{"type":"number"}},{"name":"roomTypeCode","required":false,"in":"query","schema":{"type":"string"}},{"name":"mediaItemType","required":false,"in":"query","schema":{"enum":["Audio","Link","3D Model","PDF","Photo","360 Photo","Video"],"type":"string"}},{"name":"propertyCode","required":false,"in":"query","schema":{"type":"string"}},{"name":"propertyId","required":false,"in":"query","schema":{"type":"number"}},{"name":"order","required":false,"in":"query","schema":{"enum":["ASC","DESC"],"type":"string"}},{"name":"sortBy","required":false,"in":"query","schema":{"enum":["createdAt","updatedAt","name","type"],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"Number of items per page.","schema":{"default":100,"type":"number"}},{"name":"cursor","required":false,"in":"query","description":"Resume a createdAt-sorted list after the previous page: pass that response's `X-Next-Cursor` header. Every page costs the same. Keep the same filters and `order`; it can't be combined with another `sortBy` or with `page` > 1.","schema":{"type":"string"}},{"name":"page","required":false,"in":"query","deprecated":true,"description":"Page number for pagination. Deep pages slow down; prefer `cursor` for walking a long list.","schema":{"default":1,"type":"number"}}],"responses":{"200":{"description":"The complete requested page.","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MediaItemV1ListResponseDto"}}}}},"206":{"description":"The requested page has another page after it.","headers":{"X-Next-Cursor":{"description":"On createdAt-sorted lists: pass as `cursor` to fetch the next page.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MediaItemV1ListResponseDto"}}}}},"400":{"description":"Invalid query, or a cursor that's unreadable or doesn't match these filters, order and sort."},"503":{"description":"The list took too long. Narrow it with propertyId or another filter and retry."}},"security":[{"api_key":[]}],"summary":"List media items using the legacy API contract","tags":["Media Items"],"x-vmp-capability-id":"GET /media-items","x-vmp-auth-kinds":["api-key"]},"post":{"operationId":"CreateMediaItem","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMediaItemV1Dto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaItemV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Create a new media item","tags":["Media Items"],"x-vmp-capability-id":"POST /media-items","x-vmp-auth-kinds":["api-key"]}},"/api/v1/media-items/{id}":{"get":{"operationId":"MediaItemV1Controller_findOne_v1","parameters":[{"name":"id","required":true,"in":"path","description":"Numeric media-item identifier.","schema":{"type":"number"}}],"responses":{"200":{"description":"The requested media item.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaItemV1ResponseDto"}}}},"404":{"description":"Media item not found or access denied."}},"security":[{"api_key":[]}],"summary":"Get a media item by ID using the legacy API contract","tags":["Media Items"],"x-vmp-capability-id":"GET /media-items/{id}","x-vmp-auth-kinds":["api-key"]},"put":{"operationId":"UpdateMediaItem","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMediaItemV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaItemV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Update media item by ID","tags":["Media Items"],"x-vmp-capability-id":"PUT /media-items/{id}","x-vmp-auth-kinds":["api-key"]},"delete":{"operationId":"DeleteMediaItem","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteMediaItemV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Delete media item by ID","tags":["Media Items"],"x-vmp-capability-id":"DELETE /media-items/{id}","x-vmp-auth-kinds":["api-key"]}},"/api/v1/experiences":{"get":{"operationId":"GetExperiences","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExperienceV1ResponseDto"}}}}}},"security":[{"api_key":[]}],"summary":"Get experiences","tags":["Experience"],"x-vmp-capability-id":"GET /experiences","x-vmp-auth-kinds":["api-key"]},"post":{"operationId":"CreateExperience","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateExperienceV1Dto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExperienceV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Create a new experience","tags":["Experience"],"x-vmp-capability-id":"POST /experiences","x-vmp-auth-kinds":["api-key"]}},"/api/v1/experiences/{id}":{"get":{"operationId":"GetExperience","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExperienceV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Get experience by ID","tags":["Experience"],"x-vmp-capability-id":"GET /experiences/{id}","x-vmp-auth-kinds":["api-key"]},"put":{"operationId":"UpdateExperience","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateExperienceV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExperienceV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Update experience","tags":["Experience"],"x-vmp-capability-id":"PUT /experiences/{id}","x-vmp-auth-kinds":["api-key"]},"delete":{"operationId":"DeleteExperience","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteExperienceV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Delete experience","tags":["Experience"],"x-vmp-capability-id":"DELETE /experiences/{id}","x-vmp-auth-kinds":["api-key"]}},"/api/v1/property-analytics/property/{propertyId}/dates":{"get":{"description":"Returns distinct analytics dates for the property, optionally limited by start and end dates.","operationId":"GetPropertyAnalyticsDates","parameters":[{"name":"propertyId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}}}},"security":[{"api_key":[]}],"summary":"List analytics dates for a property","tags":["Property Analytics"],"x-vmp-capability-id":"GET /property-analytics/property/{propertyId}/dates","x-vmp-auth-kinds":["api-key"]}},"/api/v1/property-analytics":{"get":{"description":"Returns a paginated, filterable list of analytics records within the caller's property scope.","operationId":"GetPropertyAnalytics","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PropertyAnalyticsV1ResponseDto"}}}}}},"security":[{"api_key":[]}],"summary":"List property analytics records","tags":["Property Analytics"],"x-vmp-capability-id":"GET /property-analytics","x-vmp-auth-kinds":["api-key"]},"post":{"description":"Creates an analytics record for the property specified in the request body.","operationId":"CreatePropertyAnalytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePropertyAnalyticsV1Dto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyAnalyticsV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Create a property analytics record","tags":["Property Analytics"],"x-vmp-capability-id":"POST /property-analytics","x-vmp-auth-kinds":["api-key"]},"put":{"description":"Creates or updates the record identified by property, date, entity type, and entity ID.","operationId":"UpsertPropertyAnalytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePropertyAnalyticsV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyAnalyticsV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Upsert a property analytics record","tags":["Property Analytics"],"x-vmp-capability-id":"PUT /property-analytics","x-vmp-auth-kinds":["api-key"]}},"/api/v1/property-analytics/{id}":{"get":{"description":"Returns one analytics record by numeric ID within the caller's property scope.","operationId":"GetPropertyAnalyticsById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyAnalyticsV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Get a property analytics record","tags":["Property Analytics"],"x-vmp-capability-id":"GET /property-analytics/{id}","x-vmp-auth-kinds":["api-key"]}},"/api/v1/property-analytics/bulk":{"post":{"description":"Creates or updates up to 5,000 analytics records and returns the number processed.","operationId":"BulkUpsertPropertyAnalytics","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpsertPropertyAnalyticsV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyAnalyticsCountV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Upsert property analytics records","tags":["Property Analytics"],"x-vmp-capability-id":"POST /property-analytics/bulk","x-vmp-auth-kinds":["api-key"]}},"/api/v1/property-analytics/property/{propertyId}":{"delete":{"description":"Deletes analytics records for a property, optionally filtered by date range and entity type, and returns the number deleted.","operationId":"DeletePropertyAnalytics","parameters":[{"name":"propertyId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PropertyAnalyticsCountV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Delete property analytics records","tags":["Property Analytics"],"x-vmp-capability-id":"DELETE /property-analytics/property/{propertyId}","x-vmp-auth-kinds":["api-key"]}},"/api/v1/collections":{"get":{"operationId":"GetCollections","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CollectionV1ResponseDto"}}}}}},"security":[{"api_key":[]}],"summary":"Get all collections","tags":["Collection"],"x-vmp-capability-id":"GET /collections","x-vmp-auth-kinds":["api-key"]},"post":{"operationId":"CreateCollection","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCollectionV1Dto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Create collection","tags":["Collection"],"x-vmp-capability-id":"POST /collections","x-vmp-auth-kinds":["api-key"]}},"/api/v1/collections/{id}":{"get":{"operationId":"GetCollection","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Get collection by ID","tags":["Collection"],"x-vmp-capability-id":"GET /collections/{id}","x-vmp-auth-kinds":["api-key"]},"put":{"operationId":"UpdateCollection","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCollectionV1Dto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Update collection","tags":["Collection"],"x-vmp-capability-id":"PUT /collections/{id}","x-vmp-auth-kinds":["api-key"]},"delete":{"operationId":"DeleteCollection","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteCollectionV1ResponseDto"}}}}},"security":[{"api_key":[]}],"summary":"Delete collection","tags":["Collection"],"x-vmp-capability-id":"DELETE /collections/{id}","x-vmp-auth-kinds":["api-key"]}}},"info":{"title":"Visiting Media Platform API","description":"The Visiting Media Platform API is the programmatic interface for managing your properties and reading their viewer-engagement analytics.\n\nManage each property's tours, media assets, collections, tags, and contacts, control who has access to it, and pull engagement broken down by channel, asset, and experience over any date range.\n\n**Authentication**: each operation lists its supported credentials: `x-api-key`, JWT, OAuth, or no authentication for public routes. Integration credentials are scoped to their approved properties and permissions; requests outside that scope return `403` or `404`.\n\nOperations are grouped by resource in the sidebar, each with its parameters, schema, and a runnable example.","version":"1.0","contact":{}},"tags":[{"name":"Properties","description":"Read and manage properties."},{"name":"Media Items","description":"Read media items."}],"servers":[{"url":"https://vmp-api.demo.truetour.app"}],"components":{"securitySchemes":{"access-token":{"scheme":"bearer","bearerFormat":"JWT","description":"Enter your Auth0 JWT token. Run `pnpm --filter vmp-api get-token` in the terminal to generate one (auto-copies to clipboard).","in":"header","name":"Authorization","type":"http"},"api_key":{"type":"apiKey","in":"header","name":"x-api-key","description":"API key for programmatic access. Sent via the x-api-key header."},"vmp_oauth":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"/api/v2/oauth/authorize","scopes":{},"tokenUrl":"/api/v2/oauth/token"}},"description":"Visiting Media OAuth authorization-code flow with PKCE. Access is governed by the permission matrix approved during consent."}},"schemas":{"CreatePropertyV1RequestDto":{"type":"object","properties":{"code":{"type":"string","maxLength":100},"externalId1":{"type":"string"},"externalId2":{"type":"string"},"externalId3":{"type":"string"},"name":{"type":"string"},"newPublicViewer":{"type":"boolean"},"salesforceId":{"type":"string","pattern":"^001[a-zA-Z0-9]{15}$"},"status":{"type":"string","enum":["active","inactive"]},"subdomain":{"type":"string","maxLength":63,"pattern":"^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"}},"required":["name","salesforceId","subdomain"]},"PropertyV1ResponseDto":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"externalId1":{"type":"string"},"externalId2":{"type":"string"},"externalId3":{"type":"string"},"integrations":{"type":"object","additionalProperties":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]}},"name":{"type":"string"},"newPublicViewer":{"type":"boolean"},"propertyCode":{"type":"string","nullable":true},"propertyId":{"type":"number"},"status":{"type":"string","enum":["active","inactive"]},"subdomain":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true}},"required":["createdAt","integrations","name","newPublicViewer","propertyCode","propertyId","status","subdomain","updatedAt"]},"UpdatePropertyV1Dto":{"type":"object","properties":{"code":{"type":"string"},"externalId1":{"type":"string"},"externalId2":{"type":"string"},"externalId3":{"type":"string"},"name":{"type":"string"},"newPublicViewer":{"type":"boolean"},"salesforceId":{"type":"string","pattern":"^001[a-zA-Z0-9]{15}$"},"status":{"type":"string","enum":["active","inactive"]},"subdomain":{"type":"string","maxLength":63,"pattern":"^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$"}}},"DeletePropertyV1ResponseDto":{"type":"object","properties":{"message":{"type":"string","enum":["Property deleted successfully"]}},"required":["message"]},"UserV1ResponseDto":{"type":"object","properties":{"createdAt":{"type":"string"},"email":{"type":"string"},"id":{"type":"number"},"lastLogin":{"type":"number","nullable":true},"members":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"memberRole":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"}},"required":["id","title"],"nullable":true},"property":{"type":"object","properties":{"code":{"type":"string","nullable":true},"createdAt":{"type":"string"},"externalId1":{"type":"string","nullable":true},"externalId2":{"type":"string","nullable":true},"externalId3":{"type":"string","nullable":true},"id":{"type":"number"},"name":{"type":"string"},"status":{"type":"string","nullable":true},"subdomain":{"type":"string","nullable":true},"updatedAt":{"type":"string","nullable":true}},"required":["createdAt","id","name","updatedAt"]},"propertyId":{"type":"number"},"status":{"type":"string"},"userId":{"type":"number"}},"required":["id","property","propertyId","status","userId"]}},"name":{"type":"string"},"numOfProperties":{"type":"number"},"role":{"type":"string","nullable":true},"status":{"type":"string"},"updatedAt":{"type":"string"}},"required":["createdAt","email","id","members","name","numOfProperties","role","status","updatedAt"]},"CreateDiagramV1Dto":{"type":"object","properties":{"createdByUserId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"graphJson":{"type":"string"},"name":{"type":"string"},"propertyId":{"type":"number"},"spaceId":{"type":"string"},"spaceRecordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"}},"required":["createdByUserId","graphJson","name","propertyId","spaceId"]},"DiagramV1ResponseDto":{"type":"object","properties":{"contentType":{"type":"object","properties":{"id":{"type":"number"},"order":{"type":"number"},"value":{"type":"string"}},"required":["id","order","value"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"photoUrl":{"type":"string"}},"required":["id","name"]},"createdById":{"type":"number","nullable":true},"customTags":{"type":"array","items":{"type":"string"}},"description":{"type":"string","nullable":true},"id":{"type":"number"},"imported":{"type":"boolean"},"inAssetLibrary":{"type":"boolean"},"layoutId":{"type":"string","nullable":true},"link":{"type":"string"},"mediaItemTags":{"type":"array","items":{"type":"object","properties":{"hidden":{"type":"boolean"},"id":{"type":"number"},"name":{"type":"string"},"order":{"type":"number"}},"required":["hidden","id","name","order"]}},"name":{"type":"string"},"propertyId":{"type":"number"},"provider":{"type":"string","enum":["spazious","vm"]},"rawLink":{"type":"string"},"resourceCount":{"type":"number"},"sharePermission":{"type":"string","enum":["view_only","editable",null],"nullable":true},"spaceRecordId":{"type":"string","nullable":true},"spaziousConfig":{"type":"object","properties":{"countsSyncedForUpdatedAt":{"type":"string"},"decorationCounts":{"type":"object","additionalProperties":{"type":"number"}},"diagramId":{"type":"string"},"furnitureCounts":{"type":"object","additionalProperties":{"type":"number"}},"graph":{"type":"string"},"importedAt":{"type":"string"},"permissionLinkId":{"type":"string"},"spaceId":{"type":"string"},"spaziousPropertyId":{"type":"string"},"syncStatus":{"type":"string","enum":["out_of_sync"]},"version":{"type":"number"}},"required":["diagramId","permissionLinkId","spaceId","spaziousPropertyId","version"],"nullable":true},"status":{"type":"string","nullable":true,"enum":["archived"]},"thumbnailUrl":{"type":"string","nullable":true},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["createdAt","id","link","name","propertyId","updatedAt"]},"BulkDuplicateDiagramsV1Dto":{"type":"object","properties":{"createdByUserId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"mediaItemIds":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}}},"required":["createdByUserId","mediaItemIds"]},"BulkDuplicateDiagramsV1ResponseDto":{"type":"object","properties":{"duplicated":{"type":"array","items":{"type":"object","properties":{"contentType":{"type":"object","properties":{"id":{"type":"number"},"order":{"type":"number"},"value":{"type":"string"}},"required":["id","order","value"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"photoUrl":{"type":"string"}},"required":["id","name"]},"createdById":{"type":"number","nullable":true},"customTags":{"type":"array","items":{"type":"string"}},"description":{"type":"string","nullable":true},"id":{"type":"number"},"imported":{"type":"boolean"},"inAssetLibrary":{"type":"boolean"},"layoutId":{"type":"string","nullable":true},"link":{"type":"string"},"mediaItemTags":{"type":"array","items":{"type":"object","properties":{"hidden":{"type":"boolean"},"id":{"type":"number"},"name":{"type":"string"},"order":{"type":"number"}},"required":["hidden","id","name","order"]}},"name":{"type":"string"},"propertyId":{"type":"number"},"provider":{"type":"string","enum":["spazious","vm"]},"rawLink":{"type":"string"},"resourceCount":{"type":"number"},"sharePermission":{"type":"string","enum":["view_only","editable",null],"nullable":true},"spaceRecordId":{"type":"string","nullable":true},"spaziousConfig":{"type":"object","properties":{"countsSyncedForUpdatedAt":{"type":"string"},"decorationCounts":{"type":"object","additionalProperties":{"type":"number"}},"diagramId":{"type":"string"},"furnitureCounts":{"type":"object","additionalProperties":{"type":"number"}},"graph":{"type":"string"},"importedAt":{"type":"string"},"permissionLinkId":{"type":"string"},"spaceId":{"type":"string"},"spaziousPropertyId":{"type":"string"},"syncStatus":{"type":"string","enum":["out_of_sync"]},"version":{"type":"number"}},"required":["diagramId","permissionLinkId","spaceId","spaziousPropertyId","version"],"nullable":true},"status":{"type":"string","nullable":true,"enum":["archived"]},"thumbnailUrl":{"type":"string","nullable":true},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"sourceId":{"type":"number"}},"required":["createdAt","id","link","name","propertyId","updatedAt","sourceId"]}},"failures":{"type":"array","items":{"type":"object","properties":{"error":{"type":"string"},"sourceId":{"type":"number"}},"required":["error","sourceId"]}}},"required":["duplicated","failures"]},"DuplicateDiagramV1Dto":{"type":"object","properties":{"createdByUserId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["createdByUserId"]},"DiagramFurnitureV1ResponseDto":{"type":"object","properties":{"availabilityStatus":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"furnitureType":{"type":"string"},"furnitureUuid":{"type":"string"},"height":{"type":"string","nullable":true},"id":{"type":"string"},"inventory":{"type":"number","nullable":true},"inventoryKind":{"type":"string","enum":["furniture","decoration"]},"length":{"type":"string","nullable":true},"name":{"type":"string"},"propertyId":{"type":"number"},"providerFurnitureId":{"type":"string"},"spaziousHotelId":{"type":"string"},"syncedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true},"thumbnailUrl":{"type":"string","nullable":true},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"width":{"type":"string","nullable":true},"isOverage":{"type":"boolean"},"usageCount":{"type":"number"}},"required":["availabilityStatus","createdAt","furnitureType","furnitureUuid","height","id","inventory","inventoryKind","length","name","propertyId","providerFurnitureId","spaziousHotelId","syncedAt","thumbnailUrl","updatedAt","width","isOverage","usageCount"]},"DiagramFreshnessV1ResponseDto":{"type":"object","properties":{"expectedNodes":{"type":"array","items":{"type":"string"}},"setupUpdatedAt":{"type":"string"},"stale":{"type":"boolean"}},"required":["stale"]},"UpdateDiagramV1Dto":{"type":"object","properties":{"countsSyncedForUpdatedAt":{"type":"string","maxLength":64},"decorationCounts":{"type":"object","additionalProperties":{"type":"number"}},"furnitureCounts":{"type":"object","additionalProperties":{"type":"number"}},"graphJson":{"type":"string"},"name":{"type":"string"}}},"UpdateDiagramMetadataV1Dto":{"type":"object","properties":{"customTags":{"type":"array","items":{"type":"string"}},"description":{"type":"string","maxLength":500,"nullable":true}}},"AssignDiagramOwnerV1Dto":{"type":"object","properties":{"ownerUserId":{"type":"integer","exclusiveMinimum":true,"maximum":9007199254740991,"minimum":0}},"required":["ownerUserId"],"additionalProperties":false},"UpdateDiagramSharePermissionV1Dto":{"type":"object","properties":{"sharePermission":{"type":"string","enum":["view_only","editable"]}},"required":["sharePermission"]},"SpaceV1ResponseDto":{"type":"object","properties":{"capacity":{"type":"number"},"ceilingHeightFeet":{"type":"number"},"ceilingHeightMeters":{"type":"number"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"description":{"type":"string"},"exterior":{"type":"boolean"},"floor":{"type":"string"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$"},"metadata":{"type":"object","additionalProperties":{}},"name":{"type":"string"},"propertyId":{"type":"number"},"provider":{"type":"string"},"providerSpaceId":{"type":"string"},"removedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true},"roomHeightFeet":{"type":"number"},"roomHeightMeters":{"type":"number"},"roomLengthFeet":{"type":"number"},"roomLengthMeters":{"type":"number"},"roomWidthFeet":{"type":"number"},"roomWidthMeters":{"type":"number"},"sourceMatterportMediaItemId":{"type":"number"},"surfaceFeet":{"type":"number"},"surfaceMeters":{"type":"number"},"tags":{"type":"array","items":{"type":"object","properties":{"hidden":{"type":"boolean"},"id":{"type":"number"},"name":{"type":"string"},"order":{"type":"number"}},"required":["hidden","id","name","order"]}},"thumbnailUrl":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"vmRemovedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true}},"required":["createdAt","id","propertyId","provider","removedAt","updatedAt","vmRemovedAt"]},"UpdateSpaceV1Dto":{"type":"object","properties":{"description":{"type":"string"},"name":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1}},"required":["name"]}},"thumbnailUrl":{"type":"string"},"vmRemoved":{"type":"boolean"}}},"InventoryItemV1ResponseDto":{"type":"object","properties":{"availabilityStatus":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"furnitureType":{"type":"string"},"furnitureUuid":{"type":"string"},"height":{"type":"string","nullable":true},"id":{"type":"string"},"inventory":{"type":"number","nullable":true},"inventoryKind":{"type":"string","enum":["furniture","decoration"]},"length":{"type":"string","nullable":true},"name":{"type":"string"},"propertyId":{"type":"number"},"providerFurnitureId":{"type":"string"},"spaziousHotelId":{"type":"string"},"syncedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true},"thumbnailUrl":{"type":"string","nullable":true},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"width":{"type":"string","nullable":true}},"required":["availabilityStatus","createdAt","furnitureType","furnitureUuid","height","id","inventory","inventoryKind","length","name","propertyId","providerFurnitureId","spaziousHotelId","syncedAt","thumbnailUrl","updatedAt","width"]},"UpdateFurnitureV1Dto":{"type":"object","properties":{"availabilityStatus":{"type":"string","enum":["public","private","disabled"]},"inventory":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1}}},"SpaziousTokenV1ResponseDto":{"type":"object","properties":{"accessToken":{"type":"string"},"spaziousPropertyId":{"type":"string"}},"required":["accessToken","spaziousPropertyId"]},"ValidateSpaziousCredentialsV1RequestDto":{"type":"object","properties":{"clientId":{"type":"string"},"clientSecret":{"type":"string"},"spaziousPropertyId":{"type":"string"}}},"ValidateSpaziousCredentialsV1ResponseDto":{"type":"object","properties":{"valid":{"type":"boolean","enum":[true]}},"required":["valid"]},"MediaItemV1ListResponseDto":{"type":"object","properties":{"altText":{"type":"string","nullable":true},"ariaLabel":{"type":"string","nullable":true},"assetCategory":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"}},"required":["id","name"],"nullable":true},"contentType":{"type":"object","properties":{"id":{"type":"number"},"order":{"type":"number","nullable":true},"value":{"type":"string"}},"required":["id","order","value"],"nullable":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"createdBy":{"type":"object","properties":{"email":{"type":"string"},"id":{"type":"number"},"name":{"type":"string"}},"required":["email","id","name"],"nullable":true},"description":{"type":"string","nullable":true},"externalId1":{"type":"string"},"externalId2":{"type":"string"},"externalId3":{"type":"string"},"fileExtension":{"type":"string","nullable":true},"fileSize":{"type":"number","nullable":true},"fileType":{"type":"string","nullable":true},"id":{"type":"number"},"initialContentType":{"type":"object","properties":{"id":{"type":"number"},"order":{"type":"number","nullable":true},"value":{"type":"string"},"name":{"type":"string"}},"required":["id","order","value","name"],"nullable":true},"initialType":{"type":"string"},"link":{"type":"string"},"mediaItemTags":{"type":"array","items":{"type":"object","properties":{"hidden":{"type":"boolean"},"id":{"type":"number"},"MediaItemTag":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"mediaItemId":{"type":"number"},"propertyId":{"type":"number"},"tagId":{"type":"number"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true}},"required":["createdAt","mediaItemId","propertyId","tagId","updatedAt"]},"name":{"type":"string"},"order":{"type":"number"}},"required":["hidden","id","MediaItemTag","name","order"]}},"name":{"type":"string"},"ogTitle":{"type":"string","nullable":true},"property":{"type":"object","properties":{"address":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"externalId1":{"type":"string","nullable":true},"externalId2":{"type":"string","nullable":true},"externalId3":{"type":"string","nullable":true},"id":{"type":"number"},"name":{"type":"string"},"status":{"type":"string","enum":["active","inactive"]},"subdomain":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true}},"required":["address","code","createdAt","externalId1","externalId2","externalId3","id","name","status","subdomain","updatedAt"]},"propertyId":{"type":"number"},"rawLink":{"type":"string"},"roomTypeCode":{"type":"string","nullable":true},"sceneDefaultView":{"type":"string","nullable":true},"sceneDescription":{"type":"string","nullable":true},"sceneId":{"type":"string","nullable":true},"supportedUrl":{"type":"string","nullable":true},"thumbnailUrl":{"type":"string","nullable":true},"transcript":{"type":"string","nullable":true},"type":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true},"xFrameOptions":{"type":"string","nullable":true},"assetCategoryId":{"type":"number","nullable":true},"code":{"type":"string","nullable":true},"contentTypeId":{"type":"number"},"createdById":{"type":"number","nullable":true},"deletedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true},"enrichmentData":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{}},{"type":"object","additionalProperties":{}}],"nullable":true},"enrichmentEnabled":{"type":"boolean"},"initialContentTypeId":{"type":"number"},"isEmbeddable":{"type":"boolean","nullable":true},"legacyPath":{"type":"string","nullable":true},"numOfMembers":{"type":"number"},"numOfTags":{"type":"number"},"processed":{"type":"boolean","nullable":true},"roomId":{"type":"string","nullable":true},"spaceRecordId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$","nullable":true},"spaziousConfig":{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{}},{"type":"object","additionalProperties":{}}],"nullable":true}},"required":["altText","ariaLabel","assetCategory","contentType","createdAt","createdBy","description","fileExtension","fileSize","fileType","id","initialContentType","link","mediaItemTags","name","ogTitle","property","propertyId","rawLink","roomTypeCode","sceneDefaultView","sceneDescription","sceneId","supportedUrl","thumbnailUrl","transcript","updatedAt","xFrameOptions","assetCategoryId","code","contentTypeId","createdById","deletedAt","enrichmentData","enrichmentEnabled","initialContentTypeId","isEmbeddable","legacyPath","numOfMembers","numOfTags","processed","roomId","spaceRecordId","spaziousConfig"]},"MediaItemV1ResponseDto":{"type":"object","properties":{"altText":{"type":"string","nullable":true},"ariaLabel":{"type":"string","nullable":true},"assetCategory":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"}},"required":["id","name"],"nullable":true},"contentType":{"type":"object","properties":{"id":{"type":"number"},"order":{"type":"number","nullable":true},"value":{"type":"string"}},"required":["id","order","value"],"nullable":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"createdBy":{"type":"object","properties":{"email":{"type":"string"},"id":{"type":"number"},"name":{"type":"string"}},"required":["email","id","name"],"nullable":true},"description":{"type":"string","nullable":true},"externalId1":{"type":"string"},"externalId2":{"type":"string"},"externalId3":{"type":"string"},"fileExtension":{"type":"string","nullable":true},"fileSize":{"type":"number","nullable":true},"fileType":{"type":"string","nullable":true},"id":{"type":"number"},"initialContentType":{"type":"object","properties":{"id":{"type":"number"},"order":{"type":"number","nullable":true},"value":{"type":"string"},"name":{"type":"string"}},"required":["id","order","value","name"],"nullable":true},"initialType":{"type":"string"},"link":{"type":"string"},"mediaItemTags":{"type":"array","items":{"type":"object","properties":{"hidden":{"type":"boolean"},"id":{"type":"number"},"MediaItemTag":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"mediaItemId":{"type":"number"},"propertyId":{"type":"number"},"tagId":{"type":"number"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true}},"required":["createdAt","mediaItemId","propertyId","tagId","updatedAt"]},"name":{"type":"string"},"order":{"type":"number"}},"required":["hidden","id","MediaItemTag","name","order"]}},"name":{"type":"string"},"ogTitle":{"type":"string","nullable":true},"property":{"type":"object","properties":{"address":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"externalId1":{"type":"string","nullable":true},"externalId2":{"type":"string","nullable":true},"externalId3":{"type":"string","nullable":true},"id":{"type":"number"},"name":{"type":"string"},"status":{"type":"string","enum":["active","inactive"]},"subdomain":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true}},"required":["address","code","createdAt","externalId1","externalId2","externalId3","id","name","status","subdomain","updatedAt"]},"propertyId":{"type":"number"},"rawLink":{"type":"string"},"roomTypeCode":{"type":"string","nullable":true},"sceneDefaultView":{"type":"string","nullable":true},"sceneDescription":{"type":"string","nullable":true},"sceneId":{"type":"string","nullable":true},"supportedUrl":{"type":"string","nullable":true},"thumbnailUrl":{"type":"string","nullable":true},"transcript":{"type":"string","nullable":true},"type":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","nullable":true},"xFrameOptions":{"type":"string","nullable":true}},"required":["altText","ariaLabel","assetCategory","contentType","createdAt","createdBy","description","fileExtension","fileSize","fileType","id","initialContentType","link","mediaItemTags","name","ogTitle","property","propertyId","rawLink","roomTypeCode","sceneDefaultView","sceneDescription","sceneId","supportedUrl","thumbnailUrl","transcript","updatedAt","xFrameOptions"]},"CreateMediaItemV1Dto":{"type":"object","properties":{"altText":{"type":"string"},"ariaLabel":{"type":"string"},"assetCategoryId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"contentType":{"type":"string","enum":["360 Photo","3D Model","Video","Photo","PDF","Link","Audio"]},"description":{"type":"string"},"enrichmentData":{"type":"object","additionalProperties":{}},"enrichmentEnabled":{"type":"boolean"},"externalId1":{"type":"string"},"externalId2":{"type":"string"},"externalId3":{"type":"string"},"fileExtension":{"type":"string"},"fileSize":{"type":"number"},"fileType":{"type":"string"},"link":{"type":"string"},"name":{"type":"string"},"ogTitle":{"type":"string"},"propertyId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"roomTypeCode":{"type":"string"},"sceneDefaultView":{"type":"string"},"sceneDescription":{"type":"string"},"sceneId":{"type":"string"},"supportedUrl":{"type":"string"},"transcript":{"type":"string"},"xFrameOptions":{"type":"string"}},"required":["contentType","link","propertyId"]},"UpdateMediaItemV1Dto":{"type":"object","properties":{"altText":{"type":"string"},"ariaLabel":{"type":"string"},"assetCategoryId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"contentType":{"type":"string","enum":["360 Photo","3D Model","Video","Photo","PDF","Link","Audio"]},"enrichmentData":{"type":"object","additionalProperties":{}},"enrichmentEnabled":{"type":"boolean"},"externalId1":{"type":"string"},"externalId2":{"type":"string"},"externalId3":{"type":"string"},"fileExtension":{"type":"string"},"fileSize":{"type":"number"},"fileType":{"type":"string"},"link":{"type":"string"},"name":{"type":"string"},"ogTitle":{"type":"string"},"propertyId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"roomTypeCode":{"type":"string"},"sceneDefaultView":{"type":"string"},"sceneDescription":{"type":"string"},"sceneId":{"type":"string"},"supportedUrl":{"type":"string"},"transcript":{"type":"string"},"xFrameOptions":{"type":"string"}}},"DeleteMediaItemV1ResponseDto":{"type":"object","properties":{"message":{"type":"string","enum":["Media Item deleted successfully"]}},"required":["message"]},"ExperienceV1ResponseDto":{"type":"object","properties":{"activity":{"type":"string"},"assetCategoriesToggled":{"type":"object","additionalProperties":{}},"assetCategoryFilterId":{"type":"number"},"assetMenuOpen":{"type":"boolean"},"carousel":{"type":"boolean"},"contentsOrdered":{"type":"object","additionalProperties":{}},"createdAt":{"type":"string"},"createdBy":{"type":"object","properties":{"email":{"type":"string","nullable":true},"id":{"type":"number"},"name":{"type":"string"}},"required":["email","id","name"]},"createdById":{"type":"number"},"currentMediaItem":{"type":"object","properties":{"id":{"type":"number"},"link":{"type":"string"},"name":{"type":"string"}},"required":["id","link","name"]},"currentMediaItemId":{"type":"number"},"dbcEnabled":{"type":"boolean"},"dbcUser":{"type":"object","properties":{"email":{"type":"string","nullable":true},"id":{"type":"number"},"name":{"type":"string"}},"required":["email","id","name"]},"dbcUserId":{"type":"number"},"deletedAt":{"type":"string","nullable":true},"description":{"type":"string"},"externalId1":{"type":"string"},"externalId2":{"type":"string"},"externalId3":{"type":"string"},"firestoreUid":{"type":"string"},"gridView":{"type":"boolean"},"id":{"type":"number"},"isTemplate":{"type":"boolean"},"language":{"type":"string"},"lastActivityAt":{"type":"string"},"lastModifiedAt":{"type":"string"},"leftDrawer":{"type":"boolean"},"link":{"type":"string"},"locked":{"type":"boolean"},"numOfContacts":{"type":"number"},"numOfMembers":{"type":"number"},"organization":{"type":"object","properties":{"displayName":{"type":"string","nullable":true},"id":{"type":"number"},"salesforceName":{"type":"string","nullable":true}},"required":["displayName","id","salesforceName"]},"organizationId":{"type":"number"},"primaryFilter":{"type":"string"},"property":{"type":"object","properties":{"code":{"type":"string","nullable":true},"id":{"type":"number"},"name":{"type":"string"},"status":{"type":"string"},"subdomain":{"type":"string"}},"required":["code","id","name","status","subdomain"]},"propertyId":{"type":"number"},"propertyInfoCardEnabled":{"type":"boolean"},"rightDrawer":{"type":"boolean"},"search":{"type":"object","additionalProperties":{}},"searchField":{"type":"boolean"},"startingAssetId":{"type":"number"},"status":{"type":"string"},"tagFilterId":{"type":"number"},"tagsToggled":{"type":"object","additionalProperties":{}},"title":{"type":"string"},"typeFilterId":{"type":"number"},"typesToggled":{"type":"object","additionalProperties":{}},"typeTagFilter":{"type":"boolean"},"updatedAt":{"type":"string"},"userCollection":{"type":"boolean"},"userCollectionSync":{"type":"boolean"},"userCollectionSyncToggledAt":{"type":"string"}},"required":["activity","assetMenuOpen","carousel","createdAt","deletedAt","gridView","id","isTemplate","leftDrawer","link","locked","numOfContacts","numOfMembers","primaryFilter","propertyId","propertyInfoCardEnabled","rightDrawer","searchField","status","title","typeTagFilter","updatedAt","userCollection","userCollectionSync"]},"CreateExperienceV1Dto":{"type":"object","properties":{"activity":{"type":"string","enum":["unopened","opened"]},"assetCategoriesToggled":{"type":"object","additionalProperties":{}},"assetCategoryFilterId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"assetMenuOpen":{"type":"boolean"},"carousel":{"type":"boolean"},"contentsOrdered":{"type":"object","additionalProperties":{}},"currentMediaItemId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"dbcEnabled":{"type":"boolean"},"dbcUserId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":{"type":"string"},"externalId1":{"type":"string"},"externalId2":{"type":"string"},"externalId3":{"type":"string"},"gridView":{"type":"boolean"},"isTemplate":{"type":"boolean"},"language":{"type":"string"},"leftDrawer":{"type":"boolean"},"locked":{"type":"boolean"},"primaryFilter":{"type":"string","enum":["type","tag"]},"propertyId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"propertyInfoCardEnabled":{"type":"boolean"},"rightDrawer":{"type":"boolean"},"search":{"type":"object","additionalProperties":{}},"searchField":{"type":"boolean"},"startingAssetId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"status":{"type":"string","enum":["draft","shared","single_share"]},"tagFilterId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"tagsToggled":{"type":"object","additionalProperties":{}},"title":{"type":"string","maxLength":255},"typeFilterId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"typesToggled":{"type":"object","additionalProperties":{}},"typeTagFilter":{"type":"boolean"},"userCollection":{"type":"boolean"},"userCollectionSync":{"type":"boolean"}},"required":["currentMediaItemId","dbcEnabled","dbcUserId","propertyId","status","title"]},"UpdateExperienceV1Dto":{"type":"object","properties":{"activity":{"type":"string","enum":["unopened","opened"]},"assetCategoriesToggled":{"type":"object","additionalProperties":{}},"assetCategoryFilterId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"assetMenuOpen":{"type":"boolean"},"carousel":{"type":"boolean"},"contentsOrdered":{"type":"object","additionalProperties":{}},"currentMediaItemId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"dbcEnabled":{"type":"boolean"},"dbcUserId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"description":{"type":"string"},"externalId1":{"type":"string"},"externalId2":{"type":"string"},"externalId3":{"type":"string"},"gridView":{"type":"boolean"},"isTemplate":{"type":"boolean"},"language":{"type":"string"},"leftDrawer":{"type":"boolean"},"locked":{"type":"boolean"},"primaryFilter":{"type":"string","enum":["type","tag"]},"propertyId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"propertyInfoCardEnabled":{"type":"boolean"},"rightDrawer":{"type":"boolean"},"search":{"type":"object","additionalProperties":{}},"searchField":{"type":"boolean"},"startingAssetId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"status":{"type":"string","enum":["draft","shared","single_share"]},"tagFilterId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"tagsToggled":{"type":"object","additionalProperties":{}},"title":{"type":"string","maxLength":255},"typeFilterId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"typesToggled":{"type":"object","additionalProperties":{}},"typeTagFilter":{"type":"boolean"},"userCollection":{"type":"boolean"},"userCollectionSync":{"type":"boolean"}}},"DeleteExperienceV1ResponseDto":{"type":"object","properties":{"message":{"type":"string","enum":["Experience deleted successfully"]}},"required":["message"]},"PropertyAnalyticsV1ResponseDto":{"type":"object","properties":{"assetType":{"type":"string","nullable":true},"avgPagesViewed":{"type":"number","nullable":true},"avgTimeSpent":{"type":"number"},"creatorId":{"type":"number","nullable":true},"creatorName":{"type":"string","nullable":true},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"entityId":{"type":"string","nullable":true},"entityName":{"type":"string","nullable":true},"entityType":{"type":"string","enum":["experience","asset","channel"]},"propertyId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sharedByCount":{"type":"number"},"views":{"type":"number"},"createdAt":{"type":"string"},"id":{"type":"number"},"property":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"}},"required":["id","name"]},"updatedAt":{"type":"string"}},"required":["assetType","avgPagesViewed","avgTimeSpent","creatorId","creatorName","date","entityId","entityName","entityType","propertyId","sharedByCount","views","createdAt","id","updatedAt"]},"CreatePropertyAnalyticsV1Dto":{"type":"object","properties":{"assetType":{"type":"string","nullable":true},"avgPagesViewed":{"type":"number","minimum":0,"nullable":true},"avgTimeSpent":{"type":"number","minimum":0},"creatorId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"nullable":true},"creatorName":{"type":"string","nullable":true},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"entityId":{"type":"string","nullable":true},"entityName":{"type":"string","nullable":true},"entityType":{"type":"string","enum":["experience","asset","channel"]},"propertyId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sharedByCount":{"type":"number","minimum":0},"views":{"type":"number","minimum":0}},"required":["date","entityType","propertyId"]},"BulkUpsertPropertyAnalyticsV1Dto":{"type":"object","properties":{"records":{"minItems":1,"maxItems":5000,"type":"array","items":{"type":"object","properties":{"assetType":{"type":"string","nullable":true},"avgPagesViewed":{"type":"number","minimum":0,"nullable":true},"avgTimeSpent":{"type":"number","minimum":0},"creatorId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"nullable":true},"creatorName":{"type":"string","nullable":true},"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"entityId":{"type":"string","nullable":true},"entityName":{"type":"string","nullable":true},"entityType":{"type":"string","enum":["experience","asset","channel"]},"propertyId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"sharedByCount":{"type":"number","minimum":0},"views":{"type":"number","minimum":0}},"required":["date","entityType","propertyId"]}}},"required":["records"]},"PropertyAnalyticsCountV1ResponseDto":{"type":"object","properties":{"count":{"type":"number"}},"required":["count"]},"CollectionV1ResponseDto":{"type":"object","properties":{"createdAt":{"type":"string"},"id":{"type":"number"},"mediaItems":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"link":{"type":"string"},"name":{"type":"string"}},"required":["id","link","name"]}},"name":{"type":"string"},"property":{"type":"object","properties":{"code":{"type":"string","nullable":true},"createdAt":{"type":"string"},"id":{"type":"number"},"name":{"type":"string"},"status":{"type":"string"},"subdomain":{"type":"string"},"updatedAt":{"type":"string"}},"required":["code","createdAt","id","name","status","subdomain","updatedAt"]},"propertyId":{"type":"number"},"smart":{"type":"boolean"},"updatedAt":{"type":"string"}},"required":["createdAt","id","name","propertyId","smart","updatedAt"]},"CreateCollectionV1Dto":{"type":"object","properties":{"name":{"type":"string"},"propertyId":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"smart":{"type":"boolean"}},"required":["name","propertyId"]},"UpdateCollectionV1Dto":{"type":"object","properties":{"name":{"type":"string"},"smart":{"type":"boolean"}}},"DeleteCollectionV1ResponseDto":{"type":"object","properties":{"message":{"type":"string","enum":["Collection deleted successfully"]}},"required":["message"]}}}}