Skip to content

InputReading schema mismatch with actual output #801

@blackspherefollower

Description

@blackspherefollower

Testing using intiface-engine with a WSDM Lovense device, acording to the schema I expect the result of InputCommand(Battery) to be:

[{"InputReading":{"Id":1,"DeviceIndex":0,"FeatureIndex":1,"Data":{"Battery":100}}}]

But I get:

[{"InputReading":{"Id":1,"DeviceIndex":0,"FeatureIndex":1,"Data":{"Battery":{"Data":100}}}}]

This results in a schema validation error of Value is [object] but should be [integer] - /0/InputReading/Data/Battery

I'm not sure if the schema is wrong or the serialisation.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions