Merge pull request #104 from cmrd-senya/fix-schemas

json schema: fix misplaced "required" property
This commit is contained in:
Benjamin Neff 2018-07-17 01:21:52 +02:00
commit 42f115dbc8
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

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": {