Skip to content

Commit 00a7b2e

Browse files
committed
Squashed 'dependencies/buttplug-schema/' changes from 9029daa..1af4db0
1af4db0 schema: Roll version number to 0.1.0 e03a27e schema: Add VorzeA10CycloneCmd 8bb0e03 schema: Fix documentation strings git-subtree-dir: dependencies/buttplug-schema git-subtree-split: 1af4db0
1 parent 1dd6fc1 commit 00a7b2e

1 file changed

Lines changed: 32 additions & 4 deletions

File tree

dependencies/buttplug-schema/schema/buttplug-schema.json

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json-schema.org/draft-06/schema#",
33
"title": "Buttplug Message Schema",
4-
"version": "0.0.1",
4+
"version": "0.1.0",
55
"description": "The JSON Protocol format for the Buttplug Protocol.",
66
"components" : {
77
"Id": {
@@ -384,7 +384,7 @@
384384
"Id": {"$ref": "#/components/Id"},
385385
"DeviceIndex": { "$ref" : "#/components/DeviceIndex" },
386386
"Command": {
387-
"description": "Command to send to Lovense device.",
387+
"description": "Raw byte string to send to device.",
388388
"type": "array",
389389
"items": {
390390
"type": "integer",
@@ -410,7 +410,7 @@
410410
"Id": {"$ref": "#/components/Id"},
411411
"DeviceIndex": { "$ref" : "#/components/DeviceIndex" },
412412
"Command": {
413-
"description": "Command to send to Lovense device.",
413+
"description": "Command to send to Kiiroo device.",
414414
"type": "string"
415415
}
416416
},
@@ -423,6 +423,33 @@
423423
"Command"
424424
]
425425
},
426+
"VorzeA10CycloneCmd": {
427+
"type": "object",
428+
"description": "Sends a raw byte string to a Kiiroo Onyx/Pearl device.",
429+
"properties": {
430+
"Id": {"$ref": "#/components/Id"},
431+
"DeviceIndex": { "$ref" : "#/components/DeviceIndex" },
432+
"Speed": {
433+
"description": "Rotation speed command for the Cyclone.",
434+
"type": "integer",
435+
"minimum": 0,
436+
"maximum": 100
437+
},
438+
"Clockwise": {
439+
"description": "True for clockwise rotation (in relation to device facing user), false for Counter-clockwise",
440+
"type": "boolean"
441+
}
442+
},
443+
"minProperties": 4,
444+
"maxProperties": 4,
445+
"additionalProperties": false,
446+
"required": [
447+
"Id",
448+
"DeviceIndex",
449+
"Speed",
450+
"Clockwise"
451+
]
452+
},
426453
"StopDeviceCmd": {
427454
"type": "object",
428455
"description": "Stops the all actions currently being taken by a device.",
@@ -469,7 +496,8 @@
469496
"LovenseCmd": {"$ref": "#/messages/LovenseCmd"},
470497
"SingleMotorVibrateCmd": {"$ref": "#/messages/SingleMotorVibrateCmd"},
471498
"KiirooCmd": {"$ref": "#/messages/KiirooCmd"},
472-
"RawCmd": {"$ref": "#/messages/RawCmd"}
499+
"RawCmd": {"$ref": "#/messages/RawCmd"},
500+
"VorzeA10CycloneCmd": {"$ref": "#/messages/VorzeA10CycloneCmd"}
473501
},
474502
"additionalProperties": false,
475503
"minProperties": 1,

0 commit comments

Comments
 (0)