Skip to content
Merged
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
12 changes: 12 additions & 0 deletions guides/reference-guides/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,18 @@ A long-form `@description` of the purpose of the schema, the type of documents c

A list of strings of `@authors` involved in writing the schema.

#### @metadata

If you would like to add arbitrary JSON structured metadata to a schema, you can place it in the `@metadata` field of the context object. This can be used to store data product-wide information in a structured format. For instance:

```json
{ "@type" : "@context",
"@base" : "http://my_stuff/",
"@schema" : "http://my_schema#",
"@metadata" : { "configuration" : { "frob" : 29 } }
}
```

## Class keywords

A class definition includes several properties, and the keywords, prefixed `@`, describing class behavior.
Expand Down