Skip to content

Commit ebd2b47

Browse files
jelhandgeb
andauthored
only top-level member may be defined by extension (json-api#1642)
* only top-level member may be defined by extension * Update _format/1.1/index.md Co-authored-by: Dan Gebhardt <dan@cerebris.com> Co-authored-by: Dan Gebhardt <dan@cerebris.com>
1 parent cd77524 commit ebd2b47

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

_format/1.1/index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,16 +292,17 @@ document containing data. This object defines a document's "top level".
292292

293293
A document **MUST** contain at least one of the following top-level members:
294294

295-
* `data`: the document's "primary data"
296-
* `errors`: an array of [error objects](#errors)
295+
* `data`: the document's "primary data".
296+
* `errors`: an array of [error objects](#errors).
297297
* `meta`: a [meta object][meta] that contains non-standard
298298
meta-information.
299+
* a member defined by an applied [extension](#extensions).
299300

300301
The members `data` and `errors` **MUST NOT** coexist in the same document.
301302

302303
A document **MAY** contain any of these top-level members:
303304

304-
* `jsonapi`: an object describing the server's implementation
305+
* `jsonapi`: an object describing the server's implementation.
305306
* `links`: a [links object][links] related to the primary data.
306307
* `included`: an array of [resource objects] that are related to the primary
307308
data and/or each other ("included resources").

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy