34 lines
1.5 KiB
JSON
34 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:SportsTeam",
|
|
"title": "SportsTeam",
|
|
"description": "Organization: Sports team.",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "Represents the collection of all sports organizations, including sports teams, governing bodies, and sports associations.",
|
|
"$ref": "schema:SportsOrganization"
|
|
}
|
|
],
|
|
"properties": {
|
|
"athlete": {
|
|
"description": "A person that acts as performing member of a sports team; a player as opposed to a coach.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:Person" },
|
|
{ "type": "array", "items": { "$ref": "schema:Person" } }
|
|
]
|
|
},
|
|
"coach": {
|
|
"description": "A person that acts in a coaching role for a sports team.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:Person" },
|
|
{ "type": "array", "items": { "$ref": "schema:Person" } }
|
|
]
|
|
},
|
|
"gender": {
|
|
"description": "Gender of something, typically a [[Person]], but possibly also fictional characters, animals, etc. While https://schema.org/Male and https://schema.org/Female may be used, text strings are also acceptable for people who are not a binary gender. The [[gender]] property can also be used in an extended sense to cover e.g. the gender of sports teams. As with the gender of individuals, we do not try to enumerate all possibilities. A mixed-gender [[SportsTeam]] can be indicated with a text value of \"Mixed\".",
|
|
"anyOf": [{ "type": "string" }, { "$ref": "schema:GenderType" }]
|
|
}
|
|
}
|
|
}
|