wimdomain.xsd 文件定义所有内置了 virtual member manager 的实体类型和属性类型的 XML 模式。
实体类型的示例包括 Entity、PersonAccount 和 Group。属性类型的示例包括 sn、cn 和 uid。本部分模型基本上是以 XML 模式表示的 virtual member manager 公共域模型。
<xsd:schema xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns="http://www.ibm.com/websphere/wim"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
ecore:nsPrefix="wim"
ecore:package="com.ibm.websphere.wim.model"
targetNamespace="http://www.ibm.com/websphere/wim"
version="1.0"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace"
schemaLocation="http://www.w3.org/2001/xml.xsd"/>
<!-- properties -->
<xsd:element name="parent" type="Entity"/>
<xsd:element name="children" type="Entity"/>
<xsd:element name="groups" type="Group"/>
<xsd:element name="members" type="Entity"/>
<xsd:element name="createTimestamp" type="xsd:dateTime"/>
<xsd:element name="modifyTimestamp" type="xsd:dateTime"/>
<xsd:element name="changeType" type="xsd:token"/>
. . .
<!-- entities -->
<xsd:complexType name="Entity">
<xsd:sequence>
<xsd:element name="identifier"
type="IdentifierType" minOccurs="0" maxOccurs="1"/>
<xsd:element name="viewIdentifiers"
type="ViewIdentifierType" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="parent"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="children"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="groups"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="createTimestamp"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="modifyTimestamp"/>
<xsd:element maxOccurs="1" minOccurs="0" ref="changeType"/>
<!-- Entitlement information -->
<xsd:element maxOccurs="1" minOccurs="0"
name="entitlementInfo"
type="EntitlementInfoType"/>
</xsd:sequence>
</xsd:complexType>
. . .
</xsd:schema>