40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:GovernmentService",
|
|
"title": "GovernmentService",
|
|
"description": "A service provided by a government organization, e.g. food stamps, veterans benefits, etc.",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "A service provided by an organization, e.g. delivery service, print services, etc.",
|
|
"$ref": "schema:Service"
|
|
}
|
|
],
|
|
"properties": {
|
|
"jurisdiction": {
|
|
"description": "Indicates a legal jurisdiction, e.g. of some legislation, or where some government service is based.",
|
|
"oneOf": [
|
|
{
|
|
"anyOf": [
|
|
{ "type": "string" },
|
|
{ "$ref": "schema:AdministrativeArea" }
|
|
]
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [
|
|
{ "type": "string" },
|
|
{ "$ref": "schema:AdministrativeArea" }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"serviceOperator": {
|
|
"description": "The operating organization, if different from the provider. This enables the representation of services that are provided by an organization, but operated by another organization like a subcontractor.",
|
|
"$ref": "schema:Organization"
|
|
}
|
|
}
|
|
}
|