opendb/collection/opendb-open-data/collection.json

21 lines
510 B
JSON
Raw Normal View History

2022-08-24 10:47:57 +08:00
{
"schema": {
"bsonType": "object",
"required": ["_id", "value"],
"properties": {
"_id": {
"bsonType": "string",
"description": "key格式uni-id:[provider]:[appid]:[openid]:[access-token|user-access-token|session-key|encrypt-key-version|ticket]"
2022-08-24 10:47:57 +08:00
},
"value": {
"bsonType": "object",
"description": "字段_id对应的值"
},
"expired": {
"bsonType": "timestamp",
2022-08-24 10:47:57 +08:00
"description": "过期时间"
}
}
}
}