|
1 | 1 | { |
2 | 2 | "$schema": "http://json-schema.org/draft-06/schema#", |
3 | 3 | "title": "Buttplug Message Schema", |
4 | | - "version": "0.0.1", |
| 4 | + "version": "0.1.0", |
5 | 5 | "description": "The JSON Protocol format for the Buttplug Protocol.", |
6 | 6 | "components" : { |
7 | 7 | "Id": { |
|
384 | 384 | "Id": {"$ref": "#/components/Id"}, |
385 | 385 | "DeviceIndex": { "$ref" : "#/components/DeviceIndex" }, |
386 | 386 | "Command": { |
387 | | - "description": "Command to send to Lovense device.", |
| 387 | + "description": "Raw byte string to send to device.", |
388 | 388 | "type": "array", |
389 | 389 | "items": { |
390 | 390 | "type": "integer", |
|
410 | 410 | "Id": {"$ref": "#/components/Id"}, |
411 | 411 | "DeviceIndex": { "$ref" : "#/components/DeviceIndex" }, |
412 | 412 | "Command": { |
413 | | - "description": "Command to send to Lovense device.", |
| 413 | + "description": "Command to send to Kiiroo device.", |
414 | 414 | "type": "string" |
415 | 415 | } |
416 | 416 | }, |
|
423 | 423 | "Command" |
424 | 424 | ] |
425 | 425 | }, |
| 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 | + }, |
426 | 453 | "StopDeviceCmd": { |
427 | 454 | "type": "object", |
428 | 455 | "description": "Stops the all actions currently being taken by a device.", |
|
469 | 496 | "LovenseCmd": {"$ref": "#/messages/LovenseCmd"}, |
470 | 497 | "SingleMotorVibrateCmd": {"$ref": "#/messages/SingleMotorVibrateCmd"}, |
471 | 498 | "KiirooCmd": {"$ref": "#/messages/KiirooCmd"}, |
472 | | - "RawCmd": {"$ref": "#/messages/RawCmd"} |
| 499 | + "RawCmd": {"$ref": "#/messages/RawCmd"}, |
| 500 | + "VorzeA10CycloneCmd": {"$ref": "#/messages/VorzeA10CycloneCmd"} |
473 | 501 | }, |
474 | 502 | "additionalProperties": false, |
475 | 503 | "minProperties": 1, |
|
0 commit comments