ex
Fork of mbed-os-example-mbed5-blinky by
Diff: dumi_doc-master/schema/resource/news.schema.json
- Revision:
- 44:c1d8923072ba
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dumi_doc-master/schema/resource/news.schema.json Tue Jul 18 16:27:22 2017 +0800
@@ -0,0 +1,31 @@
+{
+ "type":"object",
+ "id":"https://xiaodu.baidu.com/schema/news.schema.json",
+ "properties":{
+ "type":{
+ "type":"string",
+ "enum":["news"]
+ },
+ "data":{
+ "type":"object",
+ "properties":{
+ "list":{
+ "type":"array",
+ "items":{
+ "type":"object",
+ "properties":{
+ "id":{"type":"string"},
+ "title":{"type":"string"},
+ "summary":{"type":"string"},
+ "content":{"type":"string"},
+ "url":{"type":"string"},
+ "image":{"type":"string"},
+ "thumb":{"type":"string"},
+ "pubtime":{"type":"string","pattern":"\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}"}
+ }
+ }
+ }
+ }
+ }
+ }
+}
