• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "intentName": "OpenScan",
3  "intentVersion": "1.0.1",
4  "llmDescription": "扫码",
5  "keywords": ["OpenScan"],
6  "domain": "ToolsDomain",
7  "parameters": {
8    "type": "object",
9    "propertyNames": {
10      "enum": [
11        "entityId",
12        "scanFunction"
13      ]
14    },
15    "properties": {
16      "entityId": {
17        "description": "数据唯一标识。",
18        "type": "string",
19        "maxLength": 64
20      },
21      "scanFunction": {
22        "description": "扫描里的功能。",
23        "type": "string",
24        "enum": [
25          "General",
26          "RecognizeText",
27          "RecognizeTranslation",
28          "RecognizeObjects",
29          "ScanCertificate",
30          "ScanIDCard",
31          "ScanHouseholdRegistrationRecord",
32          "ScanPassport",
33          "ScanDriverLicense",
34          "ScanVehicleLicense",
35          "ScanBankCard",
36          "ScanHousePropertyCard",
37          "ScanBusinessLicense",
38          "EraseHandwriting"
39        ]
40      }
41    }
42  },
43  "result": {
44    "type": "object",
45    "propertyNames": {
46      "enum": [
47        "code",
48        "result"
49      ]
50    },
51    "required": [
52      "code",
53      "result"
54    ],
55    "properties": {
56      "code": {
57        "description": "意图调用返回的结果码,0代表成功。",
58        "type": "number"
59      },
60      "result": {
61        "description": "意图调用返回的数据,如果无数据则返回空。",
62        "type": "object"
63      }
64    }
65  }
66}
67