'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'ocr', 'version' => '2019-12-30', ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'GetAsyncJobResult' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'JobId', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RecognizeBankCard' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RecognizeBusinessLicense' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RecognizeCharacter' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'MinHeight', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '5', ], ], [ 'name' => 'OutputProbability', 'in' => 'formData', 'schema' => [ 'type' => 'boolean', 'required' => true, ], ], ], ], 'RecognizeDriverLicense' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Side', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => [ 'face', 'back', ], ], ], ], ], 'RecognizeDrivingLicense' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Side', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => [ 'face', 'back', ], ], ], ], ], 'RecognizeIdentityCard' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Side', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => [ 'face', 'back', ], ], ], ], ], 'RecognizeLicensePlate' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RecognizeQrCode' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Tasks', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'ImageURL' => [ 'type' => 'string', 'required' => true, ], ], ], 'maxItems' => 10, ], ], ], ], 'RecognizeTable' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'OutputFormat', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => [ 'html', 'json', 'xlsx', ], ], ], [ 'name' => 'UseFinanceModel', 'in' => 'formData', 'schema' => [ 'type' => 'boolean', 'required' => true, ], ], [ 'name' => 'AssureDirection', 'in' => 'formData', 'schema' => [ 'type' => 'boolean', 'required' => true, ], ], [ 'name' => 'HasLine', 'in' => 'formData', 'schema' => [ 'type' => 'boolean', 'required' => true, ], ], [ 'name' => 'SkipDetection', 'in' => 'formData', 'schema' => [ 'type' => 'boolean', 'required' => true, ], ], ], ], 'RecognizeTaxiInvoice' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RecognizeTrainTicket' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RecognizeVATInvoice' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'FileURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'FileType', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, 'enum' => [ 'jpg', ], ], ], ], ], 'RecognizeVINCode' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RecognizePdf' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'FileURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RecognizeTicketInvoice' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RecognizeQuotaInvoice' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], 'RecognizeVideoCharacter' => [ 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'VideoURL', 'in' => 'formData', 'schema' => [ 'type' => 'string', 'required' => true, ], ], ], ], ], 'endpoints' => [ [ 'regionId' => 'cn-shanghai', 'endpoint' => 'ocr.cn-shanghai.aliyuncs.com', ], ], ];