{
"$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": "معرف المساحة" },
"fileId": { "type": "string", "description": "معرف الملف" },
"fileName": { "type": "string", "description": "اسم الملف" },
"type": {
"type": "string",
"description": "نوع الملف: 1:document, مستند 2:spreadsheet, جدول 3:presentation, عرض تقديمي"
},
"parentId": {
"type": "string",
"description": "معرف العقدة الأصلية، إذا كانت المستوى الأعلى فارغًا، تكون \"\""
},
"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"]
}