chore: Add new schemas (no-changelog) (#13215)

This commit is contained in:
Jon
2025-02-13 09:40:35 +00:00
committed by GitHub
parent f001edb2a2
commit 0c6eb6eaef
38 changed files with 3095 additions and 0 deletions

View File

@@ -0,0 +1,128 @@
{
"type": "object",
"properties": {
"_id": {
"type": "integer"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"user": {
"type": "object",
"properties": {
"$ref": {
"type": "string"
},
"$id": {
"type": "integer"
}
},
"required": [
"$ref",
"$id"
]
},
"public": {
"type": "boolean"
},
"view": {
"type": "string"
},
"count": {
"type": "integer"
},
"cover": {
"type": "array",
"items": {
"type": "string"
}
},
"expanded": {
"type": "boolean"
},
"creatorRef": {
"type": "object",
"properties": {
"_id": {
"type": "integer"
},
"name": {
"type": "string"
},
"email": {
"type": "string"
}
},
"required": [
"_id",
"name",
"email"
]
},
"lastAction": {
"type": "string"
},
"created": {
"type": "string"
},
"lastUpdate": {
"type": "string"
},
"sort": {
"type": "integer"
},
"slug": {
"type": "string"
},
"color": {
"type": "string"
},
"access": {
"type": "object",
"properties": {
"for": {
"type": "integer"
},
"level": {
"type": "integer"
},
"root": {
"type": "boolean"
},
"draggable": {
"type": "boolean"
}
},
"required": [
"for",
"level",
"root",
"draggable"
]
},
"author": {
"type": "boolean"
}
},
"required": [
"_id",
"title",
"description",
"user",
"public",
"view",
"count",
"cover",
"expanded",
"lastAction",
"created",
"lastUpdate",
"sort",
"slug",
"access",
"author"
]
}