Skip to content

Commit 0caeb69

Browse files
authored
Add Core.IsDelta term for parameters/return types that are represented as deltas (#278)
1 parent 14647cd commit 0caeb69

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

vocabularies/Org.OData.Core.V1.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,17 @@
738738
],
739739
"@Core.Description": "Instances of a type are annotated with this tag if they have no common structure in a given response payload",
740740
"@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."
741+
},
742+
"IsDelta": {
743+
"$Kind": "Term",
744+
"$Type": "Core.Tag",
745+
"$DefaultValue": true,
746+
"$AppliesTo": [
747+
"ReturnType",
748+
"Parameter"
749+
],
750+
"@Core.Description": "The annotated Action or Function Parameter or Return Type is represented as a Delta payload",
751+
"@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."
741752
}
742753
}
743754
}

vocabularies/Org.OData.Core.V1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ Term|Type|Description
5151
[SymbolicName](Org.OData.Core.V1.xml#L536)|[SimpleIdentifier](#SimpleIdentifier)|<a name="SymbolicName"></a>A symbolic name for a model element
5252
[GeometryFeature](Org.OData.Core.V1.xml#L545)|[GeometryFeatureType?](#GeometryFeatureType)|<a name="GeometryFeature"></a>A [Feature Object](https://datatracker.ietf.org/doc/html/rfc7946#section-3.2) represents a spatially bounded thing
5353
[AnyStructure](Org.OData.Core.V1.xml#L561)|[Tag](#Tag)|<a name="AnyStructure"></a>Instances of a type are annotated with this tag if they have no common structure in a given response payload<br>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.
54+
[IsDelta](Org.OData.Core.V1.xml#L569)|[Tag](#Tag)|<a name="IsDelta"></a>The annotated Action or Function Parameter or Return Type is represented as a Delta payload<br>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.
5455

5556
<a name="RevisionType"></a>
5657
## [RevisionType](Org.OData.Core.V1.xml#L80)

vocabularies/Org.OData.Core.V1.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,14 @@ Any simple identifier | Any type listed in `Validation.OpenPropertyTypeConstrain
566566
</Annotation>
567567
</Term>
568568

569+
<Term Name="IsDelta" Type="Core.Tag" Nullable="false" DefaultValue="true" AppliesTo="ReturnType Parameter">
570+
<Annotation Term="Core.Description" String="The annotated Action or Function Parameter or Return Type is represented as a Delta payload" />
571+
<Annotation Term="Core.LongDescription">
572+
<String>The parameter or result is represented as a delta payload, which may include deleted entries as well as changes to related
573+
entities and relationships, according to the format-specific delta representation.</String>
574+
</Annotation>
575+
</Term>
576+
569577
</Schema>
570578
</edmx:DataServices>
571579
</edmx:Edmx>

0 commit comments

Comments
 (0)