doc: readme contributing roadmap

This commit is contained in:
Artemy 2022-07-28 19:33:27 +03:00
parent 11628b0190
commit 2cf76d8c0f
9 changed files with 342 additions and 2 deletions

View file

@ -0,0 +1,55 @@
{
"$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
}
}
}
}
}

View file

@ -0,0 +1,28 @@
{
"$jsonSchema": {
"bsonType": "object",
"required": ["app_id", "version", "url", "timestamp", "platform", "type"],
"properties": {
"name_id": {
"bsonType": "string",
"minLength": 3,
"maxLength": 5
},
"version": {
"bsonType": "string"
},
"url": {
"bsonType": "string"
},
"platform": {
"bsonType": "string"
},
"type": {
"bsonType": "string"
},
"timestamp": {
"bsonType": "number"
}
}
}
}

View file

@ -0,0 +1,22 @@
{
"$jsonSchema": {
"bsonType": "object",
"required": ["apps", "name"],
"properties": {
"name": {
"bsonType": "string",
"minLength": 3,
"maxLength": 16
},
"apps": {
"bsonType": "array",
"uniqueItems": true,
"items": {
"bsonType": "string",
"minLength": 3,
"maxLength": 5
}
}
}
}
}

View 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
}
}
}
}

View file

@ -0,0 +1,22 @@
{
"$jsonSchema": {
"bsonType": "object",
"required": ["name", "password", "email", "role"],
"properties": {
"name": {
"bsonType": "string",
"minLength": 3,
"maxLength": 16
},
"password": {
"bsonType": "string"
},
"email": {
"bsonType": "string"
},
"role": {
"bsonType": "string"
}
}
}
}