From 0caeb69aec1f92f20d2b98a21cb94529cb5362e4 Mon Sep 17 00:00:00 2001 From: Michael Pizzo Date: Wed, 2 Oct 2024 09:00:29 -0700 Subject: [PATCH] Add Core.IsDelta term for parameters/return types that are represented as deltas (#278) --- vocabularies/Org.OData.Core.V1.json | 11 +++++++++++ vocabularies/Org.OData.Core.V1.md | 1 + vocabularies/Org.OData.Core.V1.xml | 8 ++++++++ 3 files changed, 20 insertions(+) diff --git a/vocabularies/Org.OData.Core.V1.json b/vocabularies/Org.OData.Core.V1.json index 9c2078b0..24a86440 100644 --- a/vocabularies/Org.OData.Core.V1.json +++ b/vocabularies/Org.OData.Core.V1.json @@ -738,6 +738,17 @@ ], "@Core.Description": "Instances of a type are annotated with this tag if they have no common structure in a given response payload", "@Core.LongDescription": "The select-list of a context URL MUST be `(@Core.AnyStructure)` if it would otherwise be empty,\n but this instance annotation SHOULD be omitted from the response value." + }, + "IsDelta": { + "$Kind": "Term", + "$Type": "Core.Tag", + "$DefaultValue": true, + "$AppliesTo": [ + "ReturnType", + "Parameter" + ], + "@Core.Description": "The annotated Action or Function Parameter or Return Type is represented as a Delta payload", + "@Core.LongDescription": "The parameter or result is represented as a delta payload, which may include deleted entries as well as changes to related \n entities and relationships, according to the format-specific delta representation." } } } \ No newline at end of file diff --git a/vocabularies/Org.OData.Core.V1.md b/vocabularies/Org.OData.Core.V1.md index 1f83dab4..9a01b5e6 100644 --- a/vocabularies/Org.OData.Core.V1.md +++ b/vocabularies/Org.OData.Core.V1.md @@ -51,6 +51,7 @@ Term|Type|Description [SymbolicName](Org.OData.Core.V1.xml#L536)|[SimpleIdentifier](#SimpleIdentifier)|A symbolic name for a model element [GeometryFeature](Org.OData.Core.V1.xml#L545)|[GeometryFeatureType?](#GeometryFeatureType)|A [Feature Object](https://datatracker.ietf.org/doc/html/rfc7946#section-3.2) represents a spatially bounded thing [AnyStructure](Org.OData.Core.V1.xml#L561)|[Tag](#Tag)|Instances of a type are annotated with this tag if they have no common structure in a given response payload
The select-list of a context URL MUST be `(@Core.AnyStructure)` if it would otherwise be empty, but this instance annotation SHOULD be omitted from the response value. +[IsDelta](Org.OData.Core.V1.xml#L569)|[Tag](#Tag)|The annotated Action or Function Parameter or Return Type is represented as a Delta payload
The parameter or result is represented as a delta payload, which may include deleted entries as well as changes to related entities and relationships, according to the format-specific delta representation. ## [RevisionType](Org.OData.Core.V1.xml#L80) diff --git a/vocabularies/Org.OData.Core.V1.xml b/vocabularies/Org.OData.Core.V1.xml index 086bde89..c1ed5cb0 100644 --- a/vocabularies/Org.OData.Core.V1.xml +++ b/vocabularies/Org.OData.Core.V1.xml @@ -566,6 +566,14 @@ Any simple identifier | Any type listed in `Validation.OpenPropertyTypeConstrain + + + + The parameter or result is represented as a delta payload, which may include deleted entries as well as changes to related + entities and relationships, according to the format-specific delta representation. + + +