Skip to content

Commit 309633e

Browse files
committed
Make it easier to find Enum and other schema types
1 parent 8e518bf commit 309633e

File tree

1 file changed

+4
-4
lines changed
  • src/app/docs/schema-reference-guide

1 file changed

+4
-4
lines changed

src/app/docs/schema-reference-guide/page.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ You can specify the order of properties within your schema so that it is display
322322
...
323323
```
324324

325-
### Class
325+
### Class schema type
326326

327327
`Class` designates a standard class document. It contains the definition of several properties and keywords describing various class attributes. An example of a class, and an instance of the class:
328328

@@ -359,7 +359,7 @@ You can specify the order of properties within your schema so that it is display
359359
}
360360
```
361361

362-
### Enum
362+
### Enum schema type
363363

364364
An `Enum` is a non-standard class in which each instance is a simple URI with no additional structure. To be a member of the class, you must be one of the referent URIs. An `Enum` example with an extension `Blue` is s shown below. In the database, the actual URI for an Enum is expanded with the preceding type name, so the `blue` extension becomes `http://s#PrimaryColour/blue`
365365

@@ -378,7 +378,7 @@ An `Enum` is a non-standard class in which each instance is a simple URI with no
378378
}
379379
```
380380

381-
### TaggedUnion
381+
### TaggedUnion schema type
382382

383383
A `TaggedUnion` specifies mutually exclusive properties. This is useful when there is a disjoint choice between options.
384384

@@ -1382,7 +1382,7 @@ An example of an object `Person` that can have 0 to any number of friends. This
13821382
}
13831383
```
13841384

1385-
### Foreign Types
1385+
### Foreign schema type (foreign references)
13861386

13871387
Use `Foreign` to specify types that are to be references to external data products. Foreign types are types that are opaque in the current data product. This allows us to give them identifiers although we don't actually store the objects locally. Foreign types have _no_ referential integrity checking, and as they refer to opaque identifiers, the schema is checked by the data product in which they are referred.
13881388

0 commit comments

Comments
 (0)