{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openvisual.org/schema/diplopia/1.0",
  "title": "OVS: Diplopia",
  "description": "Double vision — perception of two offset images of a single object. Binocular or monocular origin.",
  "allOf": [
    { "$ref": "https://openvisual.org/schema/symptom-base/1.0" },
    {
      "type": "object",
      "properties": {
        "ovs_type":       { "const": "ovs:diplopia" },
        "direction_deg":  { "type": "number", "description": "Offset angle of the duplicate image in degrees" },
        "rotation_deg":   { "type": "number", "description": "Rotation of the duplicate image in degrees" }
      }
    }
  ]
}
