List and UOM properties
You can view the values that are allowed for list and unit of measure (UOM) properties.
A list or UOM property has an oslc:allowedValues element that has a resource URI. The URI returns a list of available values that can be used for that list or UOM property.
Example
The following example shows a property with the oslc:allowedValues element, and then the list of allowed values that results from the URI in the element:
<oslc:property>
<oslc:Property>
<oslc:defaultValue>Japan Yen</oslc:defaultValue>
<oslc:readOnly>false</oslc:readOnly>
<oslc:valueType rdf:resource="http://www.w3.org/2001/XMLSchema#string" />
<oslc:usage rdf:resource="http://jazz.net/ns/ism/datatypes/
smarter_physical_infrastructure#uom" />
<oslc:occurs rdf:resource="http://open-services.net/ns/core#Zero-or-one" />
<oslc:name>exampleUOM</oslc:name>
<dcterms:title rdf:datatype="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral">
exampleUOM</dcterms:title>
<oslc:allowedValues rdf:resource="http://yourserver/oslc/system/list/
resourceName/spi:exampleUOM" />
<oslc:propertyDefinition rdf:resource="http://jazz.net/ns/spi#exampleUOM" />
</oslc:Property>
</oslc:property>
<rdf:RDF>
<oslc:allowedValues rdf:about="http://yourserver/oslc/system/list/
resourceName/spi:exampleUOM">
<oslc:allowedValues>
<oslc:allowedValues>
<oslc:allowedValue>US Dollars</oslc:allowedValue>
<oslc:allowedValue>Swedish Krona/Kronor</oslc:allowedValue>
<oslc:allowedValue>Brazilian Real</oslc:allowedValue>
<oslc:allowedValue>Russian Ruble</oslc:allowedValue>
<oslc:allowedValue>Norwegian Krone</oslc:allowedValue>
<oslc:allowedValue>New Zealand Dollars</oslc:allowedValue>
<oslc:allowedValue>United Kingdom Pounds</oslc:allowedValue>
<oslc:allowedValue>Thai Baht</oslc:allowedValue>
<oslc:allowedValue>Canadian Dollars</oslc:allowedValue>
<oslc:allowedValue>Egyptian Pound</oslc:allowedValue>
<oslc:allowedValue>Euro</oslc:allowedValue>
<oslc:allowedValue>Polish Zloty</oslc:allowedValue>
<oslc:allowedValue>Korea Won</oslc:allowedValue>
<oslc:allowedValue>Hungarian Forint</oslc:allowedValue>
<oslc:allowedValue>South Africa Rand</oslc:allowedValue>
<oslc:allowedValue>Switzerland Francs</oslc:allowedValue>
<oslc:allowedValue>Japan Yen</oslc:allowedValue>
<oslc:allowedValue>Australia Dollars</oslc:allowedValue>
<oslc:allowedValue>Israeli New Shekel</oslc:allowedValue>
<oslc:allowedValue>Danish Krone</oslc:allowedValue>
<oslc:allowedValue>Indian Rupees</oslc:allowedValue>
<oslc:allowedValue>clIndiaRupee</oslc:allowedValue>
</oslc:allowedValues>
</oslc:allowedValues>
</oslc:allowedValues>
</rdf:RDF>