This repository was archived by the owner on Oct 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +76
-0
lines changed Expand file tree Collapse file tree 2 files changed +76
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "manifest" : {
3
+ "displayName" : " Blinky light" ,
4
+ "invocationName" : " Blinky light" ,
5
+ "category" : " PRODUCTIVITY"
6
+ },
7
+ "actions" : [
8
+ {
9
+ "name" : " com.acme.actions.blink_light" ,
10
+ "availability" : {
11
+ "deviceClasses" : [
12
+ {
13
+ "assistantSdkDevice" : {}
14
+ }
15
+ ]
16
+ },
17
+ "intent" : {
18
+ "name" : " com.acme.intents.blink_light" ,
19
+ "parameters" : [
20
+ {
21
+ "name" : " number" ,
22
+ "type" : " SchemaOrg_Number"
23
+ },
24
+ {
25
+ "name" : " light_target" ,
26
+ "type" : " LightType"
27
+ }
28
+ ],
29
+ "trigger" : {
30
+ "queryPatterns" : [
31
+ " blink the $LightType:light_target $SchemaOrg_Number:number times"
32
+ ]
33
+ }
34
+ },
35
+ "fulfillment" : {
36
+ "staticFulfillment" : {
37
+ "templatedResponse" : {
38
+ "items" : [
39
+ {
40
+ "simpleResponse" : {
41
+ "textToSpeech" : " Blinking the $light_target.raw $number times"
42
+ }
43
+ },
44
+ {
45
+ "deviceExecution" : {
46
+ "command" : " com.acme.commands.blink_light" ,
47
+ "params" : {
48
+ "lightKey" : " $light_target" ,
49
+ "number" : " $number"
50
+ }
51
+ }
52
+ }
53
+ ]
54
+ }
55
+ }
56
+ }
57
+ }
58
+ ],
59
+ "types" : [
60
+ {
61
+ "name" : " $LightType" ,
62
+ "entities" : [
63
+ {
64
+ "key" : " LIGHT" ,
65
+ "synonyms" : [
66
+ " LED" ,
67
+ " light" ,
68
+ " bulb" ,
69
+ " light bulb"
70
+ ]
71
+ }
72
+ ]
73
+ }
74
+ ]
75
+ }
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ def lint(session):
26
26
'nox.py' , 'setup.py' )
27
27
session .run ('python' , 'setup.py' , 'check' ,
28
28
'--restructuredtext' , '--strict' )
29
+ session .run ('python' , '-m' , 'json.tool' , 'actions.json' )
29
30
30
31
31
32
@nox .session
You can’t perform that action at this time.
0 commit comments