-
Daniel Hornung authoredDaniel Hornung authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
simple_schema.json 3.13 KiB
{
"type": "object",
"properties": {
"Training": {
"type": "object",
"required": [],
"additionalProperties": false,
"title": "Training",
"properties": {
"name": {
"type": "string",
"description": "The name of the Record to be created"
},
"date": {
"description": "The date of the training.",
"anyOf": [
{
"type": "string",
"format": "date"
},
{
"type": "string",
"format": "date-time"
}
]
},
"url": {
"type": "string",
"description": "The URL"
},
"subjects": {
"type": "array",
"items": {
"type": "string"
}
},
"coach": {
"type": "array",
"items": {
"type": "object",
"required": [],
"additionalProperties": false,
"title": "coach",
"properties": {
"name": {
"type": "string",
"description": "The name of the Record to be created"
},
"family_name": {
"type": "string"
},
"given_name": {
"type": "string"
},
"Organisation": {
"enum": [
"Federal Reserve"
]
}
}
}
},
"supervisor": {
"type": "object",
"required": [],
"additionalProperties": false,
"title": "supervisor",
"properties": {
"name": {
"type": "string",
"description": "The name of the Record to be created"
},
"family_name": {
"type": "string"
},
"given_name": {
"type": "string"
},
"Organisation": {
"enum": [
"Federal Reserve"
]
}
}
},
"duration": {
"type": "number"
},
"participants": {
"type": "integer"
},
"remote": {
"type": "boolean"
},
"slides": {
"type": "string",
"format": "data-url"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
},
"Person": {
"type": "object",
"required": [],
"additionalProperties": false,
"title": "Person",
"properties": {
"name": {
"type": "string",
"description": "The name of the Record to be created"
},
"family_name": {
"type": "string"
},
"given_name": {
"type": "string"
},
"Organisation": {
"enum": [
"Federal Reserve"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}
},
"required": [
"Training",
"Person"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}