From f3666f07fa59703abb92de63fc004656fafba71d Mon Sep 17 00:00:00 2001 From: Olivier Berthonneau Date: Wed, 6 Jul 2016 19:22:56 +0200 Subject: [PATCH] Id is not always required JSON API specification states that id is not required when the resource object originates at the client and represents a new resource to be created on the server. --- lib/schema.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/schema.json b/lib/schema.json index 0bb4bc4..d055575 100644 --- a/lib/schema.json +++ b/lib/schema.json @@ -118,8 +118,7 @@ "description": "\"Resource objects\" appear in a JSON API document to represent resources.", "type": "object", "required": [ - "type", - "id" + "type" ], "properties": { "type": {