changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "booked_for": {
+ "description": "Passenger name when booked for someone else",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "driver": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "properties": {
+ "name": {
+ "description": "Driver name",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "phone": {
+ "description": "Driver phone",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "plate": {
+ "description": "Plate number",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rating": {
+ "anyOf": [
+ {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Driver rating"
+ },
+ "vehicle": {
+ "description": "Vehicle"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Assigned driver, null until one is assigned"
+ },
+ "dropoff": {
+ "description": "Drop-off place",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "duplicate": {
+ "description": "true when the same booking was already made",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "fare_etb": {
+ "anyOf": [
+ {
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Fixed fare in birr"
+ },
+ "next_step": {
+ "description": "What to tell the user now",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "note": {
+ "description": "How to use or present this result",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payment_method": {
+ "description": "cash, telebirr or chapa",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "payment_status": {
+ "description": "Payment status",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pickup": {
+ "description": "Pickup place",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "requested_at": {
+ "description": "When the ride was requested (ISO time)",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "ride_id": {
+ "description": "Ride id (needed for get_ride_status and cancel_ride)",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source_url": {
+ "description": "bina.et page this result comes from; cite it",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "dispatching, assigned, arriving, arrived, ontrip, completed, cancelled, or test_booking",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "test": {
+ "description": "true for a reviewer test booking (no driver is sent)",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "tier": {
+ "description": "Vehicle tier",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "tracking_url": {
+ "description": "Live tracking page",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "whatsapp": {
+ "description": "BinaSmart WhatsApp support",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+}