{
"$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 del espacio" },
"fileId": { "type": "string", "description": "ID del archivo" },
"fileName": { "type": "string", "description": "Nombre del archivo" },
"type": {
"type": "string",
"description": "Tipo de archivo: 1:documento, 2:hoja de cálculo, 3:presentación"
},
"parentId": {
"type": "string",
"description": "ID del nodo padre, si el superior es el espacio, es \"\""
},
"icon": { "type": "string" },
"fileOrder": {
"type": "string",
"description": "El nodo hermano anterior del archivo actual"
}
},
"required": [
"spaceId",
"fileId",
"fileName",
"type",
"parentId",
"fileOrder"
]
}
},
"requestId": { "type": "string" },
"errNo": { "type": "number" },
"errStr": { "type": "string" }
},
"required": ["msg", "code", "data", "requestId"]
}