154 lines
2.8 KiB
JSON
154 lines
2.8 KiB
JSON
{
|
|
"metadata": {
|
|
"apiVersion": "2016-08-01",
|
|
"endpointPrefix": "person",
|
|
"jsonVersion": "1.1",
|
|
"serviceFullName": "Jibo Person",
|
|
"signatureVersion": "v4",
|
|
"targetPrefix": "Person_20160801",
|
|
"protocol": "json"
|
|
},
|
|
"operations": {
|
|
"List": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"category"
|
|
],
|
|
"members": {
|
|
"category": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"key",
|
|
"question"
|
|
],
|
|
"members": {
|
|
"key": {},
|
|
"question": {},
|
|
"options": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"key"
|
|
],
|
|
"members": {
|
|
"key": {},
|
|
"answer": {},
|
|
"image": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"Answer": {
|
|
"input": {
|
|
"shape": "Sc"
|
|
},
|
|
"output": {
|
|
"shape": "Sc"
|
|
}
|
|
},
|
|
"EnableHolidays": {
|
|
"input": {
|
|
"shape": "Sd"
|
|
},
|
|
"output": {
|
|
"shape": "Sh"
|
|
}
|
|
},
|
|
"ListHolidays": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"loopId"
|
|
],
|
|
"members": {
|
|
"loopId": {}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"name",
|
|
"loopId",
|
|
"category"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"eventId": {},
|
|
"name": {},
|
|
"category": {},
|
|
"subcategory": {},
|
|
"loopId": {},
|
|
"memberId": {},
|
|
"isEnabled": {
|
|
"type": "boolean"
|
|
},
|
|
"date": {},
|
|
"endDate": {},
|
|
"created": {
|
|
"type": "long"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"DisableHolidays": {
|
|
"input": {
|
|
"shape": "Sd"
|
|
},
|
|
"output": {
|
|
"shape": "Sh"
|
|
}
|
|
}
|
|
},
|
|
"shapes": {
|
|
"Sc": {
|
|
"type": "structure",
|
|
"required": [
|
|
"key",
|
|
"answer"
|
|
],
|
|
"members": {
|
|
"key": {},
|
|
"answer": {}
|
|
}
|
|
},
|
|
"Sd": {
|
|
"type": "structure",
|
|
"required": [
|
|
"ids",
|
|
"loopId"
|
|
],
|
|
"members": {
|
|
"ids": {
|
|
"type": "list",
|
|
"member": {}
|
|
},
|
|
"loopId": {}
|
|
}
|
|
},
|
|
"Sh": {
|
|
"type": "structure",
|
|
"required": [
|
|
"result"
|
|
],
|
|
"members": {
|
|
"result": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |