2021-06-19 10:40:34 +02:00

20 lines
376 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
avatar:
type: string
discriminator:
type: string
pattern: "^[0-9]{4}$"
required:
- id
- name