{
  "additionalProperties": false,
  "properties": {
    "factor": {
      "anyOf": [
        {
          "maximum": 1000000.0,
          "minimum": -1000000.0,
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Factor"
    },
    "field": {
      "default": "close",
      "enum": [
        "open",
        "high",
        "low",
        "close"
      ],
      "title": "Field",
      "type": "string"
    },
    "offset": {
      "default": 1,
      "maximum": 20,
      "minimum": 0,
      "title": "Offset",
      "type": "integer"
    },
    "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": "prev_bar",
      "default": "prev_bar",
      "title": "Type",
      "type": "string"
    }
  },
  "title": "PrevBarSignalRef",
  "type": "object"
}
