-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No more nested objects in the ScenePut and ScenePost payloads (#29)
- Loading branch information
Showing
6 changed files
with
65 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
type: object | ||
properties: | ||
name: | ||
type: string | ||
minLength: 1 | ||
maxLength: 32 | ||
description: Human readable name of a resource | ||
image: | ||
$ref: '../../common/ResourceIdentifier.yaml' | ||
appdata: | ||
type: string | ||
minLength: 1 | ||
maxLength: 16 | ||
description: Application specific data. Free format string. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
type: object | ||
description: Group of colors that describe the palette of colors to be used when playing dynamics | ||
properties: | ||
color: | ||
type: array | ||
minItems: 0 | ||
maxItems: 9 | ||
items: | ||
$ref: './ColorPaletteGet.yaml' | ||
dimming: | ||
type: array | ||
minItems: 0 | ||
maxItems: 1 | ||
items: | ||
$ref: '../../common/Dimming.yaml' | ||
color_temperature: | ||
type: array | ||
minItems: 0 | ||
maxItems: 1 | ||
items: | ||
$ref: './ColorTemperaturePalettePost.yaml' | ||
effects: | ||
type: array | ||
minItems: 0 | ||
maxItems: 3 | ||
items: | ||
type: object | ||
properties: | ||
effect: | ||
$ref: '../../common/SupportedEffects.yaml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
type: object | ||
properties: | ||
action: | ||
type: string | ||
description: When writing active, the actions in the scene are executed on the target. dynamic_palette starts dynamic scene with colors in the Palette object. | ||
enum: | ||
- active | ||
- dynamic_palette | ||
- static | ||
duration: | ||
type: integer | ||
description: Transition to the scene within the timeframe given by duration | ||
dimming: | ||
$ref: '../../common/Dimming.yaml' |