Skip to content

Commit 25bba43

Browse files
authored
ODATA-1399 - new - JSON.Schema is application/json (#89)
* JSON.Schema is application/json * JSON.JSON is JSON * Better description of JSON.JSON
1 parent 28cbc2b commit 25bba43

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

vocabularies/Org.OData.JSON.V1.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
"JSON": {
4141
"$Kind": "TypeDefinition",
4242
"$UnderlyingType": "Edm.Stream",
43-
"@Core.Description": "A stream of media type `application/json`",
43+
"@Core.Description": "Textual data of media type `application/json`",
44+
"@Core.MediaType": "application/json",
4445
"@Core.AcceptableMediaTypes": [
4546
"application/json"
4647
]

vocabularies/Org.OData.JSON.V1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ Term|Type|Description
1313
## <a name="JSON"></a>[JSON](Org.OData.JSON.V1.xml#L75)
1414
**Type:** Stream
1515

16-
A stream of media type `application/json`
16+
Textual data of media type `application/json`

vocabularies/Org.OData.JSON.V1.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
33
44
Technical Committee:
@@ -73,7 +73,8 @@
7373
</Term>
7474

7575
<TypeDefinition Name="JSON" UnderlyingType="Edm.Stream">
76-
<Annotation Term="Core.Description" String="A stream of media type `application/json`" />
76+
<Annotation Term="Core.Description" String="Textual data of media type `application/json`" />
77+
<Annotation Term="Core.MediaType" String="application/json" />
7778
<Annotation Term="Core.AcceptableMediaTypes">
7879
<Collection>
7980
<String>application/json</String>

0 commit comments

Comments
 (0)