@@ -234,11 +234,11 @@ As noted above, every [resource object][resource objects] **MUST** contain a
234
234
` type ` member. Every resource object ** MUST** also contain an ` id ` member,
235
235
except when the resource object originates at the client and represents a new
236
236
resource to be created on the server. If ` id ` is omitted due to this exception,
237
- a ` lid ` member ** MAY** be included that uniquely identifies the resource
238
- _ locally_ within the document. The value of the ` lid ` member ** MUST** be
237
+ a ` lid ` member ** MAY** be included that uniquely identifies the resource by
238
+ ` type ` _ locally_ within the document. The value of the ` lid ` member ** MUST** be
239
239
identical for every representation of the resource in the document, including
240
240
other resource objects and [ resource identifier objects] [ resource identifier
241
- object] . The values of ` lid ` members ** MUST ** be unique across resource types.
241
+ object] .
242
242
243
243
The values of the ` id ` , ` type ` , and ` lid ` members ** MUST** be strings.
244
244
@@ -411,11 +411,10 @@ response that includes the resource as the primary data.
411
411
A "resource identifier object" is an object that identifies an individual
412
412
resource.
413
413
414
- A "resource identifier object" ** MUST** contain ` type ` and ` id ` members, except
415
- when it represents a new resource to be created on the server. In this case, a
416
- ` lid ` member ** MUST** be included and ` type ` ** MAY** be included. As discussed
417
- above, the value of the ` lid ` member ** MUST** be identical for every
418
- representation of the resource in the document.
414
+ A "resource identifier object" ** MUST** contain a ` type ` member. It ** MUST**
415
+ also contain an ` id ` member, except when it represents a new resource to be
416
+ created on the server. In this case, a ` lid ` member ** MUST** be included that
417
+ identifies the new resource.
419
418
420
419
The values of the ` id ` , ` type ` , and ` lid ` members ** MUST** be strings.
421
420
0 commit comments