events/schema.yaml

49 lines
892 B
YAML
Raw Normal View History

2023-11-05 21:36:11 +01:00
$ref: "#/$defs/event"
2023-06-16 02:23:05 +02:00
$defs:
event:
type: object
additionalProperties: false
required:
- id
- date
- city
- country
properties:
id:
type: string
2023-11-05 21:36:11 +01:00
type:
type: string
enum:
- summit
- meetup
2023-11-05 21:57:24 +01:00
- hackathon
2023-06-16 02:23:05 +02:00
date:
type: string
2023-11-08 02:18:00 +01:00
days:
type: number
2023-06-16 02:23:05 +02:00
city:
type: string
country:
type: string
pattern: "^\\w{2}$"
coincidence:
type: string
lead:
type: string
2023-11-09 22:28:27 +01:00
helpers:
type: array
items:
type: string
2023-11-08 02:18:00 +01:00
slots:
type: number
2023-06-16 02:23:05 +02:00
visitors:
type: number
2023-11-09 21:05:26 +01:00
optional:
type: boolean
2023-06-16 02:23:05 +02:00
links:
type: object
additionalProperties: false
patternProperties:
"^[\\w]+":
type: string
format: uri