mirror of
https://github.com/web3privacy/data
synced 2024-10-15 18:16:28 +02:00
Added member logic to schema (based off people)
This commit is contained in:
parent
e4c7454f63
commit
0b21f34f83
1 changed files with 40 additions and 0 deletions
|
@ -140,6 +140,39 @@ $defs:
|
||||||
format: uri
|
format: uri
|
||||||
thumbs:
|
thumbs:
|
||||||
type: object
|
type: object
|
||||||
|
member:
|
||||||
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
required:
|
||||||
|
- name
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
pattern: "^[a-z0-9-]+$"
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
refs:
|
||||||
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
twitter:
|
||||||
|
type: string
|
||||||
|
linkedin:
|
||||||
|
type: string
|
||||||
|
bsky:
|
||||||
|
type: string
|
||||||
|
github:
|
||||||
|
type: string
|
||||||
|
matrix:
|
||||||
|
type: string
|
||||||
|
email:
|
||||||
|
type: string
|
||||||
|
imageUrl:
|
||||||
|
type: string
|
||||||
|
format: uri
|
||||||
|
thumbs:
|
||||||
|
type: object
|
||||||
|
|
||||||
research:
|
research:
|
||||||
type: object
|
type: object
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
|
@ -196,6 +229,7 @@ properties:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
projects:
|
projects:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
@ -211,6 +245,12 @@ properties:
|
||||||
items:
|
items:
|
||||||
$ref: "#/$defs/person"
|
$ref: "#/$defs/person"
|
||||||
|
|
||||||
|
members:
|
||||||
|
type: array
|
||||||
|
items:
|
||||||
|
$ref: "#/$defs/person"
|
||||||
|
|
||||||
|
|
||||||
research:
|
research:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
|
|
Loading…
Reference in a new issue