描述
实例结构
结构
参数 | 类型 | 描述 |
---|---|---|
Id | Integer | schema id |
Description | String | schema 描述 |
Meta | List | 表结构 |
TableName | String | 表名称 |
Fields | List | 字段 |
Name | String | 名称 |
Type | String | 类型 |
Description | String | 字段描述 |
Required | Boolean | 是否必选 |
Example | String | 字段值示例 |
GmtCreate | String | 创建时间 |
GmtModified | String | 修改时间 |
示例
{
"Id": 123,
"Description": "foo",
"Meta": [
{
"TableName": "user",
"Fields": [
{
"Name": "user_id",
"Type": "BIGINT",
"Description": "用户唯一ID",
"Required": true,
"Example": "1234567"
},
{
"Name": "user_id_type",
"Type": "STRING",
"Description": "用户注册类型",
"Required": false,
"Example": "1:app注册账号,2:手机号,3:微信号"
}
]
},
{
"TableName": "item",
"Fields": [
{
"Name": "user_id",
"Type": "BIGINT",
"Description": "用户唯一ID",
"Required": true,
"Example": "1234567"
},
{
"Name": "user_id_type",
"Type": "STRING",
"Description": "用户注册类型",
"Required": false,
"Example": "1:app注册账号,2:手机号,3:微信号"
}
]
},
{
"TableName": "behavior",
"Fields": [
{
"Name": "user_id",
"Type": "BIGINT",
"Description": "用户唯一ID",
"Required": true,
"Example": "1234567"
},
{
"Name": "user_id_type",
"Type": "STRING",
"Description": "用户注册类型",
"Required": false,
"Example": "1:app注册账号,2:手机号,3:微信号"
}
]
}
],
"GmtCreate": "2009-02-13T23:31:30.000Z",
"GmtModified": "2009-02-13T23:31:30.000Z"
}
在文档使用中是否遇到以下问题
更多建议
匿名提交