events/schema.yaml
2023-11-21 10:05:49 +01:00

53 lines
No EOL
965 B
YAML

$ref: "#/$defs/event"
$defs:
event:
type: object
additionalProperties: false
required:
- id
- date
- city
- country
properties:
id:
type: string
type:
type: string
enum:
- summit
- meetup
- hackathon
confirmed:
type: boolean
date:
type: string
days:
type: number
city:
type: string
country:
type: string
pattern: "^\\w{2}$"
place:
type: string
coincidence:
type: string
lead:
type: string
helpers:
type: array
items:
type: string
slots:
type: number
visitors:
type: number
optional:
type: boolean
links:
type: object
additionalProperties: false
patternProperties:
"^[\\w]+":
type: string
format: uri