{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.mod.lfo.schema.json",
  "title": "rig.mod.lfo",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "waveform": {
      "type": "string",
      "enum": [
        "sine",
        "tri",
        "saw",
        "square"
      ]
    },
    "frequency": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "amplitude": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "offset": {
      "$ref": "./_defs.schema.json#/$defs/float"
    },
    "phase": {
      "$ref": "./_defs.schema.json#/$defs/float"
    }
  },
  "required": [
    "waveform",
    "frequency"
  ]
}
