opendb/collection/uni-ad-sync-logs/collection.json
2024-05-11 15:12:31 +08:00

90 lines
1.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"schema": {
"bsonType": "object",
"permission": {
"read": true,
"create": true,
"update": true,
"delete": false
},
"properties": {
"_id": {
"description": "存储文档 ID系统自动生成"
},
"sync_date": {
"bsonType": "int",
"description": "收益推送日期格式yyyymmdd例:20240415"
},
"appid": {
"bsonType": "string",
"description": "应用ID"
},
"ad_region": {
"bsonType": "int",
"description": "数据来源1国内广告2国际广告",
"default": 1,
"enum": [{
"text": "国内广告",
"value": 1
},
{
"text": "国际广告",
"value": 2
}
]
},
"status": {
"bsonType": "int",
"description": "推送状态",
"enum": [{
"text": "未推送",
"value": 0
},
{
"text": "推送完成",
"value": 1
},
{
"text": "正在推送",
"value": 2
},
{
"text": "推送失败",
"value": 3
}
]
},
"create_time": {
"bsonType": "timestamp",
"description": "创建时间"
},
"update_time": {
"bsontype": "timestamp",
"description": "更新时间"
}
},
"required": []
},
"index": [{
"IndexName": "sync_date",
"MgoKeySchema": {
"MgoIndexKeys": [{
"Name": "sync_date",
"Direction": "1"
}],
"MgoIsUnique": false
}
},
{
"IndexName": "appid",
"MgoKeySchema": {
"MgoIndexKeys": [{
"Name": "appid",
"Direction": "1"
}],
"MgoIsUnique": false
}
}
]
}