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

70 lines
1.4 KiB
JSON
Raw Permalink 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": false,
"update": false,
"delete": false
},
"properties": {
"_id": {
"description": "ID系统自动生成"
},
"ad_region": {
"bsonType": "int",
"description": "数据来源1国内广告2国际广告",
"default": 1,
"enum": [{
"text": "国内广告",
"value": 1
},
{
"text": "国际广告",
"value": 2
}
]
},
"revenue_date": {
"bsonType": "int",
"description": "收益日期格式yyyymmdd例:20240415"
},
"appid": {
"bsonType": "string",
"description": "应用ID",
"foreignKey": "opendb-app-list.appid"
},
"revenue": {
"bsonType": "int",
"description": "预估收益,单位: 厘"
},
"create_time": {
"bsonType": "timestamp",
"description": "创建时间"
}
},
"required": []
},
"index": [{
"IndexName": "revenue_date",
"MgoKeySchema": {
"MgoIndexKeys": [{
"Name": "revenue_date",
"Direction": "1"
}],
"MgoIsUnique": false
}
},
{
"IndexName": "appid",
"MgoKeySchema": {
"MgoIndexKeys": [{
"Name": "appid",
"Direction": "1"
}],
"MgoIsUnique": false
}
}
]
}