Skip to content

Commit 626b5f9

Browse files
author
Tyler Kellen
committed
reserve id member at top level of attributes object
1 parent 602ccec commit 626b5f9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

format/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,9 @@ Here's how an article (i.e. a resource of type "articles") might appear in a doc
219219

220220
#### Attributes <a href="#document-structure-resource-object-attributes" id="document-structure-resource-object-attributes"></a>
221221

222-
A resource object **MAY** contain "[attributes]" holding any valid JSON value.
222+
A resource object **MAY** contain an "[attributes]" object. If included, this
223+
object **MUST** reserve the `id` member at it's top level, but can otherwise
224+
contain any valid JSON value.
223225

224226
Although has-one foreign keys (e.g. `author_id`) are often stored internally
225227
alongside other information to be represented in a resource object, these keys

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