data/schema/index.yaml

133 lines
2.3 KiB
YAML
Raw Normal View History

2024-01-25 21:38:08 +01:00
$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
2024-01-26 00:29:21 +01:00
tags:
type: array
items:
type: string
enum:
- sfe
2024-01-25 21:38:08 +01:00
date:
type: string
days:
type: number
city:
type: string
country:
type: string
pattern: "^\\w{2}$"
place:
type: string
2024-01-25 23:38:11 +01:00
place-address:
type: string
2024-01-25 21:38:08 +01:00
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
2024-02-02 06:12:21 +01:00
speakers:
type: array
2024-02-02 05:23:07 +01:00
person:
type: object
additionalProperties: false
required:
- name
properties:
2024-02-02 05:28:04 +01:00
id:
type: string
pattern: "^[a-z0-9-]+$"
2024-02-02 05:23:07 +01:00
name:
type: string
caption:
type: string
country:
type: string
pattern: '^[a-z]{2}$'
refs:
type: object
additionalProperties: false
properties:
twitter:
type: string
linkedin:
type: string
bsky:
type: string
imageUrl:
type: string
format: uri
2024-01-25 21:38:08 +01:00
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:
2024-02-02 05:23:07 +01:00
$ref: "#/$defs/event"
people:
type: array
items:
$ref: "#/$defs/person"