mirror of
https://github.com/OSMA-D/osma-server.git
synced 2025-02-01 02:09:09 +03:00
55 lines
993 B
JSON
55 lines
993 B
JSON
{
|
|
"$jsonSchema": {
|
|
"bsonType": "object",
|
|
"required": [
|
|
"app_id",
|
|
"name",
|
|
"description",
|
|
"icon",
|
|
"screenshots",
|
|
"repo",
|
|
"author",
|
|
"tags"
|
|
],
|
|
"properties": {
|
|
"app_id": {
|
|
"bsonType": "string",
|
|
"minLength": 3,
|
|
"maxLength": 5
|
|
},
|
|
"name": {
|
|
"bsonType": "string",
|
|
"minLength": 1,
|
|
"maxLength": 16
|
|
},
|
|
"description": {
|
|
"bsonType": "string"
|
|
},
|
|
"icon": {
|
|
"bsonType": "string"
|
|
},
|
|
"screenshots": {
|
|
"bsonType": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"repo": {
|
|
"bsonType": "string"
|
|
},
|
|
"author": {
|
|
"bsonType": "string",
|
|
"minLength": 3,
|
|
"maxLength": 16
|
|
},
|
|
"tags": {
|
|
"bsonType": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 32
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|