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": {
|
||||
"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": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue