From e4a8b4f6c09e9e4867c774a5d55a37509484f5df Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Thu, 24 Aug 2023 17:11:47 +0200 Subject: [PATCH] ODATA-1253 --- vocabularies/Org.OData.Core.V1.json | 15 +++++++++++++++ vocabularies/Org.OData.Core.V1.md | 20 +++++++++++++------- vocabularies/Org.OData.Core.V1.xml | 16 ++++++++++++++++ 3 files changed, 44 insertions(+), 7 deletions(-) diff --git a/vocabularies/Org.OData.Core.V1.json b/vocabularies/Org.OData.Core.V1.json index 7bccbbc9..69ab333f 100644 --- a/vocabularies/Org.OData.Core.V1.json +++ b/vocabularies/Org.OData.Core.V1.json @@ -691,6 +691,21 @@ "@Core.Description": "A string representing a Local Date-Time value with no offset.", "@Validation.Pattern": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9](:[0-5][0-9](\\\\.[0-9]+)?)?$" }, + "Number": { + "$Kind": "TypeDefinition", + "$UnderlyingType": "Edm.PrimitiveType", + "@Core.Description": "Supertype of all numeric types.", + "@Validation.DerivedTypeConstraint": [ + "Edm.Byte", + "Edm.Decimal", + "Edm.Double", + "Edm.Int16", + "Edm.Int32", + "Edm.Int64", + "Edm.SByte", + "Edm.Single" + ] + }, "SymbolicName": { "$Kind": "Term", "$Type": "Core.SimpleIdentifier", diff --git a/vocabularies/Org.OData.Core.V1.md b/vocabularies/Org.OData.Core.V1.md index ddb36291..ab09b5a7 100644 --- a/vocabularies/Org.OData.Core.V1.md +++ b/vocabularies/Org.OData.Core.V1.md @@ -48,8 +48,8 @@ Term|Type|Description [OperationAvailable](./Org.OData.Core.V1.xml#L518:~:text=Action or function is available
The annotation value will usually be an expression, e.g. using properties of the binding parameter type for instance-dependent availability, or using properties of a singleton for global availability. The static value `null` means that availability cannot be determined upfront and is instead expressed as an operation advertisement. [RequiresExplicitBinding](./Org.OData.Core.V1.xml#L523:~:text=This bound action or function is only available on model elements annotated with the ExplicitOperationBindings term. [ExplicitOperationBindings](./Org.OData.Core.V1.xml#L527:~:text=The qualified names of explicitly bound operations that are supported on the target model element. These operations are in addition to any operations not annotated with RequiresExplicitBinding that are bound to the type of the target model element. -[SymbolicName](./Org.OData.Core.V1.xml#L536:~:text=A symbolic name for a model element -[GeometryFeature](./Org.OData.Core.V1.xml#L545:~:text=A [Feature Object](https://datatracker.ietf.org/doc/html/rfc7946#section-3.2) represents a spatially bounded thing +[SymbolicName](./Org.OData.Core.V1.xml#L552:~:text=A symbolic name for a model element +[GeometryFeature](./Org.OData.Core.V1.xml#L561:~:text=A [Feature Object](https://datatracker.ietf.org/doc/html/rfc7946#section-3.2) represents a spatially bounded thing ## [RevisionType](./Org.OData.Core.V1.xml#L80:~:text= +## [Number](./Org.OData.Core.V1.xml#L536:~:text= -## [SimpleIdentifier](./Org.OData.Core.V1.xml#L540:~:text= -## [GeometryFeatureType](./Org.OData.Core.V1.xml#L548:~:text= + + + + + Edm.Byte + Edm.Decimal + Edm.Double + Edm.Int16 + Edm.Int32 + Edm.Int64 + Edm.SByte + Edm.Single + + + +