# HG changeset patch # User Chris Cannam # Date 1474463270 -3600 # Node ID 05741ca642b179c2f540b212ee8ae7898684d5f6 # Parent 4c99014f5d0ce3d97ce454ab51ae1611e7ec7245 Types for enums diff -r 4c99014f5d0c -r 05741ca642b1 schema/enums.json --- a/schema/enums.json Wed Sep 21 09:33:45 2016 +0100 +++ b/schema/enums.json Wed Sep 21 14:07:50 2016 +0100 @@ -4,12 +4,15 @@ "description": "schema for Vamp serialisation enums", "definitions": { "input_domain": { + "type": "string", "enum": [ "TimeDomain", "FrequencyDomain" ] }, "sample_type": { + "type": "string", "enum": [ "OneSamplePerStep", "FixedSampleRate", "VariableSampleRate" ] }, "adapter_flags": { + "type": "string", "enum": [ "AdaptNone", "AdaptInputDomain", "AdaptChannelCount", "AdaptBufferSize", "AdaptAllSafe", "AdaptAll" ] }