Commit 3d56614d authored by Liang Ding's avatar Liang Ding

🎨 格式化 JSON

parent 0dfd8335
{ {
"description": "Description of repository structures, for generation of the relational database table and persistence validation.", "description": "Description of repository structures, for generation of the relational database table and persistence validation.",
"version": "3.2.1.1, Sep 16, 2018", "version": "3.2.1.1, Sep 16, 2018",
"authors": [ "authors": [
"Liang Ding" "Liang Ding"
], ],
"since": "0.4.0", "since": "0.4.0",
"repositories": [ "repositories": [
{ {
"name": "category", "name": "category",
"description": "分类表", "description": "分类表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "categoryTitle", "name": "categoryTitle",
"description": "分类标题", "description": "分类标题",
"type": "String", "type": "String",
"length": 64 "length": 64
}, },
{ {
"name": "categoryURI", "name": "categoryURI",
"description": "分类访问路径", "description": "分类访问路径",
"type": "String", "type": "String",
"length": 32 "length": 32
}, },
{ {
"name": "categoryDescription", "name": "categoryDescription",
"description": "分类描述", "description": "分类描述",
"type": "String", "type": "String",
"length": 512 "length": 512
}, },
{ {
"name": "categoryOrder", "name": "categoryOrder",
"description": "分类展现的排序", "description": "分类展现的排序",
"type": "int" "type": "int"
}, },
{ {
"name": "categoryTagCnt", "name": "categoryTagCnt",
"description": "分类下聚合的标签计数", "description": "分类下聚合的标签计数",
"type": "int" "type": "int"
} }
] ]
}, },
{ {
"name": "category_tag", "name": "category_tag",
"description": "分类-标签关联表", "description": "分类-标签关联表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "category_oId", "name": "category_oId",
"description": "分类 id", "description": "分类 id",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "tag_oId", "name": "tag_oId",
"description": "标签 id", "description": "标签 id",
"type": "String", "type": "String",
"length": 19 "length": 19
} }
] ]
}, },
{ {
"name": "archivedate", "name": "archivedate",
"description": "存档日期表", "description": "存档日期表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "archiveDateArticleCount", "name": "archiveDateArticleCount",
"description": "存档日期文章计数,即某个月的文章总数", "description": "存档日期文章计数,即某个月的文章总数",
"type": "int" "type": "int"
}, },
{ {
"name": "archiveDatePublishedArticleCount", "name": "archiveDatePublishedArticleCount",
"description": "存档日期已发布的文章计数,即某个月的已发布文章总数", "description": "存档日期已发布的文章计数,即某个月的已发布文章总数",
"type": "int" "type": "int"
}, },
{ {
"name": "archiveTime", "name": "archiveTime",
"description": "存档日期时间,该月份第一天的时间戳", "description": "存档日期时间,该月份第一天的时间戳",
"type": "long" "type": "long"
} }
] ]
}, },
{ {
"name": "archivedate_article", "name": "archivedate_article",
"description": "存档-文章关联表", "description": "存档-文章关联表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "archiveDate_oId", "name": "archiveDate_oId",
"description": "存档日期 id", "description": "存档日期 id",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "article_oId", "name": "article_oId",
"description": "文章 id", "description": "文章 id",
"type": "String", "type": "String",
"length": 19 "length": 19
} }
] ]
}, },
{ {
"name": "comment", "name": "comment",
"description": "评论表", "description": "评论表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "commentContent", "name": "commentContent",
"description": "评论内容", "description": "评论内容",
"type": "String", "type": "String",
"length": 2000 "length": 2000
}, },
{ {
"name": "commentCreated", "name": "commentCreated",
"description": "评论时间戳", "description": "评论时间戳",
"type": "long" "type": "long"
}, },
{ {
"name": "commentEmail", "name": "commentEmail",
"description": "评论人邮箱", "description": "评论人邮箱",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "commentName", "name": "commentName",
"description": "评论人名称", "description": "评论人名称",
"type": "String", "type": "String",
"length": 50 "length": 50
}, },
{ {
"name": "commentOnId", "name": "commentOnId",
"description": "评论的文章/页面的 id", "description": "评论的文章/页面的 id",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "commentOnType", "name": "commentOnType",
"description": "评论的是文章还是页面,文章:article 页面:page", "description": "评论的是文章还是页面,文章:article 页面:page",
"type": "String", "type": "String",
"length": 20 "length": 20
}, },
{ {
"name": "commentSharpURL", "name": "commentSharpURL",
"description": "评论访问路径,带 # 锚点", "description": "评论访问路径,带 # 锚点",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "commentThumbnailURL", "name": "commentThumbnailURL",
"description": "评论人头像图片链接地址", "description": "评论人头像图片链接地址",
"type": "String", "type": "String",
"length": 512 "length": 512
}, },
{ {
"name": "commentURL", "name": "commentURL",
"description": "评论人链接地址", "description": "评论人链接地址",
"type": "String", "type": "String",
"length": "255" "length": "255"
}, },
{ {
"name": "commentOriginalCommentId", "name": "commentOriginalCommentId",
"description": "评论回复时原始的评论 id,即父评论 id", "description": "评论回复时原始的评论 id,即父评论 id",
"type": "String", "type": "String",
"length": 19, "length": 19,
"nullable": true "nullable": true
}, },
{ {
"name": "commentOriginalCommentName", "name": "commentOriginalCommentName",
"description": "评论回复时原始的评论人名称,即父评论人名称", "description": "评论回复时原始的评论人名称,即父评论人名称",
"type": "String", "type": "String",
"length": 50, "length": 50,
"nullable": true "nullable": true
} }
] ]
}, },
{ {
"name": "link", "name": "link",
"description": "链接表", "description": "链接表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "linkAddress", "name": "linkAddress",
"description": "链接地址", "description": "链接地址",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "linkDescription", "name": "linkDescription",
"description": "链接描述", "description": "链接描述",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "linkOrder", "name": "linkOrder",
"description": "链接展现的排序", "description": "链接展现的排序",
"type": "int" "type": "int"
}, },
{ {
"name": "linkTitle", "name": "linkTitle",
"description": "链接标题", "description": "链接标题",
"type": "String", "type": "String",
"length": 255 "length": 255
} }
] ]
}, },
{ {
"name": "page", "name": "page",
"description": "自定义页面表", "description": "自定义页面表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "pageCommentCount", "name": "pageCommentCount",
"description": "页面评论计数", "description": "页面评论计数",
"type": "int" "type": "int"
}, },
{ {
"name": "pageContent", "name": "pageContent",
"description": "页面内容", "description": "页面内容",
"type": "String", "type": "String",
"length": 1048576 "length": 1048576
}, },
{ {
"name": "pageOrder", "name": "pageOrder",
"description": "页面展现排序", "description": "页面展现排序",
"type": "int" "type": "int"
}, },
{ {
"name": "pagePermalink", "name": "pagePermalink",
"description": "页面访问路径", "description": "页面访问路径",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "pageTitle", "name": "pageTitle",
"description": "页面标题", "description": "页面标题",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "pageCommentable", "name": "pageCommentable",
"description": "页面是否可以评论", "description": "页面是否可以评论",
"type": "boolean" "type": "boolean"
}, },
{ {
"name": "pageType", "name": "pageType",
"description": "页面类型,自定义导航:link,普通页面:page", "description": "页面类型,自定义导航:link,普通页面:page",
"type": "String", "type": "String",
"length": 10 "length": 10
}, },
{ {
"name": "pageOpenTarget", "name": "pageOpenTarget",
"description": "页面打开方式", "description": "页面打开方式",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "pageEditorType", "name": "pageEditorType",
"description": "页面编辑器类型,目前仅支持 CodeMirror-Markdown", "description": "页面编辑器类型,目前仅支持 CodeMirror-Markdown",
"type": "String", "type": "String",
"length": 20, "length": 20,
"nullable": true "nullable": true
}, },
{ {
"name": "pageIcon", "name": "pageIcon",
"description": "页面展示用小图标", "description": "页面展示用小图标",
"type": "String", "type": "String",
"length": 255 "length": 255
} }
] ]
}, },
{ {
"name": "plugin", "name": "plugin",
"description": "插件表", "description": "插件表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 128 "length": 128
}, },
{ {
"name": "author", "name": "author",
"description": "插件作者", "description": "插件作者",
"type": "String", "type": "String",
"length": 2000 "length": 2000
}, },
{ {
"name": "name", "name": "name",
"description": "插件名称", "description": "插件名称",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "status", "name": "status",
"description": "插件状态,启用:ENABLED,禁用:DISABLED", "description": "插件状态,启用:ENABLED,禁用:DISABLED",
"type": "String", "type": "String",
"length": 10 "length": 10
}, },
{ {
"name": "version", "name": "version",
"description": "插件版本", "description": "插件版本",
"type": "String", "type": "String",
"length": 10 "length": 10
}, },
{ {
"name": "setting", "name": "setting",
"description": "插件配置,JSON 字符串", "description": "插件配置,JSON 字符串",
"type": "String", "type": "String",
"length": 2000, "length": 2000,
"nullable": true "nullable": true
} }
] ]
}, },
{ {
"name": "tag", "name": "tag",
"description": "标签表", "description": "标签表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "tagPublishedRefCount", "name": "tagPublishedRefCount",
"description": "标签关联的已发布文章计数", "description": "标签关联的已发布文章计数",
"type": "int" "type": "int"
}, },
{ {
"name": "tagReferenceCount", "name": "tagReferenceCount",
"description": "标签关联的文章计数", "description": "标签关联的文章计数",
"type": "int" "type": "int"
}, },
{ {
"name": "tagTitle", "name": "tagTitle",
"description": "标签标题", "description": "标签标题",
"type": "String", "type": "String",
"length": 255 "length": 255
} }
] ]
}, },
{ {
"name": "tag_article", "name": "tag_article",
"description": "标签-文章关联表", "description": "标签-文章关联表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "article_oId", "name": "article_oId",
"description": "文章 id", "description": "文章 id",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "tag_oId", "name": "tag_oId",
"description": "标签 id", "description": "标签 id",
"type": "String", "type": "String",
"length": 19 "length": 19
} }
] ]
}, },
{ {
"name": "user", "name": "user",
"description": "用户表", "description": "用户表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "userEmail", "name": "userEmail",
"description": "用户邮箱", "description": "用户邮箱",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "userName", "name": "userName",
"description": "用户名", "description": "用户名",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "userURL", "name": "userURL",
"description": "用户链接地址", "description": "用户链接地址",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "userPassword", "name": "userPassword",
"description": "用户密码,MD5", "description": "用户密码,MD5",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "userRole", "name": "userRole",
"description": "用户角色,管理员:adminRole,普通用户:defaultRole,访客用户:visitorRole", "description": "用户角色,管理员:adminRole,普通用户:defaultRole,访客用户:visitorRole",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "userArticleCount", "name": "userArticleCount",
"description": "用户文章计数", "description": "用户文章计数",
"type": "int" "type": "int"
}, },
{ {
"name": "userPublishedArticleCount", "name": "userPublishedArticleCount",
"description": "用户已发布文章计数", "description": "用户已发布文章计数",
"type": "int" "type": "int"
}, },
{ {
"name": "userAvatar", "name": "userAvatar",
"description": "用户头像图片链接地址", "description": "用户头像图片链接地址",
"type": "String", "type": "String",
"length": 255 "length": 255
} }
] ]
}, },
{ {
"name": "article", "name": "article",
"description": "文章表", "description": "文章表",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "articleTitle", "name": "articleTitle",
"description": "文章标题", "description": "文章标题",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "articleAbstract", "name": "articleAbstract",
"description": "文章摘要", "description": "文章摘要",
"type": "String", "type": "String",
"length": 2000 "length": 2000
}, },
{ {
"name": "articleTags", "name": "articleTags",
"description": "文章标签,英文逗号分隔", "description": "文章标签,英文逗号分隔",
"type": "String", "type": "String",
"length": 2000 "length": 2000
}, },
{ {
"name": "articleAuthorId", "name": "articleAuthorId",
"description": "文章作者 id", "description": "文章作者 id",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "articleCommentCount", "name": "articleCommentCount",
"description": "文章评论计数", "description": "文章评论计数",
"type": "int" "type": "int"
}, },
{ {
"name": "articleViewCount", "name": "articleViewCount",
"description": "文章浏览计数", "description": "文章浏览计数",
"type": "int" "type": "int"
}, },
{ {
"name": "articleContent", "name": "articleContent",
"description": "文章正文内容", "description": "文章正文内容",
"type": "String", "type": "String",
"length": 1048576 "length": 1048576
}, },
{ {
"name": "articlePermalink", "name": "articlePermalink",
"description": "文章访问路径", "description": "文章访问路径",
"type": "String", "type": "String",
"length": 255 "length": 255
}, },
{ {
"name": "articleHadBeenPublished", "name": "articleHadBeenPublished",
"description": "文章是否已经发布过", "description": "文章是否已经发布过",
"type": "boolean" "type": "boolean"
}, },
{ {
"name": "articleIsPublished", "name": "articleIsPublished",
"description": "文章是否处于已发布状态", "description": "文章是否处于已发布状态",
"type": "boolean" "type": "boolean"
}, },
{ {
"name": "articlePutTop", "name": "articlePutTop",
"description": "文章是否置顶", "description": "文章是否置顶",
"type": "boolean" "type": "boolean"
}, },
{ {
"name": "articleCreated", "name": "articleCreated",
"description": "文章创建时间戳", "description": "文章创建时间戳",
"type": "long" "type": "long"
}, },
{ {
"name": "articleUpdated", "name": "articleUpdated",
"description": "文章更新时间戳", "description": "文章更新时间戳",
"type": "long" "type": "long"
}, },
{ {
"name": "articleRandomDouble", "name": "articleRandomDouble",
"description": "文章随机数,用于快速查询随机文章列表", "description": "文章随机数,用于快速查询随机文章列表",
"type": "double" "type": "double"
}, },
{ {
"name": "articleSignId", "name": "articleSignId",
"description": "文章关联的签名档 id", "description": "文章关联的签名档 id",
"type": "String", "type": "String",
"length": 19 "length": 19
}, },
{ {
"name": "articleCommentable", "name": "articleCommentable",
"description": "文章是否可以评论", "description": "文章是否可以评论",
"type": "boolean" "type": "boolean"
}, },
{ {
"name": "articleViewPwd", "name": "articleViewPwd",
"description": "文章浏览密码,留空为不设置访问密码", "description": "文章浏览密码,留空为不设置访问密码",
"type": "String", "type": "String",
"legnth": 255 "legnth": 255
}, },
{ {
"name": "articleEditorType", "name": "articleEditorType",
"description": "文章编辑器类型,目前仅支持 CodeMirror-Markdown", "description": "文章编辑器类型,目前仅支持 CodeMirror-Markdown",
"type": "String", "type": "String",
"length": 20, "length": 20,
"nullable": true "nullable": true
} }
] ]
}, },
{ {
"name": "option", "name": "option",
"description": "配置项", "description": "配置项",
"keys": [ "keys": [
{ {
"name": "oId", "name": "oId",
"description": "主键", "description": "主键",
"type": "String", "type": "String",
"length": 64 "length": 64
}, },
{ {
"name": "optionValue", "name": "optionValue",
"description": "配置项值", "description": "配置项值",
"type": "String", "type": "String",
"length": 10240 "length": 10240
}, },
{ {
"name": "optionCategory", "name": "optionCategory",
"description": "配置项分类", "description": "配置项分类",
"type": "String", "type": "String",
"legnth": 20 "legnth": 20
}
]
} }
] ]
}
]
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment