Update JSON schemas for github-pages
This commit is contained in:
parent
e13b73656a
commit
6a9b87166d
1 changed files with 18 additions and 20 deletions
|
|
@ -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": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue