{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateRuleRequest",
  "title": "UpdateRuleRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "enabled": {
      "type": "boolean"
    },
    "priority": {
      "type": "integer"
    },
    "condition": {
      "type": "string"
    },
    "rolloutPercentage": {
      "type": "integer"
    },
    "startDate": {
      "type": "string",
      "format": "date-time"
    },
    "endDate": {
      "type": "string",
      "format": "date-time"
    },
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Setting"
      }
    }
  }
}