1
0
mirror of https://github.com/chylex/Discord-History-Tracker.git synced 2024-12-22 23:42:50 +01:00
Discord-History-Tracker/app/Resources/Schemas/track-channel.yml

43 lines
689 B
YAML

$schema: http://json-schema.org/draft-07/schema
type: object
properties:
server:
type: object
properties:
id:
type: string
pattern: "^[0-9]+$"
name:
type: string
type:
type: string
enum:
- SERVER
- GROUP
- DM
required:
- id
- name
- type
channel:
type: object
properties:
id:
type: string
pattern: "^[0-9]+$"
name:
type: string
position:
type: number
minimum: 0
topic:
type: string
nsfw:
type: boolean
required:
- id
- name
required:
- server
- channel