{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"msg": { "type": "string" },
"code": { "type": "number", "mock": { "mock": "0" } },
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"spaceId": { "type": "number", "description": "スペースID" },
"fileId": { "type": "string", "description": "ファイルID" },
"fileName": { "type": "string", "description": "ファイル名" },
"type": {
"type": "string",
"description": "ファイルタイプ:1:document,文書 2:spreadsheet,スプレッドシート 3:presentation,プレゼンテーション"
},
"parentId": {
"type": "string",
"description": "親ノードID、上位がスペースの場合は\"\""
},
"icon": { "type": "string" },
"fileOrder": {
"type": "string",
"description": "現在のファイルの前の同レベルノード"
}
},
"required": [
"spaceId",
"fileId",
"fileName",
"type",
"parentId",
"fileOrder"
]
}
},
"requestId": { "type": "string" },
"errNo": { "type": "number" },
"errStr": { "type": "string" }
},
"required": ["msg", "code", "data", "requestId"]
}