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,28 +215,26 @@
}, },
"reshare": { "reshare": {
"allOf": [ "type": "object",
{"$ref": "#/definitions/post"}, "properties": {
{ "entity_type": {
"type": "string",
"pattern": "^reshare$"
},
"entity_data": {
"type": "object", "type": "object",
"properties": { "properties": {
"entity_type": { "author": { "type": "string" },
"type": "string", "guid": { "$ref": "#/definitions/guid" },
"pattern": "^reshare$" "created_at": { "type": "string" },
}, "root_author": {"type": "string"},
"root_guid": {"$ref": "#/definitions/guid"}
"entity_data": { },
"type": "object", "required": ["author", "guid", "created_at", "root_author", "root_guid"]
"properties": { },
"root_author": {"type": "string"}, "required": ["entity_type", "entity_data"]
"root_guid": {"$ref": "#/definitions/guid"} }
},
"required": ["root_author", "root_guid"]
}
}
}
]
}, },
"profile": { "profile": {