From d01c1bb3940acb11e36c03a841e78f4b20fbba6d Mon Sep 17 00:00:00 2001 From: D024504 Date: Fri, 28 Jul 2023 17:39:16 +0200 Subject: [PATCH] Example 8 --- docs/odata-csdl-json/odata-csdl-json.html | 4 ++-- docs/odata-csdl-json/odata-csdl-json.md | 4 ++-- docs/odata-csdl-xml/odata-csdl-xml.html | 4 ++-- docs/odata-csdl-xml/odata-csdl-xml.md | 4 ++-- odata-csdl/14 Vocabulary and Annotation.md | 4 ++-- odata-csdl/5 Schema.md | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/odata-csdl-json/odata-csdl-json.html b/docs/odata-csdl-json/odata-csdl-json.html index 807f6705b..8ee7402b5 100644 --- a/docs/odata-csdl-json/odata-csdl-json.html +++ b/docs/odata-csdl-json/odata-csdl-json.html @@ -897,7 +897,7 @@

Entity Type ObjectIt also MAY contain members representing structural properties and navigation properties as well as annotations.

-

Example 8: a simple entity type

+

Example 8: a simple entity type

"Employee": {
   "$Kind": "EntityType",
   "$Key": [
@@ -3098,7 +3098,7 @@ 

14.4.12 Record

It MAY contain annotations for itself and its members. Annotations for record members are prefixed with the member name.

-

Example 87: this annotation "morphs" the entity type from example 8 into a structured type with two structural properties GivenName and Surname and two navigation properties DirectSupervisor and CostCenter. The first three properties simply rename properties of the annotated entity type, the fourth adds a calculated navigation property that is pointing to a different service

+

Example 87: this annotation "morphs" the entity type from example 8 into a structured type with two structural properties GivenName and Surname and two navigation properties DirectSupervisor and CostCenter. The first three properties simply rename properties of the annotated entity type, the fourth adds a calculated navigation property that is pointing to a different service

"@person.Employee": {
   "@type": "https://example.org/vocabs/person#org.example.person.Manager",
   "@Core.Description": "Annotation on record",
diff --git a/docs/odata-csdl-json/odata-csdl-json.md b/docs/odata-csdl-json/odata-csdl-json.md
index b1fa5b3f3..3e0d7b6b2 100644
--- a/docs/odata-csdl-json/odata-csdl-json.md
+++ b/docs/odata-csdl-json/odata-csdl-json.md
@@ -1141,7 +1141,7 @@ properties](#NavigationProperty) as well as [annotations](#Annotation).
 :::
 
 ::: {.varjson .example}
-Example 8: a simple entity type
+Example 8: a simple entity type
 ```json
 "Employee": {
   "$Kind": "EntityType",
@@ -5335,7 +5335,7 @@ Annotations for record members are prefixed with the member name.
 :::
 
 ::: {.varjson .example}
-Example 87: this annotation "morphs" the entity type from example 8 into
+Example 87: this annotation "morphs" the entity type from [example 8](#entitytype) into
 a structured type with two structural properties `GivenName` and
 `Surname` and two navigation properties `DirectSupervisor` and
 `CostCenter`. The first three properties simply rename properties of the
diff --git a/docs/odata-csdl-xml/odata-csdl-xml.html b/docs/odata-csdl-xml/odata-csdl-xml.html
index 45d0ef91f..33cc4448c 100644
--- a/docs/odata-csdl-xml/odata-csdl-xml.html
+++ b/docs/odata-csdl-xml/odata-csdl-xml.html
@@ -866,7 +866,7 @@ 

Attribute NameThe value of Name is the entity type's name.

-

Example 8: a simple entity type

+

Example 8: a simple entity type

<EntityType Name="Employee">
   <Key>
     <PropertyRef Name="ID" />
@@ -2883,7 +2883,7 @@ 

-

Example 86: this annotation "morphs" the entity type from example 8 into a structured type with two structural properties GivenName and Surname and two navigation properties DirectSupervisor and CostCenter. The first three properties simply rename properties of the annotated entity type, the fourth adds a calculated navigation property that is pointing to a different service

+

Example 86: this annotation "morphs" the entity type from example 8 into a structured type with two structural properties GivenName and Surname and two navigation properties DirectSupervisor and CostCenter. The first three properties simply rename properties of the annotated entity type, the fourth adds a calculated navigation property that is pointing to a different service

<Annotation Term="org.example.person.Employee">
   <Record>
     <Annotation Term="Core.Description" String="Annotation on record" />
diff --git a/docs/odata-csdl-xml/odata-csdl-xml.md b/docs/odata-csdl-xml/odata-csdl-xml.md
index 4fd08312f..906da97ea 100644
--- a/docs/odata-csdl-xml/odata-csdl-xml.md
+++ b/docs/odata-csdl-xml/odata-csdl-xml.md
@@ -1085,7 +1085,7 @@ The value of `Name` is the entity type's name.
 :::
 
 ::: {.varxml .example}
-Example 8: a simple entity type
+Example 8: a simple entity type
 ```xml
 
   
@@ -5159,7 +5159,7 @@ enclosing `edm:Record` expression.
 :::
 
 ::: {.varxml .example}
-Example 86: this annotation "morphs" the entity type from example 8 into
+Example 86: this annotation "morphs" the entity type from [example 8](#entitytype) into
 a structured type with two structural properties `GivenName` and
 `Surname` and two navigation properties `DirectSupervisor` and
 `CostCenter`. The first three properties simply rename properties of the
diff --git a/odata-csdl/14 Vocabulary and Annotation.md b/odata-csdl/14 Vocabulary and Annotation.md
index 2de231b80..55f3b83e8 100644
--- a/odata-csdl/14 Vocabulary and Annotation.md	
+++ b/odata-csdl/14 Vocabulary and Annotation.md	
@@ -2785,7 +2785,7 @@ Annotations for record members are prefixed with the member name.
 :::
 
 ::: {.varjson .example}
-Example ##ex: this annotation "morphs" the entity type from example 8 into
+Example ##ex: this annotation "morphs" the entity type from [example ##entitytype] into
 a structured type with two structural properties `GivenName` and
 `Surname` and two navigation properties `DirectSupervisor` and
 `CostCenter`. The first three properties simply rename properties of the
@@ -2850,7 +2850,7 @@ enclosing `edm:Record` expression.
 :::
 
 ::: {.varxml .example}
-Example ##ex: this annotation "morphs" the entity type from example 8 into
+Example ##ex: this annotation "morphs" the entity type from [example ##entitytype] into
 a structured type with two structural properties `GivenName` and
 `Surname` and two navigation properties `DirectSupervisor` and
 `CostCenter`. The first three properties simply rename properties of the
diff --git a/odata-csdl/5 Schema.md b/odata-csdl/5 Schema.md
index 8c5810e2e..75057aabd 100644
--- a/odata-csdl/5 Schema.md	
+++ b/odata-csdl/5 Schema.md	
@@ -229,7 +229,7 @@ properties](#NavigationProperty) as well as [annotations](#Annotation).
 :::
 
 ::: {.varjson .example}
-Example ##ex: a simple entity type
+Example ##ex_entitytype: a simple entity type
 ```json
 "Employee": {
   "$Kind": "EntityType",
@@ -272,7 +272,7 @@ The value of `Name` is the entity type's name.
 :::
 
 ::: {.varxml .example}
-Example ##ex: a simple entity type
+Example ##ex_entitytype: a simple entity type
 ```xml