npm install -g quicktype
quicktype flexible-device.json -l schema -o schema.json -t FlexiBLEDevice
NOTE: The schema flexible.schema.json
is generated from flexible-device.json
using QuickType, however many details are manually edited:
title
anddescription
are added to all objects