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