big tings
This commit is contained in:
31
registry/schema-org/BusTrip.schema.json
Normal file
31
registry/schema-org/BusTrip.schema.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "schema:BusTrip",
|
||||
"title": "BusTrip",
|
||||
"description": "A trip on a commercial bus line.",
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"description": "A trip or journey. An itinerary of visits to one or more places.",
|
||||
"$ref": "schema:Trip"
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"arrivalBusStop": {
|
||||
"description": "The stop or station from which the bus arrives.",
|
||||
"anyOf": [{ "$ref": "schema:BusStation" }, { "$ref": "schema:BusStop" }]
|
||||
},
|
||||
"busName": {
|
||||
"description": "The name of the bus (e.g. Bolt Express).",
|
||||
"type": "string"
|
||||
},
|
||||
"busNumber": {
|
||||
"description": "The unique identifier for the bus.",
|
||||
"type": "string"
|
||||
},
|
||||
"departureBusStop": {
|
||||
"description": "The stop or station from which the bus departs.",
|
||||
"anyOf": [{ "$ref": "schema:BusStation" }, { "$ref": "schema:BusStop" }]
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user