{
  "additionalProperties": false,
  "properties": {
    "anchor_field": {
      "enum": [
        "open",
        "high",
        "low",
        "close",
        "mid",
        "range"
      ],
      "title": "Anchor Field",
      "type": "string"
    },
    "anchor_id": {
      "title": "Anchor Id",
      "type": "string"
    },
    "factor": {
      "anyOf": [
        {
          "maximum": 1000000.0,
          "minimum": -1000000.0,
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Factor"
    },
    "resolution": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional higher-timeframe override for this value ref. Set it inside lhs/rhs refs such as {'type': 'indicator', ..., 'resolution': '4h'} or {'type': 'price', 'field': 'close', 'resolution': '4h'}. Do not put timeframe/source_timeframe on the parent condition. None = strategy timeframe.",
      "title": "Resolution"
    },
    "type": {
      "const": "anchor",
      "default": "anchor",
      "title": "Type",
      "type": "string"
    }
  },
  "required": [
    "anchor_id",
    "anchor_field"
  ],
  "title": "AnchorSignalRef",
  "type": "object"
}
