Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions vocabularies/Common.json
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,15 @@
"@Common.Experimental": true,
"@Core.IsURL": true,
"@Core.Description": "Base URL for WebSocket connections"
},
"NonSelectableInCollection": {
"$Kind": "Term",
"$Type": "Core.Tag",
"$DefaultValue": true,
"$AppliesTo": ["Property", "NavigationProperty"],
"@Common.Experimental": true,
"@Core.Description": "The annotated property MUST NOT be selected in a collection",
"@Core.LongDescription": "To select this property, the client can make a request that reads a single instance with this property."
}
}
}
1 change: 1 addition & 0 deletions vocabularies/Common.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ Term|Type|Description
[mediaUploadLink](./Common.xml#L1453:~:text=<Term%20Name="-,mediaUploadLink,-") *([Experimental](Common.md#Experimental))*|URL|<a name="mediaUploadLink"></a>URL for uploading new media content to a Document Management Service<br>In contrast to the `@odata.mediaEditLink` this URL allows to upload new media content without directly changing a stream property or media resource. The upload request typically uses HTTP POST with `Content-Type: multipart/form-data` following RFC 7578. The upload request must contain one multipart representing the content of the file. The `name` parameter in the `Content-Disposition` header (as described in RFC 7578) is irrelevant, but the `filename` parameter is expected. If the request succeeds the response will contain a JSON body of `Content-Type: application/json` with a JSON property `readLink`. The newly uploaded media resource can be linked to the stream property by changing the `@odata.mediaReadLink` to the value of this `readLink` in a subsequent PATCH request to the OData entity.
[PrimitivePropertyPath](./Common.xml#L1468:~:text=<Term%20Name="-,PrimitivePropertyPath,-") *([Experimental](Common.md#Experimental))*|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|<a name="PrimitivePropertyPath"></a>A term or term property with this tag whose type is (a collection of) `Edm.PropertyPath` MUST resolve to a primitive structural property
[WebSocketBaseURL](./Common.xml#L1473:~:text=<Term%20Name="-,WebSocketBaseURL,-") *([Experimental](Common.md#Experimental))*|URL|<a name="WebSocketBaseURL"></a>Base URL for WebSocket connections
[NonSelectableInCollection](./Common.xml#L1479:~:text=<Term%20Name="-,NonSelectableInCollection,-") *([Experimental](Common.md#Experimental))*|[Tag](https://github.com/oasis-tcs/odata-vocabularies/blob/main/vocabularies/Org.OData.Core.V1.md#Tag)|<a name="NonSelectableInCollection"></a>The annotated property MUST NOT be selected in a collection<br>To select this property, the client can make a request that reads a single instance with this property.

<a name="TextFormatType"></a>
## [TextFormatType](./Common.xml#L120:~:text=<EnumType%20Name="-,TextFormatType,-")
Expand Down
8 changes: 8 additions & 0 deletions vocabularies/Common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,14 @@ If the request succeeds the response will contain a JSON body of `Content-Type:
<Annotation Term="Core.Description" String="Base URL for WebSocket connections" />
</Term>

<Term Name="NonSelectableInCollection" Type="Core.Tag" Nullable="false" DefaultValue="true" AppliesTo="Property NavigationProperty">
<Annotation Term="Common.Experimental" />
<Annotation Term="Core.Description" String="The annotated property MUST NOT be selected in a collection" />
<Annotation Term="Core.LongDescription">
<String>To select this property, the client can make a request that reads a single instance with this property.</String>
</Annotation>
</Term>

</Schema>
</edmx:DataServices>
</edmx:Edmx>