File tree Expand file tree Collapse file tree 4 files changed +85
-2
lines changed
Expand file tree Collapse file tree 4 files changed +85
-2
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # Usage:
3+ # - make setup (Install or Update the Redocly CLI)
4+ # - make verify (Validate that the specification is valid)
5+ #
6+
7+ setup :
8+ @command -v npm > /dev/null 2>&1 || { echo >&2 " NPM is required in order to install the Redocly CLI" ; exit 1; }
9+ @echo " Installing the Redocly CLI..."
10+ @npm i -g @redocly/cli@latest
11+
12+ verify : verify.redocly
13+ @redocly lint
14+
15+ verify.redocly :
16+ @command -v redocly > /dev/null 2>&1 || { echo >&2 " The Redocly CLI is not installed" ; exit 1; }
17+
Original file line number Diff line number Diff line change 1010 - name : lightId
1111 in : path
1212 schema :
13- type : integer
13+ type : string
1414 required : true
1515 description : ID of the light.
1616 responses :
6161 - name : lightId
6262 in : path
6363 schema :
64- type : integer
64+ type : string
6565 required : true
6666 description : ID of the light.
6767 requestBody :
Original file line number Diff line number Diff line change 1+ type : string
2+ description : Light archetype
3+ enum :
4+ - unknown_archetype
5+ - classic_bulb
6+ - sultan_bulb
7+ - flood_bulb
8+ - spot_bulb
9+ - candle_bulb
10+ - luster_bulb
11+ - pendant_round
12+ - pendant_long
13+ - ceiling_round
14+ - ceiling_square
15+ - floor_shade
16+ - floor_lantern
17+ - table_shade
18+ - recessed_ceiling
19+ - recessed_floor
20+ - single_spot
21+ - double_spot
22+ - table_wash
23+ - wall_lantern
24+ - wall_shade
25+ - flexible_lamp
26+ - ground_spot
27+ - wall_spot
28+ - plug
29+ - hue_go
30+ - hue_lightstrip
31+ - hue_iris
32+ - hue_bloom
33+ - bollard
34+ - wall_washer
35+ - hue_play
36+ - vintage_bulb
37+ - vintage_candle_bulb
38+ - ellipse_bulb
39+ - triangle_bulb
40+ - small_globe_bulb
41+ - large_globe_bulb
42+ - edison_bulb
43+ - christmas_tree
44+ - string_light
45+ - hue_centris
46+ - hue_lightstrip_tv
47+ - hue_lightstrip_pc
48+ - hue_tube
49+ - hue_signe
50+ - pendant_spot
51+ - ceiling_horizontal
52+ - ceiling_tube
Original file line number Diff line number Diff line change @@ -13,6 +13,20 @@ properties:
1313 pattern : ^(\/[a-z]{4,32}\/[0-9a-zA-Z-]{1,32})?$
1414 owner :
1515 $ref : ' ./ResourceIdentifier.yaml'
16+ metadata :
17+ type : object
18+ description : Deprecated, use metadata on device level
19+ properties :
20+ name :
21+ type : string
22+ description : Human readable name of a resource
23+ archetype :
24+ $ref : ' ./LightArchetype.yaml'
25+ fixed_mired :
26+ type : integer
27+ minimum : 0
28+ maximum : 100
29+ description : A fixed mired value of the white lamp
1630 on :
1731 type : object
1832 properties :
You can’t perform that action at this time.
0 commit comments