44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://raw.githubusercontent.com/Weyoune/openbmh/main/docs/formats/obw/schema/1.0/staff.json",
|
|
"type": "object",
|
|
"properties": {
|
|
"schema": {
|
|
"const": "staff@1.0"
|
|
},
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"pattern": "^staff:[a-zA-Z0-9._-]+$"
|
|
},
|
|
"name": {
|
|
"$ref": "common.json#/$defs/localized"
|
|
},
|
|
"role": {
|
|
"type": "string"
|
|
},
|
|
"team": {
|
|
"$ref": "common.json#/$defs/team_id"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"name",
|
|
"role"
|
|
],
|
|
"additionalProperties": true
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"schema",
|
|
"items"
|
|
],
|
|
"additionalProperties": true,
|
|
"$comment": "SPDX-License-Identifier: GPL-3.0-only; initial legacy-database-v1 conversion profile."
|
|
}
|