{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openvisual.org/schema/contrast-loss/1.0",
  "title": "OVS: Contrast Loss",
  "description": "Reduced contrast sensitivity and hazy vision. Common in cataract, AMD, and VSS.",
  "allOf": [
    { "$ref": "https://openvisual.org/schema/symptom-base/1.0" },
    {
      "type": "object",
      "properties": {
        "ovs_type": { "const": "ovs:contrast-loss" },
        "strength": { "type": "number", "minimum": 0, "maximum": 1, "description": "Degree of contrast reduction. 1 = maximum haziness" }
      }
    }
  ]
}
