<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common" xmlns:class="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_HostedShare" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" elementFormDefault="qualified" targetNamespace="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_HostedShare">
<xs:import namespace="http://schemas.dmtf.org/wbem/wscim/1/common" schemaLocation="http://schemas.dmtf.org/wbem/wscim/1/common.xsd"/>
<xs:element name="Antecedent" type="cim:cimReference">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Key" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Qualifier name="Override" type="cim:cimString">Antecedent</cim:Qualifier>
<cim:Qualifier name="Min" type="cim:cimUnsignedInt">1</cim:Qualifier>
<cim:Qualifier name="Max" type="cim:cimUnsignedInt">1</cim:Qualifier>
<cim:Qualifier name="Description" type="cim:cimString">The hosting System.</cim:Qualifier>
<cim:Classorigin name="CIM_HostedShare"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="Dependent" type="cim:cimReference">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Key" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Qualifier name="Override" type="cim:cimString">Dependent</cim:Qualifier>
<cim:Qualifier name="Description" type="cim:cimString">The Share hosted on the System.</cim:Qualifier>
<cim:Classorigin name="CIM_HostedShare"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="RemoteShareWWN" nillable="true" type="cim:cimString">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">A string that uniquely identifies the remote element (expected to be an ExportedFileShare) that the Dependent Share represents if this is an imported Share. This is an opaque, unique identifier that provides an unambiguous name for the remote share -- we expect that it will be a WWN but any other interoperable format (e.g., a URI) would also work.</cim:Qualifier>
<cim:Classorigin name="CIM_HostedShare"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="CIM_HostedShare" type="class:CIM_HostedShare_Type">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Class name="CIM_HostedShare" superclass="CIM_HostedDependency"/>
<cim:Qualifier name="Association" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Qualifier name="Version" type="cim:cimString">2.43.0</cim:Qualifier>
<cim:Qualifier name="UMLPackagePath" type="cim:cimString">CIM::System::FileElements</cim:Qualifier>
<cim:Qualifier name="Description" type="cim:cimString">CIM_HostedShare is an association between a Share and the System on which the functionality resides. The cardinality of this association is many-to-many but a FileShare must have at least 1 host system, either exporting or importing it. (A System may host many Shares and a Share may be hosted by more than one System, but a Share must have at least one HostedShare). 
Heuristic: For export, a Share is hosted on the System where the LogicalElement that is exported by the Share is located (via SharedElement, derived from LogicalIdentity). For import, a Share is hosted on the System where the LogicalFile (or other namespace element) that provides the mount-point for the share is located (via ImportedShare, derived from LogicalIdentity).</cim:Qualifier>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:complexType name="CIM_HostedShare_Type">
<xs:sequence>
<xs:element ref="class:Antecedent"/>
<xs:element ref="class:Dependent"/>
<xs:element minOccurs="0" ref="class:RemoteShareWWN"/>
<xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="lax"/>
</xs:sequence>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:schema>
