ex
Fork of mbed-os-example-mbed5-blinky by
Diff: dumi_doc-master/schema/resource/music.schema.json
- Revision:
- 44:c1d8923072ba
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dumi_doc-master/schema/resource/music.schema.json Tue Jul 18 16:27:22 2017 +0800
@@ -0,0 +1,113 @@
+{
+ "type":"object",
+ "id":"https://xiaodu.baidu.com/schema/music.schema.json",
+ "properties":{
+ "type":{
+ "type":"string",
+ "enum":["music"]
+ },
+ "data":{
+ "type":"object",
+ "required":["name","singer_name","duration","url","is_need_pay_listen"],
+ "properties":{
+ "name":{
+ "description":"歌曲名",
+ "type":"string"
+ },
+ "duration":{
+ "description":"歌曲时常",
+ "type":"integer"
+ },
+ "alias":{
+ "description":"别名",
+ "type":"string"
+ },
+ "singer_name":{
+ "description":"歌手名",
+ "type":"string"
+ },
+ "all_singer_name":{
+ "description":"所有歌手名",
+ "type":"string"
+ },
+ "genre":{
+ "description":"歌曲流派",
+ "type":"string"
+ },
+ "tag":{
+ "description":"歌曲tag",
+ "type":"string"
+ },
+ "language":{
+ "description":"语言",
+ "type":"string"
+ },
+ "original_singer":{
+ "description":"原唱",
+ "type":"string"
+ },
+ "composer":{
+ "description":"作曲",
+ "type":"string"
+ },
+ "lyricist":{
+ "description":"作词",
+ "type":"string"
+ },
+ "lyric":{
+ "description":"歌词内容(可能很长)",
+ "type":"string"
+ },
+ "url":{
+ "description":"h5页面地址",
+ "type":"string"
+ },
+ "same_name_url":{
+ "description":"同名歌曲集合页",
+ "type":"string"
+ },
+ "streaming_vedio_url":{
+ "description":"流媒体url",
+ "type":"string"
+ },
+ "head_image_url":{
+ "description":"歌手名",
+ "type":"string"
+ },
+ "album_name":{
+ "description":"专辑名称",
+ "type":"string"
+ },
+ "album_url":{
+ "description":"专辑地址",
+ "type":"string"
+ },
+ "score":{
+ "description":"歌曲质量得分",
+ "type":"integer"
+ },
+ "publish_time":{
+ "description":"发布时间",
+ "type":"string"
+ },
+ "publish_company":{
+ "description":"唱片公司",
+ "type":"string"
+ },
+ "is_need_pay_listen":{
+ "description":"是否付费收听,0表示否,1表示是",
+ "type":"integer"
+ },
+ "from_site":{
+ "description":"来源站点,1:百度,2:QQ,3:网易云,4:虾米,5:一听,6:酷我",
+ "type":"integer"
+ },
+ "hot":{
+ "description":"热度,现在是播放次数",
+ "type":"integer"
+ }
+ }
+ }
+ }
+}
+
