2024-05-08 23:39:13 +02:00

22 lines
420 B
YAML

$schema: http://json-schema.org/draft-07/schema
type: array
items:
anyOf:
- type: object
properties:
id:
type: string
pattern: "^[0-9]+$"
name:
type: string
displayName:
type: string
avatar:
type: string
discriminator:
type: string
pattern: "^[0-9]{4}$"
required:
- id
- name