mirror of
https://github.com/OSMA-D/osma-server.git
synced 2025-03-05 17:41:33 +03:00
doc: readme contributing roadmap
This commit is contained in:
parent
11628b0190
commit
2cf76d8c0f
9 changed files with 342 additions and 2 deletions
32
docs/db-validation/reviews.json
Normal file
32
docs/db-validation/reviews.json
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"$jsonSchema": {
|
||||
"bsonType": "object",
|
||||
"required": ["app_id", "user_name", "text", "score", "timestamp"],
|
||||
"properties": {
|
||||
"app_id": {
|
||||
"bsonType": "string",
|
||||
"minLength": 3,
|
||||
"maxLength": 5
|
||||
},
|
||||
"user_name": {
|
||||
"bsonType": "string",
|
||||
"minLength": 3,
|
||||
"maxLength": 16
|
||||
},
|
||||
"score": {
|
||||
"bsonType": "number",
|
||||
"minimum": 1,
|
||||
"maximum": 10
|
||||
},
|
||||
"text": {
|
||||
"bsonType": "string",
|
||||
"minLength": 2,
|
||||
"maxLength": 2000
|
||||
},
|
||||
"timestamp": {
|
||||
"bsonType": "number",
|
||||
"minimum": 1658995612
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue