{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FieldWasClause",
  "title": "FieldWasClause",
  "description": "A clause that asserts a previous value of a field. For example, `status WAS \"Resolved\" BY currentUser() BEFORE \"2019/02/02\"`. See [WAS](https://confluence.atlassian.com/x/dgiiLQ#Advancedsearching-operatorsreference-WASWAS) for more information about the WAS operator.",
  "properties": {
    "field": {
      "$ref": "#/components/schemas/JqlQueryField"
    },
    "operand": {
      "$ref": "#/components/schemas/JqlQueryClauseOperand"
    },
    "operator": {
      "description": "The operator between the field and operand.",
      "enum": [
        "was",
        "was in",
        "was not in",
        "was not"
      ],
      "type": "string"
    },
    "predicates": {
      "description": "The list of time predicates.",
      "items": {
        "$ref": "#/components/schemas/JqlQueryClauseTimePredicate"
      },
      "type": "array"
    }
  },
  "required": [
    "field",
    "operand",
    "operator",
    "predicates"
  ],
  "type": "object"
}