<?xml version="1.0" encoding="utf-8"?> <!-- Technical Committee: OASIS Open Data Protocol (OData) TC https://www.oasis-open.org/committees/odata Chairs: - Ralf Handl (ralf.handl@sap.com), SAP SE - Ram Jeyaraman (Ram.Jeyaraman@microsoft.com), Microsoft Editors: - Ralf Handl (ralf.handl@sap.com), SAP SE - Ram Jeyaraman (Ram.Jeyaraman@microsoft.com), Microsoft - Michael Pizzo (mikep@microsoft.com), Microsoft Additional artifacts: This vocabulary is one component of a Work Product that also includes the following vocabulary components: - OData Core Vocabulary. Latest version: https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml. - OData Measures Vocabulary. Latest version: https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Measures.V1.xml. - OData Capabilities Vocabulary. Latest version: https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Capabilities.V1.xml. - OData Validation Vocabulary. Latest version: https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Validation.V1.xml. - OData Aggregation Vocabulary. Latest version: https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Aggregation.V1.xml. - OData Authorization Vocabulary. Latest version: https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Authorization.V1.xml. Related work: This vocabulary replaces or supersedes: - OData Version 4.0 Vocabulary components: OData Measures Vocabulary. This vocabulary is related to: - OData Version 4.01 Part 1: Protocol. Latest version: http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html. - OData Version 4.01 Part 2: URL Conventions. Latest version: http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html. - OData Common Schema Definition Language (CSDL) JSON Representation Version 4.01. Latest version: http://docs.oasis-open.org/odata/odata-csdl-json/v4.01/odata-csdl-json-v4.01.html. - OData Common Schema Definition Language (CSDL) XML Representation Version 4.01. Latest version: http://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/odata-csdl-xml-v4.01.html. - OData JSON Format Version 4.01. Latest version: http://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html. - OData Extension for Data Aggregation Version 4.0. Latest version: http://docs.oasis-open.org/odata/odata-data-aggregation-ext/v4.0/odata-data-aggregation-ext-v4.0.html. Abstract: This document contains terms describing monetary amounts and measured quantities. --> <edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> <edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml"> <edmx:Include Alias="Core" Namespace="Org.OData.Core.V1" /> </edmx:Reference> <edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Validation.V1.xml"> <edmx:Include Alias="Validation" Namespace="Org.OData.Validation.V1" /> </edmx:Reference> <edmx:DataServices> <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Org.OData.Measures.V1" Alias="Measures"> <Annotation Term="Core.Description"> <String>Terms describing monetary amounts and measured quantities</String> </Annotation> <Annotation Term="Core.Links"> <Collection> <Record> <PropertyValue Property="rel" String="latest-version" /> <PropertyValue Property="href" String="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Measures.V1.xml" /> </Record> <Record> <PropertyValue Property="rel" String="alternate" /> <PropertyValue Property="href" String="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Measures.V1.json" /> </Record> <Record> <PropertyValue Property="rel" String="describedby" /> <PropertyValue Property="href" String="https://github.com/oasis-tcs/odata-vocabularies/blob/master/vocabularies/Org.OData.Measures.V1.md" /> </Record> </Collection> </Annotation> <Term Name="ISOCurrency" Type="Edm.String" Nullable="false" AppliesTo="Property"> <Annotation Term="Core.Description" String="The currency for this monetary amount as an ISO 4217 currency code" /> </Term> <Term Name="Scale" Type="Edm.Byte" Nullable="false" AppliesTo="Property"> <Annotation Term="Core.Description" String="The number of significant decimal places in the scale part (less than or equal to the number declared in the Scale facet)" /> <Annotation Term="Core.RequiresType" String="Edm.Decimal" /> </Term> <Term Name="Unit" Type="Edm.String" Nullable="false" AppliesTo="Property"> <Annotation Term="Core.Description" String="The unit of measure for this measured quantity, e.g. cm for centimeters or % for percentages" /> </Term> <Term Name="DurationGranularity" Type="Measures.DurationGranularityType" Nullable="false" AppliesTo="Property"> <Annotation Term="Core.Description" String="The minimum granularity of duration values." /> <Annotation Term="Core.LongDescription" String="Absence of this annotation means a granularity of seconds with sub-seconds according to the Precision facet." /> <Annotation Term="Core.RequiresType" String="Edm.Duration" /> </Term> <TypeDefinition Name="DurationGranularityType" UnderlyingType="Edm.String"> <Annotation Term="Validation.AllowedValues"> <Collection> <Record> <PropertyValue Property="Value" String="days" /> <Annotation Term="Core.Description" String="Duration in days, e.g. `P1D`" /> </Record> <Record> <PropertyValue Property="Value" String="hours" /> <Annotation Term="Core.Description" String="Duration in days and hours, e.g. `P1DT23H`" /> </Record> <Record> <PropertyValue Property="Value" String="minutes" /> <Annotation Term="Core.Description" String="Duration in days, hours, and minutes, e.g. `P1DT23H59M`" /> </Record> </Collection> </Annotation> </TypeDefinition> </Schema> </edmx:DataServices> </edmx:Edmx>
Everything that is of the world
▼
No comments:
Post a Comment