json schema: fix misplaced "required" property

This commit is contained in:
cmrd Senya 2018-07-16 00:06:05 +03:00
parent 7631c2e31c
commit b4450d3383

View file

@ -164,11 +164,11 @@
"required": [ "required": [
"guid", "public", "created_at" "guid", "public", "created_at"
] ]
}, }
"required": [ },
"entity_type", "entity_data" "required": [
] "entity_type", "entity_data"
} ]
}, },
"status_message": { "status_message": {
@ -232,9 +232,9 @@
"root_guid": {"$ref": "#/definitions/guid"} "root_guid": {"$ref": "#/definitions/guid"}
}, },
"required": ["author", "guid", "created_at", "root_author", "root_guid"] "required": ["author", "guid", "created_at", "root_author", "root_guid"]
}, }
"required": ["entity_type", "entity_data"] },
} "required": ["entity_type", "entity_data"]
}, },
"profile": { "profile": {