Files
api-specs/nerm/schemas/PATCH/RiskRule.yaml
2023-05-12 15:35:08 -04:00

31 lines
572 B
YAML

type: object
properties:
id:
type: string
format: uuid
readOnly: true
uid:
type: string
minLength: 32
maxLength: 32
readOnly: true
type:
type: string
required: true
enum: [RiskRule]
comparison_operator:
type: string
enum: ['==', '>', '<']
value:
type: string
summary: id of the Risk Level being compared against
required: true
format: uuid
secondary_value:
type: string
required: true
enum: [OverallRisk]
_destroy:
type: boolean
default: false