File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,11 @@ In addition, a resource object **MAY** contain any of these top-level members:
144
144
Any other top-level member in a resource object represents an "attribute".
145
145
An attribute may contain any valid JSON value.
146
146
147
+ If the value of an attribute is a JSON object or array, the member is called a
148
+ * complex attribute* . The value is allowed to be any valid JSON structure.
149
+ However, a JSON object that constitutes or is contained in a complex attribute
150
+ must reserve the ` id ` , ` type ` , ` links ` , and ` meta ` members for future use.
151
+
147
152
Although has-one foreign keys (e.g. ` author_id ` ) are often stored internally
148
153
alongside other information to be represented in a resource object, these keys
149
154
* SHOULD NOT* appear as attributes. If relations are provided, they ** MUST**
You can’t perform that action at this time.
0 commit comments