<?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_FSQuotaReportRecord" 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_FSQuotaReportRecord">
<xs:import namespace="http://schemas.dmtf.org/wbem/wscim/1/common" schemaLocation="http://schemas.dmtf.org/wbem/wscim/1/common.xsd"/>
<xs:element name="HardLimit" nillable="true" type="cim:cimUnsignedLong">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">The hard limit for the quota that generated this record, corresponding to the ResourceType in the same position in the ResourceType array. What it means when this limit is exceeded is system dependent. Some filesystems fail all further writes, for example, while others do not fail until the file is closed. This property is optional and may therefore be NULL.</cim:Qualifier>
<cim:Qualifier name="ArrayType" type="cim:cimString">Indexed</cim:Qualifier>
<cim:Qualifier name="ModelCorrespondence" type="cim:cimString">CIM_FSQuotaReportRecord.ResourceType</cim:Qualifier>
<cim:Classorigin name="CIM_FSQuotaReportRecord"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="SoftLimit" nillable="true" type="cim:cimUnsignedLong">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">The soft limit for the quota that generated this record. What it means when this limit is exceeded is system dependent. Some filesystems treat it as a warning threshold, for example, while others merely collect it as a statistic. This property is optional and may therefore be NULL.</cim:Qualifier>
<cim:Qualifier name="ArrayType" type="cim:cimString">Indexed</cim:Qualifier>
<cim:Qualifier name="ModelCorrespondence" type="cim:cimString">CIM_FSQuotaReportRecord.ResourceType</cim:Qualifier>
<cim:Classorigin name="CIM_FSQuotaReportRecord"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="SoftLimitGracePeriod" nillable="true" type="cim:cimDateTime">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">Some systems automatically convert soft limits into hard limits after the soft limit has been exceeded for some period of time. If present, this DateTime value specifies the length of this grace period. This property is optional and may therefore be NULL.</cim:Qualifier>
<cim:Classorigin name="CIM_FSQuotaReportRecord"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="Active" nillable="true" type="cim:cimBoolean">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">Whether or not thresholds on this quota are being enforced. Sometimes quota systems are used simply to track usage, and in this case the records in a quota report will report an inactive quota.</cim:Qualifier>
<cim:Classorigin name="CIM_FSQuotaReportRecord"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="Monitored" nillable="true" type="cim:cimBoolean">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">Whether or not thresholds on this quota are being monitored. If a system reports quotas that aren't being monitored, this value may be false.</cim:Qualifier>
<cim:Classorigin name="CIM_FSQuotaReportRecord"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="ResourceType" nillable="true">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">The type of resource whose consumption is being managed.</cim:Qualifier>
<cim:Qualifier name="ArrayType" type="cim:cimString">Indexed</cim:Qualifier>
<cim:Qualifier name="ModelCorrespondence" type="cim:cimString">CIM_FSQuotaReportRecord.SoftLimit</cim:Qualifier>
<cim:Qualifier name="ModelCorrespondence" type="cim:cimString">CIM_FSQuotaReportRecord.HardLimit</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="0">Unknown</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="1">Other</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="2">Bytes</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="3">Files</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="4">Directories</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="5">Files+Directories</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="6">Inodes</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="..">Reserved</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="0x8000">Vendor Defined</cim:Qualifier>
<cim:Classorigin name="CIM_FSQuotaReportRecord"/>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:restriction base="cim:cimAnySimpleType">
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
<xs:enumeration value="6"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:minInclusive value="7"/>
<xs:maxInclusive value="32767"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:minInclusive value="32769"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:enumeration value="0x8000"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="QuotaType" nillable="true">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">The type of quota being monitored. Quotas are set either on users or groups or trees, or on users on a specific tree or groups on a specific tree.</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="0">Unknown</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="1">Other</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="2">User</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="3">Group</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="4">Tree</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="5">User-Tree</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="6">Group-Tree</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="..">Reserved</cim:Qualifier>
<cim:Qualifier name="Values" type="cim:cimString" valuemap="0x8000..">Vendor Defined</cim:Qualifier>
<cim:Classorigin name="CIM_FSQuotaReportRecord"/>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:restriction base="cim:cimAnySimpleType">
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
<xs:enumeration value="6"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType>
<xs:union>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:minInclusive value="7"/>
<xs:maxInclusive value="32767"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
<xs:simpleType>
<xs:restriction base="xs:unsignedShort">
<xs:minInclusive value="32768"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:restriction>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="AmountUsed" nillable="true" type="cim:cimUnsignedLong">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Qualifier name="Description" type="cim:cimString">The amount of resource used by the indicated principal in the indicated container and tree at the time the report was taken. This number is given on a best effort basis, and may never exactly match the current status of the system.</cim:Qualifier>
<cim:Qualifier name="ArrayType" type="cim:cimString">Indexed</cim:Qualifier>
<cim:Qualifier name="ModelCorrespondence" type="cim:cimString">CIM_FSQuotaReportRecord.ResourceType</cim:Qualifier>
<cim:Classorigin name="CIM_FSQuotaReportRecord"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="TreeName" 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">The tree (as represented by a pathname) over which the quota is monitored. This property may be NULL, indicating that the quota is over the entire FileSystem specified in the entry, or the entire ComputerSystem whose InstanceID and ElementName are cited, if no filesystem is specified.</cim:Qualifier>
<cim:Classorigin name="CIM_FSQuotaReportRecord"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="PrincipalID" 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">The UID/GID/SID or name of the principal, if PrincipalType is 'User' or 'Group'. This property MUST be NULL if the quota in question is a Tree quota.</cim:Qualifier>
<cim:Classorigin name="CIM_FSQuotaReportRecord"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="FileSystem" 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">The Name of the FileSystem over which this quota is monitored. This property is optional and may therefore be NULL. However, providers SHOULD populate this property whenever possible.</cim:Qualifier>
<cim:Classorigin name="CIM_FSQuotaReportRecord"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="CIM_FSQuotaReportRecord" type="class:CIM_FSQuotaReportRecord_Type">
<xs:annotation>
<xs:appinfo source="http://schemas.dmtf.org/wbem/wscim/1/common">
<cim:Class name="CIM_FSQuotaReportRecord" superclass="CIM_ReportRecord"/>
<cim:Qualifier name="Indication" type="cim:cimBoolean">true</cim:Qualifier>
<cim:Qualifier name="Version" type="cim:cimString">2.45.0</cim:Qualifier>
<cim:Qualifier name="UMLPackagePath" type="cim:cimString">CIM::System::FileServices</cim:Qualifier>
<cim:Qualifier name="Description" type="cim:cimString">Instances of this class represent one line in a filesystem quota report. All properties in it are optional except the amount used and the entity the number applies to. 
Filesystem quota reports are descriptions of the current state of the system. On a working system, no two complete quota reports will ever be the same. 
On systems which support default quotas, quota reports may be quite large, as they must report on every user/group in the system. A cursor mechanism is provided to make it possible to retrieve records a batch at a time.</cim:Qualifier>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:complexType name="CIM_FSQuotaReportRecord_Type">
<xs:sequence>
<xs:element minOccurs="0" ref="class:Active"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="class:AmountUsed"/>
<xs:element minOccurs="0" ref="class:FileSystem"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="class:HardLimit"/>
<xs:element minOccurs="0" ref="class:Monitored"/>
<xs:element minOccurs="0" ref="class:PrincipalID"/>
<xs:element minOccurs="0" ref="class:QuotaType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="class:ResourceType"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="class:SoftLimit"/>
<xs:element minOccurs="0" ref="class:SoftLimitGracePeriod"/>
<xs:element minOccurs="0" ref="class:TreeName"/>
<xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="lax"/>
</xs:sequence>
<xs:anyAttribute namespace="##any" processContents="lax"/>
</xs:complexType>
</xs:schema>
