{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Fare", "title": "Fare", "type": "object", "description": "The total fare for a transit route", "properties": { "currency": { "type": "string", "description": "ISO 4217 currency code", "example": "USD" }, "value": { "type": "number", "description": "The total fare amount in the specified currency", "example": 6.5 }, "text": { "type": "string", "description": "Human-readable fare text", "example": "$6.50" } }, "required": [ "currency", "value", "text" ] }