explorer-data/schema/rank.yaml
2024-09-12 18:36:07 +02:00

41 lines
No EOL
765 B
YAML

type: object
properties:
id:
type: string
name:
type: string
references:
type: array
items:
type: object
properties:
field:
type: string
label:
type: string
condition:
type: object
properties:
exists:
type: boolean
minLength:
type: integer
regex:
type: string
equals:
oneOf:
- type: boolean
- type: string
- type: integer
points:
type: integer
required:
- field
- label
- condition
- points
required:
- id
- name
- references
additionalProperties: false