Caption and category added for spoilers
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
"required": [
|
||||
"user",
|
||||
"completed",
|
||||
"category",
|
||||
"description",
|
||||
"photo",
|
||||
"video",
|
||||
"animation",
|
||||
"caption",
|
||||
"text"
|
||||
],
|
||||
"properties": {
|
||||
@@ -18,6 +20,11 @@
|
||||
"bsonType": "bool",
|
||||
"description": "Whether spoiler is a completed one"
|
||||
},
|
||||
"category": {
|
||||
"bsonType": ["string", "null"],
|
||||
"enum": ["nsfw", "deanon", "other"],
|
||||
"description": "Spoiler's category"
|
||||
},
|
||||
"description": {
|
||||
"bsonType": ["string", "null"],
|
||||
"description": "Spoiler's description"
|
||||
@@ -34,6 +41,10 @@
|
||||
"bsonType": ["string", "null"],
|
||||
"description": "Spoilered animation/GIF"
|
||||
},
|
||||
"caption": {
|
||||
"bsonType": ["string", "null"],
|
||||
"description": "Spoilered caption for media"
|
||||
},
|
||||
"text": {
|
||||
"bsonType": ["string", "null"],
|
||||
"description": "Spoilered text"
|
||||
|
Reference in New Issue
Block a user