Update JSON schemas for github-pages

This commit is contained in:
Benjamin Neff 2017-09-23 02:18:13 +02:00
parent e13b73656a
commit 6a9b87166d
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -215,9 +215,6 @@
}, },
"reshare": { "reshare": {
"allOf": [
{"$ref": "#/definitions/post"},
{
"type": "object", "type": "object",
"properties": { "properties": {
"entity_type": { "entity_type": {
@ -228,15 +225,16 @@
"entity_data": { "entity_data": {
"type": "object", "type": "object",
"properties": { "properties": {
"author": { "type": "string" },
"guid": { "$ref": "#/definitions/guid" },
"created_at": { "type": "string" },
"root_author": {"type": "string"}, "root_author": {"type": "string"},
"root_guid": {"$ref": "#/definitions/guid"} "root_guid": {"$ref": "#/definitions/guid"}
}, },
"required": ["author", "guid", "created_at", "root_author", "root_guid"]
"required": ["root_author", "root_guid"] },
"required": ["entity_type", "entity_data"]
} }
}
}
]
}, },
"profile": { "profile": {