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

35 lines
775 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: [ProfileAttributeRule]
condition_object_type:
type: string
required: true
enum: [ProfileSelectAttribute, ProfileSearchAttribute, OwnerSelectAttribute, OwnerSearchAttribute, ContributorSelectAttribute, ContributorSearchAttribute]
condition_object_id:
type: string
required: true
format: uuid
comparison_operator:
type: string
required: true
enum: ['include?', 'exclude?']
value:
type: string
required: true
format: uuid
_destroy:
type: boolean
default: false