explorer-data/schema/rank.yaml

46 lines
849 B
YAML
Raw Permalink Normal View History

2024-09-12 17:36:51 +02:00
type: object
properties:
id:
type: string
name:
type: string
references:
type: array
items:
type: object
properties:
field:
type: string
label:
type: string
positive:
type: string
negative:
type: string
condition:
2024-09-12 17:36:51 +02:00
type: object
properties:
exists:
type: boolean
minLength:
type: integer
regex:
type: string
equals:
oneOf:
- type: boolean
- type: string
- type: integer
2024-09-12 17:36:51 +02:00
points:
type: integer
required:
- field
- label
- condition
2024-09-12 17:36:51 +02:00
- points
required:
- id
- name
- references
additionalProperties: false