• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "intentName": "StartNavigate",
3  "intentVersion": "1.0.1",
4  "llmDescription": "开始导航",
5  "keywords": ["StartNavigate"],
6  "domain": "NavigationDomain",
7  "parameters": {
8    "type": "object",
9    "propertyNames": {
10      "enum": [
11        "entityId",
12        "srcLocation",
13        "dstLocation",
14        "wayPoints",
15        "dstLocationType",
16        "trafficType"
17      ]
18    },
19    "properties": {
20      "entityId": {
21        "description": "数据唯一标识。",
22        "type": "string"
23      },
24      "srcLocation": {
25        "description": "出发地信息,包括坐标系(缺省默认GCJ02),poi唯一标识,地点名称,经纬度,详细地址信息。",
26        "type": "object",
27        "properties": {
28          "poiId": {
29            "description": "唯一标识",
30            "type": "string"
31          },
32          "locationName": {
33            "description": "地点名称",
34            "type": "string"
35          },
36          "locationSystem": {
37            "description": "指定坐标系,(默认使用中国火星坐标系GCJ02)。",
38            "type": "string"
39          },
40          "longitude": {
41            "description": "经度",
42            "type": "string"
43          },
44          "latitude": {
45            "description": "纬度",
46            "type": "string"
47          },
48          "address": {
49            "description": "详细地址信息。",
50            "type": "string"
51          }
52        }
53      },
54      "dstLocation": {
55        "description": "目的地的信息,包括坐标系(缺省默认GCJ02),poi的唯一标识,地点名称,经纬度,详细地址信息。",
56        "type": "object",
57        "properties": {
58          "poiId": {
59            "description": "唯一标识",
60            "type": "string"
61          },
62          "locationName": {
63            "description": "地点名称",
64            "type": "string"
65          },
66          "locationSystem": {
67            "description": "指定坐标系,(默认使用中国火星坐标系GCJ02)。",
68            "type": "string"
69          },
70          "longitude": {
71            "description": "经度",
72            "type": "string"
73          },
74          "latitude": {
75            "description": "纬度",
76            "type": "string"
77          },
78          "address": {
79            "description": "详细地址信息",
80            "type": "string"
81          }
82        }
83      },
84      "wayPoints": {
85        "description": "途经点列表,最多传5个。",
86        "maxLength": 5,
87        "type": "array",
88        "items": {
89          "type": "object",
90          "properties": {
91            "poiId": {
92              "description": "唯一标识",
93              "type": "string"
94            },
95            "locationName": {
96              "description": "地点名称",
97              "type": "string"
98            },
99            "locationSystem": {
100              "description": "坐标系",
101              "type": "string"
102            },
103            "longitude": {
104              "description": "经度",
105              "type": "string"
106            },
107            "latitude": {
108              "description": "纬度",
109              "type": "string"
110            },
111            "address": {
112              "description": "详细地址信息",
113              "type": "string"
114            }
115          }
116        }
117      },
118      "dstLocationType": {
119        "description": "目的地类型,比如'家'、'公司'。",
120        "type": "string"
121      },
122      "trafficType": {
123        "description": "交通方式(类型),包括驾车、步行、骑行、公交地铁。",
124        "type": "string",
125        "enum": [
126          "Drive",
127          "Walk",
128          "Cycle",
129          "Bus",
130          "Subway"
131        ],
132        "default":"Drive"
133      }
134    }
135  },
136  "result": {
137    "type": "object",
138    "propertyNames": {
139      "enum": [
140        "code",
141        "result"
142      ]
143    },
144    "required": [
145      "code",
146      "result"
147    ],
148    "properties": {
149      "code": {
150        "description": "意图调用返回的结果码,0代表成功。",
151        "type": "number"
152      },
153      "result": {
154        "description": "意图调用返回的数据,如果无数据则返回空。",
155        "type": "object"
156      }
157    }
158  }
159}
160