{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openvisual.org/schema/blue-field-entoptic/1.0",
  "title": "OVS: Blue Field Entoptic Phenomenon",
  "description": "Scheerer phenomenon — perception of small bright dots moving rapidly along curved paths, caused by leukocytes moving through retinal capillaries. Almost universally reported in VSS.",
  "allOf": [
    { "$ref": "https://openvisual.org/schema/symptom-base/1.0" },
    {
      "type": "object",
      "properties": {
        "ovs_type":  { "const": "ovs:blue-field-entoptic" },
        "count":     { "type": "integer", "minimum": 0, "description": "Number of perceived dots" },
        "dot_shape": { "type": "string",  "enum": ["circle", "arc", "spark"], "description": "Morphology of each perceived dot" },
        "movement":  { "type": "string",  "enum": ["squiggly", "flow"], "description": "Path pattern of the moving dots" },
        "dot_size":  { "type": "number",  "minimum": 0, "maximum": 1, "description": "Perceived dot size (normalized)" },
        "alpha":     { "type": "number",  "minimum": 0, "maximum": 1, "description": "Dot opacity" },
        "speed":     { "type": "number",  "minimum": 0, "maximum": 1, "description": "Movement speed" },
        "color_rgba":{ "type": "string",  "description": "Dot tint color" }
      }
    }
  ]
}
