summaryrefslogtreecommitdiff
path: root/data/zh_cn/address-purification/2019-11-18/api-docs.php
blob: 3e1b3481317474b2ecc263ba0b1a69e78f30bf20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'RPC', 'product' => 'address-purification', 'version' => '2019-11-18'],
    'directories' => ['CorrectAddress', 'ExtractAddress', 'ExtractName', 'ExtractPhone', 'GetAddressDivisionCode', 'GetAddressSimilarity', 'GetZipcode', 'StructureAddress'],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'CorrectAddress' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get'],
            'parameters' => [
                [
                    'name' => 'ServiceCode',
                    'in' => 'formData',
                    'schema' => ['description' => '固定值:addrp', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp'],
                ],
                [
                    'name' => 'Text',
                    'in' => 'formData',
                    'schema' => ['description' => '文本内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '文一西路969号'],
                ],
                [
                    'name' => 'DefaultProvince',
                    'in' => 'formData',
                    'schema' => ['description' => '默认省份', 'type' => 'string', 'required' => false, 'example' => '浙江省'],
                ],
                [
                    'name' => 'DefaultCity',
                    'in' => 'formData',
                    'schema' => ['description' => '默认城市', 'type' => 'string', 'required' => false, 'example' => '杭州市'],
                ],
                [
                    'name' => 'DefaultDistrict',
                    'in' => 'formData',
                    'schema' => ['description' => '默认行政区', 'type' => 'string', 'required' => false, 'example' => '余杭区'],
                ],
                [
                    'name' => 'AppKey',
                    'in' => 'formData',
                    'schema' => ['description' => '项目AppKey', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => '226BD68D-6208-4140-A6EC-2F2BF434B601'],
                            'Data' => ['description' => 'json格式数据', 'type' => 'string', 'example' => '{"address_correct":["文一西路=road 969号=roadno"]}'],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''],
                ],
                [
                    ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''],
                ],
                429 => [
                    ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''],
                ],
            ],
            'title' => '地址纠错',
            'summary' => '对用户输入错误文本地址进行纠错。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"RequestId\\": \\"226BD68D-6208-4140-A6EC-2F2BF434B601\\",\\n  \\"Data\\": \\"{\\\\\\"address_correct\\\\\\":[\\\\\\"文一西路=road 969号=roadno\\\\\\"]}\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>226BD68D-6208-4140-A6EC-2F2BF434B601</RequestId>\\n<Data>\\n    <address_correct>文一西路=road 969号=roadno</address_correct>\\n    <time_used>\\n        <rt>\\n            <segment>0.0053822994232177734</segment>\\n            <address_correct>0.0002961158752441406</address_correct>\\n        </rt>\\n        <start>1589799494.0997586</start>\\n    </time_used>\\n    <status>OK</status>\\n</Data>","errorExample":""}]',
        ],
        'ExtractAddress' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get'],
            'parameters' => [
                [
                    'name' => 'ServiceCode',
                    'in' => 'formData',
                    'schema' => ['description' => '固定值:addrp', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp'],
                ],
                [
                    'name' => 'Text',
                    'in' => 'formData',
                    'schema' => ['description' => '文本内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '文一西路969号'],
                ],
                [
                    'name' => 'DefaultProvince',
                    'in' => 'formData',
                    'schema' => ['description' => '默认省份', 'type' => 'string', 'required' => false, 'example' => '浙江省'],
                ],
                [
                    'name' => 'DefaultCity',
                    'in' => 'formData',
                    'schema' => ['description' => '默认城市', 'type' => 'string', 'required' => false, 'example' => '杭州市'],
                ],
                [
                    'name' => 'DefaultDistrict',
                    'in' => 'formData',
                    'schema' => ['description' => '默认行政区', 'type' => 'string', 'required' => false, 'example' => '余杭区'],
                ],
                [
                    'name' => 'AppKey',
                    'in' => 'formData',
                    'schema' => ['description' => '项目AppKey', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => 'E0627DDE-28D7-4C00-A611-E047DF81AF05'],
                            'Data' => ['description' => 'start:原文中字段起始位置'."\n"
                                .'end:原文中字段结束位置'."\n"
                                .'type:字段类型,LOC是指location,地址;PER是指person,人名;TEL是指telephone,电话号码。'."\n"
                                .'word:识别出的实体字段', 'type' => 'string', 'example' => '{"location_extract":[{"start":0,"end":8,"type":"LOC","word":"文一西路969号"}],"time_used":{"rt":{"location_extract":"0.008937358856201172"},"start":"1589799727.438162"},"status":"OK"}'],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''],
                ],
                [
                    ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''],
                ],
                429 => [
                    ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''],
                ],
            ],
            'title' => '地址抽取',
            'summary' => '从非结构化文本中抽取地址片段。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"RequestId\\": \\"E0627DDE-28D7-4C00-A611-E047DF81AF05\\",\\n  \\"Data\\": \\"{\\\\\\"location_extract\\\\\\":[{\\\\\\"start\\\\\\":0,\\\\\\"end\\\\\\":8,\\\\\\"type\\\\\\":\\\\\\"LOC\\\\\\",\\\\\\"word\\\\\\":\\\\\\"文一西路969号\\\\\\"}],\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"location_extract\\\\\\":\\\\\\"0.008937358856201172\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589799727.438162\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>E0627DDE-28D7-4C00-A611-E047DF81AF05</RequestId>\\n<Data>\\n    <location_extract>\\n        <start>0</start>\\n        <end>8</end>\\n        <type>LOC</type>\\n        <word>文一西路969号</word>\\n    </location_extract>\\n    <time_used>\\n        <rt>\\n            <location_extract>0.008937358856201172</location_extract>\\n        </rt>\\n        <start>1589799727.438162</start>\\n    </time_used>\\n    <status>OK</status>\\n</Data>","errorExample":""}]',
        ],
        'ExtractName' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get'],
            'parameters' => [
                [
                    'name' => 'ServiceCode',
                    'in' => 'formData',
                    'schema' => ['description' => '固定值:addrp', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp'],
                ],
                [
                    'name' => 'Text',
                    'in' => 'formData',
                    'schema' => ['description' => '文本内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '文一西路969号张小明'],
                ],
                [
                    'name' => 'DefaultProvince',
                    'in' => 'formData',
                    'schema' => ['description' => '默认省份', 'type' => 'string', 'required' => false, 'example' => '浙江省'],
                ],
                [
                    'name' => 'DefaultCity',
                    'in' => 'formData',
                    'schema' => ['description' => '默认城市', 'type' => 'string', 'required' => false, 'example' => '杭州市'],
                ],
                [
                    'name' => 'DefaultDistrict',
                    'in' => 'formData',
                    'schema' => ['description' => '默认行政区', 'type' => 'string', 'required' => false, 'example' => '余杭区'],
                ],
                [
                    'name' => 'AppKey',
                    'in' => 'formData',
                    'schema' => ['description' => '项目AppKey', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => '3A9AB010-AC38-4E53-9D25-6B97238C2897'],
                            'Data' => ['description' => 'json格式数据', 'type' => 'string', 'example' => '{"person_extract":[{"start":8,"end":11,"type":"PER","word":"张小明"}],"time_used":{"rt":{"person_extract":"0.013421058654785156"},"start":"1589799959.7144244"},"status":"OK"}'],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''],
                ],
                [
                    ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''],
                ],
                429 => [
                    ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''],
                ],
            ],
            'title' => '姓名抽取',
            'summary' => '从自然文本中抽取姓名片段。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"RequestId\\": \\"3A9AB010-AC38-4E53-9D25-6B97238C2897\\",\\n  \\"Data\\": \\"{\\\\\\"person_extract\\\\\\":[{\\\\\\"start\\\\\\":8,\\\\\\"end\\\\\\":11,\\\\\\"type\\\\\\":\\\\\\"PER\\\\\\",\\\\\\"word\\\\\\":\\\\\\"张小明\\\\\\"}],\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"person_extract\\\\\\":\\\\\\"0.013421058654785156\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589799959.7144244\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>3A9AB010-AC38-4E53-9D25-6B97238C2897</RequestId>\\n<Data>\\n    <person_extract>\\n        <start>8</start>\\n        <end>11</end>\\n        <type>PER</type>\\n        <word>张小明</word>\\n    </person_extract>\\n    <time_used>\\n        <rt>\\n            <person_extract>0.013421058654785156</person_extract>\\n        </rt>\\n        <start>1589799959.7144244</start>\\n    </time_used>\\n    <status>OK</status>\\n</Data>","errorExample":""}]',
        ],
        'ExtractPhone' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get'],
            'parameters' => [
                [
                    'name' => 'ServiceCode',
                    'in' => 'formData',
                    'schema' => ['description' => '固定值:addrp', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp'],
                ],
                [
                    'name' => 'Text',
                    'in' => 'formData',
                    'schema' => ['description' => '文本内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '文一西路969号1333333****'],
                ],
                [
                    'name' => 'DefaultProvince',
                    'in' => 'formData',
                    'schema' => ['description' => '默认省份', 'type' => 'string', 'required' => false, 'example' => '浙江省'],
                ],
                [
                    'name' => 'DefaultCity',
                    'in' => 'formData',
                    'schema' => ['description' => '默认城市', 'type' => 'string', 'required' => false, 'example' => '杭州市'],
                ],
                [
                    'name' => 'DefaultDistrict',
                    'in' => 'formData',
                    'schema' => ['description' => '默认行政区', 'type' => 'string', 'required' => false, 'example' => '余杭区'],
                ],
                [
                    'name' => 'AppKey',
                    'in' => 'formData',
                    'schema' => ['description' => '项目AppKey', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => 'A602539D-A298-4643-A268-94F0B893C12F'],
                            'Data' => ['description' => 'json格式数据', 'type' => 'string', 'example' => '{"phone_extract":[{"start":8,"end":19,"type":"TEL","word":"1333333****"}],"time_used":{"rt":{"phone_extract":"0.014524221420288086"},"start":"1589800189.9369104"},"status":"OK"}'],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''],
                ],
                [
                    ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''],
                ],
                429 => [
                    ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''],
                ],
            ],
            'title' => '电话号码抽取',
            'summary' => '从自然文本中抽取电话号码片段。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"RequestId\\": \\"A602539D-A298-4643-A268-94F0B893C12F\\",\\n  \\"Data\\": \\"{\\\\\\"phone_extract\\\\\\":[{\\\\\\"start\\\\\\":8,\\\\\\"end\\\\\\":19,\\\\\\"type\\\\\\":\\\\\\"TEL\\\\\\",\\\\\\"word\\\\\\":\\\\\\"1333333****\\\\\\"}],\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"phone_extract\\\\\\":\\\\\\"0.014524221420288086\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800189.9369104\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>A602539D-A298-4643-A268-94F0B893C12F</RequestId>\\n<Data>\\n    <phone_extract>\\n        <start>8</start>\\n        <end>19</end>\\n        <type>TEL</type>\\n        <word>1333333****</word>\\n    </phone_extract>\\n    <time_used>\\n        <rt>\\n            <phone_extract>0.014524221420288086</phone_extract>\\n        </rt>\\n        <start>1589800189.9369104</start>\\n    </time_used>\\n    <status>OK</status>\\n</Data>","errorExample":""}]',
        ],
        'GetAddressDivisionCode' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get'],
            'parameters' => [
                [
                    'name' => 'ServiceCode',
                    'in' => 'formData',
                    'schema' => ['description' => '固定值:addrp', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp'],
                ],
                [
                    'name' => 'Text',
                    'in' => 'formData',
                    'schema' => ['description' => '文本内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '杭州市文一西路969号'],
                ],
                [
                    'name' => 'DefaultProvince',
                    'in' => 'formData',
                    'schema' => ['description' => '默认省份', 'type' => 'string', 'required' => false, 'example' => '浙江省'],
                ],
                [
                    'name' => 'DefaultCity',
                    'in' => 'formData',
                    'schema' => ['description' => '默认城市', 'type' => 'string', 'required' => false, 'example' => '杭州市'],
                ],
                [
                    'name' => 'DefaultDistrict',
                    'in' => 'formData',
                    'schema' => ['description' => '默认行政区', 'type' => 'string', 'required' => false, 'example' => '余杭区'],
                ],
                [
                    'name' => 'AppKey',
                    'in' => 'formData',
                    'schema' => ['description' => '项目AppKey', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => 'F726DC5F-67A1-4FBF-B216-758D1A681B8A'],
                            'Data' => ['description' => 'json格式数据', 'type' => 'string', 'example' => '{"division_info":{"divcode":"330100000000","division_name":"浙江省 杭州市"},"time_used":{"rt":{"division_info":"0.005276203155517578","complete":"0.022394180297851562","structure":"0.006552696228027344"},"start":"1589800407.0037742"},"status":"OK"}'],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''],
                ],
                [
                    ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''],
                ],
                429 => [
                    ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''],
                ],
            ],
            'title' => '行政区划识别',
            'summary' => '识别输入地址文本中的省、市、区(县)、街道(镇)四级区划。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"RequestId\\": \\"F726DC5F-67A1-4FBF-B216-758D1A681B8A\\",\\n  \\"Data\\": \\"{\\\\\\"division_info\\\\\\":{\\\\\\"divcode\\\\\\":\\\\\\"330100000000\\\\\\",\\\\\\"division_name\\\\\\":\\\\\\"浙江省 杭州市\\\\\\"},\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"division_info\\\\\\":\\\\\\"0.005276203155517578\\\\\\",\\\\\\"complete\\\\\\":\\\\\\"0.022394180297851562\\\\\\",\\\\\\"structure\\\\\\":\\\\\\"0.006552696228027344\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800407.0037742\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>F726DC5F-67A1-4FBF-B216-758D1A681B8A</RequestId>\\n<Data>\\n    <division_info>\\n        <divcode>330100000000</divcode>\\n        <division_name>浙江省 杭州市</division_name>\\n    </division_info>\\n    <time_used>\\n        <rt>\\n            <division_info>0.005276203155517578</division_info>\\n            <complete>0.022394180297851562</complete>\\n            <structure>0.006552696228027344</structure>\\n        </rt>\\n        <start>1589800407.0037742</start>\\n    </time_used>\\n    <status>OK</status>\\n</Data>","errorExample":""}]',
        ],
        'GetAddressSimilarity' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get'],
            'parameters' => [
                [
                    'name' => 'ServiceCode',
                    'in' => 'formData',
                    'schema' => ['description' => '固定值:addrp', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp'],
                ],
                [
                    'name' => 'Text',
                    'in' => 'formData',
                    'schema' => ['description' => '文本内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '文一西路969号;余杭区阿里巴巴'],
                ],
                [
                    'name' => 'DefaultProvince',
                    'in' => 'formData',
                    'schema' => ['description' => '默认省份', 'type' => 'string', 'required' => false, 'example' => '浙江省'],
                ],
                [
                    'name' => 'DefaultCity',
                    'in' => 'formData',
                    'schema' => ['description' => '默认城市', 'type' => 'string', 'required' => false, 'example' => '杭州市'],
                ],
                [
                    'name' => 'DefaultDistrict',
                    'in' => 'formData',
                    'schema' => ['description' => '默认行政区', 'type' => 'string', 'required' => false, 'example' => '余杭区'],
                ],
                [
                    'name' => 'AppKey',
                    'in' => 'formData',
                    'schema' => ['description' => '项目AppKey', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => 'F1BD3BD6-3510-4144-996A-B7FCA70A5F81'],
                            'Data' => ['description' => 'json格式数据', 'type' => 'string', 'example' => '{"sim_level":{"level":"none","address_a":"文一西路969号","address_b":"余杭区阿里巴巴","is_same":false},"time_used":{"rt":{"sim_level":"0.0400395393371582"},"start":"1589800627.3379788"},"status":"OK"}'],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''],
                ],
                [
                    ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''],
                ],
                429 => [
                    ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''],
                ],
            ],
            'title' => '地址相似层级判定',
            'summary' => '判定两个地址是否为同一地址,并给出最细粒度的相同地址级别。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"RequestId\\": \\"F1BD3BD6-3510-4144-996A-B7FCA70A5F81\\",\\n  \\"Data\\": \\"{\\\\\\"sim_level\\\\\\":{\\\\\\"level\\\\\\":\\\\\\"none\\\\\\",\\\\\\"address_a\\\\\\":\\\\\\"文一西路969号\\\\\\",\\\\\\"address_b\\\\\\":\\\\\\"余杭区阿里巴巴\\\\\\",\\\\\\"is_same\\\\\\":false},\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"sim_level\\\\\\":\\\\\\"0.0400395393371582\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800627.3379788\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>F1BD3BD6-3510-4144-996A-B7FCA70A5F81</RequestId>\\n<Data>\\n    <sim_level>\\n        <level>none</level>\\n        <address_a>文一西路969号</address_a>\\n        <address_b>余杭区阿里阿巴巴</address_b>\\n        <is_same>false</is_same>\\n    </sim_level>\\n    <time_used>\\n        <rt>\\n            <sim_level>0.0400395393371582</sim_level>\\n        </rt>\\n        <start>1589800627.3379788</start>\\n    </time_used>\\n    <status>OK</status>\\n</Data>","errorExample":""}]',
        ],
        'GetZipcode' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get'],
            'parameters' => [
                [
                    'name' => 'ServiceCode',
                    'in' => 'formData',
                    'schema' => ['description' => '固定值:addrp', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp'],
                ],
                [
                    'name' => 'Text',
                    'in' => 'formData',
                    'schema' => ['description' => '文本内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '浙江省杭州市文一西路969号'],
                ],
                [
                    'name' => 'DefaultProvince',
                    'in' => 'formData',
                    'schema' => ['description' => '默认省份', 'type' => 'string', 'required' => false, 'example' => '浙江省'],
                ],
                [
                    'name' => 'DefaultCity',
                    'in' => 'formData',
                    'schema' => ['description' => '默认城市', 'type' => 'string', 'required' => false, 'example' => '杭州市'],
                ],
                [
                    'name' => 'DefaultDistrict',
                    'in' => 'formData',
                    'schema' => ['description' => '默认行政区', 'type' => 'string', 'required' => false, 'example' => '余杭区'],
                ],
                [
                    'name' => 'AppKey',
                    'in' => 'formData',
                    'schema' => ['description' => '项目AppKey', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => 'D0078DC6-8A1F-41A0-9A5F-A6B6443E9A65'],
                            'Data' => ['description' => 'json格式数据', 'type' => 'string', 'example' => '{"zipcode":"311500","time_used":{"rt":{"zipcode":"0.004756927490234375","complete":"0.020321130752563477","structure":"0.007731199264526367"},"start":"1589800854.316437"},"status":"OK"}'],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''],
                ],
                [
                    ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''],
                ],
                429 => [
                    ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''],
                ],
            ],
            'title' => '邮政编码查询',
            'summary' => '输入地址,输出地址所对应的邮政编码。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"RequestId\\": \\"D0078DC6-8A1F-41A0-9A5F-A6B6443E9A65\\",\\n  \\"Data\\": \\"{\\\\\\"zipcode\\\\\\":\\\\\\"311500\\\\\\",\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"zipcode\\\\\\":\\\\\\"0.004756927490234375\\\\\\",\\\\\\"complete\\\\\\":\\\\\\"0.020321130752563477\\\\\\",\\\\\\"structure\\\\\\":\\\\\\"0.007731199264526367\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589800854.316437\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>D0078DC6-8A1F-41A0-9A5F-A6B6443E9A65</RequestId>\\n<Data>\\n    <zipcode>311500</zipcode>\\n    <time_used>\\n        <rt>\\n            <zipcode>0.004756927490234375</zipcode>\\n            <complete>0.020321130752563477</complete>\\n            <structure>0.007731199264526367</structure>\\n        </rt>\\n        <start>1589800854.316437</start>\\n    </time_used>\\n    <status>OK</status>\\n</Data>","errorExample":""}]',
        ],
        'StructureAddress' => [
            'methods' => ['post', 'get'],
            'schemes' => ['http', 'https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'get'],
            'parameters' => [
                [
                    'name' => 'ServiceCode',
                    'in' => 'formData',
                    'schema' => ['description' => '固定值:addrp', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'addrp'],
                ],
                [
                    'name' => 'Text',
                    'in' => 'formData',
                    'schema' => ['description' => '文本内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '杭州市文一西路969号'],
                ],
                [
                    'name' => 'DefaultProvince',
                    'in' => 'formData',
                    'schema' => ['description' => '默认省份', 'type' => 'string', 'required' => false, 'example' => '浙江省'],
                ],
                [
                    'name' => 'DefaultCity',
                    'in' => 'formData',
                    'schema' => ['description' => '默认城市', 'type' => 'string', 'required' => false, 'example' => '杭州市'],
                ],
                [
                    'name' => 'DefaultDistrict',
                    'in' => 'formData',
                    'schema' => ['description' => '默认行政区', 'type' => 'string', 'required' => false, 'example' => '余杭区'],
                ],
                [
                    'name' => 'AppKey',
                    'in' => 'formData',
                    'schema' => ['description' => '项目AppKey', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Axqwerasdf1a'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['description' => 'RequestId', 'type' => 'string', 'example' => '3542CCCD-A58D-4D46-9772-CC214D2D1E32'],
                            'Data' => ['description' => 'json格式数据', 'type' => 'string', 'example' => '{"structure":"prov=浙江省\\tcity=杭州市\\troad=文一西路\\troadNo=969号","time_used":{"rt":{"structure":"0.006234884262084961"},"start":"1589801057.2344782"},"status":"OK"}'],
                        ],
                        'description' => '',
                    ],
                ],
            ],
            'errorCodes' => [
                400 => [
                    ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The parameter is invalid.', 'description' => ''],
                    ['errorCode' => 'UserStatusInvalid', 'errorMessage' => 'The user status is invalid.', 'description' => ''],
                ],
                403 => [
                    ['errorCode' => 'Forbidden.NoAuth', 'errorMessage' => 'Failed to perform user authentication.', 'description' => ''],
                ],
                [
                    ['errorCode' => 'ResourceDoesNotExist', 'errorMessage' => 'The resource does not exist.', 'description' => ''],
                ],
                429 => [
                    ['errorCode' => 'Throttling.User', 'errorMessage' => 'Flow control has been triggered.', 'description' => ''],
                ],
                500 => [
                    ['errorCode' => 'InternalError', 'errorMessage' => 'A service error occurred.', 'description' => ''],
                ],
            ],
            'title' => '地址结构化',
            'summary' => '针对原始地址进行分级,同时支持省、市、区、街道补全。',
            'requestParamsDescription' => ' ',
            'responseParamsDescription' => ' ',
            'extraInfo' => ' ',
            'changeSet' => [],
            'responseDemo' => '[{"type":"json","example":"{\\n  \\"RequestId\\": \\"3542CCCD-A58D-4D46-9772-CC214D2D1E32\\",\\n  \\"Data\\": \\"{\\\\\\"structure\\\\\\":\\\\\\"prov=浙江省\\\\\\\\tcity=杭州市\\\\\\\\troad=文一西路\\\\\\\\troadNo=969号\\\\\\",\\\\\\"time_used\\\\\\":{\\\\\\"rt\\\\\\":{\\\\\\"structure\\\\\\":\\\\\\"0.006234884262084961\\\\\\"},\\\\\\"start\\\\\\":\\\\\\"1589801057.2344782\\\\\\"},\\\\\\"status\\\\\\":\\\\\\"OK\\\\\\"}\\"\\n}","errorExample":""},{"type":"xml","example":"<RequestId>3542CCCD-A58D-4D46-9772-CC214D2D1E32</RequestId>\\n<Data>\\n    <structure>prov=浙江省\\tcity=杭州市\\troad=文一西路\\troadNo=969号</structure>\\n    <time_used>\\n        <rt>\\n            <structure>0.006234884262084961</structure>\\n        </rt>\\n        <start>1589801057.2344782</start>\\n    </time_used>\\n    <status>OK</status>\\n</Data>","errorExample":""}]',
        ],
    ],
    'endpoints' => [
        ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'address-purification.cn-hangzhou.aliyuncs.com', 'endpoint' => 'address-purification.cn-hangzhou.aliyuncs.com', 'vpc' => 'address-purification-vpc.cn-hangzhou.aliyuncs.com'],
    ],
    'errorCodes' => [],
    'changeSet' => [],
];