3.1.4.4.4.1 PropertyType

This type defines the type of a property. The type of the property imposes restrictions upon the possible values of the property as outlined here:

 <s:simpleType name="PropertyType">
   <s:restriction base="s:string">
     <s:enumeration value="Boolean"/>
     <s:enumeration value="Byte"/>
     <s:enumeration value="Char"/>
     <s:enumeration value="DateTime"/>
     <s:enumeration value="Double"/>
     <s:enumeration value="Int16"/>
     <s:enumeration value="Int32"/>
     <s:enumeration value="Int64"/>
     <s:enumeration value="Single"/>
     <s:enumeration value="String"/>
     <s:enumeration value="UInt16"/>
     <s:enumeration value="UInt32"/>
     <s:enumeration value="UInt64"/>
   </s:restriction>
 </s:simpleType>

The following table defines the allowable values for PropertyType:

Value

Meaning

Boolean

The value MUST be either "true" or "false".

Byte

The value MUST be a positive integer in the range of 0 to 255.

Char

The value MUST be a single Unicode character.

DateTime

The value MUST be a valid description of a time in the format described in [RFC3339].

Double

The value MUST be a valid double-precision floating point number as defined in [IEEE754]. The number MUST be expressed in  the format ".X", "X.X", ".XEX" or "X.XEX", where each X can stand for 1+ instances of 0-9. The values of NaN or Infinity are not supported.

Int16

The value MUST be an integer in the range from -32768 to 32767.

Int32

The value MUST be an integer in the range from -2147483648 to 2147483647.

Int64

The value MUST be an integer in the range from -9223372036854775808 to 9223372036854775807.

Single

The value MUST be a valid single-precision floating point number as defined in [IEEE754]. The number MUST be expressed in  the format ".X", "X.X", ".XEX" or "X.XEX", where each X can stand for 1+ instances of 0-9. The values of NaN or Infinity are not supported.

String

The value MUST be any valid Unicode string. If the implementation of the protocol server imposes a limit on the length of a string property, the limit MUST be at least 2048 Unicode characters.

UInt16

The value MUST be a positive integer in the range of 0 to 65535.

UInt32

The value MUST be a positive integer in the range of 0 to 4294967295.

UInt64

The value MUST be a positive integer in the range of 0 to 18446744073709551615.