data/schema/index.yaml

97 lines
No EOL
1.6 KiB
YAML

$defs:
project:
type: object
additionalProperties: false
required:
- id
- name
properties:
id:
type: string
name:
type: string
type:
type: string
enum:
- research
links:
type: object
event:
type: object
additionalProperties: false
required:
- id
- date
- city
- country
properties:
id:
type: string
type:
type: string
enum:
- summit
- meetup
- hackathon
confirmed:
type: boolean
tags:
type: array
items:
type: string
enum:
- sfe
date:
type: string
days:
type: number
city:
type: string
country:
type: string
pattern: "^\\w{2}$"
place:
type: string
place-address:
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
type: object
additionalProperties: false
properties:
name:
type: string
links:
type: object
core-team:
type: array
projects:
type: array
items:
$ref: "#/$defs/project"
events:
type: array
items:
$ref: "#/$defs/event"