{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openvisual.org/schema/metamorphopsia/1.0",
  "title": "OVS: Metamorphopsia",
  "description": "Distortion of visual images where straight lines appear wavy or curved. Characteristic of macular degeneration, epiretinal membrane, and macular holes.",
  "allOf": [
    { "$ref": "https://openvisual.org/schema/symptom-base/1.0" },
    {
      "type": "object",
      "properties": {
        "ovs_type":   { "const": "ovs:metamorphopsia" },
        "wave_speed": { "type": "number", "minimum": 0, "maximum": 1, "description": "Speed of the warp animation" }
      }
    }
  ]
}
