summaryrefslogtreecommitdiff
path: root/data/en_us/airticketopen/2023-01-17/api-docs.php
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/airticketopen/2023-01-17/api-docs.php')
-rw-r--r--data/en_us/airticketopen/2023-01-17/api-docs.php12229
1 files changed, 12229 insertions, 0 deletions
diff --git a/data/en_us/airticketopen/2023-01-17/api-docs.php b/data/en_us/airticketopen/2023-01-17/api-docs.php
new file mode 100644
index 0000000..75e7ab5
--- /dev/null
+++ b/data/en_us/airticketopen/2023-01-17/api-docs.php
@@ -0,0 +1,12229 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'airticketOpen',
+ 'version' => '2023-01-17',
+ ],
+ 'directories' => [
+ [
+ 'id' => 180765,
+ 'title' => 'Token',
+ 'type' => 'directory',
+ 'children' => [
+ 'GetToken',
+ ],
+ ],
+ [
+ 'id' => 180770,
+ 'title' => 'Reservation',
+ 'type' => 'directory',
+ 'children' => [
+ 'Search',
+ 'Enrich',
+ 'AncillarySuggest',
+ 'Pricing',
+ 'Book',
+ 'TicketingCheck',
+ 'Ticketing',
+ 'Cancel',
+ 'OrderDetail',
+ 'OrderList',
+ ],
+ ],
+ [
+ 'id' => 180787,
+ 'title' => 'Refund',
+ 'type' => 'directory',
+ 'children' => [
+ 'RefundApply',
+ 'RefundDetailList',
+ 'RefundDetail',
+ ],
+ ],
+ [
+ 'id' => 180791,
+ 'title' => 'Change',
+ 'type' => 'directory',
+ 'children' => [
+ 'ChangeConfirm',
+ 'ChangeCancel',
+ 'ChangeDetailListOfBuyer',
+ 'ChangeDetail',
+ 'ChangeApply',
+ 'ChangeDetailListOfOrderNum',
+ ],
+ ],
+ [
+ 'id' => 180799,
+ 'title' => 'Irregular Flight',
+ 'type' => 'directory',
+ 'children' => [
+ 'FlightChangeOfOrder',
+ ],
+ ],
+ [
+ 'id' => 182563,
+ 'title' => 'Other',
+ 'type' => 'directory',
+ 'children' => [
+ 'AccountFlowList',
+ 'FileUpload',
+ 'LuggageDirect',
+ 'TransitVisa',
+ 'CollectFlightLowestPrice',
+ ],
+ ],
+ [
+ 'id' => 0,
+ 'title' => '其它',
+ 'type' => 'directory',
+ 'children' => [
+ 'StandardSearch',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'GetToken' => [
+ 'summary' => 'Get Token',
+ 'path' => '/airticket/v1/token',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'rootTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'app_key',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'appKey',
+ 'description' => 'appKey',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'fu1bltcu3400iurywuri',
+ ],
+ ],
+ [
+ 'name' => 'app_secret',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => 'appSecret',
+ 'description' => 'appSecret',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ZzQ3MW1mb3E1ODAwI2ldUjYlWUdJn5YI',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'headers' => [],
+ 'schema' => [
+ 'title' => 'PopBaseRes<TokenInfoDTO, Object>',
+ 'description' => 'PopBaseRes<TokenInfoDTO, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'When the HTTP request is successful, the status value is 200.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'Business error code',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'Error message',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'Whether it is correct',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'Request RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'Correctly processed return data',
+ 'type' => 'object',
+ 'properties' => [
+ 'token' => [
+ 'title' => 'token',
+ 'description' => 'token',
+ 'type' => 'string',
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiIyUlRjY0Ezc1puSndpYU11R1ctTkVRIiwiaWF0IjoxNjc3MTU1Njg3LCJleHAiOjE2NzcxNjI4ODcsIm5iZiI6MTY3NzE1NTYyN30.bd8qBedJ7R24NC8VpMtM4Ni5OR-Cc0utPiKSx8fjoj9taalt7zXBF8uIVTETw1N-Fx9reLflwVXrbDHky7ZKqlE5o_B5Bkx-crQKlJL-NzasEmNnuJNb5kmmbCy3mvIrQfo5Q5Y0ZaQ110pXK4qd1shRbklvuQXn8lPueJtNqo8VdIOAPGG_rPwOw2P767I0fyFHcome8FR4ST1UrwxeApNKMB_BkpCsUZLgpm9h9trhKbB-3qtk6UK1GKmfw6qlWpL3PQN7FAObNruS0r0CGh3Muc9PaGsuu8Xu5on21h9WmI7L0-jatZkS55p4PEerU56XpkwJfa35_hltKNTauu',
+ ],
+ 'expire_time' => [
+ 'title' => 'token 剩余有效时间 单位秒',
+ 'description' => 'Remaining valid time of the token in seconds',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '7200',
+ ],
+ 'generate_time' => [
+ 'title' => 'token生成时间戳,秒级别',
+ 'description' => 'Timestamp of token generation in seconds',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677055176',
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'Data carried during error handling',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"token\\": \\"eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiIyUlRjY0Ezc1puSndpYU11R1ctTkVRIiwiaWF0IjoxNjc3MTU1Njg3LCJleHAiOjE2NzcxNjI4ODcsIm5iZiI6MTY3NzE1NTYyN30.bd8qBedJ7R24NC8VpMtM4Ni5OR-Cc0utPiKSx8fjoj9taalt7zXBF8uIVTETw1N-Fx9reLflwVXrbDHky7ZKqlE5o_B5Bkx-crQKlJL-NzasEmNnuJNb5kmmbCy3mvIrQfo5Q5Y0ZaQ110pXK4qd1shRbklvuQXn8lPueJtNqo8VdIOAPGG_rPwOw2P767I0fyFHcome8FR4ST1UrwxeApNKMB_BkpCsUZLgpm9h9trhKbB-3qtk6UK1GKmfw6qlWpL3PQN7FAObNruS0r0CGh3Muc9PaGsuu8Xu5on21h9WmI7L0-jatZkS55p4PEerU56XpkwJfa35_hltKNTauu\\",\\n \\"expire_time\\": 7200,\\n \\"generate_time\\": 1677055176\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'GetToken',
+ ],
+ 'Search' => [
+ 'summary' => 'Search',
+ 'path' => '/airticket/v1/trade/action-search',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'cabin_class',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '不填写默认为 ALL_CABIN。舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;',
+ 'description' => 'cabin class'."\n"
+ .'1. **ALL_CABIN** : all cabin class'."\n"
+ .'2. **Y** : economy class'."\n"
+ .'3. **FC** : first class and business class'."\n"
+ .'4. **S** : premium economy class'."\n"
+ .'5. **YS** : economy class and premium economy class'."\n"
+ .'6. **YSC** : economy class, premium economy class and business class',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALL_CABIN',
+ ],
+ ],
+ [
+ 'name' => 'air_legs',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '行程数组 departure_city,departure_airport_list 二者至少一个不为空,departure_airport_list 有值时必须属于同一个城市; arrival_city,arrival_airport_list 二者至少一个不为空,arrival_airport_list 有值时必须属于同一个城市',
+ 'description' => 'itinerary list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'itinerary',
+ 'type' => 'object',
+ 'properties' => [
+ 'departure_city' => [
+ 'title' => '出发城市三字码',
+ 'description' => 'departure city code',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '到达城市三字码',
+ 'description' => 'arrival city code',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MFM',
+ ],
+ 'departure_airport_list' => [
+ 'title' => '出发机场三字码',
+ 'description' => 'departure airport [IATA airport code] list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'departure airport [IATA airport code]',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PVG',
+ ],
+ 'required' => false,
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport_list' => [
+ 'title' => '到达机场三字码',
+ 'description' => 'arrival airport [IATA airport code] list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'arrival airport [IATA airport code]',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MFM',
+ ],
+ 'required' => false,
+ 'example' => 'MFM',
+ ],
+ 'departure_date' => [
+ 'title' => '起飞日期 (eg: yyyyMMdd)',
+ 'description' => 'departure date (eg: yyyyMMdd)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '20230310',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'adults',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '成人乘客数 1-9',
+ 'description' => 'adult passenger amount 1-9',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'children',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '儿童乘客数 0-9',
+ 'description' => 'child passenger amount 0-9',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'infants',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '婴儿乘客数 0-9',
+ 'description' => 'infant passenger amount 0-9',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'search_control_options',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '搜索控制项,可选',
+ 'description' => 'search controls',
+ 'type' => 'object',
+ 'properties' => [
+ 'airline_prefer_list' => [
+ 'title' => '优选航司',
+ 'description' => 'preferred airlines list',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FD',
+ ],
+ 'required' => false,
+ 'example' => 'FD',
+ ],
+ 'airline_excluded_list' => [
+ 'title' => '航司排除列表',
+ 'description' => 'excluded airlines list',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AK',
+ ],
+ 'required' => false,
+ 'example' => '7C',
+ ],
+ 'service_quality' => [
+ 'title' => '出票服务质量',
+ 'description' => 'service quality',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'A1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'language code(refer to ISO_639), defaults to the buyer\'s account configuration'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<SearchRes, Object>',
+ 'description' => 'PopBaseRes<SearchRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'http request has been processed successfully,status code is 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'error message',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'true represents success, false represents failure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'request ID',
+ 'type' => 'string',
+ 'example' => '2236993B-7BE7-5F92-B179-21FF08570165',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'data',
+ 'type' => 'object',
+ 'properties' => [
+ 'solution_list' => [
+ 'title' => '搜索询价结果',
+ 'description' => 'solution list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'solution',
+ 'type' => 'object',
+ 'properties' => [
+ 'solution_id' => [
+ 'title' => 'solution_id',
+ 'description' => 'solution ID',
+ 'type' => 'string',
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ',
+ ],
+ 'adult_price' => [
+ 'title' => '成人单价',
+ 'description' => 'adult fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '600',
+ ],
+ 'adult_tax' => [
+ 'title' => '成人税',
+ 'description' => 'adult tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '11',
+ ],
+ 'child_price' => [
+ 'title' => '儿童单价',
+ 'description' => 'child fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '500',
+ ],
+ 'child_tax' => [
+ 'title' => '儿童税',
+ 'description' => 'child tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'infant_price' => [
+ 'title' => '婴儿单价',
+ 'description' => 'infant fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '400',
+ ],
+ 'infant_tax' => [
+ 'title' => '婴儿税',
+ 'description' => 'infant tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '9',
+ ],
+ 'journey_list' => [
+ 'title' => '行程',
+ 'description' => 'segment list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment',
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => 'number of transfers',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'segment Info',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => 'segment ID format: flight no.+departure airport[IATA airport code]+arrival airport[IATA airport code]+departure time(MMdd)',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'departure airport code (capitalized)',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'arrival airport code (capitalized)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'departure city code (capitalized)',
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'arrival city code (capitalized)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => 'marketing airline flight no. (ex.: KA5809)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => 'marketing airline integer flight no. (ex.: 5809)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1259',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => 'marketing airline code (ex.: KA)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'operating airline flight no. (ex.: CX601)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => 'operating airline code (ex.: CX)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'departure time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'arrival time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => 'code share or not',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'departure terminal',
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'arrival terminal',
+ 'type' => 'string',
+ 'example' => 'T1',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => 'equipment type',
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'RBD',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => 'cabin class',
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。',
+ 'description' => 'available seats (for reference only)',
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => 'stop city list'."\n"
+ .'when stop_quantity > 1, use “,” for seperation',
+ 'type' => 'string',
+ 'example' => 'MFM,PVG',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => 'number of stops',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => 'flight time, unit: minute',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_baggage_mapping_list' => [
+ 'title' => '免费行李规则',
+ 'description' => 'baggage rule',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则',
+ 'description' => 'segment id list. '."\n"
+ .'all the listed segment id share the same baggage rule',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ ],
+ 'passenger_baggage_allowance_mapping' => [
+ 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿',
+ 'description' => 'baggage rule mapping, key is passenger type, value is baggage allowance details',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'baggage_amount' => [
+ 'title' => '托运行李件数',
+ 'description' => 'checked baggage quantity',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'baggage_weight' => [
+ 'title' => '托运行李重量',
+ 'description' => 'checked baggage weight',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'baggage_weight_unit' => [
+ 'title' => '托运行李重量单位 KG',
+ 'description' => 'checked baggage weight unit',
+ 'type' => 'string',
+ 'example' => 'kg',
+ ],
+ 'is_all_weight' => [
+ 'title' => '是否所有托运行李重量',
+ 'description' => 'whether weight basis',
+ 'type' => 'boolean',
+ 'example' => 'kg',
+ ],
+ 'carry_on_amount' => [
+ 'title' => '手提行李件数',
+ 'description' => 'carry-on baggage quantity',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'carry_on_weight' => [
+ 'title' => '手提行李重量',
+ 'description' => 'carry-on baggage weight',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'carry_on_weight_unit' => [
+ 'title' => '手提行李重量单位 KG',
+ 'description' => 'carry-on baggage weight unit',
+ 'type' => 'string',
+ 'example' => 'kg',
+ ],
+ 'is_all_carry_on_weight' => [
+ 'title' => '是否所有手提行李重量',
+ 'description' => 'whether weight basis',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ 'description' => 'baggage allowance detail',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_refund_change_rule_mapping_list' => [
+ 'title' => '退改签规则',
+ 'description' => 'change and refund policy',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个退改签规则',
+ 'description' => 'segment id list. '."\n"
+ .'all the listed segment ids share the same change and refund policy',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ ],
+ 'refund_change_rule_map' => [
+ 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿',
+ 'description' => 'change and refund policy mapping, key is passenger type, value is change and refund policy details',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'refund_rule_all_unused_list' => [
+ 'title' => '全程未使用退票规则',
+ 'description' => 'refund rule for all-unused tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => 'type: 0 - fully-unused ticket; 1 - partially used ticket',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable refund rule start time, time unit (day/hour)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable refund rule end time, time unit (day/hour)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => 'whether refundable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => 'refund fee X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => 'whether tax is fully refundable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => 'tax amount refundable X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'refund_rule_part_unused_list' => [
+ 'title' => '部分未使用退票规则',
+ 'description' => 'refund rule for partially-used tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => 'type: 0 - fully-unused ticket; 1 - partially used ticket',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable refund rule start time, time unit (day/hour)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable refund rule end time, time unit (day/hour)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => 'whether refundable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => 'refund fee X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => 'whether tax is fully refundable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => 'tax amount refundable X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'change_rule_in_unused_list' => [
+ 'title' => '回程未使用改签规则',
+ 'description' => 'change rule for inbound segment unused tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => 'type: 2 - outbound segment unused; 3 - inbound segment unused',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable change rule start time, time unit (day/hour)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable change rule end time, time unit (day/hour)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => 'whether changeable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => 'change fee X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'change_rule_out_unused_list' => [
+ 'title' => '去程未使用改签规则',
+ 'description' => 'change rule for outbound segment unused tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => 'type: 2 - outbound segment unused; 3 - inbound segment unused',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable change rule start time, time unit (day/hour)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable change rule end time, time unit (day/hour)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => 'whether changeable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => 'change fee X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_baggage_check_in_info_list' => [
+ 'title' => '行李直挂规则',
+ 'description' => 'through check-in baggage policy',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则',
+ 'description' => 'segment id list. '."\n"
+ .'all the listed segment ids share the same baggage through check-in policy',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310'."\n",
+ ],
+ ],
+ 'luggage_direct_info_type' => [
+ 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运',
+ 'description' => 'through check-in baggage policy type'."\n"
+ .'1. baggage through check-in between segments'."\n"
+ .'2. baggage re-check-in needed between segments'."\n"
+ .'3. baggage through check-in at stop city ( applies for stop flight )'."\n"
+ .'4. baggage re-checkin needed at stop city ( applies for stop flight )',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ 'solution_attribute' => [
+ 'title' => '报价属性',
+ 'description' => 'Quotation attributes',
+ 'type' => 'object',
+ 'properties' => [
+ 'supply_source_type' => [
+ 'title' => '供给来源类型 1:自营;2:代理人;3:旗舰店',
+ 'description' => 'Supply source type 1: Self-operated; 2: Agent; 3: Flagship store',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'issue_time_info' => [
+ 'title' => '出票时效相关',
+ 'description' => 'Issue ticket time related',
+ 'type' => 'object',
+ 'properties' => [
+ 'issue_time_limit' => [
+ 'title' => '预计出票时长,单位:分钟',
+ 'description' => 'Estimated issue ticket time, unit: minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'issue_ticket_type' => [
+ 'title' => '出票类型 1:支付后; 2起飞前;-1未知',
+ 'description' => 'Issue ticket type: 1: after payment; 2: before departure; -1: unknown',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'error data',
+ 'type' => 'any',
+ 'example' => '{}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"2236993B-7BE7-5F92-B179-21FF08570165\\",\\n \\"data\\": {\\n \\"solution_list\\": [\\n {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"adult_price\\": 600,\\n \\"adult_tax\\": 11,\\n \\"child_price\\": 500,\\n \\"child_tax\\": 10,\\n \\"infant_price\\": 400,\\n \\"infant_tax\\": 9,\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1259,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"MFM,PVG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 1,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 1,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 100,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 20\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 200\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 200\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"1\\",\\n \\"issue_time_info\\": {\\n \\"issue_time_limit\\": 0,\\n \\"issue_ticket_type\\": 0\\n }\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'Search',
+ 'description' => 'Enter the information of departure, arrival, departure date, passenger number and cabin, return the lowest price for each flight.',
+ 'translator' => 'machine',
+ ],
+ 'Enrich' => [
+ 'summary' => 'Search-Enrich',
+ 'path' => '/airticket/v1/trade/action-enrich',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'solution_id',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => 'Search 返回的solution_id',
+ 'description' => 'The `solution_id` returned by the Search interface',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ',
+ ],
+ ],
+ [
+ 'name' => 'adults',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '成人乘客数 1-9',
+ 'description' => 'Number of adult passengers (1-9)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'children',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '儿童乘客数 0-9',
+ 'description' => 'Number of child passengers (0-9)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'infants',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '婴儿乘客数 0-9',
+ 'description' => 'Number of infant passengers (0-9)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'cabin_class',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '不填写默认为 ALL_CABIN。舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;',
+ 'description' => 'Cabin class: ALL_CABIN: All cabin classes; Y: Economy; FC: First Class and Business Class; S: Premium Economy; YS: Economy and Premium Economy; YSC: Economy, Premium Economy, and Business Class;',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALL_CABIN',
+ ],
+ ],
+ [
+ 'name' => 'journey_param_list',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '行程信息',
+ 'description' => 'Trip information',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'journey_param',
+ 'type' => 'object',
+ 'properties' => [
+ 'departure_city' => [
+ 'title' => '起飞城市三字码(大写)',
+ 'description' => 'Departure city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '到达城市三字码(大写)',
+ 'description' => 'Arrival city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MFM',
+ ],
+ 'departure_date' => [
+ 'title' => '起飞日期(yyyyMMdd)',
+ 'description' => 'Departure date (yyyyMMdd)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '20230310',
+ ],
+ 'segment_param_list' => [
+ 'title' => '该程指定航段信息',
+ 'description' => 'Specified segment information for this trip',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'Flight departure city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'Flight arrival city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MFM',
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'Flight departure airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'Flight arrival airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MFM',
+ ],
+ 'departure_time' => [
+ 'title' => '字符串,航班起飞日期时间(yyyy-MM-dd HH:mm:ss),departure_time和departure_date二选一,建议优先使用更精确的departure_time',
+ 'description' => 'String, flight departure date and time (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-03-10 07:55:00'."\n",
+ ],
+ 'departure_date' => [
+ 'title' => '字符串,航班起飞日期(yyyy-MM-dd),departure_date和departure_time二选一,建议优先使用更精确的departure_time',
+ 'type' => 'string',
+ 'required' => false,
+ 'description' => 'String, flight departure date (yyyy-MM-dd), either departure_date or departure_time, with departure_time preferred for greater accuracy',
+ 'example' => '2023-03-10',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:KA5809)',
+ 'description' => 'Marketing flight number (e.g., KA5809)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'HO1295',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'Cabin',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'V',
+ ],
+ 'child_cabin' => [
+ 'title' => '儿童舱位',
+ 'description' => 'Child cabin',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'E',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'Multi-language, default is based on the buyer\'s account configuration',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US'."\n",
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<EnrichRes, Object>',
+ 'description' => 'PopBaseRes<EnrichRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'http request successful, status value is 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'business error code',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'error message',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'whether the request was successful',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'request RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'correctly processed return data',
+ 'type' => 'object',
+ 'properties' => [
+ 'solution_list' => [
+ 'title' => '搜索询价结果',
+ 'description' => 'search quotation results',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'solution',
+ 'type' => 'object',
+ 'properties' => [
+ 'solution_id' => [
+ 'title' => 'solution_id',
+ 'description' => 'solution_id',
+ 'type' => 'string',
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ',
+ ],
+ 'adult_price' => [
+ 'title' => '成人单价',
+ 'description' => 'adult unit price',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '500',
+ ],
+ 'adult_tax' => [
+ 'title' => '成人税',
+ 'description' => 'adult tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'child_price' => [
+ 'title' => '儿童单价',
+ 'description' => 'child unit price',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'child_tax' => [
+ 'title' => '儿童税',
+ 'description' => 'child tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'infant_price' => [
+ 'title' => '婴儿单价',
+ 'description' => 'infant unit price',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '500',
+ ],
+ 'infant_tax' => [
+ 'title' => '婴儿税',
+ 'description' => 'infant tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'journey_list' => [
+ 'title' => '行程',
+ 'description' => 'journey',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'journey',
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => 'number of transfers',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'segment information',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => 'segment ID format: flight number + departure airport + arrival airport + departure date (MMdd)',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'Three-letter code of the departure airport (uppercase)',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'Three-letter code of the arrival airport (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'Three-letter code of the departure city (uppercase)',
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'Three-letter code of the arrival city (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => 'Marketing flight number (e.g., KA5809)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => 'Marketing flight number in digits (e.g., 5809)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1295',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => 'Marketing airline (e.g., KA)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'Operating flight number (e.g., CX601)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => 'Operating airline (e.g., CX)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Departure date and time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Arrival date and time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => 'Whether it is a code-share flight',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'Departure terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'Arrival terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => 'Aircraft type',
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'Cabin class',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => 'Cabin grade',
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。',
+ 'description' => 'Number of remaining seats. The value range is 1,2,3,4,5,6,7,8,9,A; A indicates more than 9 seats available.',
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => 'List of stopover cities, with values when stopQuantity > 0, separated by commas',
+ 'type' => 'string',
+ 'example' => '""',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => 'Number of stopover cities',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => 'Flight duration in minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_baggage_mapping_list' => [
+ 'title' => '免费行李规则',
+ 'description' => 'Free baggage rules',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Segment baggage mapping',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则',
+ 'description' => 'List of segment IDs that use the same free baggage allowance rule',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment ID',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ ],
+ 'passenger_baggage_allowance_mapping' => [
+ 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿',
+ 'description' => 'Mapping of passenger type to free baggage allowance',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'baggage_amount' => [
+ 'title' => '托运行李件数',
+ 'description' => 'Number of checked baggage pieces',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '22',
+ ],
+ 'baggage_weight' => [
+ 'title' => '托运行李重量',
+ 'description' => 'Weight of checked baggage',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'baggage_weight_unit' => [
+ 'title' => '托运行李重量单位 KG',
+ 'description' => 'Unit of checked baggage weight (KG)',
+ 'type' => 'string',
+ 'example' => 'KG',
+ ],
+ 'is_all_weight' => [
+ 'title' => '是否所有托运行李重量',
+ 'description' => 'Whether the weight applies to all checked baggage',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'carry_on_amount' => [
+ 'title' => '手提行李件数',
+ 'description' => 'Number of carry-on baggage pieces',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'carry_on_weight' => [
+ 'title' => '手提行李重量',
+ 'description' => 'Weight of carry-on baggage',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'carry_on_weight_unit' => [
+ 'title' => '手提行李重量单位 KG',
+ 'description' => 'Carry-on luggage weight unit KG',
+ 'type' => 'string',
+ 'example' => 'KG',
+ ],
+ 'is_all_carry_on_weight' => [
+ 'title' => '是否所有手提行李重量',
+ 'description' => 'Whether it is the total carry-on luggage weight',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'carry_length' => [
+ 'title' => '手提长(单位:厘米)',
+ 'description' => 'Carry-on luggage length (unit: centimeters)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '55',
+ ],
+ 'carry_width' => [
+ 'title' => '手提宽(单位:厘米)',
+ 'description' => 'Carry-on luggage width (unit: centimeters)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'carry_height' => [
+ 'title' => '手提高(单位:厘米)',
+ 'description' => 'Carry-on luggage height (unit: centimeters)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'carry_sum_of_length_width_height' => [
+ 'title' => '手提三边之和(单位:厘米)',
+ 'description' => 'Sum of three sides of the Carry-on luggage (unit: centimeters)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '115',
+ ],
+ 'length' => [
+ 'title' => '托运长(单位:厘米)',
+ 'description' => 'Check-in luggage length (unit: centimeters)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ 'width' => [
+ 'title' => '托运宽(单位:厘米)',
+ 'description' => 'Check-in luggage width (unit: centimeters)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'height' => [
+ 'title' => '托运高(单位:厘米)',
+ 'description' => 'Check-in luggage height (unit: centimeters)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ 'sum_of_length_width_height' => [
+ 'title' => '托运三边之和(单位:厘米)',
+ 'description' => 'Sum of three sides of the Check-in luggage (unit: centimeters)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ 'description' => 'Element',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_refund_change_rule_mapping_list' => [
+ 'title' => '退改签规则',
+ 'description' => 'Refund and change rules',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个退改签规则',
+ 'description' => 'Segment ID list. These segment IDs use the same refund and change rules.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ ],
+ 'refund_change_rule_map' => [
+ 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿',
+ 'description' => 'Passenger type - refund and change rule mapping',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'refund_rule_all_unused_list' => [
+ 'title' => '全程未使用退票规则',
+ 'description' => 'Full unused ticket refund rules',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => 'The type of itinerary this refund rule applies to 0: fully unused; 1: partially unused',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'Time unit: day/hour',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'The start time of the refund time interval for this refund rule, in units of (days/hours)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'The end time of the refund time interval for this refund rule, in units of (days/hours)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => 'Whether a refund is allowed X-Y hours (days) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => 'Refund fee X-Y hours (days) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => 'Whether full tax refund is allowed X-Y hours (days) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => 'Partial tax refund amount X-Y hours (days) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ ],
+ 'description' => 'Element',
+ ],
+ ],
+ 'refund_rule_part_unused_list' => [
+ 'title' => '部分未使用退票规则',
+ 'description' => 'Partial unused ticket refund rules',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => 'The type of itinerary usage for this refund rule. 0: Entirely unused; 1: Partially unused',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'Time unit: day/hour',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'The start time of the refund time interval for this refund rule, in units of days/hours',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'The end time of the refund time interval for this refund rule, in units of days/hours',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => 'Whether a refund is allowed X-Y hours (days) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => 'Refund fee X-Y hours (days) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => 'Whether full tax refund is allowed X-Y hours (days) before departure',
+ 'type' => 'boolean',
+ 'example' => '30',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => 'Partial tax refund amount X-Y hours (days) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ ],
+ 'description' => 'Element',
+ ],
+ ],
+ 'change_rule_in_unused_list' => [
+ 'title' => '回程未使用改签规则',
+ 'description' => 'Unused return flight change rules',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => 'Type of itinerary usage for the change rule 2: outbound unused; 3: return unused',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'Time unit: day/hour',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'Start time of the refund time interval, in units of days/hours, to which this refund rule applies',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'End time of the refund time interval, in units of days/hours, to which this refund rule applies',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => 'Whether it is possible to change the ticket X-Y hours (days) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => 'Change fee X-Y hours (days) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ ],
+ 'description' => 'Element',
+ ],
+ ],
+ 'change_rule_out_unused_list' => [
+ 'title' => '去程未使用改签规则',
+ 'description' => 'Unused outbound change rules',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => 'The type of itinerary usage for this change rule 2: unused outbound; 3: unused return',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'Time unit: day/hour',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'Start time of the refund time interval for this refund rule, in days/hours',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'End time of the refund time interval for this refund rule, in days/hours',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => 'Whether it is possible to change the ticket X-Y hours (days) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => 'Change fee X-Y hours (days) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ ],
+ 'description' => 'Element',
+ ],
+ ],
+ ],
+ 'description' => 'Element',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_baggage_check_in_info_list' => [
+ 'title' => '行李直挂规则',
+ 'description' => 'Baggage check-in rules',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则',
+ 'description' => 'List of segment IDs that use the same baggage check-in rule',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Segment ID',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ ],
+ 'luggage_direct_info_type' => [
+ 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运',
+ 'description' => 'Baggage check-in rule type 1: Direct baggage between segments; 2: Re-check baggage between segments; 3: Direct baggage at stopover cities; 4: Re-check baggage at stopover cities',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ 'solution_attribute' => [
+ 'title' => '报价属性',
+ 'description' => 'Quotation attributes',
+ 'type' => 'object',
+ 'properties' => [
+ 'supply_source_type' => [
+ 'title' => '供给来源类型 1:自营;2:代理人;3:旗舰店',
+ 'description' => 'Supply source type 1: Self-operated; 2: Agent; 3: Flagship store',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'issue_time_info' => [
+ 'title' => '出票时效相关',
+ 'description' => 'Issue ticket time related',
+ 'type' => 'object',
+ 'properties' => [
+ 'issue_time_limit' => [
+ 'title' => '预计出票时长,单位:分钟',
+ 'description' => 'Estimated issue ticket time, unit: minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'issue_ticket_type' => [
+ 'title' => '出票类型 1:支付后; 2起飞前;-1未知',
+ 'description' => 'Issue ticket type: 1: after payment; 2: before departure; -1: unknown',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'Data carried in error handling',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"solution_list\\": [\\n {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"adult_price\\": 500,\\n \\"adult_tax\\": 100,\\n \\"child_price\\": 100,\\n \\"child_tax\\": 100,\\n \\"infant_price\\": 500,\\n \\"infant_tax\\": 100,\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"null\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"\\\\\\"\\\\\\"\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 22,\\n \\"baggage_weight\\": 2,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 2,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true,\\n \\"carry_length\\": 55,\\n \\"carry_width\\": 40,\\n \\"carry_height\\": 20,\\n \\"carry_sum_of_length_width_height\\": 115,\\n \\"length\\": 60,\\n \\"width\\": 40,\\n \\"height\\": 60,\\n \\"sum_of_length_width_height\\": 200\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 20,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 20\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 1,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 20,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 20\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 20\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 10\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"1\\",\\n \\"issue_time_info\\": {\\n \\"issue_time_limit\\": 0,\\n \\"issue_ticket_type\\": 0\\n }\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'Enrich',
+ 'description' => 'Choose either `solution_id` or `journey_param_list` in the parameters, and `solution_id` needs to be obtained from the Search interface.',
+ 'translator' => 'machine',
+ ],
+ 'AncillarySuggest' => [
+ 'summary' => 'Ancillary - Suggestion',
+ 'path' => '/airticket/v1/ancillary/action-suggest',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'solution_id',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '机票 solution_id',
+ 'description' => 'solution_id returned by enrich',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ'."\n",
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'Language Code(refer to ISO_639)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<AncillarySuggestRes, Object>',
+ 'description' => 'PopBaseRes<AncillarySuggestRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'http request successful, status value is always 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'Error message',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'true represents success, false represents failure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'Request ID',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'Properly processed return data',
+ 'type' => 'object',
+ 'properties' => [
+ 'solution_id' => [
+ 'title' => '机票 solution_id',
+ 'description' => 'solution_id, equals to solution_id in request',
+ 'type' => 'string',
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ',
+ ],
+ 'seg_ancillary_map_list' => [
+ 'title' => '机票-辅营映射关系',
+ 'description' => 'ancillary detail list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段使用同一个辅营',
+ 'description' => 'Segment ID list, these segments share the same ancillary',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310'."\n",
+ ],
+ ],
+ 'ancillary' => [
+ 'title' => '辅营产品',
+ 'description' => 'Ancillary product',
+ 'type' => 'object',
+ 'properties' => [
+ 'ancillary_id' => [
+ 'title' => '辅营商品ID',
+ 'description' => 'Ancillary product ID',
+ 'type' => 'string',
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TU',
+ ],
+ 'ancillary_type' => [
+ 'title' => '辅营产品类型 当前支持 4:付费行李',
+ 'description' => 'Ancillary product type. currently supports 4: paid luggage',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'baggage_ancillary' => [
+ 'title' => '行李辅营详情',
+ 'description' => 'Baggage details',
+ 'type' => 'object',
+ 'properties' => [
+ 'baggage_amount' => [
+ 'title' => '行李件数 取值如:3、2、1、0、-2。 -2 表示计重',
+ 'description' => 'baggage quantity, values such as: 3, 2, 1, 0, -2. -2 indicates weight-based',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'baggage_weight' => [
+ 'title' => '行李重量,0-50。isAllWeght=true 时,表示所有件数总重量。',
+ 'description' => 'Baggage weight, 0-50. When isAllWeight=true, it represents the total weight of all baggages.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'baggage_weight_unit' => [
+ 'title' => '行李重量单位',
+ 'description' => 'Unit of baggage weight',
+ 'type' => 'string',
+ 'example' => 'KG',
+ ],
+ 'is_all_weight' => [
+ 'title' => '是否所有行李重量',
+ 'description' => 'Whether the weight is for all baggages',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'price' => [
+ 'title' => '总价',
+ 'description' => 'Total price',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10.0',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'Data carried in error handling',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"seg_ancillary_map_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"ancillary\\": {\\n \\"ancillary_id\\": \\"eJwz8DeySEo0NjQ01TU3TU\\",\\n \\"ancillary_type\\": 4,\\n \\"baggage_ancillary\\": {\\n \\"baggage_amount\\": 0,\\n \\"baggage_weight\\": 0,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"price\\": 10\\n }\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'AncillarySuggest',
+ 'description' => 'search ancillary for selected solution, you should enter the solution_id returned by enrich.',
+ 'translator' => 'machine',
+ ],
+ 'Pricing' => [
+ 'summary' => 'Transaction - Seat and Price Verification',
+ 'path' => '/airticket/v1/trade/action-pricing',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'solution_id',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => 'solution_id',
+ 'description' => 'solution_id returned by Enrich',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access token'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'language code(refer to ISO_639), defaults to the buyer\'s account configuration'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<PricingRes, Object>',
+ 'description' => 'PopBaseRes<PricingRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'http request has been processed successfully,status code is 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'error message',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'true represents success, false represents failure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'request ID',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'data',
+ 'type' => 'object',
+ 'properties' => [
+ 'solution' => [
+ 'title' => 'solution',
+ 'description' => 'the solution represented by the solution_id in request',
+ 'type' => 'object',
+ 'properties' => [
+ 'solution_id' => [
+ 'title' => 'solution_id',
+ 'description' => 'solution_id, equals to solution_id in request',
+ 'type' => 'string',
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ',
+ ],
+ 'adult_price' => [
+ 'title' => '成人单价',
+ 'description' => 'adult fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '300',
+ ],
+ 'adult_tax' => [
+ 'title' => '成人税',
+ 'description' => 'adult tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'child_price' => [
+ 'title' => '儿童单价',
+ 'description' => 'child fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'child_tax' => [
+ 'title' => '儿童税',
+ 'description' => 'child tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ 'infant_price' => [
+ 'title' => '婴儿单价',
+ 'description' => 'infant fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'infant_tax' => [
+ 'title' => '婴儿税',
+ 'description' => 'infant tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'journey_list' => [
+ 'title' => '行程',
+ 'description' => 'journey list'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'journey',
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => 'number of transfers',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'segment list'."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => 'segment ID format: flight no.+departure airport[IATA airport code]+arrival airport[IATA airport code]+departure time(MMdd)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'departure airport code (capitalized)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'arrival airport code (capitalized)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'departure city code (capitalized)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'arrival city code (capitalized)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => 'marketing airline flight no. (eg: KA5809)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => 'marketing airline flight no. (eg: 5809)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1295',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => 'marketing airline code (eg: KA)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'operating airline flight no. (eg: CX601)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => 'operating airline code (eg: CX)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'departure time in string format (yyyy-MM-dd HH:mm:ss)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'arrival time in string format (yyyy-MM-dd HH:mm:ss)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => 'code share or not'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'departure terminal'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'arrival terminal'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'T1',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => 'equipment type'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'RBD',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => 'cabin class'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'ALL_CABIN',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。',
+ 'description' => 'available seats (for reference only)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => 'stop city list. when stop_quantity > 1 , use “,” for seperation',
+ 'type' => 'string',
+ 'example' => 'MFM,PVG',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => 'number of stops',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => 'flight time, unit: minute'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_baggage_mapping_list' => [
+ 'title' => '免费行李规则',
+ 'description' => 'baggage rule list'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则',
+ 'description' => 'segment id list all the listed segment id share the same baggage rule'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310'."\n",
+ ],
+ ],
+ 'passenger_baggage_allowance_mapping' => [
+ 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿',
+ 'description' => 'baggage rule mapping, key is passenger type, value is baggage allowance details',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'baggage_amount' => [
+ 'title' => '托运行李件数',
+ 'description' => 'checked baggage quantity',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'baggage_weight' => [
+ 'title' => '托运行李重量',
+ 'description' => 'checked baggage weight'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'baggage_weight_unit' => [
+ 'title' => '托运行李重量单位 KG',
+ 'description' => 'checked baggage weight unit'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'kg',
+ ],
+ 'is_all_weight' => [
+ 'title' => '是否所有托运行李重量',
+ 'description' => 'Whether the weight is for all baggages',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'carry_on_amount' => [
+ 'title' => '手提行李件数',
+ 'description' => 'carry on baggage quantity',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'carry_on_weight' => [
+ 'title' => '手提行李重量',
+ 'description' => 'carry-on baggage weight'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'carry_on_weight_unit' => [
+ 'title' => '手提行李重量单位 KG',
+ 'description' => 'carry-on baggage weight unit'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'kg',
+ ],
+ 'is_all_carry_on_weight' => [
+ 'title' => '是否所有手提行李重量',
+ 'description' => 'Whether the weight is for all baggages',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'carry_length' => [
+ 'title' => '手提长(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '55',
+ ],
+ 'carry_width' => [
+ 'title' => '手提宽(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'carry_height' => [
+ 'title' => '手提高(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'carry_sum_of_length_width_height' => [
+ 'title' => '手提三边之和(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '115',
+ ],
+ 'length' => [
+ 'title' => '托运长(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ 'width' => [
+ 'title' => '托运宽(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'height' => [
+ 'title' => '托运高(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ 'sum_of_length_width_height' => [
+ 'title' => '托运三边之和(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ 'description' => 'baggage allowance details',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_refund_change_rule_mapping_list' => [
+ 'title' => '退改签规则',
+ 'description' => 'change and refund policy'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个退改签规则',
+ 'description' => 'segment id list. all the listed segment ids share the same change and refund policy',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ ],
+ 'refund_change_rule_map' => [
+ 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿',
+ 'description' => 'change and refund policy mapping, key is passenger type, value is change and refund policy detail'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'refund_rule_all_unused_list' => [
+ 'title' => '全程未使用退票规则',
+ 'description' => 'refund rule for fully-unused tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => 'type: 0 - fully-unused ticket; 1 - partially used ticket',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable refund rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable refund rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => 'whether refundable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => 'refund fee X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => 'whether tax is fully refundable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => 'tax amount refundable X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'refund_rule_part_unused_list' => [
+ 'title' => '部分未使用退票规则',
+ 'description' => 'refund rule for partially-used tickets'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => 'type: 0 - fully-unused ticket; 1 - partially used ticket',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable refund rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable refund rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => 'whether refundable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => 'refund fee X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => 'whether tax is fully refundable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => 'tax amount refundable X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'change_rule_in_unused_list' => [
+ 'title' => '回程未使用改签规则',
+ 'description' => 'change rule for inbound segment unused tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => 'type: 2 - outbound segment unused; 3 - inbound segment unused',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable change rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable change rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => 'whether changeable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => 'change fee X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'change_rule_out_unused_list' => [
+ 'title' => '去程未使用改签规则',
+ 'description' => 'change rule for outbound segment unused tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => 'type: 2 - outbound segment unused; 3 - inbound segment unused',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable change rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable change rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => 'whether changeable X-Y hour(day) before departure',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => 'change fee X-Y hour(day) before departure',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_baggage_check_in_info_list' => [
+ 'title' => '行李直挂规则',
+ 'description' => 'through check-in baggage policy',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则',
+ 'description' => 'segment id list. all the listed segment ids share the same baggage through check-in policy',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310'."\n",
+ ],
+ ],
+ 'luggage_direct_info_type' => [
+ 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运',
+ 'description' => 'through check-in baggage policy type'."\n"
+ ."\n"
+ .'1. baggage through check-in between segments'."\n"
+ .'2. baggage re-check-in needed between segments'."\n"
+ .'3. baggage through check-in at stop city ( applies for stop flight )'."\n"
+ .'4. baggage re-checkin needed at stop city ( applies for stop flight )',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ 'solution_attribute' => [
+ 'title' => '报价属性',
+ 'description' => 'Quotation attributes',
+ 'type' => 'object',
+ 'properties' => [
+ 'supply_source_type' => [
+ 'title' => '供给来源类型 1:自营;2:代理人;3:旗舰店',
+ 'description' => 'Supply source type 1: Self-operated; 2: Agent; 3: Flagship store',
+ 'type' => 'string',
+ ],
+ 'issue_time_info' => [
+ 'title' => '出票时效相关',
+ 'description' => 'Issue ticket time related',
+ 'type' => 'object',
+ 'properties' => [
+ 'issue_time_limit' => [
+ 'title' => '预计出票时长,单位:分钟',
+ 'description' => 'Estimated issue ticket time, unit: minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'issue_ticket_type' => [
+ 'title' => '出票类型 1:支付后; 2起飞前;-1未知',
+ 'description' => 'Issue ticket type: 1: after payment; 2: before departure; -1: unknown',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'is_changed' => [
+ 'title' => '是否变价',
+ 'description' => 'whether the price has changed',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'original_price_info' => [
+ 'title' => '变价之前价格信息 isChanged = true 时,才有值',
+ 'description' => 'the price information before the change, only available when is_changed = true',
+ 'type' => 'object',
+ 'properties' => [
+ 'adult_tax' => [
+ 'title' => '成人税',
+ 'description' => 'adult tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ 'child_tax' => [
+ 'title' => '儿童税',
+ 'description' => 'child tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ 'infant_tax' => [
+ 'title' => '婴儿税',
+ 'description' => 'infant tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ 'adult_price' => [
+ 'title' => '成人单价',
+ 'description' => 'adult fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'child_price' => [
+ 'title' => '儿童单价',
+ 'description' => 'child fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'infant_price' => [
+ 'title' => '婴儿单价',
+ 'description' => 'infant fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ 'changed_price_info' => [
+ 'title' => '变价之后价格信息 isChanged = true 时,才有值',
+ 'description' => 'price information after the price change',
+ 'type' => 'object',
+ 'properties' => [
+ 'adult_tax' => [
+ 'title' => '成人税',
+ 'description' => 'adult tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'child_tax' => [
+ 'title' => '儿童税',
+ 'description' => 'child tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'infant_tax' => [
+ 'title' => '婴儿税',
+ 'description' => 'infant tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'adult_price' => [
+ 'title' => '成人单价',
+ 'description' => 'adult fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'child_price' => [
+ 'title' => '儿童单价',
+ 'description' => 'child fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'infant_price' => [
+ 'title' => '婴儿单价',
+ 'description' => 'infant fare',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ 'remain_seats' => [
+ 'title' => '剩余座位数,A 表示大于9,0-9 代表具体数字',
+ 'description' => 'remaining seats: A indicates more than 9, 0-9 represents the specific number',
+ 'type' => 'string',
+ 'example' => 'A',
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'error data'."\n"
+ ."\n",
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"solution\\": {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ\\",\\n \\"adult_price\\": 300,\\n \\"adult_tax\\": 30,\\n \\"child_price\\": 200,\\n \\"child_tax\\": 20,\\n \\"infant_price\\": 200,\\n \\"infant_tax\\": 10,\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"ALL_CABIN\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"\\\\\\"\\\\\\"\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 10,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 10,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true,\\n \\"carry_length\\": 55,\\n \\"carry_width\\": 40,\\n \\"carry_height\\": 20,\\n \\"carry_sum_of_length_width_height\\": 115,\\n \\"length\\": 60,\\n \\"width\\": 40,\\n \\"height\\": 60,\\n \\"sum_of_length_width_height\\": 200\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 1,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 10,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 10\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 20,\\n \\"can_return_all_tax\\": false,\\n \\"return_part_tax_fee\\": 30\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 10\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 3,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 10\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"\\",\\n \\"issue_time_info\\": {\\n \\"issue_time_limit\\": 0,\\n \\"issue_ticket_type\\": 0\\n }\\n }\\n },\\n \\"is_changed\\": true,\\n \\"original_price_info\\": {\\n \\"adult_tax\\": 20,\\n \\"child_tax\\": 20,\\n \\"infant_tax\\": 20,\\n \\"adult_price\\": 200,\\n \\"child_price\\": 200,\\n \\"infant_price\\": 200\\n },\\n \\"changed_price_info\\": {\\n \\"adult_tax\\": 10,\\n \\"child_tax\\": 10,\\n \\"infant_tax\\": 10,\\n \\"adult_price\\": 100,\\n \\"child_price\\": 100,\\n \\"infant_price\\": 100\\n },\\n \\"remain_seats\\": \\"A\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'Pricing',
+ 'description' => 'Check is price and remaining seats of solution you selected has changed. You should enter the solution_id returned by enrich.',
+ 'translator' => 'machine',
+ ],
+ 'Book' => [
+ 'summary' => 'Transaction-Reservation',
+ 'path' => '/airticket/v1/trade/action-book',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'solution_id',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => 'solution_id',
+ 'description' => 'solution_id returned by Enrich',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ',
+ ],
+ ],
+ [
+ 'name' => 'out_order_num',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '外部订单号',
+ 'description' => 'external order number(buyer customization)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'x091-2023-0220-j-0001',
+ ],
+ ],
+ [
+ 'name' => 'contact',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '联系信息',
+ 'description' => 'contact information',
+ 'type' => 'object',
+ 'properties' => [
+ 'last_name' => [
+ 'title' => '姓',
+ 'description' => 'last name',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ZHANG',
+ ],
+ 'first_name' => [
+ 'title' => '名',
+ 'description' => 'first name',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SAN',
+ ],
+ 'mobile_phone_num' => [
+ 'title' => '手机号',
+ 'description' => 'mobile phone number',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '183******96',
+ ],
+ 'mobile_country_code' => [
+ 'title' => '国家区位码',
+ 'description' => 'country code',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '86',
+ ],
+ 'email' => [
+ 'title' => '邮件地址',
+ 'description' => 'email address',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'gao******@gmail.com',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'passenger_list',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '乘机人列表',
+ 'description' => 'passenger list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'passenger',
+ 'type' => 'object',
+ 'properties' => [
+ 'last_name' => [
+ 'title' => '姓',
+ 'description' => 'last name',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ZHANG',
+ ],
+ 'first_name' => [
+ 'title' => '名',
+ 'description' => 'first name',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SAN',
+ ],
+ 'birthday' => [
+ 'title' => '生日 yyyyMMdd',
+ 'description' => 'date of birth (yyyyMMdd)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '20200320',
+ ],
+ 'type' => [
+ 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿',
+ 'description' => 'passenger type 0: adult; 1: child; 8: infant',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ 'mobile_phone_number' => [
+ 'title' => '手机号',
+ 'description' => 'mobile phone number',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '183******95',
+ ],
+ 'mobile_country_code' => [
+ 'title' => '手机号-国家码',
+ 'description' => 'mobile country code',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '86',
+ ],
+ 'gender' => [
+ 'title' => '性别 0:MALE; 1:FEMALE',
+ 'description' => 'gender 0: MALE; 1: FEMALE',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ 'nationality' => [
+ 'title' => '国籍二字码',
+ 'description' => 'nationality (two-letter code)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CN',
+ ],
+ 'credential' => [
+ 'title' => '证件',
+ 'description' => 'travel document',
+ 'type' => 'object',
+ 'properties' => [
+ 'cert_issue_place' => [
+ 'title' => '签发地,二字码',
+ 'description' => 'place of issue, two-letter code',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CN',
+ ],
+ 'credential_num' => [
+ 'title' => '证件号',
+ 'description' => 'travel document number',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'E1***5674',
+ ],
+ 'expire_date' => [
+ 'title' => '证件过期时间',
+ 'description' => 'expiration date',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '20290101',
+ ],
+ 'credential_type' => [
+ 'title' => '目前支持的证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件',
+ 'description' => 'travel document type , only support "1"(1 means passport) currently.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'passenger_ancillary_purchase_map_list',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '乘机人-辅营购买关系',
+ 'description' => 'passenger-ancillary purchase relationship',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'element',
+ 'type' => 'object',
+ 'properties' => [
+ 'passenger_list' => [
+ 'title' => '购买统一辅营的乘机人列表',
+ 'description' => 'passenger list for unified ancillary purchases',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'passenger',
+ 'type' => 'object',
+ 'properties' => [
+ 'last_name' => [
+ 'title' => '姓',
+ 'description' => 'last name',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ZHANG',
+ ],
+ 'first_name' => [
+ 'title' => '名',
+ 'description' => 'first name'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SAN',
+ ],
+ 'birthday' => [
+ 'title' => '生日 yyyyMMdd',
+ 'description' => 'date of birth (yyyyMMdd)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '20020320',
+ ],
+ 'type' => [
+ 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿',
+ 'description' => 'passenger type 0: adult; 1: child; 8: Infant',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ 'mobile_phone_number' => [
+ 'title' => '手机号',
+ 'description' => 'mobile phone number',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '182******92',
+ ],
+ 'mobile_country_code' => [
+ 'title' => '手机号-国家码',
+ 'description' => 'country code for mobile phone number',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '86',
+ ],
+ 'gender' => [
+ 'title' => '性别 0:MALE; 1:FEMALE',
+ 'description' => 'gender 0: male; 1: female',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ 'nationality' => [
+ 'title' => '国籍二字码',
+ 'description' => 'nationality',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CN',
+ ],
+ 'credential' => [
+ 'title' => '证件',
+ 'description' => 'travel document',
+ 'type' => 'object',
+ 'properties' => [
+ 'cert_issue_place' => [
+ 'title' => '签发地,二字码',
+ 'description' => 'place of issue, two-letter code',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CN',
+ ],
+ 'credential_num' => [
+ 'title' => '证件号',
+ 'description' => 'travel document number',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'E1***5673',
+ ],
+ 'expire_date' => [
+ 'title' => '证件过期时间',
+ 'description' => 'expiration date',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '20290102',
+ ],
+ 'credential_type' => [
+ 'title' => '目前支持的证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件',
+ 'description' => 'travel document type , only support "1"(1 means passport) currently',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'book_ancillary_req_item' => [
+ 'title' => '辅营对象',
+ 'description' => 'ancillary information',
+ 'type' => 'object',
+ 'properties' => [
+ 'ancillary_id' => [
+ 'title' => '辅营商品ID',
+ 'description' => 'ancillary product ID, returned by AncillarySuggest.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MDY2NTAxLCJleHAiOjE2NxNzM3MDEsIm5ix',
+ ],
+ 'ancillary_type' => [
+ 'title' => '辅营产品类型 当前支持 4:付费行李',
+ 'description' => 'type of ancillary product, only support "4"(4 means paid baggage) currently.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'language code(refer to ISO_639), defaults to the buyer\'s account configuration',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<BookRes, BookRes>',
+ 'description' => 'PopBaseRes<BookRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'http reqeust has been processed successfully,status code is 200'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'error message'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'true represents success, false represents failure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'request ID'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'data'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'order_list' => [
+ 'title' => '订单信息列表',
+ 'description' => 'order information list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'list of order numbers',
+ 'type' => 'object',
+ 'properties' => [
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4966***617111',
+ ],
+ 'order_attribute' => [
+ 'title' => '订单属性',
+ 'type' => 'object',
+ 'properties' => [
+ 'aba_pay_lock_rate_info' => [
+ 'title' => 'ABA锁汇信息,只有支付方式是ABA支付且报价币种和扣款币种不同时,才会有值',
+ 'type' => 'object',
+ 'properties' => [
+ 'pay_intended_currency_code' => [
+ 'title' => '代扣币种即支付币种即意向币种,用户实际支付的币种',
+ 'type' => 'string',
+ 'example' => 'CNY',
+ ],
+ 'quotation_currency_code' => [
+ 'title' => '报价币种',
+ 'type' => 'string',
+ 'example' => 'USD',
+ ],
+ 'to_pay_currency_rate' => [
+ 'title' => '锁汇汇率即报价价格换算成实际支付价格的汇率',
+ 'type' => 'string',
+ 'example' => '7.1427',
+ ],
+ 'pay_intended_amount' => [
+ 'title' => '支付意向金额即报价价格换算成扣款后的价格',
+ 'type' => 'string',
+ 'example' => '14.2854',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'error data'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'order_list' => [
+ 'title' => '订单信息列表',
+ 'description' => 'order information list. When the same input parameters are used to repeat a Book, if the booking has already been successful, the order number will be returned.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'list of order numbers',
+ 'type' => 'object',
+ 'properties' => [
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4966***617111',
+ ],
+ 'order_attribute' => [
+ 'title' => '订单属性',
+ 'type' => 'object',
+ 'properties' => [
+ 'aba_pay_lock_rate_info' => [
+ 'title' => 'ABA锁汇信息,只有支付方式是ABA支付且报价币种和扣款币种不同时,才会有值',
+ 'type' => 'object',
+ 'properties' => [
+ 'pay_intended_currency_code' => [
+ 'title' => '代扣币种即支付币种即意向币种,用户实际支付的币种',
+ 'type' => 'string',
+ 'example' => 'CNY',
+ ],
+ 'quotation_currency_code' => [
+ 'title' => '报价币种',
+ 'type' => 'string',
+ 'example' => 'USD',
+ ],
+ 'to_pay_currency_rate' => [
+ 'title' => '锁汇汇率即报价价格换算成实际支付价格的汇率',
+ 'type' => 'string',
+ 'example' => '7.1427',
+ ],
+ 'pay_intended_amount' => [
+ 'title' => '支付意向金额即报价价格换算成扣款后的价格',
+ 'type' => 'string',
+ 'example' => '14.2854',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_list\\": [\\n {\\n \\"order_num\\": 0,\\n \\"order_attribute\\": {\\n \\"aba_pay_lock_rate_info\\": {\\n \\"pay_intended_currency_code\\": \\"CNY\\",\\n \\"quotation_currency_code\\": \\"USD\\",\\n \\"to_pay_currency_rate\\": \\"7.1427\\",\\n \\"pay_intended_amount\\": \\"14.2854\\"\\n }\\n }\\n }\\n ]\\n },\\n \\"error_data\\": {\\n \\"order_list\\": [\\n {\\n \\"order_num\\": 0,\\n \\"order_attribute\\": {\\n \\"aba_pay_lock_rate_info\\": {\\n \\"pay_intended_currency_code\\": \\"CNY\\",\\n \\"quotation_currency_code\\": \\"USD\\",\\n \\"to_pay_currency_rate\\": \\"7.1427\\",\\n \\"pay_intended_amount\\": \\"14.2854\\"\\n }\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'Book',
+ 'description' => 'Enter solution_id returned by enrich, ancillary_id returned by ancillarySuggest(optional), passengers information and contact information, the book interface will create an order wait for pay.'."\n"
+ ."\n"
+ .'There are two issues should be noticed:'."\n"
+ ."\n"
+ .'1. the solution_id must be processed by pricing.'."\n"
+ .'2. the order created by book interface should be pay within 30 minutes, otherwise the order will be closed.',
+ 'translator' => 'machine',
+ ],
+ 'TicketingCheck' => [
+ 'summary' => 'Transaction - Pre-payment verification',
+ 'path' => '/airticket/v1/trade/action-ticketing-check',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'order_num',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '订单号',
+ 'description' => 'order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '496***2617111',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'language Code(refer to ISO_639), defaults to the buyer\'s account configuration',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<TicketingCheckRes, Object>',
+ 'description' => 'PopBaseRes<TicketingCheckRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'http reqeust has been processed successfully,status code is 200'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'error message'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'true represents success, false represents failure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'request ID'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'data'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '496***2617111',
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'error data'."\n"
+ ."\n",
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'TicketingCheck',
+ 'description' => 'Pre-check for Ticketing, this interface is optional to use.',
+ 'translator' => 'machine',
+ ],
+ 'Ticketing' => [
+ 'summary' => 'Transaction - Payment and Ticket Issuance',
+ 'path' => '/airticket/v1/trade/action-ticketing',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'order_num',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '订单号',
+ 'description' => 'order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '496***2617111',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'language code(refer to ISO_639), defaults to the buyer\'s account configuration'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<TicketingRes, Object>',
+ 'description' => 'PopBaseRes<TicketingRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'http reqeust has been processed successfully,status code is 200'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'error message'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'true represents success, false represents failure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'request ID'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'data',
+ 'type' => 'object',
+ 'properties' => [
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '496***2617111'."\n",
+ ],
+ 'transaction_no' => [
+ 'title' => '交易流水号',
+ 'description' => 'transaction serial number',
+ 'type' => 'string',
+ 'example' => 'hkduendkd-2023-dj0',
+ ],
+ 'pay_time' => [
+ 'title' => '支付时间,13位时间戳',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1757404878000',
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'error data'."\n"
+ ."\n",
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0,\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'Ticketing',
+ 'requestParamsDescription' => 'order pay',
+ 'translator' => 'machine',
+ ],
+ 'Cancel' => [
+ 'summary' => 'Transaction - Unpaid Cancellation',
+ 'path' => '/airticket/v1/trade/action-cancel',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'order_num',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '订单号',
+ 'description' => 'order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '496***2617111',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'language code(refer to ISO_639), defaults to buyer account configuration',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<CancelRes, Object>',
+ 'description' => 'PopBaseRes<CancelRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'http reqeust has been processed successfully,status code is 200'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'error message'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'true represents success, false represents failure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'request ID'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'data',
+ 'type' => 'object',
+ 'properties' => [
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '496***2617111'."\n",
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'error data'."\n"
+ ."\n",
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'Cancel',
+ 'description' => 'close an unpaid order',
+ 'translator' => 'machine',
+ ],
+ 'OrderDetail' => [
+ 'summary' => 'Trade-Order Details',
+ 'path' => '/airticket/v1/trade/order-detail',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'order_num',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '订单号',
+ 'description' => 'order number created by book',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '4966***617111',
+ ],
+ ],
+ [
+ 'name' => 'out_order_num',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '外部订单号',
+ 'description' => 'external order number(customized by buyer when book)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'x091-2023-0220-j-0001',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'language code(refer to ISO_639), defaults to the buyer\'s account configuration'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<OrderDetailRes, Object>',
+ 'description' => 'PopBaseRes<OrderDetailRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'http request has been processed successfully,status code is 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'error message'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'true represents success, false represents failure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'request ID'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'data',
+ 'type' => 'object',
+ 'properties' => [
+ 'refund_change_rule_map' => [
+ 'title' => '乘客类型-退改规则',
+ 'description' => 'change and refund policy mapping, key is passenger type, value is change and refund policy details',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'refund_rule_all_unused_list' => [
+ 'title' => '全程未使用退票规则',
+ 'description' => 'refund rule for fully-unused tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => 'type: 0 - fully-unused ticket; 1 - partially used ticket',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable refund rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable refund rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => 'whether refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => 'refund fee X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => 'whether tax is fully refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => 'tax amount refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'refund_rule_part_unused_list' => [
+ 'title' => '部分未使用退票规则',
+ 'description' => 'refund rule for partially-used tickets'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => 'type: 0 - fully-unused ticket; 1 - partially used ticket',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable refund rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable refund rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => 'whether refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => 'refund fee X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => 'whether tax is fully refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => 'tax amount refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'change_rule_in_unused_list' => [
+ 'title' => '回程未使用改签规则',
+ 'description' => 'change rule for inbound segment unused tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => 'type: 2 - outbound segment unused; 3 - inbound segment unused',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable change rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable change rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => 'whether changeable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => 'change fee X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'change_rule_out_unused_list' => [
+ 'title' => '去程未使用改签规则',
+ 'description' => 'change rule for outbound-flight-unused tickets'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => 'type: 2 - outbound segment unused; 3 - inbound segment unused',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable change rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable change rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => 'whether changeable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => 'change fee X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'baggage_allowance_map' => [
+ 'title' => '乘客类型-行李规则',
+ 'description' => 'baggage rule mapping, key is passenger type, value is baggage allowance details',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'baggage_amount' => [
+ 'title' => '托运行李件数',
+ 'description' => 'checked baggage quantity',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'baggage_weight' => [
+ 'title' => '托运行李重量',
+ 'description' => 'checked baggage weight'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'baggage_weight_unit' => [
+ 'title' => '托运行李重量单位 KG',
+ 'description' => 'checked baggage weight unit'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'KG',
+ ],
+ 'is_all_weight' => [
+ 'title' => '是否所有托运行李重量',
+ 'description' => 'Whether the weight is for all baggages',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'carry_on_amount' => [
+ 'title' => '手提行李件数',
+ 'description' => 'carry-on baggage quantity',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'carry_on_weight' => [
+ 'title' => '手提行李重量',
+ 'description' => 'carry-on baggage weight'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'carry_on_weight_unit' => [
+ 'title' => '手提行李重量单位 KG',
+ 'description' => 'carry-on baggage weight unit'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'KG',
+ ],
+ 'is_all_carry_on_weight' => [
+ 'title' => '是否所有手提行李重量',
+ 'description' => 'Whether the weight is for all baggages',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'carry_length' => [
+ 'title' => '手提长(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '55',
+ ],
+ 'carry_width' => [
+ 'title' => '手提宽(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'carry_height' => [
+ 'title' => '手提高(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'carry_sum_of_length_width_height' => [
+ 'title' => '手提三边之和(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '115',
+ ],
+ 'length' => [
+ 'title' => '托运长(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ 'width' => [
+ 'title' => '托运宽(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'height' => [
+ 'title' => '托运高(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ 'sum_of_length_width_height' => [
+ 'title' => '托运三边之和(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'solution' => [
+ 'title' => '航班信息',
+ 'description' => 'the solution buyer booked'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'solution_id' => [
+ 'title' => 'solution_id',
+ 'description' => 'solution_id',
+ 'type' => 'string',
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TUxxx',
+ ],
+ 'adult_price' => [
+ 'title' => '成人单价',
+ 'description' => 'adult fare'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '300',
+ ],
+ 'adult_tax' => [
+ 'title' => '成人税',
+ 'description' => 'adult tax'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'child_price' => [
+ 'title' => '儿童单价',
+ 'description' => 'child fare'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'child_tax' => [
+ 'title' => '儿童税',
+ 'description' => 'child tax'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ 'infant_price' => [
+ 'title' => '婴儿单价',
+ 'description' => 'infant fare'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'infant_tax' => [
+ 'title' => '婴儿税',
+ 'description' => 'infant tax'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'journey_list' => [
+ 'title' => '行程',
+ 'description' => 'journey list'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'journey'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => 'number of transfers',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'segment list'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => 'segment ID format: flight no.+departure airport[IATA airport code]+arrival airport[IATA airport code]+departure time(MMdd)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310'."\n",
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'departure airport code (capitalized)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'arrival airport code (capitalized)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'departure city code (capitalized)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'arrival city code (capitalized)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => 'marketing airline flight no. (eg: KA5809)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => 'marketing airline flight no. (eg: 5809)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1295',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => 'marketing airline code (eg: KA)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'operating airline flight no. (eg: CX601)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => 'operating airline code (eg: CX)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'departure time in string format (yyyy-MM-dd HH:mm:ss)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'arrival time in string format (yyyy-MM-dd HH:mm:ss)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => 'code share or not'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'departure terminal'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'arrival terminal'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'T1',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => 'equipment type'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'RBD',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => 'cabin class'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。',
+ 'description' => 'availability',
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => 'stop city list when stop_quantity > 1 , use “,” for seperation',
+ 'type' => 'string',
+ 'example' => 'SEL,HKG',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => 'number of stops',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => 'flight time, unit: minute'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_baggage_mapping_list' => [
+ 'title' => '免费行李规则',
+ 'description' => 'baggage rule list'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则',
+ 'description' => 'segment id list. all the listed segment ids share the same baggage rule',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310'."\n",
+ ],
+ ],
+ 'passenger_baggage_allowance_mapping' => [
+ 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿',
+ 'description' => 'baggage rule mapping, key is passenger type, value is baggage allowance details',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'baggage_amount' => [
+ 'title' => '托运行李件数',
+ 'description' => 'checked baggage quantity',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'baggage_weight' => [
+ 'title' => '托运行李重量',
+ 'description' => 'checked baggage weight'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'baggage_weight_unit' => [
+ 'title' => '托运行李重量单位 KG',
+ 'description' => 'checked baggage weight unit'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'KG',
+ ],
+ 'is_all_weight' => [
+ 'title' => '是否所有托运行李重量',
+ 'description' => 'Whether the weight is for all baggages',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'carry_on_amount' => [
+ 'title' => '手提行李件数',
+ 'description' => 'carry-on baggage quantity',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'carry_on_weight' => [
+ 'title' => '手提行李重量',
+ 'description' => 'carry-on baggage weight'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'carry_on_weight_unit' => [
+ 'title' => '手提行李重量单位 KG',
+ 'description' => 'carry-on baggage weight unit'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'KG',
+ ],
+ 'is_all_carry_on_weight' => [
+ 'title' => '是否所有手提行李重量',
+ 'description' => 'Whether the weight is for all baggages',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'carry_length' => [
+ 'title' => '手提长(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '55',
+ ],
+ 'carry_width' => [
+ 'title' => '手提宽(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'carry_height' => [
+ 'title' => '手提高(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'carry_sum_of_length_width_height' => [
+ 'title' => '手提三边之和(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '115',
+ ],
+ 'length' => [
+ 'title' => '托运长(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ 'width' => [
+ 'title' => '托运宽(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'height' => [
+ 'title' => '托运高(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ 'sum_of_length_width_height' => [
+ 'title' => '托运三边之和(单位:厘米)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ 'description' => 'baggage allowance details',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_refund_change_rule_mapping_list' => [
+ 'title' => '退改签规则',
+ 'description' => 'change and refund policy'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个退改签规则',
+ 'description' => 'segment id list. all the listed segment ids share the same change and refund policy',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ ],
+ 'refund_change_rule_map' => [
+ 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿',
+ 'description' => 'change and refund policy mapping, key is passenger type, value is change and refund policy details',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'refund_rule_all_unused_list' => [
+ 'title' => '全程未使用退票规则',
+ 'description' => 'refund rule for fully-unused tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => 'type: 0 - fully-unused ticket; 1 - partially used ticket',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable refund rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable refund rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => 'whether refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => 'refund fee X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => 'whether tax is fully refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => 'tax amount refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'refund_rule_part_unused_list' => [
+ 'title' => '部分未使用退票规则',
+ 'description' => 'refund rule for partially-used tickets'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => 'type: 0 - fully-unused ticket; 1 - partially used ticket',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable refund rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable refund rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => 'whether refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => 'refund fee X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => 'whether tax is fully refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => 'tax amount refundable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'change_rule_in_unused_list' => [
+ 'title' => '回程未使用改签规则',
+ 'description' => 'change rule for inbound segment unused tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => 'type: 2 - outbound segment unused; 3 - inbound segment unused',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable change rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable change rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => 'whether changeable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => 'change fee X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ 'change_rule_out_unused_list' => [
+ 'title' => '去程未使用改签规则',
+ 'description' => 'change rule for outbound-flight-unused tickets',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => 'type: 2 - outbound segment unused; 3 - inbound segment unused',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => 'time unit: day/hour'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => 'applicable change rule start time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => 'applicable change rule end time, time unit (day/hour)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => 'whether changeable X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => 'change fee X-Y hour(day) before departure'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ ],
+ 'description' => 'elements',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_baggage_check_in_info_list' => [
+ 'title' => '行李直挂规则',
+ 'description' => 'through check-in baggage policy',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则',
+ 'description' => 'segment id list. all the listed segment ids share the same baggage through check-in policy',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310'."\n",
+ ],
+ ],
+ 'luggage_direct_info_type' => [
+ 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运',
+ 'description' => 'through check-in baggage policy type'."\n"
+ ."\n"
+ .'1. baggage through check-in between segments'."\n"
+ .'2. baggage re-check-in needed between segments'."\n"
+ .'3. baggage through check-in at stop city ( applies for stop flight )'."\n"
+ .'4. baggage re-checkin needed at stop city ( applies for stop flight )',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ 'solution_attribute' => [
+ 'title' => '报价属性',
+ 'description' => 'Quotation Attributes',
+ 'type' => 'object',
+ 'properties' => [
+ 'supply_source_type' => [
+ 'title' => '供给来源类型 1:自营;2:代理人;3:旗舰店',
+ 'description' => 'Supply source type 1: Self-operated; 2: Agent; 3: Flagship store',
+ 'type' => 'string',
+ ],
+ 'issue_time_info' => [
+ 'title' => '出票时效相关',
+ 'description' => 'Issue ticket time related',
+ 'type' => 'object',
+ 'properties' => [
+ 'issue_time_limit' => [
+ 'title' => '预计出票时长,单位:分钟',
+ 'description' => 'Estimated issue ticket time, unit: minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'issue_ticket_type' => [
+ 'title' => '出票类型 1:支付后; 2起飞前;-1未知',
+ 'description' => 'Issue ticket type: 1: after payment; 2: before departure; -1: unknown',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'flight_item_detail_list' => [
+ 'title' => '机票商品履约明细',
+ 'description' => 'flight product fulfillment details',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'passenger' => [
+ 'title' => '乘客信息',
+ 'description' => 'passenger',
+ 'type' => 'object',
+ 'properties' => [
+ 'last_name' => [
+ 'title' => '姓',
+ 'description' => 'last name'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'first_name' => [
+ 'title' => '名',
+ 'description' => 'first name'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'birthday' => [
+ 'title' => '生日 yyyyMMdd',
+ 'description' => 'date of birth (yyyyMMdd)'."\n"
+ ."\n\n",
+ 'type' => 'string',
+ 'example' => '20020301',
+ ],
+ 'type' => [
+ 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿',
+ 'description' => 'passenger type 0: adult; 1: child; 8: infant'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'mobile_phone_number' => [
+ 'title' => '手机号',
+ 'description' => 'mobile phone number'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '183******96',
+ ],
+ 'mobile_country_code' => [
+ 'title' => '手机号-国家码',
+ 'description' => 'mobile country code'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '86',
+ ],
+ 'gender' => [
+ 'title' => '性别 0:MALE; 1:FEMALE',
+ 'description' => 'gender 0: MALE; 1: FEMALE'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'nationality' => [
+ 'title' => '国籍二字码',
+ 'description' => 'nationality (two-letter code)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'CN',
+ ],
+ 'credential' => [
+ 'title' => '证件',
+ 'description' => 'travel document',
+ 'type' => 'object',
+ 'properties' => [
+ 'cert_issue_place' => [
+ 'title' => '签发地,二字码',
+ 'description' => 'place of issue, two-letter code',
+ 'type' => 'string',
+ 'example' => 'CN',
+ ],
+ 'credential_num' => [
+ 'title' => '证件号',
+ 'description' => 'travel document number',
+ 'type' => 'string',
+ 'example' => 'E1***5674',
+ ],
+ 'expire_date' => [
+ 'title' => '证件过期时间',
+ 'description' => 'expiration date',
+ 'type' => 'string',
+ 'example' => '20290101',
+ ],
+ 'credential_type' => [
+ 'title' => '目前支持的证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件',
+ 'description' => 'travel document type , only support "1"(1 means passport) currently.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'flight_price' => [
+ 'title' => '乘客价格信息',
+ 'description' => 'flight price information for current passenger',
+ 'type' => 'object',
+ 'properties' => [
+ 'sell_price' => [
+ 'title' => '销售价格 单位元',
+ 'description' => 'selling price',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '300',
+ ],
+ 'tax' => [
+ 'title' => '税费',
+ 'description' => 'tax',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'flight_segment_cabin_relation' => [
+ 'title' => '航段舱位信息列表',
+ 'description' => 'RBD information in flight segment dimension',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID',
+ 'description' => 'segment ID format: flight no.+departure airport[IATA airport code]+arrival airport[IATA airport code]+departure time(yyMMddHHmm)'."\n",
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'RBD',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_quantity' => [
+ 'title' => '可售票量',
+ 'description' => 'availability',
+ 'type' => 'string',
+ 'example' => 'A',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱位等级',
+ 'description' => 'cabin class',
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'cabin_class_name' => [
+ 'title' => '舱位等级描述',
+ 'description' => 'cabin class description',
+ 'type' => 'string',
+ 'example' => 'economy class',
+ ],
+ ],
+ ],
+ ],
+ 'ticket_nos' => [
+ 'title' => 'ticketNo 列表',
+ 'description' => 'ticket number list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'ticket number',
+ 'type' => 'string',
+ 'example' => '784-0000000001',
+ ],
+ ],
+ 'ticket_air_line' => [
+ 'title' => '出票航司,拼接可能有多个出票航司',
+ 'description' => 'ticketing airline',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'c_pnr_list' => [
+ 'title' => 'cPnr 列表 cPnr 小编码; bPnr 大编码;对于廉航只有 cPnr',
+ 'description' => 'c PNR(airline booking code) list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'c PNR',
+ 'type' => 'string',
+ 'example' => 'HY6P0A',
+ ],
+ ],
+ 'b_pnr_list' => [
+ 'title' => 'bPnr 列表',
+ 'description' => 'b PNR(airline booking code) list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'b PNR',
+ 'type' => 'string',
+ 'example' => 'HY6P0A',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ancillary_item_detail_list' => [
+ 'title' => '辅营商品履约明细',
+ 'description' => 'ancillary product fulfillment details',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'passenger' => [
+ 'title' => '乘客信息',
+ 'description' => 'passenger',
+ 'type' => 'object',
+ 'properties' => [
+ 'last_name' => [
+ 'title' => '姓',
+ 'description' => 'last name',
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'first_name' => [
+ 'title' => '名',
+ 'description' => 'first name',
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'birthday' => [
+ 'title' => '生日 yyyyMMdd',
+ 'description' => 'date of birth (yyyyMMdd)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '20020301',
+ ],
+ 'type' => [
+ 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿',
+ 'description' => 'passenger type 0: adult; 1: child; 8: infant'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'mobile_phone_number' => [
+ 'title' => '手机号',
+ 'description' => 'mobile phone number'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '183******96',
+ ],
+ 'mobile_country_code' => [
+ 'title' => '手机号-国家码',
+ 'description' => 'country code for mobile phone number'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '86',
+ ],
+ 'gender' => [
+ 'title' => '性别 0:MALE; 1:FEMALE',
+ 'description' => 'gender 0: male; 1: female'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'nationality' => [
+ 'title' => '国籍二字码',
+ 'description' => 'nationality',
+ 'type' => 'string',
+ 'example' => 'CN',
+ ],
+ 'credential' => [
+ 'title' => '证件',
+ 'description' => 'travel document',
+ 'type' => 'object',
+ 'properties' => [
+ 'cert_issue_place' => [
+ 'title' => '签发地,二字码',
+ 'description' => 'place of issue, two-letter code'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'CN',
+ ],
+ 'credential_num' => [
+ 'title' => '证件号',
+ 'description' => 'travel document number',
+ 'type' => 'string',
+ 'example' => 'E1***5674',
+ ],
+ 'expire_date' => [
+ 'title' => '证件过期时间',
+ 'description' => 'expiration date',
+ 'type' => 'string',
+ 'example' => '20290101',
+ ],
+ 'credential_type' => [
+ 'title' => '目前支持的证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件',
+ 'description' => 'travel document type , only support "1"(1 means passport) currently.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_id_list' => [
+ 'title' => '辅营商品适用的航段ID',
+ 'description' => 'segment ID list, these segments share the same ancillary',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ ],
+ 'ancillary' => [
+ 'title' => '辅营详细信息',
+ 'description' => 'the ancillary buyer booked'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'ancillary_id' => [
+ 'title' => '辅营商品ID',
+ 'description' => 'ancillay_id',
+ 'type' => 'string',
+ 'example' => 'MDY2NTAxLCJleHAiOjE2NxNzM3MDEsIm5ix',
+ ],
+ 'ancillary_type' => [
+ 'title' => '辅营产品类型 当前支持 4:付费行李',
+ 'description' => 'ancillary product type currently supports 4: paid luggage'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'baggage_ancillary' => [
+ 'title' => '行李辅营详情',
+ 'description' => 'Ancillary Service Details',
+ 'type' => 'object',
+ 'properties' => [
+ 'baggage_amount' => [
+ 'title' => '行李件数 取值如:3、2、1、0、-2。 -2 表示计重',
+ 'description' => 'Number of luggage pieces. Values can be: 3, 2, 1, 0, -2. -2 indicates weight-based calculation.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'baggage_weight' => [
+ 'title' => '行李重量,0-50。isAllWeght=true 时,表示所有件数总重量。',
+ 'description' => 'Luggage weight, 0-50. When isAllWeght=true, it indicates the total weight of all items.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'baggage_weight_unit' => [
+ 'title' => '行李重量单位',
+ 'description' => 'Unit of luggage weight',
+ 'type' => 'string',
+ 'example' => 'KG',
+ ],
+ 'is_all_weight' => [
+ 'title' => '是否所有行李重量',
+ 'description' => 'whether all luggage weight',
+ 'type' => 'boolean',
+ ],
+ 'price' => [
+ 'title' => '总价',
+ 'description' => 'Total Price',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10.0',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'order number created by book'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4966***617111',
+ ],
+ 'out_order_num' => [
+ 'title' => '外部订单号',
+ 'description' => 'external order number(customized by buyer when book)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'x091-2023-0220-j-0001',
+ ],
+ 'transaction_no' => [
+ 'title' => '资金交易流水号',
+ 'description' => 'transaction number',
+ 'type' => 'string',
+ 'example' => 'hkduendkd-2023-dj0',
+ ],
+ 'order_status' => [
+ 'title' => '订单状态 1:预定处理中; 2:预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭',
+ 'description' => 'order status '."\n"
+ ."\n"
+ .'1: order creation in process; '."\n"
+ ."\n"
+ .'2: order creation successful; '."\n"
+ ."\n"
+ .'3: order paid; '."\n"
+ ."\n"
+ .'4: order successful; '."\n"
+ ."\n"
+ .'5: order closed',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '4',
+ ],
+ 'book_time' => [
+ 'title' => '预定时间(生单时间) 使用时间戳 13位',
+ 'description' => 'book time(timestamp)',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677210784000',
+ ],
+ 'succeed_time' => [
+ 'title' => '出票时间 使用时间戳 13位',
+ 'description' => 'order success time(timestamp)',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677210786000',
+ ],
+ 'pay_time' => [
+ 'title' => '支付时间 使用时间戳 13位',
+ 'description' => 'pay time(timestamp)',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677210788000',
+ ],
+ 'total_price' => [
+ 'title' => '订单总价(单位:元)',
+ 'description' => 'total price of current order',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '3000',
+ ],
+ 'real_pay_price' => [
+ 'title' => '实付金额(单位:元)',
+ 'description' => 'actual payment amount',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '3000',
+ ],
+ 'promotion_price' => [
+ 'title' => '优惠金额(单位:元)',
+ 'description' => 'discount amount',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'passenger_list' => [
+ 'title' => '乘机人',
+ 'description' => 'the information about all passenger of current order',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'last_name' => [
+ 'title' => '姓',
+ 'description' => 'last name',
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'first_name' => [
+ 'title' => '名',
+ 'description' => 'first name',
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'birthday' => [
+ 'title' => '生日 yyyyMMdd',
+ 'description' => 'date of birth (yyyyMMdd)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '20020301',
+ ],
+ 'type' => [
+ 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿',
+ 'description' => 'passenger type 0: adult; 1: child; 8: infant'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'mobile_phone_number' => [
+ 'title' => '手机号',
+ 'description' => 'mobile phone number'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '183******96',
+ ],
+ 'mobile_country_code' => [
+ 'title' => '手机号-国家码',
+ 'description' => 'mobile country code'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '86',
+ ],
+ 'gender' => [
+ 'title' => '性别 0:MALE; 1:FEMALE',
+ 'description' => 'gender 0: MALE; 1: FEMALE'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'nationality' => [
+ 'title' => '国籍二字码',
+ 'description' => 'nationality (two-letter code)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'CN',
+ ],
+ 'credential' => [
+ 'title' => '证件',
+ 'description' => 'travel document',
+ 'type' => 'object',
+ 'properties' => [
+ 'cert_issue_place' => [
+ 'title' => '签发地,二字码',
+ 'description' => 'place of issue, two-letter code',
+ 'type' => 'string',
+ 'example' => 'CN',
+ ],
+ 'credential_num' => [
+ 'title' => '证件号',
+ 'description' => 'travel document number',
+ 'type' => 'string',
+ 'example' => 'E1***5674',
+ ],
+ 'expire_date' => [
+ 'title' => '证件过期时间',
+ 'description' => 'expiration date',
+ 'type' => 'string',
+ 'example' => '20290101',
+ ],
+ 'credential_type' => [
+ 'title' => '目前支持的证件类型 0:身份证; 1:护照; 4:回乡证;5:台胞证;6:港澳通行证;12:Taiwan通行证; 19:无证件',
+ 'description' => 'travel document type , only support "1"(1 means passport) currently.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'session_nick' => [
+ 'title' => '买家昵称',
+ 'description' => 'buyer nickname'."\n",
+ 'type' => 'string',
+ 'example' => 'nick',
+ ],
+ 'pay_status' => [
+ 'title' => '支付状态 0:初始化; 1:创建成功; 2:支付成功; 4:关闭交易',
+ 'description' => 'payment status '."\n"
+ ."\n"
+ .'1: payment in process; '."\n"
+ ."\n"
+ .'2: deduction successful; '."\n"
+ ."\n"
+ .'3: paid to the seller; '."\n"
+ ."\n"
+ .'4: transaction closed',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'error data'."\n"
+ ."\n",
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ]\\n }\\n },\\n \\"baggage_allowance_map\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 10,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 5,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true,\\n \\"carry_length\\": 55,\\n \\"carry_width\\": 40,\\n \\"carry_height\\": 20,\\n \\"carry_sum_of_length_width_height\\": 115,\\n \\"length\\": 60,\\n \\"width\\": 40,\\n \\"height\\": 60,\\n \\"sum_of_length_width_height\\": 200\\n }\\n },\\n \\"solution\\": {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TUxxx\\",\\n \\"adult_price\\": 300,\\n \\"adult_tax\\": 30,\\n \\"child_price\\": 200,\\n \\"child_tax\\": 20,\\n \\"infant_price\\": 100,\\n \\"infant_tax\\": 10,\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\\\n\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 10,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 5,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true,\\n \\"carry_length\\": 55,\\n \\"carry_width\\": 40,\\n \\"carry_height\\": 20,\\n \\"carry_sum_of_length_width_height\\": 115,\\n \\"length\\": 60,\\n \\"width\\": 40,\\n \\"height\\": 60,\\n \\"sum_of_length_width_height\\": 200\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\\\n\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"\\",\\n \\"issue_time_info\\": {\\n \\"issue_time_limit\\": 0,\\n \\"issue_ticket_type\\": 0\\n }\\n }\\n },\\n \\"flight_item_detail_list\\": [\\n {\\n \\"passenger\\": {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n },\\n \\"flight_price\\": {\\n \\"sell_price\\": 300,\\n \\"tax\\": 10\\n },\\n \\"flight_segment_cabin_relation\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_quantity\\": \\"A\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"cabin_class_name\\": \\"economy class\\"\\n }\\n ],\\n \\"ticket_nos\\": [\\n \\"784-0000000001\\"\\n ],\\n \\"ticket_air_line\\": \\"HO\\",\\n \\"c_pnr_list\\": [\\n \\"HY6P0A\\"\\n ],\\n \\"b_pnr_list\\": [\\n \\"HY6P0A\\"\\n ]\\n }\\n ],\\n \\"ancillary_item_detail_list\\": [\\n {\\n \\"passenger\\": {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n },\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"ancillary\\": {\\n \\"ancillary_id\\": \\"MDY2NTAxLCJleHAiOjE2NxNzM3MDEsIm5ix\\",\\n \\"ancillary_type\\": 4,\\n \\"baggage_ancillary\\": {\\n \\"baggage_amount\\": 0,\\n \\"baggage_weight\\": 0,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"price\\": 10\\n }\\n }\\n }\\n ],\\n \\"order_num\\": 0,\\n \\"out_order_num\\": \\"x091-2023-0220-j-0001\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"order_status\\": 4,\\n \\"book_time\\": 1677210784000,\\n \\"succeed_time\\": 1677210786000,\\n \\"pay_time\\": 1677210788000,\\n \\"total_price\\": 3000,\\n \\"real_pay_price\\": 3000,\\n \\"promotion_price\\": 10,\\n \\"passenger_list\\": [\\n {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n }\\n ],\\n \\"session_nick\\": \\"nick\\",\\n \\"pay_status\\": 2\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'OrderDetail',
+ 'description' => 'query order detail',
+ 'translator' => 'machine',
+ ],
+ 'OrderList' => [
+ 'summary' => 'Trade - Order List',
+ 'path' => '/airticket/v1/trade/order-list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'book_time_start',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '查询开始时间 13位时间戳',
+ 'description' => 'earliest book time(timestamp)',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1677227005000',
+ ],
+ ],
+ [
+ 'name' => 'book_time_end',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '查询结束时间 13位时间戳',
+ 'description' => 'latest booking time (timestamp)',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1677229005000',
+ ],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '订单状态 1:生单预定处理中; 2:生单预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭',
+ 'description' => 'which order status will be query'."\n"
+ ."\n"
+ .'1: order reservation in process'."\n"
+ ."\n"
+ .'2: order reservation successful'."\n"
+ ."\n"
+ .'3: order paid'."\n"
+ ."\n"
+ .'4: order successful'."\n"
+ ."\n"
+ .'5: order closed'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '4',
+ ],
+ ],
+ [
+ 'name' => 'page_index',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页索引',
+ 'description' => 'pagination query parameters, from which page to start querying,querying starts with 0',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'page_size',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页大小',
+ 'description' => 'pagination query parameters, how many orders to return'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'language code(refer to ISO_639), defaults to the buyer\'s account configuration'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<PageData<BaseOrderDetailRes>, Object>',
+ 'description' => 'PopBaseRes<PageData<BaseOrderDetailRes>, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'http reqeust has been processed successfully,status code is 200'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'error message'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'true represents success, false represents failure'."\n"
+ ."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'request ID'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'data',
+ 'type' => 'object',
+ 'properties' => [
+ 'list' => [
+ 'title' => '数据列表',
+ 'description' => 'order list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'order',
+ 'type' => 'object',
+ 'properties' => [
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'order number created by book'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4966***617111',
+ ],
+ 'out_order_num' => [
+ 'title' => '外部订单号',
+ 'description' => 'external order number(customized by buyer when book)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'x091-2023-0220-j-0001',
+ ],
+ 'transaction_no' => [
+ 'title' => '资金交易流水号',
+ 'description' => 'transaction number'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'hkduendkd-2023-dj0',
+ ],
+ 'order_status' => [
+ 'title' => '订单状态 1:生单预定处理中; 2:生单预定成功; 3:订单已支付; 4:订单成功; 5:订单关闭',
+ 'description' => 'order status'."\n"
+ ."\n"
+ .'1: order reservation in process'."\n"
+ ."\n"
+ .'2: order reservation successful'."\n"
+ ."\n"
+ .'3: order paid'."\n"
+ ."\n"
+ .'4: order successful'."\n"
+ ."\n"
+ .'5: order closed',
+ 'type' => 'string',
+ 'example' => '4',
+ ],
+ 'book_time' => [
+ 'title' => '预定时间(生单时间) 使用时间戳 13位',
+ 'description' => 'book time(timestamp)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677210784000',
+ ],
+ 'succeed_time' => [
+ 'title' => '出票时间 使用时间戳 13位',
+ 'description' => 'order success time(timestamp)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677210786000',
+ ],
+ 'pay_time' => [
+ 'title' => '支付时间 使用时间戳 13位',
+ 'description' => 'pay time(timestamp)'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677210788000',
+ ],
+ 'total_price' => [
+ 'title' => '订单总价(单位:元)',
+ 'description' => 'total price of current order'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '3000',
+ ],
+ 'real_pay_price' => [
+ 'title' => '实付金额(单位:元)',
+ 'description' => 'actual payment amount'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '3000',
+ ],
+ 'promotion_price' => [
+ 'title' => '优惠金额(单位:元)',
+ 'description' => 'discount amount'."\n"
+ ."\n",
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'passenger_list' => [
+ 'title' => '乘机人',
+ 'description' => 'the information about all passenger of current order'."\n"
+ ."\n",
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'last_name' => [
+ 'title' => '姓',
+ 'description' => 'last name'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'first_name' => [
+ 'title' => '名',
+ 'description' => 'first name'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'birthday' => [
+ 'title' => '生日 yyyyMMdd',
+ 'description' => 'date of birth (yyyyMMdd)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '20020301',
+ ],
+ 'type' => [
+ 'title' => '乘客类型 0:通成人; 1:儿童; 8:婴儿',
+ 'description' => 'passenger type 0: adult; 1: child; 8: infant'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'mobile_phone_number' => [
+ 'title' => '手机号',
+ 'description' => 'mobile phone number'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '183******96',
+ ],
+ 'mobile_country_code' => [
+ 'title' => '手机号-国家码',
+ 'description' => 'mobile country code'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '86',
+ ],
+ 'gender' => [
+ 'title' => '性别 0:MALE; 1:FEMALE',
+ 'description' => 'gender 0: MALE; 1: FEMALE'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'nationality' => [
+ 'title' => '国籍二字码',
+ 'description' => 'nationality (two-letter code)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'CN',
+ ],
+ 'credential' => [
+ 'title' => '证件',
+ 'description' => 'credential'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'cert_issue_place' => [
+ 'title' => '签发地,二字码',
+ 'description' => 'issuing place (two-letter code)'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'CN',
+ ],
+ 'credential_num' => [
+ 'title' => '证件号',
+ 'description' => 'credential number'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'E1***5674',
+ ],
+ 'expire_date' => [
+ 'title' => '证件过期时间',
+ 'description' => 'credential expiration date'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => '20290101',
+ ],
+ 'credential_type' => [
+ 'title' => '证件类型 0:身份证; 1:护照; 2:学生证; 3:军人证; 4:回乡证; 5:台胞证; 6:港澳通行证; 7:国际海员; 8:外国人永久居留证; 10:警官证; 11:士兵证; 12:台湾通行证; 13:入台证; 14:户口簿; 15:出生证明; 16:驾照; 17:港澳居民居住证; 18:台湾居民居住证',
+ 'description' => 'credential type , only support "1"(1 means passport) currently.'."\n"
+ ."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'session_nick' => [
+ 'title' => '买家昵称',
+ 'description' => 'buyer nickname'."\n"
+ ."\n",
+ 'type' => 'string',
+ 'example' => 'nick',
+ ],
+ 'pay_status' => [
+ 'title' => '支付状态 0:支付处理中; 1:扣款成功; 2:已打款给卖家; 3:关闭交易',
+ 'description' => 'payment status'."\n"
+ ."\n"
+ .'1: payment in process'."\n"
+ ."\n"
+ .'2: deduction successful'."\n"
+ ."\n"
+ .'3: paid to the seller'."\n"
+ ."\n"
+ .'4: transaction closed',
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ ],
+ ],
+ ],
+ 'pagination' => [
+ 'title' => '分页信息',
+ 'description' => 'information of pagination'."\n"
+ ."\n",
+ 'type' => 'object',
+ 'properties' => [
+ 'total_count' => [
+ 'title' => '总数量',
+ 'description' => 'the number of total orders',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'total_page' => [
+ 'title' => '共几页',
+ 'description' => 'the number of total pages',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'current_page' => [
+ 'title' => '当前第几页',
+ 'description' => 'current page index',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'page_size' => [
+ 'title' => '每页数量',
+ 'description' => 'page size',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'error data'."\n"
+ ."\n",
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"order_num\\": 0,\\n \\"out_order_num\\": \\"x091-2023-0220-j-0001\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"order_status\\": \\"4\\",\\n \\"book_time\\": 1677210784000,\\n \\"succeed_time\\": 1677210786000,\\n \\"pay_time\\": 1677210788000,\\n \\"total_price\\": 3000,\\n \\"real_pay_price\\": 3000,\\n \\"promotion_price\\": 10,\\n \\"passenger_list\\": [\\n {\\n \\"last_name\\": \\"ZHANG\\",\\n \\"first_name\\": \\"SAN\\",\\n \\"birthday\\": \\"20020301\\",\\n \\"type\\": 0,\\n \\"mobile_phone_number\\": \\"183******96\\",\\n \\"mobile_country_code\\": \\"86\\",\\n \\"gender\\": 0,\\n \\"nationality\\": \\"CN\\",\\n \\"credential\\": {\\n \\"cert_issue_place\\": \\"CN\\",\\n \\"credential_num\\": \\"E1***5674\\",\\n \\"expire_date\\": \\"20290101\\",\\n \\"credential_type\\": 1\\n }\\n }\\n ],\\n \\"session_nick\\": \\"nick\\",\\n \\"pay_status\\": \\"2\\"\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'OrderList',
+ 'description' => 'query order list',
+ 'translator' => 'machine',
+ ],
+ 'RefundApply' => [
+ 'summary' => 'Ticket Refund - Application',
+ 'path' => '/airticket/v1/refund/action-apply',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'order_num',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '订单号',
+ 'description' => 'Order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '4966***617111',
+ ],
+ ],
+ [
+ 'name' => 'refund_type',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '退票类型 非自愿退票申请,要上传附件',
+ 'description' => 'Refund type - involuntary or voluntary. '."\n"
+ .'attachments are required for involuntary refund application.',
+ 'type' => 'object',
+ 'properties' => [
+ 'refund_type_id' => [
+ 'title' => '申请退票类型 0:自愿申请; 1:非自愿申请(不可抗力); 2:我要改变行程计划、我不想飞',
+ 'description' => '2: Voluntary (I want to change my travel plan/I don\'t want to fly). '."\n"
+ .'5: Involuntary, due to flight delay or cancellation, schedule changes, or other airline reasons. '."\n"
+ .'6: Involuntary, due to health reasons with a medical report from a hospital of at least secondary level A or above.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '2',
+ ],
+ 'file' => [
+ 'title' => '附件文件地址数组 先要用单独的文件上传接口上传文件得到文件地址',
+ 'description' => 'Array of attachment file URLs. First, upload the files using a separate file upload interface to get the file URLs.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '["xxx","zzz"]',
+ ],
+ 'required' => false,
+ 'example' => '[xxx,yyy]',
+ ],
+ 'remark' => [
+ 'title' => '备注',
+ 'description' => 'Remark: detailed description about the refund application',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'remark desc',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'refund_passenger_list',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '申请退票的乘机人列表',
+ 'description' => 'List of passengers applying for a refund',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'first_name' => [
+ 'title' => '乘机人名',
+ 'description' => 'Passenger\'s first name',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SAN',
+ ],
+ 'last_name' => [
+ 'title' => '乘机人姓',
+ 'description' => 'Passenger\'s last name',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ZHANG',
+ ],
+ 'document' => [
+ 'title' => '证件号',
+ 'description' => 'Document number',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '411***********4411',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'refund_journeys',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '申请提退的行程',
+ 'description' => 'Itinerary for which a refund is being requested',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'Flight segment information',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Segment',
+ 'type' => 'object',
+ 'properties' => [
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'Three-letter code of the departure airport (uppercase)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'Three-letter code of the arrival airport (uppercase)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'Three-letter code of the departure city (uppercase)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'Three-letter code of the arrival city (uppercase)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MFM',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'Access token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'Multi-language, default to buyer account configuration',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<ApplyRefundRes, Object>',
+ 'description' => 'PopBaseRes<ApplyRefundRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'HTTP request successful, status value is always 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'Error message',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'Whether the request was successful',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'Request RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'Correctly processed return data',
+ 'type' => 'object',
+ 'properties' => [
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'Order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4966***617111',
+ ],
+ 'refund_results' => [
+ 'title' => '退票单申请结果列表',
+ 'description' => 'List of refund application results',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'refund_order_num' => [
+ 'title' => '退票单号',
+ 'description' => 'Refund order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4966***617202',
+ ],
+ 'status' => [
+ 'title' => '退票单状态 0:退票单创建成功; 1:退票单创建失败',
+ 'description' => 'Refund order status 0: Refund order created successfully; 1: Refund order creation failed',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'fail_reason' => [
+ 'title' => '退票申请失败原因',
+ 'description' => 'Reason for refund application failure',
+ 'type' => 'string',
+ 'example' => 'desc reason',
+ ],
+ 'refund_passengers' => [
+ 'title' => '该退票单下包含的退票乘机人列表',
+ 'description' => 'List of passengers for the refund order',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'first_name' => [
+ 'title' => '乘机人名',
+ 'description' => 'Passenger first name',
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'last_name' => [
+ 'title' => '乘机人姓',
+ 'description' => 'Passenger last name',
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'document' => [
+ 'title' => '证件号',
+ 'description' => 'Document number',
+ 'type' => 'string',
+ 'example' => '411***********4411',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'Data carried in error handling',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0,\\n \\"refund_results\\": [\\n {\\n \\"refund_order_num\\": 0,\\n \\"status\\": 0,\\n \\"fail_reason\\": \\"desc reason\\",\\n \\"refund_passengers\\": [\\n {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'Refund Application',
+ 'translator' => 'machine',
+ ],
+ 'RefundDetailList' => [
+ 'summary' => 'Refund - Detail List',
+ 'path' => '/airticket/v1/refund/detail-list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'order_num',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '订单号',
+ 'description' => 'Order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '49884*****950',
+ ],
+ ],
+ [
+ 'name' => 'refund_create_begin_time',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '退票单创建开始时间,UTC时间戳',
+ 'description' => 'Refund order creation start time, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1677229002000',
+ ],
+ ],
+ [
+ 'name' => 'refund_create_end_time',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '退票单创建结束时间,UTC时间戳',
+ 'description' => 'Refund order creation end time, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1677229005000',
+ ],
+ ],
+ [
+ 'name' => 'page_index',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页索引',
+ 'description' => 'Page index',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'page_size',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页大小',
+ 'description' => 'Page size',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'Access token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'Multi-language, default to buyer account configuration',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<PageData<RefundOrder>, Object>',
+ 'description' => 'PopBaseRes<PageData<RefundOrder>, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'HTTP request successful, status value is 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'Error message',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'Whether the operation was successful',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'Request RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'Properly processed return data',
+ 'type' => 'object',
+ 'properties' => [
+ 'list' => [
+ 'title' => '数据列表',
+ 'description' => 'Data list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'refund_order_num' => [
+ 'title' => '退票单号',
+ 'description' => 'Refund order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '49884*****950',
+ ],
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'Order number ( Ticketing Order Number)',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '49884*****2345',
+ ],
+ 'refund_order_status' => [
+ 'title' => '退票单状态 0:申请退票; 1:退票受理中; 2:退票失败; 3:退票成功',
+ 'description' => 'Refund order status: 0: Refund application; 1: Refund in progress; 2: Refund failed; 3: Refund succeeded',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'transaction_no' => [
+ 'title' => '交易流水号',
+ 'description' => 'Transaction serial number',
+ 'type' => 'string',
+ 'example' => '49884**tde-95za',
+ ],
+ 'utc_create_time' => [
+ 'title' => '创建时间 UTC时间戳',
+ 'description' => 'Creation time, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677229002000',
+ ],
+ 'is_multi_refund' => [
+ 'title' => '是否是补退单',
+ 'description' => 'Whether it is a supplementary refund',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'related_refund_order_num' => [
+ 'title' => '该补退单号关联的原单退票单号 补退单才会有,表示关联原单的退票单ID',
+ 'description' => 'The original refund order number associated with this supplementary refund. Only present for supplementary refunds, indicating the ID of the original refund order.',
+ 'type' => 'string',
+ 'example' => '49884*****2387',
+ ],
+ ],
+ ],
+ ],
+ 'pagination' => [
+ 'title' => '分页信息',
+ 'description' => 'Pagination information',
+ 'type' => 'object',
+ 'properties' => [
+ 'total_count' => [
+ 'title' => '总数量',
+ 'description' => 'Total count',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'total_page' => [
+ 'title' => '共几页',
+ 'description' => 'Total pages',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'current_page' => [
+ 'title' => '当前第几页',
+ 'description' => 'Current page number',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'page_size' => [
+ 'title' => '每页数量',
+ 'description' => 'Number of items per page',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'Data carried in error handling',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"refund_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"refund_order_status\\": 1,\\n \\"transaction_no\\": \\"49884**tde-95za\\",\\n \\"utc_create_time\\": 1677229002000,\\n \\"is_multi_refund\\": true,\\n \\"related_refund_order_num\\": \\"49884*****2387\\"\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'Refund Detail List',
+ 'translator' => 'machine',
+ ],
+ 'RefundDetail' => [
+ 'summary' => 'Refund - Detail',
+ 'path' => '/airticket/v1/refund/detail',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'refund_order_num',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '退票单号',
+ 'description' => 'Refund order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '4966***617732',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'Multi-language, default to buyer account configuration',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<RefundOrderDetail, Object>',
+ 'description' => 'PopBaseRes<RefundOrderDetail, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'HTTP request successful, status value is 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'Error message',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'Whether the request was successful',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'Request RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'Correctly processed return data',
+ 'type' => 'object',
+ 'properties' => [
+ 'refund_order_num' => [
+ 'title' => '退票单号',
+ 'description' => 'Refund order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4966***617654',
+ ],
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'Order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4966***617111',
+ ],
+ 'status' => [
+ 'title' => '退票单状态 0:申请退票; 1:退票受理中; 2:退票失败; 3:退票成功',
+ 'description' => 'Refund order status 0: Refund application; 1: Refund in progress; 2: Refund failed; 3: Refund successful',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'refund_type' => [
+ 'title' => '申请退票类型 2:自愿申请; 5:航班延误或取消、航班时刻变更等航司原因; 6:身体原因且有二级甲等医院<含>以上的医院证明; 7:非自愿确定性应急引导; 100:非自愿非确定性应急',
+ 'description' => '2: Voluntary application; 5: Flight delay or cancellation, flight schedule change, etc., due to airline reasons; 6: Health reasons with a report from a hospital of at least secondary level A; 7: Involuntary emergency guidance; 100: Involuntary non-emergency',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'refund_reason' => [
+ 'title' => '提退原因',
+ 'description' => 'Reason for refund',
+ 'type' => 'string',
+ 'example' => 'desc reason',
+ ],
+ 'refuse_reason' => [
+ 'title' => '提退拒绝原因',
+ 'description' => 'Reason for refund rejection',
+ 'type' => 'string',
+ 'example' => 'refuse reason',
+ ],
+ 'refund_attachment_urls' => [
+ 'title' => '病退附件url列表',
+ 'description' => 'List of URLs for medical refund attachments',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Item',
+ 'type' => 'string',
+ 'example' => '["xxx","zzz"]',
+ ],
+ 'example' => '[zzz,yyy]',
+ ],
+ 'utc_create_time' => [
+ 'title' => '退票单创建时间, UTC时间戳',
+ 'description' => 'Refund order creation time, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677229002000',
+ ],
+ 'pay_success_utc_time' => [
+ 'title' => '实际退款时间 UTC时间戳',
+ 'description' => 'Actual refund time, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677229005000',
+ ],
+ 'transaction_no' => [
+ 'title' => '交易流水号',
+ 'description' => 'Transaction serial number',
+ 'type' => 'string',
+ 'example' => '1677229005000',
+ ],
+ 'passenger_refund_details' => [
+ 'title' => '乘机人提退详情列表,乘机人纬度的提退信息',
+ 'description' => 'List of passenger refund details, refund information by passenger',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Item',
+ 'type' => 'object',
+ 'properties' => [
+ 'passenger' => [
+ 'title' => '提退的乘机人信息',
+ 'description' => 'Information of the passenger applying for a refund',
+ 'type' => 'object',
+ 'properties' => [
+ 'first_name' => [
+ 'title' => '乘机人名',
+ 'description' => 'Passenger\'s first name',
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'last_name' => [
+ 'title' => '乘机人姓',
+ 'description' => 'Passenger\'s last name',
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'document' => [
+ 'title' => '证件号',
+ 'description' => 'Document number',
+ 'type' => 'string',
+ 'example' => '411***********4411',
+ ],
+ ],
+ ],
+ 'refund_fee' => [
+ 'title' => '退票费明细',
+ 'description' => 'Refund fee details',
+ 'type' => 'object',
+ 'properties' => [
+ 'non_refundable_ticket_fee' => [
+ 'title' => '票不可退金额,即退票手续费',
+ 'description' => 'fare penalty',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'non_refundable_tax_fee' => [
+ 'title' => '税不可退金额,即退税手续费',
+ 'description' => 'tax penalty',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'already_used_total_fee' => [
+ 'title' => '已使用的机票总价格',
+ 'description' => 'Total price of the used segments',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'non_refundable_change_service_fee' => [
+ 'title' => '不可退改签手续费',
+ 'description' => 'Non-refundable change penalty',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'non_refundable_change_upgrade_fee' => [
+ 'title' => '不可退升舱手续费',
+ 'description' => 'Non-refundable fare difference',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'refund_to_buyer_money' => [
+ 'title' => '原票可退给用户的金额(票价 + 税费 - 退票手续费 - 退税手续费 - 已使用的机票总价格 - 营销)',
+ 'description' => 'Amount refundable to the user (ticket price + taxes - fare penalty - tax penalty - total price of used segments)',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'modify_refund_to_buyer_money' => [
+ 'title' => '改签退给用户的金额',
+ 'description' => 'Amount refunded to the user after a change',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'contain_multi_refund' => [
+ 'title' => '是否含有补退',
+ 'description' => 'Whether it contains additional refunds',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'multi_refund_details' => [
+ 'title' => '首次退关联的补退详情列表',
+ 'description' => 'List of additional refund details associated with the initial refund',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'multi_refund_order_num' => [
+ 'title' => '补退单退票单号',
+ 'description' => 'Additional refund order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '498843***6950',
+ ],
+ 'multi_refund_transaction_no' => [
+ 'title' => '补退单流水号',
+ 'description' => 'Transaction number of the Additional Refund order',
+ 'type' => 'string',
+ 'example' => '498843***6950',
+ ],
+ 'passenger_multi_refund_details' => [
+ 'title' => '乘机人纬度的补退详情',
+ 'description' => 'Additional refund details from the passenger\'s',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'passenger' => [
+ 'title' => '提退的乘机人',
+ 'description' => 'Passenger for the refund',
+ 'type' => 'object',
+ 'properties' => [
+ 'first_name' => [
+ 'title' => '乘机人名',
+ 'description' => 'Passenger\'s first name',
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'last_name' => [
+ 'title' => '乘机人姓',
+ 'description' => 'Passenger\'s last name',
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'document' => [
+ 'title' => '证件号',
+ 'description' => 'Document number',
+ 'type' => 'string',
+ 'example' => '411***********4411',
+ ],
+ ],
+ ],
+ 'original_order_refund_fee' => [
+ 'title' => '原单补退的金额',
+ 'description' => 'Amount refunded from the Ticketing order',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'change_order_refund_fee' => [
+ 'title' => '改签单补退的金额',
+ 'description' => 'Amount refunded from the Change order',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'refund_journeys' => [
+ 'title' => '提退的行程',
+ 'description' => 'Refund journey',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => 'Number of transfers',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'Segment information',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => 'Segment ID format: flight number + departure airport + arrival airport + departure date (MMdd)',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310'."\n",
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'Three-letter code of the departure airport (in uppercase)',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'Three-letter code of the arrival airport (in uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'Three-letter code of the departure city (in uppercase)',
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'Three-letter code of the arrival city (in uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => 'Marketing flight number (e.g., HO1295)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => 'Marketing flight number (numeric part, e.g., 1295)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1295',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => 'Marketing airline (e.g., HO)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'Operating flight number (e.g., CX601)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => 'Operating airline (e.g., CX)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Departure date and time in string format (yyyy-mm-dd hh:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Arrival date and time in string format (yyyy-mm-dd hh:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => 'Indicates whether it is a codeshare flight',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'Departure terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'Arrival terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T1',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => 'Aircraft type',
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'RBD',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => 'service class ( compartment )',
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数',
+ 'description' => 'Number of available seats',
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => 'List of stop cities, present when stopQuantity > 0, multiple values separated by commas',
+ 'type' => 'string',
+ 'example' => 'SEL,HKG',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => 'Number of stop cities',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => 'Flight duration in minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'Error handling carries data',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"refund_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"status\\": 1,\\n \\"refund_type\\": 5,\\n \\"refund_reason\\": \\"desc reason\\",\\n \\"refuse_reason\\": \\"refuse reason\\",\\n \\"refund_attachment_urls\\": [\\n \\"[\\\\\\"xxx\\\\\\",\\\\\\"zzz\\\\\\"]\\"\\n ],\\n \\"utc_create_time\\": 1677229002000,\\n \\"pay_success_utc_time\\": 1677229005000,\\n \\"transaction_no\\": \\"1677229005000\\",\\n \\"passenger_refund_details\\": [\\n {\\n \\"passenger\\": {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n },\\n \\"refund_fee\\": {\\n \\"non_refundable_ticket_fee\\": 30,\\n \\"non_refundable_tax_fee\\": 30,\\n \\"already_used_total_fee\\": 30,\\n \\"non_refundable_change_service_fee\\": 30,\\n \\"non_refundable_change_upgrade_fee\\": 30,\\n \\"refund_to_buyer_money\\": 30,\\n \\"modify_refund_to_buyer_money\\": 30\\n }\\n }\\n ],\\n \\"contain_multi_refund\\": false,\\n \\"multi_refund_details\\": [\\n {\\n \\"multi_refund_order_num\\": 0,\\n \\"multi_refund_transaction_no\\": \\"498843***6950\\",\\n \\"passenger_multi_refund_details\\": [\\n {\\n \\"passenger\\": {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n },\\n \\"original_order_refund_fee\\": 30,\\n \\"change_order_refund_fee\\": 30\\n }\\n ]\\n }\\n ],\\n \\"refund_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\\\n\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'RefundDetail',
+ 'translator' => 'machine',
+ ],
+ 'ChangeConfirm' => [
+ 'summary' => 'Change - Confirm',
+ 'path' => '/airticket/v1/change/action-confirm',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'change_order_num',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '改签单号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '4988430***950',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<ConfirmChangeRes, Object>',
+ 'description' => 'PopBaseRes<ConfirmChangeRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'pay_amount' => [
+ 'title' => '改签支付金额',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'transaction_no' => [
+ 'title' => '改签支付流水号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hkduendkd-2023-dj0',
+ ],
+ 'pay_time' => [
+ 'title' => '改签支付时间,13位时间戳',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1756797933000',
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"pay_amount\\": 30,\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'ChangeConfirm',
+ 'translator' => 'machine',
+ ],
+ 'ChangeCancel' => [
+ 'summary' => 'Change-Cancel',
+ 'path' => '/airticket/v1/change/action-cancel',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'change_order_num',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '改签单号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '4988430***950',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes',
+ 'description' => 'PopBaseRes',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": \\"null\\",\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'ChangeCancel',
+ 'translator' => 'machine',
+ ],
+ 'ChangeDetailListOfBuyer' => [
+ 'summary' => 'Change Order List - Related to Buyer Account',
+ 'path' => '/airticket/v1/change/buyer/detail-list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'utc_create_begin',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '改签单创建开始时间 UTC时间戳13位',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1677415276000',
+ ],
+ ],
+ [
+ 'name' => 'utc_create_end',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '改签单创建结束时间 UTC时间戳13位',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1677415279000',
+ ],
+ ],
+ [
+ 'name' => 'page_index',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页索引',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'page_size',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页大小',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<PageData<ChangeOrderSearchResult>, Object>',
+ 'description' => 'PopBaseRes<PageData<ChangeOrderSearchResult>, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'list' => [
+ 'title' => '数据列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'change_order_num' => [
+ 'title' => '改签单号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4988430***950',
+ ],
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4988430***971',
+ ],
+ 'order_status' => [
+ 'title' => '申请单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'pay_status' => [
+ 'title' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'transaction_no' => [
+ 'title' => '交易流水号',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hkduendkd-2023-dj0',
+ ],
+ 'utc_create_time' => [
+ 'title' => '订单创建时间 UTC时间戳',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677415274000',
+ ],
+ ],
+ ],
+ ],
+ 'pagination' => [
+ 'title' => '分页信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'total_count' => [
+ 'title' => '总数量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'total_page' => [
+ 'title' => '共几页',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'current_page' => [
+ 'title' => '当前第几页',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'page_size' => [
+ 'title' => '每页数量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"change_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"order_status\\": 2,\\n \\"pay_status\\": 2,\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"utc_create_time\\": 1677415274000\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'Change Detail List of Buyer',
+ 'translator' => 'machine',
+ ],
+ 'ChangeDetail' => [
+ 'summary' => 'Change-Detail',
+ 'path' => '/airticket/v1/change/detail',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'change_order_num',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '改签单号',
+ 'description' => 'Change order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '4988430***950',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'Multi-language, default to buyer\'s account configuration',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<ChangeOrderDetail, Object>',
+ 'description' => 'PopBaseRes<ChangeOrderDetail, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'HTTP request successful, status value is 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'error code',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'Error message',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'Whether it is successful',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'Request RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'Correctly processed return data',
+ 'type' => 'object',
+ 'properties' => [
+ 'change_order_num' => [
+ 'title' => '改签单号',
+ 'description' => 'Change order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4988430***950',
+ ],
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'Ticketing Order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '5988430***541',
+ ],
+ 'change_passengers' => [
+ 'title' => '改签的乘机人列表',
+ 'description' => 'List of passengers for the change',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'first_name' => [
+ 'title' => '乘机人名',
+ 'description' => 'Passenger first name',
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'last_name' => [
+ 'title' => '乘机人姓',
+ 'description' => 'Passenger last name',
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'document' => [
+ 'title' => '证件号',
+ 'description' => 'Document number',
+ 'type' => 'string',
+ 'example' => '411***********4411',
+ ],
+ ],
+ ],
+ ],
+ 'total_amount' => [
+ 'title' => '改签单支付总金额',
+ 'description' => 'Total payment amount for the change order',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '300',
+ ],
+ 'order_status' => [
+ 'title' => '改签单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭',
+ 'description' => 'Change order status 0: Initial state; 1: Pending payment; 2: Payment successful; 3: Change successful; 4: Change closed',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'close_reason' => [
+ 'title' => '改签关单原因',
+ 'description' => 'Reason for closing the change order',
+ 'type' => 'string',
+ 'example' => 'reason desc',
+ ],
+ 'transaction_no' => [
+ 'title' => '交易流水号',
+ 'description' => 'Transaction serial number',
+ 'type' => 'string',
+ 'example' => 'hkduendkd-2023-dj0',
+ ],
+ 'change_reason_type' => [
+ 'title' => '改签原因类型 0:自愿改期; 1:航班变动/航班取消; 2:因疫情改签',
+ 'description' => 'Change reason type. '."\n"
+ .'0: Voluntary change; '."\n"
+ .'1: Involuntary change, due to flight delay or cancellation, schedule changes, or other airline reasons; '."\n"
+ .'2: Involuntary change, due to health reasons with a medical report',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'create_utc_time' => [
+ 'title' => '改签单创建时间,UTC时间戳',
+ 'description' => 'Creation time of the change order, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677415276000',
+ ],
+ 'last_confirm_utc_time' => [
+ 'title' => '买家最迟支付时间,UTC时间戳',
+ 'description' => 'Latest payment time for the buyer, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677415278000',
+ ],
+ 'pay_status' => [
+ 'title' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功',
+ 'description' => 'Payment status 0: initial state; 1: pending payment; 2: payment successful; 4: successfully closed paid order; 5: successfully closed unpaid order',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'pay_success_utc_time' => [
+ 'title' => '买家支付成功时间,UTC时间戳',
+ 'description' => 'The time when the buyer successfully paid, in UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677415255000',
+ ],
+ 'close_utc_time' => [
+ 'title' => '订单关闭时间,UTC时间戳',
+ 'description' => 'The time when the order was closed, in UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677415244000',
+ ],
+ 'contact' => [
+ 'title' => '改签联系人信息',
+ 'description' => 'Contact information for the change request',
+ 'type' => 'object',
+ 'properties' => [
+ 'mobile_country_code' => [
+ 'title' => '国家区位码',
+ 'description' => 'Country code',
+ 'type' => 'string',
+ 'example' => '86',
+ ],
+ 'mobile_phone_num' => [
+ 'title' => '联系人用户手机号',
+ 'description' => 'Contact\'s mobile phone number',
+ 'type' => 'string',
+ 'example' => '183*****92',
+ ],
+ 'email' => [
+ 'title' => '邮件地址',
+ 'description' => 'Email address',
+ 'type' => 'string',
+ 'example' => 'gao******@gmail.com',
+ ],
+ ],
+ ],
+ 'original_journeys' => [
+ 'title' => '原始的行程',
+ 'description' => 'Original journeys',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => 'Number of transfers',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'Segment information',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Segment',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => 'Segment ID format: flight number + departure airport + arrival airport + departure date (yyyyMMdd)',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'Departure airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'Arrival airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'Departure city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'Arrival city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => 'Marketing flight number (e.g., HO1295)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => 'Marketing airline\'s numeric flight number (e.g., 1295)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1295',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => 'Marketing airline (e.g., HO)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'Operating airline\'s flight number (e.g., CX601)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => 'Operating airline (e.g., CX)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Flight departure date and time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Flight arrival date and time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => 'Whether it is a codeshare flight',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'Departure terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'Arrival terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T1',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => 'Aircraft type',
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'RBD',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => 'service class ( compartment )',
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数',
+ 'description' => 'Number of available seats',
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => 'List of stop cities, with values when stopQuantity > 0, separated by commas',
+ 'type' => 'string',
+ 'example' => 'SEL,HKG',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => 'Number of stop cities',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => 'Flight duration in minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'changed_journeys' => [
+ 'title' => '改签后的行程',
+ 'description' => 'New journeys',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => 'Number of transfers',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'Segment information',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => 'Segment ID format: flight number + departure airport + arrival airport + departure date (MMdd)',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'Departure airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'Arrival airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'Departure city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'Arrival city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => 'Marketing flight number (e.g., HO1295)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => 'Marketing flight number (e.g., 1295)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1295',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => 'Market airline (e.g., HO)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'Operating flight number (e.g., CX601)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => 'Operating airline (e.g., CX)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Flight departure date and time, in the format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Flight arrival date and time, in the format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => 'Whether it is a code-share flight',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'Departure terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'Arrival terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T1',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => 'Aircraft type',
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'RBD',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => 'service class ( compartment )',
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数',
+ 'description' => 'Number of available seats',
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => 'List of stop cities, with values when stopQuantity > 0, separated by commas',
+ 'type' => 'string',
+ 'example' => 'SEL,HKG',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => 'Number of stop cities',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => 'Flight duration in minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'last_journeys' => [
+ 'title' => '上一次改签的行程',
+ 'description' => 'The itinerary of the last change',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => 'Number of transfers',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'Segment information',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => 'Segment ID format: flight number + departure airport + arrival airport + departure date (MMdd)',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'Departure airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'Arrival airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'Departure city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'Arrival city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => 'Marketing flight number (e.g., HO1295)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => 'Marketing flight number (e.g., 1295)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1295',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => 'Marketing airline (e.g., HO)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'Operating flight number (e.g., CX601)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => 'Operating airline (e.g., CX)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Flight departure date and time, in the format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Flight arrival date and time, in the format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => 'Whether it is a codeshare flight',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'Departure terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'Arrival terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T1',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => 'Aircraft type',
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'RBD',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => 'service class ( compartment )',
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数',
+ 'description' => 'Number of available seats',
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => 'List of stop cities, with values when stopQuantity > 0, separated by commas',
+ 'type' => 'string',
+ 'example' => 'SEL,HKG',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => 'Number of stop cities',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => 'Flight duration in minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'change_fee_details' => [
+ 'title' => '改签费用明细 乘机人纬度',
+ 'description' => 'Change fee details, per passenger',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'passenger' => [
+ 'title' => '改签的乘机人信息',
+ 'description' => 'Information of the passenger for the change',
+ 'type' => 'object',
+ 'properties' => [
+ 'first_name' => [
+ 'title' => '乘机人名',
+ 'description' => 'Passenger\'s first name',
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'last_name' => [
+ 'title' => '乘机人姓',
+ 'description' => 'Passenger\'s last name',
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'document' => [
+ 'title' => '证件号',
+ 'description' => 'Document number',
+ 'type' => 'string',
+ 'example' => '411***********4411',
+ ],
+ ],
+ ],
+ 'change_fee' => [
+ 'title' => '乘机人的改签费明细',
+ 'description' => 'Change fee details for the passenger',
+ 'type' => 'object',
+ 'properties' => [
+ 'upgrade_fee' => [
+ 'title' => '升舱费',
+ 'description' => 'price difference',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'service_fee' => [
+ 'title' => '服务费(手续费)',
+ 'description' => 'fare penalty',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '50',
+ ],
+ 'tax_fee' => [
+ 'title' => '改签税费',
+ 'description' => 'tax penalty',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'Data carried in error handling',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"change_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"change_passengers\\": [\\n {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n }\\n ],\\n \\"total_amount\\": 300,\\n \\"order_status\\": 2,\\n \\"close_reason\\": \\"reason desc\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"change_reason_type\\": 1,\\n \\"create_utc_time\\": 1677415276000,\\n \\"last_confirm_utc_time\\": 1677415278000,\\n \\"pay_status\\": 2,\\n \\"pay_success_utc_time\\": 1677415255000,\\n \\"close_utc_time\\": 1677415244000,\\n \\"contact\\": {\\n \\"mobile_country_code\\": \\"86\\",\\n \\"mobile_phone_num\\": \\"183*****92\\",\\n \\"email\\": \\"gao******@gmail.com\\"\\n },\\n \\"original_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"changed_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"last_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"change_fee_details\\": [\\n {\\n \\"passenger\\": {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n },\\n \\"change_fee\\": {\\n \\"upgrade_fee\\": 30,\\n \\"service_fee\\": 50,\\n \\"tax_fee\\": 20\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'ChangeDetail',
+ 'translator' => 'machine',
+ ],
+ 'ChangeApply' => [
+ 'summary' => 'Reschedule-Apply',
+ 'path' => '/airticket/v1/change/action-apply',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'order_num',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '订单号',
+ 'description' => 'Order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '4988430***950',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '改期类型0:自愿改期; 1:航班变动/航班取消',
+ 'description' => 'Change type 0: voluntary change; 1: involuntary change',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'change_passenger_list',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '改签乘机人列表',
+ 'description' => 'List of passengers for change',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'first_name' => [
+ 'title' => '乘机人名',
+ 'description' => 'Passenger\'s first name',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SAN',
+ ],
+ 'last_name' => [
+ 'title' => '乘机人姓',
+ 'description' => 'Passenger\'s last name',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ZHANG',
+ ],
+ 'document' => [
+ 'title' => '证件号',
+ 'description' => 'Document number',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '411***********4411',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'changed_journeys',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '改签目标航程',
+ 'description' => 'Proposed itinerary',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_list' => [
+ 'title' => '改签目标航段列表',
+ 'description' => 'List of proposed segments for change',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码',
+ 'description' => 'Three-letter code of the departure airport',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码',
+ 'description' => 'Three-letter code of the arrival airport',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码',
+ 'description' => 'Three-letter code of the departure city',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码',
+ 'description' => 'Three-letter code of the arrival city',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MFM',
+ ],
+ 'departure_date' => [
+ 'title' => '起飞日期 (eg: yyyyMMdd)',
+ 'description' => 'Departure date (e.g., yyyyMMdd)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '20230320',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期,utc时间戳',
+ 'description' => '(Deprecated) Departure date, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1677232998000',
+ ],
+ 'departure_time_str' => [
+ 'title' => '航班起飞日期时间,以出发地时区传入,yyyy-MM-dd HH:mm:ss',
+ 'description' => '(Required) Departure date and time, in the format: yyyy-MM-dd HH:mm:ss',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-20 09:30:00',
+ ],
+ 'arrive_time' => [
+ 'title' => '航班到达日期时间,utc时间戳',
+ 'description' => '(Deprecated) Arrival date and time, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '1677232999000',
+ ],
+ 'arrive_time_str' => [
+ 'title' => '航班到达日期时间,yyyy-MM-dd HH:mm:ss',
+ 'description' => '(Required) Arrival date and time, in the format: yyyy-MM-dd HH:mm:ss',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2024-03-20 12:30:00',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'Departure terminal',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'T2',
+ ],
+ 'arrive_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'Arrival terminal',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'T1',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:KA5809)',
+ 'description' => 'Marketing flight number (e.g., KA5809)',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'HO1295',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'Operating flight number (e.g., CX601)',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'HO1295',
+ ],
+ 'code_share' => [
+ 'title' => '是否共享航班',
+ 'description' => 'Whether it is a codeshare flight',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'contact',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '改签联系人信息',
+ 'description' => 'Contact information',
+ 'type' => 'object',
+ 'properties' => [
+ 'mobile_country_code' => [
+ 'title' => '国家区位码',
+ 'description' => 'Country code',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '86',
+ ],
+ 'mobile_phone_num' => [
+ 'title' => '联系人用户手机号',
+ 'description' => 'Contact\'s mobile phone number',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '183*****92',
+ ],
+ 'email' => [
+ 'title' => '邮件地址',
+ 'description' => 'Email address',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'gao******@gmail.com',
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'remark',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '买家备注',
+ 'description' => 'Buyer\'s remarks',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'remark desc',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'Multi-language, default to the buyer\'s account configuration',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<ApplyChangeRes, Object>',
+ 'description' => 'PopBaseRes<ApplyChangeRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'HTTP request successful, status value is always 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'Business error code',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'Error message',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'Whether the operation was successful',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => 'Request RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'Correctly processed return data',
+ 'type' => 'object',
+ 'properties' => [
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'Order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4988430***950',
+ ],
+ 'change_orders' => [
+ 'title' => '改签单申请结果列表',
+ 'description' => 'List of change application results',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'change_order_num' => [
+ 'title' => '改签单号',
+ 'description' => 'change order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '49884*****950',
+ ],
+ 'change_order_status' => [
+ 'title' => '改签单状态。 0:改签单创建成功; 5:改签单创建失败',
+ 'description' => 'change order status. 0: change order created successfully; 5: change order creation failed',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'fail_reason' => [
+ 'title' => '改签单创建失败的原因',
+ 'description' => 'Reason for the failure of the change order creation',
+ 'type' => 'string',
+ 'example' => 'desc reason',
+ ],
+ 'passengers' => [
+ 'title' => '改签单乘机人信息',
+ 'description' => 'Passenger\'s information for the change order',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'first_name' => [
+ 'title' => '乘机人名',
+ 'description' => 'Passenger\'s first name',
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'last_name' => [
+ 'title' => '乘机人姓',
+ 'description' => 'Passenger\'s last name',
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'document' => [
+ 'title' => '证件号',
+ 'description' => 'Document number',
+ 'type' => 'string',
+ 'example' => '411***********4411',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'Error handling carries data',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"order_num\\": 0,\\n \\"change_orders\\": [\\n {\\n \\"change_order_num\\": 0,\\n \\"change_order_status\\": 0,\\n \\"fail_reason\\": \\"desc reason\\",\\n \\"passengers\\": [\\n {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => '改签申请',
+ 'translator' => 'machine',
+ ],
+ 'ChangeDetailListOfOrderNum' => [
+ 'summary' => 'List of Change Orders - Regarding Forward Orders',
+ 'path' => '/airticket/v1/change/order-num/detail-list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'order_num',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '订单号',
+ 'description' => 'Order Number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '4988430***700',
+ ],
+ ],
+ [
+ 'name' => 'page_index',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页索引',
+ 'description' => 'Page Index',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'page_size',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页大小',
+ 'description' => 'Page Size',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'Multi-language, default to buyer account configuration',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<PageData<ChangeOrderDetail>, Object>',
+ 'description' => 'PopBaseRes<PageData<ChangeOrderDetail>, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'HTTP request successful, status value is 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'Error Code',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'Error Message',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'Whether the request was successful',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'Correctly processed return data',
+ 'type' => 'object',
+ 'properties' => [
+ 'list' => [
+ 'title' => '数据列表',
+ 'description' => 'Data List',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'change_order_num' => [
+ 'title' => '改签单号',
+ 'description' => 'Change Order Number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4988430***950',
+ ],
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'Order Number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '5988430***541',
+ ],
+ 'change_passengers' => [
+ 'title' => '改签的乘机人列表',
+ 'description' => 'List of Passengers for Change',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'first_name' => [
+ 'title' => '乘机人名',
+ 'description' => 'Passenger\'s First Name',
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'last_name' => [
+ 'title' => '乘机人姓',
+ 'description' => 'Passenger\'s Last Name',
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'document' => [
+ 'title' => '证件号',
+ 'description' => 'Document Number',
+ 'type' => 'string',
+ 'example' => '411***********4411',
+ ],
+ ],
+ ],
+ ],
+ 'total_amount' => [
+ 'title' => '改签单支付总金额',
+ 'description' => 'Total Payment Amount for Change Order',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '300',
+ ],
+ 'order_status' => [
+ 'title' => '改签单状态 0:初始状态; 1:待支付; 2:付款成功; 3:改签成功; 4:改签关闭',
+ 'description' => 'Change Order Status: 0: Initial State; 1: Pending Payment; 2: Payment Successful; 3: Change Successful; 4: Change Closed',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'close_reason' => [
+ 'title' => '改签关单原因',
+ 'description' => 'Reason for Closing the Change Order',
+ 'type' => 'string',
+ 'example' => 'reason desc',
+ ],
+ 'transaction_no' => [
+ 'title' => '交易流水号',
+ 'description' => 'Transaction number',
+ 'type' => 'string',
+ 'example' => 'hkduendkd-2023-dj0',
+ ],
+ 'change_reason_type' => [
+ 'title' => '改签原因类型 0:自愿改期; 1:航班变动/航班取消; 2:因疫情改签',
+ 'description' => 'Change reason type 0: Voluntary change ; 1: Involuntary change due to irregular flight; 2: Involuntary change due to health reason',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'create_utc_time' => [
+ 'title' => '改签单创建时间,UTC时间戳',
+ 'description' => 'Change order creation time, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677415276000',
+ ],
+ 'last_confirm_utc_time' => [
+ 'title' => '买家最迟支付时间,UTC时间戳',
+ 'description' => 'Latest payment time for the buyer, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677415278000',
+ ],
+ 'pay_status' => [
+ 'title' => '支付状态 0:初始状态; 1:待支付; 2:支付成功; 3:转交易成功; 4:关闭已支付订单成功; 5:关闭未支付订单成功',
+ 'description' => 'Payment status 0: Initial state; 1: Pending payment; 2: Payment successful; 3: Transaction successful; 4: Successfully closed paid order; 5: Successfully closed unpaid order',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'pay_success_utc_time' => [
+ 'title' => '买家支付成功时间,UTC时间戳',
+ 'description' => 'Buyer\'s payment success time, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677415255000',
+ ],
+ 'close_utc_time' => [
+ 'title' => '订单关闭时间,UTC时间戳',
+ 'description' => 'Order closure time, UTC timestamp',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1677415244000',
+ ],
+ 'contact' => [
+ 'title' => '改签联系人信息',
+ 'description' => 'Contact information for the change',
+ 'type' => 'object',
+ 'properties' => [
+ 'mobile_country_code' => [
+ 'title' => '国家区位码',
+ 'description' => 'Country code',
+ 'type' => 'string',
+ 'example' => '86',
+ ],
+ 'mobile_phone_num' => [
+ 'title' => '联系人用户手机号',
+ 'description' => 'Contact\'s mobile phone number',
+ 'type' => 'string',
+ 'example' => '183*****92',
+ ],
+ 'email' => [
+ 'title' => '邮件地址',
+ 'description' => 'Email address',
+ 'type' => 'string',
+ 'example' => 'gao******@gmail.com',
+ ],
+ ],
+ ],
+ 'original_journeys' => [
+ 'title' => '原始的行程',
+ 'description' => 'Original itinerary',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => 'Number of transfers',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'Segment information',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => 'Segment ID format: flight number + departure airport + arrival airport + departure date (MMdd)',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'Three-letter code of the departure airport (in uppercase)',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'Three-letter code of the arrival airport (in uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'Three-letter code of the departure city (in uppercase)',
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'Three-letter code of the arrival city (in uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => 'Marketing flight number (e.g., HO1295)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => 'Marketing flight number (integer part, e.g., 1295)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1295',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => 'Marketing airline (e.g., HO)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'Operating flight number (e.g., CX601)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => 'Operating airline (e.g., CX)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Departure date and time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Arrival date and time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => 'Whether it is a code-share flight',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'Departure terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'Arrival terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T1',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => 'Aircraft type',
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'RBD',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => 'service class ( compartment )',
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数',
+ 'description' => 'Number of available seats',
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => 'List of stop cities, with values when stopQuantity > 0, separated by commas',
+ 'type' => 'string',
+ 'example' => 'SEL,HKG',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => 'Number of stop cities',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => 'Flight duration in minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'changed_journeys' => [
+ 'title' => '改签后的行程',
+ 'description' => 'Itinerary after change',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => 'Number of transfers',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'Segment Information',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => 'Segment ID format: Flight number + Departure airport + Arrival airport + Departure date (MMdd)',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'Departure airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'Arrival airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'Departure city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'Arrival city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => 'Marketing flight number (e.g., HO1295)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => 'Marketing flight number (e.g., 1295)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1295',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => 'Marketing airline (e.g., HO)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'Operating flight number (e.g., CX601)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => 'Operating airline (e.g., CX)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Flight departure date and time, in the format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Flight arrival date and time, in the format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => 'Whether it is a codeshare flight',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'Departure terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'Arrival terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T1',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => 'Aircraft type',
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'Cabin class',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => 'Cabin grade',
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数',
+ 'description' => 'Number of available seats',
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => 'List of stop cities, present when stopQuantity > 0, multiple values separated by commas',
+ 'type' => 'string',
+ 'example' => 'SEL,HKG',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => 'Number of stop cities',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => 'Flight duration in minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'last_journeys' => [
+ 'title' => '上一次改签的行程',
+ 'description' => 'The itinerary of the last change',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => 'Number of transfers',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => 'Segment information',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => 'Segment ID format: flight number + departure airport + arrival airport + departure date (MMdd)',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => 'Departure airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => 'Arrival airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => 'Departure city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => 'Arrival city three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => 'Marketing flight number (e.g., HO1295)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => 'Marketing flight number (e.g., 1295)',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1295',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => 'Marketing airline (e.g., HO)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => 'Operating flight number (e.g., CX601)',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => 'Operating airline (e.g., CX)',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Flight departure date and time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Flight arrival date and time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => 'Whether it is a codeshare flight',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => 'Departure terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => 'Arrival terminal of the flight',
+ 'type' => 'string',
+ 'example' => 'T1',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => 'Aircraft type',
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => 'RBD',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => 'service class ( compartment )',
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数',
+ 'description' => 'Number of available seats',
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => 'List of stop cities, present when stopQuantity > 0, multiple values separated by commas',
+ 'type' => 'string',
+ 'example' => 'SEL,HKG',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => 'Number of stop cities',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => 'Flight duration in minutes',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'change_fee_details' => [
+ 'title' => '改签费用明细 乘机人纬度',
+ 'description' => 'Change fee details by passenger',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Element',
+ 'type' => 'object',
+ 'properties' => [
+ 'passenger' => [
+ 'title' => '改签的乘机人信息',
+ 'description' => 'Information of the passenger for change',
+ 'type' => 'object',
+ 'properties' => [
+ 'first_name' => [
+ 'title' => '乘机人名',
+ 'description' => 'Passenger\'s first name',
+ 'type' => 'string',
+ 'example' => 'SAN',
+ ],
+ 'last_name' => [
+ 'title' => '乘机人姓',
+ 'description' => 'Passenger\'s last name',
+ 'type' => 'string',
+ 'example' => 'ZHANG',
+ ],
+ 'document' => [
+ 'title' => '证件号',
+ 'description' => 'Document number',
+ 'type' => 'string',
+ 'example' => '411***********4411',
+ ],
+ ],
+ ],
+ 'change_fee' => [
+ 'title' => '乘机人的改签费明细',
+ 'description' => 'Change fee details for the passenger',
+ 'type' => 'object',
+ 'properties' => [
+ 'upgrade_fee' => [
+ 'title' => '升舱费',
+ 'description' => 'price difference',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'service_fee' => [
+ 'title' => '服务费(手续费)',
+ 'description' => 'fare penalty',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '50',
+ ],
+ 'tax_fee' => [
+ 'title' => '改签税费',
+ 'description' => 'tax difference',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'pagination' => [
+ 'title' => '分页信息',
+ 'description' => 'Pagination information',
+ 'type' => 'object',
+ 'properties' => [
+ 'total_count' => [
+ 'title' => '总数量',
+ 'description' => 'Total count',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'total_page' => [
+ 'title' => '共几页',
+ 'description' => 'Total pages',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'current_page' => [
+ 'title' => '当前第几页',
+ 'description' => 'Current page number',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'page_size' => [
+ 'title' => '每页数量',
+ 'description' => 'Number of items per page',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'Data carried in error handling',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"change_order_num\\": 0,\\n \\"order_num\\": 0,\\n \\"change_passengers\\": [\\n {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n }\\n ],\\n \\"total_amount\\": 300,\\n \\"order_status\\": 2,\\n \\"close_reason\\": \\"reason desc\\",\\n \\"transaction_no\\": \\"hkduendkd-2023-dj0\\",\\n \\"change_reason_type\\": 1,\\n \\"create_utc_time\\": 1677415276000,\\n \\"last_confirm_utc_time\\": 1677415278000,\\n \\"pay_status\\": 2,\\n \\"pay_success_utc_time\\": 1677415255000,\\n \\"close_utc_time\\": 1677415244000,\\n \\"contact\\": {\\n \\"mobile_country_code\\": \\"86\\",\\n \\"mobile_phone_num\\": \\"183*****92\\",\\n \\"email\\": \\"gao******@gmail.com\\"\\n },\\n \\"original_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"changed_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"last_journeys\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"change_fee_details\\": [\\n {\\n \\"passenger\\": {\\n \\"first_name\\": \\"SAN\\",\\n \\"last_name\\": \\"ZHANG\\",\\n \\"document\\": \\"411***********4411\\"\\n },\\n \\"change_fee\\": {\\n \\"upgrade_fee\\": 30,\\n \\"service_fee\\": 50,\\n \\"tax_fee\\": 20\\n }\\n }\\n ]\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => '改签单列表',
+ 'translator' => 'machine',
+ ],
+ 'FlightChangeOfOrder' => [
+ 'summary' => 'Flight Change Information - Regarding Orders',
+ 'path' => '/airticket/v1/flightchange/of-order',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'order_num',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '订单号',
+ 'description' => 'Order Number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '4966***617111',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => 'Multi-language, default to buyer account configuration',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<List<FlightChangeOrderDTO>, Object>',
+ 'description' => 'PopBaseRes<List<FlightChangeOrderDTO>, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => 'HTTP request successful, status value is 200',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => 'Business error code',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => 'Error message',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => 'Whether the operation was successful',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => 'Correctly processed return data',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Data elements',
+ 'type' => 'object',
+ 'properties' => [
+ 'flight_change_detail' => [
+ 'title' => '航变信息',
+ 'description' => 'irregular flight information',
+ 'type' => 'object',
+ 'properties' => [
+ 'old_flight_no' => [
+ 'title' => '原航班号',
+ 'description' => 'Original flight number',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'old_departure_airport' => [
+ 'title' => '原航班起飞机场三字码(大写)',
+ 'description' => 'Original departure airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'old_arrival_airport' => [
+ 'title' => '原航班到达机场三字码(大写)',
+ 'description' => 'Original arrival airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'old_departure_time' => [
+ 'title' => '原航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Original departure date and time, string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-02-01 12:01:00',
+ ],
+ 'old_arrival_time' => [
+ 'title' => '原航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Original arrival date and time, string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '023-02-01 14:01:00',
+ ],
+ 'new_flight_no' => [
+ 'title' => '新航班号',
+ 'description' => 'New flight number',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'new_departure_airport' => [
+ 'title' => '新航班起飞机场三字码(大写)',
+ 'description' => 'New departure airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'new_arrival_airport' => [
+ 'title' => '新航班到达机场三字码(大写)',
+ 'description' => 'New arrival airport three-letter code (uppercase)',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'new_departure_time' => [
+ 'title' => '新航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'New departure date and time, string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-02-01 13:01:00',
+ ],
+ 'new_arrival_time' => [
+ 'title' => '新航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'New flight arrival date and time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-02-01 15:01:00',
+ ],
+ 'change_time' => [
+ 'title' => '航变时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => 'Flight change time in string format (yyyy-MM-dd HH:mm:ss)',
+ 'type' => 'string',
+ 'example' => '2023-02-01 10:01:00',
+ ],
+ 'change_type' => [
+ 'title' => '航变类型 1:取消; 2:变更',
+ 'description' => 'Type of irregular flight 1: Cancellation; 2: delay, schedule change, or other airline reasons',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'change_reason' => [
+ 'title' => '航变原因',
+ 'description' => 'Reason for the irregular flight',
+ 'type' => 'string',
+ 'example' => 'weather',
+ ],
+ ],
+ ],
+ 'order_num' => [
+ 'title' => '订单号',
+ 'description' => 'Order number',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4966***617111',
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => 'Data carried with error handling',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"request_id\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": [\\n {\\n \\"flight_change_detail\\": {\\n \\"old_flight_no\\": \\"HO1295\\",\\n \\"old_departure_airport\\": \\"PVG\\",\\n \\"old_arrival_airport\\": \\"MFM\\",\\n \\"old_departure_time\\": \\"2023-02-01 12:01:00\\",\\n \\"old_arrival_time\\": \\"023-02-01 14:01:00\\",\\n \\"new_flight_no\\": \\"HO1295\\",\\n \\"new_departure_airport\\": \\"PVG\\",\\n \\"new_arrival_airport\\": \\"MFM\\",\\n \\"new_departure_time\\": \\"2023-02-01 13:01:00\\",\\n \\"new_arrival_time\\": \\"2023-02-01 15:01:00\\",\\n \\"change_time\\": \\"2023-02-01 10:01:00\\",\\n \\"change_type\\": 1,\\n \\"change_reason\\": \\"天气\\"\\n },\\n \\"order_num\\": 0\\n }\\n ],\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'FlightChangeOfOrder',
+ 'translator' => 'machine',
+ ],
+ 'AccountFlowList' => [
+ 'summary' => 'Account Fund Flow',
+ 'path' => '/airticket/v1/account/flow-list',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'utc_begin_time',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '开始搜索时间戳具体生效到天,UTC 13位时间戳',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1677427200000',
+ ],
+ ],
+ [
+ 'name' => 'day_num',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '搜索多少天 最大30天 取值范围[0,30]',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'page_index',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页索引',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'page_size',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '页大小',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '20',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<PageData<AccountFlow>, Object>',
+ 'description' => 'PopBaseRes<PageData<AccountFlow>, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'list' => [
+ 'title' => '数据列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'flow_id' => [
+ 'title' => '流水ID',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1627239841225842666',
+ ],
+ 'gmt_create' => [
+ 'title' => '创建时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1676799185000',
+ ],
+ 'gmt_modified' => [
+ 'title' => '修改时间',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1676966530000',
+ ],
+ 'op_type' => [
+ 'title' => '操作类型 详见BalanceOpTypeEnum, 1:付款; 2:退款; 3:充值',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'op_amount' => [
+ 'title' => '操作金额(元)',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '950.5',
+ ],
+ 'before_available_amount' => [
+ 'title' => '操作前可用余额(元)',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '1950.5',
+ ],
+ 'after_available_amount' => [
+ 'title' => '操作后可用余额(元)',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '1000',
+ ],
+ 'order_num' => [
+ 'title' => '正向订单号',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '4988430***971',
+ ],
+ 'out_order_num' => [
+ 'title' => '正向外部订单号',
+ 'type' => 'string',
+ 'example' => '4988430***971',
+ ],
+ 'change_order_num' => [
+ 'title' => '改签单号,如果是改签的流水,这个值不为空',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '49880***971',
+ ],
+ 'refund_order_num' => [
+ 'title' => '退票单号。如果是退款的流水,这个值不为空',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '48430***971',
+ ],
+ 'order_type' => [
+ 'title' => '订单类型',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ 'pagination' => [
+ 'title' => '分页信息',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'total_count' => [
+ 'title' => '总数量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'total_page' => [
+ 'title' => '共几页',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'current_page' => [
+ 'title' => '当前第几页',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'page_size' => [
+ 'title' => '每页数量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"list\\": [\\n {\\n \\"flow_id\\": 1627239841225842700,\\n \\"gmt_create\\": 1676799185000,\\n \\"gmt_modified\\": 1676966530000,\\n \\"op_type\\": 2,\\n \\"op_amount\\": 950.5,\\n \\"before_available_amount\\": 1950.5,\\n \\"after_available_amount\\": 1000,\\n \\"order_num\\": 0,\\n \\"out_order_num\\": \\"4988430***971\\",\\n \\"change_order_num\\": 0,\\n \\"refund_order_num\\": 0,\\n \\"order_type\\": 1\\n }\\n ],\\n \\"pagination\\": {\\n \\"total_count\\": 5,\\n \\"total_page\\": 1,\\n \\"current_page\\": 1,\\n \\"page_size\\": 10\\n }\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'AccountFlowList',
+ 'translator' => 'machine',
+ ],
+ 'FileUpload' => [
+ 'summary' => 'Attachment Upload',
+ 'path' => '/airticket/v1/attachment/action-upload',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'order_num',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '正向订单号',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '496***2617111',
+ ],
+ ],
+ [
+ 'name' => 'file_content',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '附件baseRs64字符串',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0r2LSuIsHlxEoGZcnGe34U1njBOR83Q4HNSvMDGrDPK5J71VjcGdRIWz2x3+tFxvQaduwHB46Z9K'."\n"
+ .'dbIoDN8xPQ5PWlky8rKOPmAqSZfIRyPmAwvPvTJFwr8bRgHPPaq2VO8kHJ6jFIpJJ5I7Zqd1BjGS'."\n"
+ .'SR/kULQZHsDDd2zgA9RRTsEQF2OSxFFFx2P/2Q==',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<UploadAttachmentRes, Object>',
+ 'description' => 'PopBaseRes<UploadAttachmentRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'uploaded_file_url' => [
+ 'title' => '上传后文件名称',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'https://fliggy-flight-jinghang-bucket.oss-cn-zhangjiakou.aliyuncs.com/suez/flight_suez_9a634376****47.jpeg',
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"uploaded_file_url\\": \\"https://fliggy-flight-jinghang-bucket.oss-cn-zhangjiakou.aliyuncs.com/suez/flight_suez_9a634376****47.jpeg\\"\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'FileUpload',
+ 'translator' => 'machine',
+ ],
+ 'LuggageDirect' => [
+ 'summary' => 'Journey Luggage Direct',
+ 'path' => '/airticket/v1/flight-data/luggage-direct',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'flight_segment_param_list',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '航段列表,列表中航段构成一个航程',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'departure_airport' => [
+ 'title' => '出发机场三字码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'HGH',
+ ],
+ 'arrival_airport' => [
+ 'title' => '到达机场三字码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SIN',
+ ],
+ 'departure_terminal' => [
+ 'title' => '出发航站楼',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'T1',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '到达航站楼',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'T1',
+ ],
+ 'departure_time' => [
+ 'title' => '出发时间,13位时间戳',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1705285430445',
+ ],
+ 'arrival_time' => [
+ 'title' => '到达时间,13位时间戳',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1705285430445',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市三字码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SEL,HKG',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CZ',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CZ',
+ ],
+ 'ticketing_airline' => [
+ 'title' => '出票方航司',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CZ',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '航班号',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CZ616',
+ ],
+ 'code_share' => [
+ 'title' => '是否共享',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'true',
+ 'default' => 'false',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<List<LuggageDirect>, Object>',
+ 'description' => 'PopBaseRes<List<LuggageDirect>, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'city_code' => [
+ 'title' => '城市三字码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'BJS',
+ ],
+ 'direct_type' => [
+ 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": [\\n {\\n \\"city_code\\": \\"BJS\\",\\n \\"direct_type\\": 1\\n }\\n ],\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'LuggageDirect',
+ 'translator' => 'machine',
+ ],
+ 'TransitVisa' => [
+ 'summary' => 'Transit Visa for Journey',
+ 'path' => '/airticket/v1/flight-data/transit-visa',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'https',
+ 'http',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'flight_segment_param_list',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '航段列表,列表中航段构成一个航程',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'departure_airport' => [
+ 'title' => '出发机场三字码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'HGH',
+ ],
+ 'arrival_airport' => [
+ 'title' => '到达机场三字码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SIN',
+ ],
+ 'departure_terminal' => [
+ 'title' => '出发航站楼',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'T1',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '到达航站楼',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'T1',
+ ],
+ 'departure_time' => [
+ 'title' => '出发时间,13位时间戳',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1705285430445',
+ ],
+ 'arrival_time' => [
+ 'title' => '到达时间,13位时间戳',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1705285430445',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市三字码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SEL,HKG',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CZ',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CZ',
+ ],
+ 'ticketing_airline' => [
+ 'title' => '出票方航司',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CZ',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '航班号',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CZ616',
+ ],
+ 'code_share' => [
+ 'title' => '是否共享',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'true',
+ 'default' => 'false',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<List<VisaRemark>, Object>',
+ 'description' => 'PopBaseRes<List<VisaRemark>, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'city_code' => [
+ 'title' => '经停/中转城市三字码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HGH',
+ ],
+ 'visa_type' => [
+ 'title' => '过境签类型,0:无需过境签,1:需要过境签',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": [\\n {\\n \\"city_code\\": \\"HGH\\",\\n \\"visa_type\\": 1\\n }\\n ],\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'Transit Visa',
+ 'translator' => 'machine',
+ ],
+ 'CollectFlightLowestPrice' => [
+ 'summary' => 'Data collection - low price flight information',
+ 'path' => '/airticket/v1/data-collect/flight-lowest-price',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'lowest_price_flight_info_list',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '低价的航班信息',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'request_id' => [
+ 'title' => '请求id',
+ 'type' => 'string',
+ 'example' => '123456789dacd',
+ ],
+ 'departure_city' => [
+ 'title' => '出发城市',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '到达城市',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MFM',
+ ],
+ 'trip_type' => [
+ 'title' => '航程类型:1表示单程;2表示往返',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ 'departure_date' => [
+ 'title' => '出发日期 格式:yyyy-MM-dd',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '2024-11-11',
+ ],
+ 'return_date' => [
+ 'title' => '往返场景下,返程日期,格式:yyyy-MM-dd',
+ 'type' => 'string',
+ 'example' => '2024-11-11',
+ ],
+ 'departure_flight_number' => [
+ 'title' => '去程的航班号列表,多航段用,分割',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'CA123,CA456',
+ ],
+ 'return_flight_number' => [
+ 'title' => '返程的航班号列表,多航段用,分割',
+ 'type' => 'string',
+ 'example' => 'CA123,CA456',
+ ],
+ 'suez_total_price' => [
+ 'title' => 'Suez 的报价,价格+税费(币种为美元)',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'required' => true,
+ 'example' => '100.1',
+ ],
+ 'market_total_price' => [
+ 'title' => '市场上竞品最低价,价格+税费(币种为美元)',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'required' => true,
+ 'example' => '100.0',
+ ],
+ 'solution_id' => [
+ 'title' => 'Search/Enrich 返回的solution_id',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TU7TNTFINNO1SE5O0jVKM0hKNjEwTElLNYwz0A32cNT1dfPVNTIwMjYwNjRQ8/A3NLI01Q0Ic0cRBwBVFxJJ',
+ ],
+ ],
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<LowestPriceFlightSyncRes, Object>',
+ 'description' => 'PopBaseRes<LowestPriceFlightSyncRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => 'null',
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": null,\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ 'title' => 'CollectFlightLowestPrice',
+ 'translator' => 'machine',
+ ],
+ 'StandardSearch' => [
+ 'summary' => '标准搜索',
+ 'path' => '/airticket/v1/trade/action-standardsearch',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'accessTokenAuth' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'cabin_class',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '不填写默认为 ALL_CABIN。舱等 ALL_CABIN:不限舱等; Y:经济舱; FC:头等舱和商务舱; S:超级经济舱; YS:经济舱和超级经济舱; YSC:经济舱、超级经济舱和商务舱;',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ALL_CABIN',
+ ],
+ ],
+ [
+ 'name' => 'air_legs',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '行程数组 departure_city,departure_airport_list 二者至少一个不为空,departure_airport_list 有值时必须属于同一个城市; arrival_city,arrival_airport_list 二者至少一个不为空,arrival_airport_list 有值时必须属于同一个城市',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'departure_city' => [
+ 'title' => '出发城市三字码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '到达城市三字码',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MFM',
+ ],
+ 'departure_airport_list' => [
+ 'title' => '出发机场三字码',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PVG',
+ ],
+ 'required' => false,
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport_list' => [
+ 'title' => '到达机场三字码',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MFM',
+ ],
+ 'required' => false,
+ 'example' => 'MFM',
+ ],
+ 'departure_date' => [
+ 'title' => '起飞日期 (eg: yyyyMMdd)',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '20230320',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'adults',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '成人乘客数 1-9',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'children',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '儿童乘客数 0-9',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'infants',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '婴儿乘客数 0-9',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'search_control_options',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => '搜索控制项,可选',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'airline_prefer_list' => [
+ 'title' => '优选航司',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'FD',
+ ],
+ 'required' => false,
+ 'example' => 'FD',
+ ],
+ 'airline_excluded_list' => [
+ 'title' => '航司排除列表',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'AK',
+ ],
+ 'required' => false,
+ 'example' => '7C',
+ ],
+ 'service_quality' => [
+ 'title' => '出票服务质量',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'A1',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-access-token',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => 'access_token',
+ 'description' => 'access_token',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'eyJhbGciOiJSUzI1NiIsImtpZCI6InN1ZXpfa2V5aWQifQ.eyJqdGkiOiJCQldMaWIzN0VxbC0xMjhhR2N5elJ3IiwiaWF0IjoxNjc3MDY2NTAxLCJleHAiOjE2NzcwNzM3MDEsIm5iZiI6MTY3NzA2NjQ0MX0.AF0DxsZK4Edyg0C6ObRQFUo36R1VYrb5IYmak25TmL1OfR5RkIUc3PpqFuQKNLKXf5fOtVQaKjaexzwodVeWZQDKEG_RPt_Ybb99EnEm6vPKs6e3pWFbKiBq71WleLHhVrdFb4YPowRKjc7bG0jyGUxiQ2iXy0RWDj9tIjfI-KEdzNp5oVnX7j4p3H12DwQrRPmd1nz3BciAQNINvDpzqusuIUw8JXyLFCz838Y0NhwB1_bYZyctxRLSzrGZuI5rrWtItgupqMsOlJ3RNy1QrIbQ2g6nPmzl-atOqcQ4Nw0HeDLR8dhM1OsIcFLbKXBUtwXofflhzAQrkDxhwYiXii',
+ ],
+ ],
+ [
+ 'name' => 'x-acs-airticket-language',
+ 'in' => 'header',
+ 'schema' => [
+ 'title' => '多语言 默认取买家账号配置',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'en_US',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'PopBaseRes<StandardSearchRes, Object>',
+ 'description' => 'PopBaseRes<StandardSearchRes, Object>',
+ 'type' => 'object',
+ 'properties' => [
+ 'status' => [
+ 'title' => 'http 请求成功,status 值均为 200',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'error_code' => [
+ 'title' => '业务错误码',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'error_msg' => [
+ 'title' => '错误信息',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'success' => [
+ 'title' => '是否正确',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'RequestId' => [
+ 'title' => '请求 RequestId',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '51593418-8C73-5E47-8BA8-3F1D4A00CC0B',
+ ],
+ 'data' => [
+ 'title' => '正确处理返回数据',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'solution_list' => [
+ 'title' => '搜索询价结果',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'solution',
+ 'type' => 'object',
+ 'properties' => [
+ 'solution_id' => [
+ 'title' => 'solution_id',
+ 'description' => 'solution_id',
+ 'type' => 'string',
+ 'example' => 'eJwz8DeySEo0NjQ01TU3TUxxx',
+ ],
+ 'adult_price' => [
+ 'title' => '成人单价',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '300',
+ ],
+ 'adult_tax' => [
+ 'title' => '成人税',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '30',
+ ],
+ 'child_price' => [
+ 'title' => '儿童单价',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'child_tax' => [
+ 'title' => '儿童税',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '20',
+ ],
+ 'infant_price' => [
+ 'title' => '婴儿单价',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ 'infant_tax' => [
+ 'title' => '婴儿税',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '10',
+ ],
+ 'journey_list' => [
+ 'title' => '行程',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'journey',
+ 'type' => 'object',
+ 'properties' => [
+ 'transfer_count' => [
+ 'title' => '中转次数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'segment_list' => [
+ 'title' => '航段信息',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id' => [
+ 'title' => '航段ID 组成格式:航班号+出发机场+达到机场+起飞日期(MMdd)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ 'departure_airport' => [
+ 'title' => '航班起飞机场三字码(大写)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PVG',
+ ],
+ 'arrival_airport' => [
+ 'title' => '航班到达机场三字码(大写)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'departure_city' => [
+ 'title' => '航班起飞城市三字码(大写)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SHA',
+ ],
+ 'arrival_city' => [
+ 'title' => '航班到达城市三字码(大写)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MFM',
+ ],
+ 'marketing_flight_no' => [
+ 'title' => '市场方航班号(如:HO1295)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'marketing_flight_no_int' => [
+ 'title' => '市场方数字航班号(如:1295)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1295',
+ ],
+ 'marketing_airline' => [
+ 'title' => '市场方航司(如:HO)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'operating_flight_no' => [
+ 'title' => '承运方航班号(如:CX601)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HO1295',
+ ],
+ 'operating_airline' => [
+ 'title' => '承运方航司(如:CX)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'HO',
+ ],
+ 'departure_time' => [
+ 'title' => '航班起飞日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2023-03-10 07:55:00',
+ ],
+ 'arrival_time' => [
+ 'title' => '航班到达日期时间 字符串格式(yyyy-MM-dd HH:mm:ss)',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2023-03-10 10:40:00',
+ ],
+ 'code_share' => [
+ 'title' => '是否为共享航班',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'false',
+ ],
+ 'departure_terminal' => [
+ 'title' => '航班出发航站楼',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'T2',
+ ],
+ 'arrival_terminal' => [
+ 'title' => '航班到达航站楼',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'T1',
+ ],
+ 'equip_type' => [
+ 'title' => '机型',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '32Q',
+ ],
+ 'cabin' => [
+ 'title' => '舱位',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'V',
+ ],
+ 'cabin_class' => [
+ 'title' => '舱等',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Y',
+ ],
+ 'availability' => [
+ 'title' => '剩余座位数。取值范围 1,2,3,4,5,6,7,8,9,A;A 表示余座大于9。',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7',
+ ],
+ 'stop_city_list' => [
+ 'title' => '经停城市列表,stopQuantity > 0 时有值,多个用逗号分割',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'SEL,HKG',
+ ],
+ 'stop_quantity' => [
+ 'title' => '经停城市数目',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'flight_duration' => [
+ 'title' => '飞行时间 单位:分钟',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '165',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_baggage_mapping_list' => [
+ 'title' => '免费行李规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个免费行李规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ ],
+ 'passenger_baggage_allowance_mapping' => [
+ 'title' => '乘客类型-免费行李额映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿',
+ 'description' => '',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'baggage_amount' => [
+ 'title' => '托运行李件数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'baggage_weight' => [
+ 'title' => '托运行李重量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'baggage_weight_unit' => [
+ 'title' => '托运行李重量单位 KG',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'KG',
+ ],
+ 'is_all_weight' => [
+ 'title' => '是否所有托运行李重量',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'carry_on_amount' => [
+ 'title' => '手提行李件数',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'carry_on_weight' => [
+ 'title' => '手提行李重量',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '5',
+ ],
+ 'carry_on_weight_unit' => [
+ 'title' => '手提行李重量单位 KG',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'KG',
+ ],
+ 'is_all_carry_on_weight' => [
+ 'title' => '是否所有手提行李重量',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'carry_length' => [
+ 'title' => '手提长(单位:厘米)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '55',
+ ],
+ 'carry_width' => [
+ 'title' => '手提宽(单位:厘米)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'carry_height' => [
+ 'title' => '手提高(单位:厘米)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '20',
+ ],
+ 'carry_sum_of_length_width_height' => [
+ 'title' => '手提三边之和(单位:厘米)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '115',
+ ],
+ 'length' => [
+ 'title' => '托运长(单位:厘米)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ 'width' => [
+ 'title' => '托运宽(单位:厘米)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '40',
+ ],
+ 'height' => [
+ 'title' => '托运高(单位:厘米)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '60',
+ ],
+ 'sum_of_length_width_height' => [
+ 'title' => '托运三边之和(单位:厘米)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_refund_change_rule_mapping_list' => [
+ 'title' => '退改签规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个退改签规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ ],
+ 'refund_change_rule_map' => [
+ 'title' => '乘机人类型-退改签规则映射关系 key 取值描述 ADT:普通成人; CHD:儿童; INF:婴儿',
+ 'description' => '',
+ 'type' => 'object',
+ 'additionalProperties' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'refund_rule_all_unused_list' => [
+ 'title' => '全程未使用退票规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ ],
+ 'refund_rule_part_unused_list' => [
+ 'title' => '部分未使用退票规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该退票规则适用航程使用类型 0:全程未使用; 1:部分未使用',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_refund' => [
+ 'title' => '起飞前X-Y小时(天) 可否退票',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'refund_fee' => [
+ 'title' => '起飞前X-Y小时(天) 退票手续费',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '200',
+ ],
+ 'can_return_all_tax' => [
+ 'title' => '起飞前X-Y小时(天) 是否全额退税',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'return_part_tax_fee' => [
+ 'title' => '起飞前X-Y小时(天) 可部分退税金额',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ ],
+ 'change_rule_in_unused_list' => [
+ 'title' => '回程未使用改签规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ ],
+ 'change_rule_out_unused_list' => [
+ 'title' => '去程未使用改签规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'title' => '该改签规则适用航程使用类型 2:去程未使用; 3:回程未使用',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'time_unit' => [
+ 'title' => '时间单位:day/hour',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'hour',
+ ],
+ 'rule_start_time' => [
+ 'title' => '该退票规则适用于的退票时间区间开始时间,单位(天/小时)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '36',
+ ],
+ 'rule_end_time' => [
+ 'title' => '该退票规则适用于的退票时间区间结束时间,单位(天/小时)',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '12',
+ ],
+ 'can_change' => [
+ 'title' => '起飞前X-Y小时(天) 可否可以改签',
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'change_fee' => [
+ 'title' => '起飞前X-Y小时(天) 改签费',
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'double',
+ 'example' => '100',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'segment_baggage_check_in_info_list' => [
+ 'title' => '行李直挂规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'segment_id_list' => [
+ 'title' => '航段ID列表 这些航段ID使用同一个行李直挂规则',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'segment_id',
+ 'type' => 'string',
+ 'example' => 'HO1295-PVG-MFM-20230310',
+ ],
+ ],
+ 'luggage_direct_info_type' => [
+ 'title' => '行李直挂规则类型 1:航段之间行李直达; 2:航段之间行李重新托运; 3:经停城市行李直达; 4:经停城市行李重新托运',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ 'solution_attribute' => [
+ 'title' => '报价属性',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'supply_source_type' => [
+ 'title' => '供给来源类型 1:自营;2:代理人;3:旗舰店',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'issue_time_info' => [
+ 'title' => '出票时效相关',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'issue_time_limit' => [
+ 'title' => '预计出票时长,单位:分钟',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'issue_ticket_type' => [
+ 'title' => '出票类型 1:支付后; 2起飞前;-1未知',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'error_data' => [
+ 'title' => '错误处理携带数据',
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => 'null',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"status\\": 200,\\n \\"error_code\\": \\"null\\",\\n \\"error_msg\\": \\"null\\",\\n \\"success\\": true,\\n \\"RequestId\\": \\"51593418-8C73-5E47-8BA8-3F1D4A00CC0B\\",\\n \\"data\\": {\\n \\"solution_list\\": [\\n {\\n \\"solution_id\\": \\"eJwz8DeySEo0NjQ01TU3TUxxx\\",\\n \\"adult_price\\": 300,\\n \\"adult_tax\\": 30,\\n \\"child_price\\": 200,\\n \\"child_tax\\": 20,\\n \\"infant_price\\": 100,\\n \\"infant_tax\\": 10,\\n \\"journey_list\\": [\\n {\\n \\"transfer_count\\": 0,\\n \\"segment_list\\": [\\n {\\n \\"segment_id\\": \\"HO1295-PVG-MFM-20230310\\",\\n \\"departure_airport\\": \\"PVG\\",\\n \\"arrival_airport\\": \\"MFM\\",\\n \\"departure_city\\": \\"SHA\\",\\n \\"arrival_city\\": \\"MFM\\",\\n \\"marketing_flight_no\\": \\"HO1295\\",\\n \\"marketing_flight_no_int\\": 1295,\\n \\"marketing_airline\\": \\"HO\\",\\n \\"operating_flight_no\\": \\"HO1295\\",\\n \\"operating_airline\\": \\"HO\\",\\n \\"departure_time\\": \\"2023-03-10 07:55:00\\",\\n \\"arrival_time\\": \\"2023-03-10 10:40:00\\",\\n \\"code_share\\": false,\\n \\"departure_terminal\\": \\"T2\\",\\n \\"arrival_terminal\\": \\"T1\\",\\n \\"equip_type\\": \\"32Q\\",\\n \\"cabin\\": \\"V\\",\\n \\"cabin_class\\": \\"Y\\",\\n \\"availability\\": \\"7\\",\\n \\"stop_city_list\\": \\"SEL,HKG\\",\\n \\"stop_quantity\\": 0,\\n \\"flight_duration\\": 165\\n }\\n ]\\n }\\n ],\\n \\"segment_baggage_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"passenger_baggage_allowance_mapping\\": {\\n \\"key\\": {\\n \\"baggage_amount\\": 1,\\n \\"baggage_weight\\": 10,\\n \\"baggage_weight_unit\\": \\"KG\\",\\n \\"is_all_weight\\": true,\\n \\"carry_on_amount\\": 1,\\n \\"carry_on_weight\\": 5,\\n \\"carry_on_weight_unit\\": \\"KG\\",\\n \\"is_all_carry_on_weight\\": true,\\n \\"carry_length\\": 55,\\n \\"carry_width\\": 40,\\n \\"carry_height\\": 20,\\n \\"carry_sum_of_length_width_height\\": 115,\\n \\"length\\": 60,\\n \\"width\\": 40,\\n \\"height\\": 60,\\n \\"sum_of_length_width_height\\": 200\\n }\\n }\\n }\\n ],\\n \\"segment_refund_change_rule_mapping_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"refund_change_rule_map\\": {\\n \\"key\\": {\\n \\"refund_rule_all_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"refund_rule_part_unused_list\\": [\\n {\\n \\"type\\": 0,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_refund\\": true,\\n \\"refund_fee\\": 200,\\n \\"can_return_all_tax\\": true,\\n \\"return_part_tax_fee\\": 100\\n }\\n ],\\n \\"change_rule_in_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ],\\n \\"change_rule_out_unused_list\\": [\\n {\\n \\"type\\": 2,\\n \\"time_unit\\": \\"hour\\",\\n \\"rule_start_time\\": 36,\\n \\"rule_end_time\\": 12,\\n \\"can_change\\": true,\\n \\"change_fee\\": 100\\n }\\n ]\\n }\\n }\\n }\\n ],\\n \\"segment_baggage_check_in_info_list\\": [\\n {\\n \\"segment_id_list\\": [\\n \\"HO1295-PVG-MFM-20230310\\"\\n ],\\n \\"luggage_direct_info_type\\": 1\\n }\\n ],\\n \\"solution_attribute\\": {\\n \\"supply_source_type\\": \\"1\\",\\n \\"issue_time_info\\": {\\n \\"issue_time_limit\\": 60,\\n \\"issue_ticket_type\\": 1\\n }\\n }\\n }\\n ]\\n },\\n \\"error_data\\": \\"null\\"\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [],
+];