<?xml version="1.0" encoding="UTF-8"?> <xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="access" type="access"/> <xs:element name="entityId" type="entityId"/> <xs:element name="external_sharing_restrictions" type="externalSharingRestrictions"/> <xs:element name="link" type="link"/> <xs:element name="longIdLinkPair" type="longIdLinkPair"/> <xs:element name="recipient" type="recipient"/> <xs:element name="results" type="searchResultList"/> <xs:element name="share" type="share"/> <xs:element name="share_recipient" type="shareRecipient"/> <xs:element name="sharing_permission" type="sharingPermission"/> <xs:element name="assigned_right" type="assignedRight"/> <xs:element name="assigned_sharing_permission" type="assignedSharingPermission"/> <xs:element name="admin_desktop_app_config" type="desktopAppAdminConfig"/> <xs:element name="group_synchronization" type="groupSynchronization"/> <xs:element name="pair" type="keyValuePair"/> <xs:element name="home_dir_config" type="ldapHomeDirConfig"/> <xs:element name="search_info" type="ldapSearchInfo"/> <xs:element name="ldap_sync_results" type="ldapSyncResults"/> <xs:element name="user_source" type="ldapUserSource"/> <xs:element name="net_folder" type="netFolder"/> <xs:element name="net_folder_server" type="netFolderServer"/> <xs:element name="net_folder_sync_status" type="netFolderSyncStatus"/> <xs:element name="personal_storage" type="personalStorage"/> <xs:element name="rest_api_root" type="rootAdminObject"/> <xs:element name="schedule" type="schedule"/> <xs:element name="selected_days" type="selectedDays"/> <xs:element name="share_settings" type="shareSettings"/> <xs:element name="time" type="time"/> <xs:element name="user_source_synchronization" type="userSourceSynchronization"/> <xs:element name="user_synchronization" type="userSynchronization"/> <xs:element name="web_app_config" type="webAppConfig"/> <xs:complexType name="access"> <xs:annotation> <xs:documentation> <![CDATA[The access a user or group has to a resource.]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> <xs:sequence> <xs:element name="role" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Allowed values are <code>NONE</code>, <code>VIEWER</code>, <code>EDITOR</code>, <code>CONTRIBUTOR</code> and <code>ACCESS</code>. Not all values are allowed in every context where Access objects are used.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="sharing" type="sharingPermission" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The sharing permissions assigned to the user or group.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="baseRestObject" abstract="true"> <xs:annotation> <xs:documentation> <![CDATA[A base class for many of the REST data types.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="href" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The path to this resource object. This is relative to the root of the REST API (https://serveraddress/rest).]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="links" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Links to related resources. These should be used to navigate the REST API (instead of hard-coding the URLs)]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="link" type="link" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[Links to related resources. These should be used to navigate the REST API (instead of hard-coding the URLs)]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="entityId"> <xs:annotation> <xs:documentation> <![CDATA[An ID, type and HRef which references another resource object.]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="longIdLinkPair"> <xs:sequence> <xs:element name="type" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The type of object. Types include <code>folder</code>, <code>folderEntry</code>, <code>user</code> and <code>group</code>.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="externalSharingRestrictions"> <xs:annotation> <xs:documentation> <![CDATA[Restrictions for sharing with external users.]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> <xs:sequence> <xs:element name="mode" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The sharing restriction mode. <p>Allowed values are: <ul> <li><code>none</code>: there are no domain or email restrictions for users with rights to share with external users.</li> <li><code>whitelist</code>: users with external sharing rights can only share with listed email addresses and email domains.</li> <li><code>blacklist</code>: users with external sharing rights can share with any email address except those listed.</li> </ul> </p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="email_list" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[List of email address that are acceptable (whitelist mode) or unacceptable (blacklist mode)]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="email" type="xs:string" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[List of email address that are acceptable (whitelist mode) or unacceptable (blacklist mode)]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="domain_list" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[List of email domains that are acceptable (whitelist mode) or unacceptable (blacklist mode)]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="domain" type="xs:string" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[List of email domains that are acceptable (whitelist mode) or unacceptable (blacklist mode)]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="link"> <xs:annotation> <xs:documentation> <![CDATA[A link to a related resource.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="href" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The path to the resource. This is relative to the root of the REST API (https://serveraddress/rest).]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="rel" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The named relationship of the related link.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="longIdLinkPair"> <xs:annotation> <xs:documentation> <![CDATA[An ID and HRef which references another resource object.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="id" type="xs:long" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The ID of the resource.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="href" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The path to the resource. This is relative to the root of the REST API (https://serveraddress/rest).]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="recipient"> <xs:annotation> <xs:documentation> <![CDATA[A reference to a user or group that is the recipient of a share or assigned permission.]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="longIdLinkPair"> <xs:sequence> <xs:element name="type" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Type of the recipient. <p> For assigned permissions, allowed values are: <ul> <li><code>user</code></li> <li><code>group</code></li> </ul> </p> <p> For share recipients, allowed values are: <ul> <li><code>user</code></li> <li><code>group</code></li> <li><code>external_user</code></li> <li><code>public</code></li> <li><code>public_link</code></li> </ul> </p>]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="searchResultList"> <xs:annotation> <xs:documentation> <![CDATA[A list of paged results.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="first" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The 0-based index of the first result included in the list.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="count" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of results returned.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="total" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The total number of matching results.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="next" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Path that can be used to retrieve the next page of results.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="items" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The list of results.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="item" type="xs:anyType" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[The list of results.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="share"> <xs:annotation> <xs:documentation> <![CDATA[Information about a file or folder that has been shared.]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> <xs:sequence> <xs:element name="permalinks" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The shared item's public URLs.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="permalink" type="link" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[The shared item's public URLs.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="comment" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Note entered by the sharer.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="sharer" type="longIdLinkPair" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[A reference to the user who shared the item.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="sharing_date" type="xs:dateTime" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The date the item was shared.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="days_to_expire" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Days until the share expires. This is the initial value set by the sharer, not necessarily the current number of days remaining. When posting a share with <code>days_to_expire</code> to the REST API, the server calculates the expiration date and sets <code>expiration</code> accordingly]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="expiration" type="xs:dateTime" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Date and time when the share expires. When posting a share to the REST API, only one of <code>days_to_expire</code> and <code>expiration</code> should be specified.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="id" type="xs:long" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[ID of the share.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="recipient" type="shareRecipient" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Reference to the recipient of the shared item.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="shared_entity" type="entityId" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Reference to the shared item.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="access" type="access" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The access granted to the recipient.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="shareRecipient"> <xs:annotation> <xs:documentation> <![CDATA[Reference to the recipient of a shared item. <p> Type can be one of <code>user</code>, <code>group</code>. <code>external_user</code>, <code>public</code>. <code>public_link</code>. If type is <code>public</code> or <code>public_link</code>, ID and hrek are not applicable. </p>]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="recipient"> <xs:sequence> <xs:element name="email" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The email address of the recipient. Only applies when <code>type</code> is <code>external_user</code>.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="sharingPermission"> <xs:annotation> <xs:documentation> <![CDATA[Sharing permissions]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="external" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not sharing with external users is allowed.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="internal" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not sharing with internal users is allowed.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="all_internal" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not sharing with the All Internal Users group is allowed.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="all_external" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not sharing with the All External Users group is allowed.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="public" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not making an item public is allowed..]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="public_link" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not sharing via a public link is allowed.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="grant_reshare" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not the recipient can reshare an item.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="assignedRight"> <xs:annotation> <xs:documentation> <![CDATA[A right that has been assigned to a recipient. <p>The recipient can be a user or a group.</p>]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="principal" type="recipient" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The user or group.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="access" type="access" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The access right granted to the recipient.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="assignedSharingPermission"> <xs:annotation> <xs:documentation> <![CDATA[The sharing permissions that have been granted to a recipient. <p>The recipient can be a user or a group.</p>]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="principal" type="recipient" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The user or group.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="sharing" type="sharingPermission" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The sharing permission that is granted to the recipient.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="desktopAppAdminConfig"> <xs:annotation> <xs:documentation> <![CDATA[The desktop application system settings.]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> <xs:sequence> <xs:element name="enabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Controls whether users can use the desktop application to browse the system.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="allow_cached_password" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Controls whether the desktop application should store the users password. <p>If true, the desktop application will give the user the option to remember his or her password</p> <p>If false, the desktop application will require the user to log in each time the application starts.</p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="max_file_size_mbs" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Maximum size of file that the desktop application will sync to the desktop.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="sync_interval_mins" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Controls how often the desktop application will check with the server for updated configuration and new files.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="groupSynchronization"> <xs:annotation> <xs:documentation> <![CDATA[The LDAP group synchronization settings.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="register" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Register LDAP group profiles automatically.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="sync_profiles" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Synchronize group profiles.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="sync_membership" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Synchronize group membership.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="delete_removed_groups" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Delete groups that were provisioned from LDAP but are no longer in LDAP.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="keyValuePair"> <xs:annotation> <xs:documentation> <![CDATA[A generic key/value pair. <p>Used to represent LDAP attribute mappings in LDAP User Source configurations</p>]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="key" type="xs:string" minOccurs="0"> </xs:element> <xs:element name="value" type="xs:string" minOccurs="0"> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="ldapHomeDirConfig"> <xs:annotation> <xs:documentation> <![CDATA[Configuration defining how home directory net folders are created for users that are imported from LDAP.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="type" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[One of <code>home_dir_attribute</code>,<code>custom_attribute</code>,<code>custom_net_folder</code>,<code>none</code> <p> <ul> <li><code>home_dir_attribute</code>: The LDAP home directory attribute contains the location of the user's home directory. No other fields are necessary.</li> <li><code>custom_attribute</code>: A custom LDAP attribute contains the location of the user's home directory. The attribute is defined in the <code>ldap_attribute</code> field.</li> <li><code>custom_net_folder</code>: User home directories can be found in a custom location defined by <code>net_folder_server</code> and <code>path</code>.</li> <li><code>none</code>: Home directory net folders are not created.</li> </ul> </p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="net_folder_server" type="longIdLinkPair" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[When <code>type</code> is <code>custom_net_folder</code>, this defines the Net Folder Server that hosts the user home directory net folders.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="path" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[When <code>type</code> is <code>custom_net_folder</code>, this defines the path on the Net Folder Server where the user home directory net folders reside.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="ldap_attribute" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[When <code>type</code> is <code>custom_attribute</code>, this defines the LDAP attribute that contains the location of the user home directory..]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="ldapSearchInfo"> <xs:annotation> <xs:documentation> <![CDATA[An LDAP container to search for users or groups.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="base_dn" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The base DN to search.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="filter" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The LDAP filter to use when searching.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="search_subtree" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Defines whether to search the LDAP subtree or just a single container.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="home_dir_config" type="ldapHomeDirConfig" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Defines how user directory net folders are configured.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="ldapSyncResults"> <xs:annotation> <xs:documentation> <![CDATA[The results of performing an LDAP sync.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="status" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The final status of the LDAP sync job. <p>Possible values are: <ul> <li>STATUS_COLLECT_RESULTS</li> <li>STATUS_COMPLETED</li> <li>STATUS_STOP_COLLECTING_RESULTS</li> <li>STATUS_ABORTED_BY_ERROR</li> <li>STATUS_SYNC_ALREADY_IN_PROGRESS</li> </ul> </p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="added_users" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The new users that have been found in the LDAP directory.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="user" type="xs:string" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[The new users that have been found in the LDAP directory.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="modified_users" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The users that have been modified.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="user" type="xs:string" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[The users that have been modified.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="deleted_users" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The users that have been deleted because they could no longer be found in the LDAP directory.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="user" type="xs:string" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[The users that have been deleted because they could no longer be found in the LDAP directory.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="disabled_users" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The users that have been disabled because they could no longer be found in the LDAP directory.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="user" type="xs:string" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[The users that have been disabled because they could no longer be found in the LDAP directory.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="added_groups" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The new groups that have been found in the LDAP directory.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="group" type="xs:string" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[The new groups that have been found in the LDAP directory.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="modified_groups" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The groups that have been modified.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="group" type="xs:string" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[The groups that have been modified.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="deleted_groups" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The groups that have been deleted because they could no longer be found in the LDAP directory.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="group" type="xs:string" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[The groups that have been deleted because they could no longer be found in the LDAP directory.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="error" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[An message indicating the reason for failure, if an error occurred during LDAP sync. <p>This message may or may not be localized and is generally not suitable to be displayed to the end user.</p>]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="ldapUserSource"> <xs:annotation> <xs:documentation> <![CDATA[An LDAP server that servers as a source for users and groups.]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> <xs:sequence> <xs:element name="id" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[A random ID assigned to the LDAP User Source.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="url" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The LDAP URL of the server.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="type" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The type of User Source. <p>The only type that is currently supported is "ldap".</p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="username_attribute" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The LDAP attribute that defines the user's login name. <p>Typically cn for eDirectory and sAMAccountName for Active Directory</p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="guid_attribute" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The LDAP attribute that defines a unique ID for each user or group. <p>Typically GUID for eDirectory and objectGUID for Active Directory</p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="attribute_map" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[List of LDAP attribute mappings. <p>These attributes are read and used to populate fields in the imported User object. The key of the mapping is the User field name (ex: firstName, lastName, emailAddress, phone). The value is the LDAP attribute name (ex: givenName, surname, mail, telephoneNumber). </p>]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="mapping" type="keyValuePair" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[List of LDAP attribute mappings. <p>These attributes are read and used to populate fields in the imported User object. The key of the mapping is the User field name (ex: firstName, lastName, emailAddress, phone). The value is the LDAP attribute name (ex: givenName, surname, mail, telephoneNumber). </p>]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="user_contexts" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[List of LDAP contexts to search for users.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="user_context" type="ldapSearchInfo" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[List of LDAP contexts to search for users.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="group_contexts" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[List of LDAP contexts to search for groups.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="group_context" type="ldapSearchInfo" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[List of LDAP contexts to search for groups.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="username" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The LDAP user that is used to bind to and search the LDAP directory for users and groups.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="password" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The password of the LDAP user.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="netFolder"> <xs:annotation> <xs:documentation> <![CDATA[The metadata of a Net Folder]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> <xs:sequence> <xs:element name="id" type="xs:long" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The ID of the Net Folder]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="name" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The name of the Net Folder, <p>This must be unique.</p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="server" type="longIdLinkPair" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The ID and HRef of the Net Folder Server associated with this Net Folder.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="relative_path" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The path to this Net Folder. <p>This path is relative to the base path defined in the associated Net Folder Server.</p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="home_dir" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[True if this is a user's home directory Net Folder.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="index_content" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[True if the file content in the net folder is indexed. <p>This attribute is ignored if <code>inherit_index_content==true</code></p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="inherit_index_content" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Flag indicating whether the <code>index_content</code> setting should be inherited from the Net Folder Server.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="inherit_jits_settings" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Flag indicating whether the JITS settings should be inherited from the Net Folder Server.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="jits_enabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Flag indicating whether JITS is enabled for this Net Folder <p>This attribute is ignored if <code>inherit_jits_settings==true</code></p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="jits_max_age" type="xs:long" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Maximum age for JITS results, in seconds. <p>This attribute is ignored if <code>inherit_jits_settings==true</code></p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="jits_max_acl_age" type="xs:long" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Maximum age for ACL JITS results, in seconds. <p>This attribute is ignored if <code>inherit_jits_settings==true</code></p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="allow_desktop_sync" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Flag indicating whether the desktop application can sync files in the Net Folder.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="inherit_sync_schedule" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Flag indicating whether the synchronization schedule should be inherited from the Net Folder Server.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="sync_schedule" type="schedule" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The synchronization schedule. <p>This attribute is ignored if <code>inherit_sync_schedule==true</code></p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="assigned_rights" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[List of users or groups that are allowed to access the Net Folder. <p>The only supported role in the AssignedRight Access object is <code>ACCESS</code></p>]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="assigned_right" type="assignedRight" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[List of users or groups that are allowed to access the Net Folder. <p>The only supported role in the AssignedRight Access object is <code>ACCESS</code></p>]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="netFolderServer"> <xs:annotation> <xs:documentation> <![CDATA[The metadata of a Net Folder Server]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> <xs:sequence> <xs:element name="id" type="xs:long" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The ID of the Net Folder Server.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="name" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The name of the Net Folder Server. <p>The name must be unique and cannot be changed once the Net Folder Server has been created.</p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="driver_type" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The type of server. <p>Can be one of: <ul> <li>windows_server</li> <li>oes</li> <li>oes2015</li> <li>netware</li> <li>share_point_2013</li> </ul> </p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="server_path" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Base UNC path for this Net Folder Server.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="proxy_dn" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Proxy user used to authenticate to the file server. <p>Ignored if <code>proxy_use_identity==true</code></p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="proxy_password" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Password for the proxy user. <p>Ignored if <code>proxy_use_identity==true</code></p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="proxy_use_identity" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Flag indicating whether to use a Proxy Identity or a proxy usernama and password to authenticate to the file server. <p>If true, <code>proxy_identity_id</code> must be set. If false, <code>proxy_dn</code> and <code>proxy_password</code> must be set.</p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="proxy_identity_id" type="xs:long" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Password for the proxy user. <p>Ignored if <code>proxy_use_identity==false</code></p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="last_modified" type="xs:dateTime" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Date and time when the Net Folder Server object was last modified.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="auth_type" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Strategy to use when authenticating to the file server. <p>Allowed values are: <ul> <li>kerberos</li> <li>ntlm</li> <li>kerberos_then_ntlm</li> </ul> </p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="sync_schedule" type="schedule" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Synchronization schedule]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="index_content" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Flag indicating whether to index the content of files in the Net Folders.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="jits_enabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Flag indicating whether Just-in-Time synchronization is enabled.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="jits_max_age" type="xs:long" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Maximum age for JITS results, in seconds.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="jits_max_acl_age" type="xs:long" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Maximum age for ACL JITS results, in seconds.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="allow_client_initiated_sync" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Flag indicating whether the desktop application can trigger the initial sync of home directory Net Folders.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="netFolderSyncStatus"> <xs:annotation> <xs:documentation> <![CDATA[The current sync status of a Net Folder.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="status" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The status of the most recent Net Folder sync job. <p>Possible values are: <ul> <li>none</li> <li>ready</li> <li>taken</li> <li>started</li> <li>stopped</li> <li>finished</li> <li>aborted</li> <li>canceled</li> <li>deleting</li> </ul> </p>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="node_ip_address" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[IP Address of the server node executing the most recent sync of the Net Folder.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="start_date" type="xs:dateTime" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Date/time when the most recent sync began.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="end_date" type="xs:dateTime" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Date/time when the most recent sync ended.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="directory_only" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Flag indicating whether the most recent sync only scanned directories or directories and files.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="directory_enumeration_failure" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Flag indicating whether an error occurred attempting to enumerate a directory.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="files_found" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The total number of files found.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="files_added" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of new files found.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="files_expunged" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of files that were removed because they no longer exist.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="files_modified" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of updated files found.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="files_with_modified_acl" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of files with modified ACLs.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="files_with_modified_owner" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of files with a different owner.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="folders_found" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The total number of folders found.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="folders_added" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of new folders found.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="folders_expunged" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of folders that were removed because they no longer exist.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="folders_with_modified_acl" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of folders with modified ACLs.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="folders_with_modified_owner" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of folders with a different owner.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="entries_expunged" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of folder entries that were removed.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="failures" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of failures that occurred.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="folders_processed" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The number of folders that were processed.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="personalStorage"> <xs:annotation> <xs:documentation> <![CDATA[The Personal Storage settings.]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> <xs:sequence> <xs:element name="allow_personal_storage" type="xs:boolean" minOccurs="0"> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="rootAdminObject"> <xs:annotation> <xs:documentation> <![CDATA[Root object of the REST Admin API. Contains related links to top level resources in the REST API. <p>Related link names include: desktop_application, net_folder_servers, net_folders, personal_storage, public_shares, shares, share_settings, user_sources, user_source_sync, user_source_sync_config, web_application.</p>]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="schedule"> <xs:annotation> <xs:documentation> <![CDATA[A schedule.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="enabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Indicates whether or not this schedule is enabled.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="when" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Can be "daily" or "selected_days". If "selected_days", the "selected_days" field should also be set.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="selected_days" type="selectedDays" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[If "when" is "selected_days", this defines on which days the schedule is active.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="at" type="time" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[For once-a-day schedules, this is the time (GMT) at which the schedule should activate.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="every" type="time" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[For repeating schedules, this is the interval with which the schedule activates. <p>Valid time values are 0:15, 0:30, 0:45, 1:00, 2:00, 3:00, 4:00, 6:00, 8:00 and 12:00</p>]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="selectedDays"> <xs:annotation> <xs:documentation> <![CDATA[The selected days on which a schedule will activate.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="sun" type="xs:boolean" minOccurs="0"> </xs:element> <xs:element name="mon" type="xs:boolean" minOccurs="0"> </xs:element> <xs:element name="tue" type="xs:boolean" minOccurs="0"> </xs:element> <xs:element name="wed" type="xs:boolean" minOccurs="0"> </xs:element> <xs:element name="thu" type="xs:boolean" minOccurs="0"> </xs:element> <xs:element name="fri" type="xs:boolean" minOccurs="0"> </xs:element> <xs:element name="sat" type="xs:boolean" minOccurs="0"> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="shareSettings"> <xs:annotation> <xs:documentation> <![CDATA[Global Share Settings.]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> <xs:sequence> <xs:element name="allow_sharing_with_ldap_groups" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not users can share with LDAP groups.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="sharing_permissions" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[List of users and groups who have been assigned permissions to share.]]> </xs:documentation> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="permission" type="assignedSharingPermission" minOccurs="0" maxOccurs="unbounded"> <xs:annotation> <xs:documentation> <![CDATA[List of users and groups who have been assigned permissions to share.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="external_restrictions" type="externalSharingRestrictions" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Restricts sharing with external users by email address or email domain.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="time"> <xs:annotation> <xs:documentation> <![CDATA[A time used in Schedules. This can be either an absolute time (at 14:00) or an interval (every 0 hours and 30 minutes). <p> For absolute times, the minute value is restricted to every 5 minutes (00, 05, 10, ..., 55). Intervals are restricted to 0:15, 0:30, 0:45, 1:00, 2:00, 3:00, 4:00, 6:00, 8:00 and 12:00. </p>]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="hour" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The hour.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="minute" type="xs:int" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[The minute.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="userSourceSynchronization"> <xs:annotation> <xs:documentation> <![CDATA[The general LDAP User Source synchronization settings that apply across all LDAP Sources.]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> <xs:sequence> <xs:element name="users" type="userSynchronization" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[User synchronization settings.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="groups" type="groupSynchronization" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Group settings.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="schedule" type="schedule" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Synchronization schedule.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="userSynchronization"> <xs:annotation> <xs:documentation> <![CDATA[The LDAP User synchronization settings.]]> </xs:documentation> </xs:annotation> <xs:sequence> <xs:element name="register" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Register user profiles automatically.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="sync_profiles" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Synchronize user profiles.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="removed_account_action" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Action to perform for user accounts provisioned from LDAP that are no longer in LDAP. Value must be one of <code>disable</code> and <code>delete</code>.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="delete_workspace" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether to delete the user's workspace when deleting users that are no longer in LDAP. Only applicable if <code>removed_account_action</code> is <code>delete</code>]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="default_timezone" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Timezone to use when creating new users.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="default_locale" type="xs:string" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Locale to use when creating new users.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="webAppConfig"> <xs:annotation> <xs:documentation> <![CDATA[The Web Application settings.]]> </xs:documentation> </xs:annotation> <xs:complexContent> <xs:extension base="baseRestObject"> <xs:sequence> <xs:element name="enabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not the web application is enabled.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="allow_guest_access" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not guest access is enabled. Must be true for users to share publicly.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="read_only_guest" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not guest access is limited to read-only.]]> </xs:documentation> </xs:annotation> </xs:element> <xs:element name="allow_downloads" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:documentation> <![CDATA[Whether or not users can download files from the web application.]]> </xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> </xs:schema>