{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/geoarmtaxi-com/json-schema/geoarmtaxi-com-config-schema.json",
  "title": "Config",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/geoarmtaxi-com-openapi.json#/components/schemas/Config",
  "type": "object",
  "properties": {
    "currencies": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "GEL",
          "USD",
          "AMD"
        ]
      }
    },
    "types": {
      "type": "object",
      "description": "Car types by id: `sprinter` (minibus), `minivan`, `sedan`.",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "max": {
            "type": "integer",
            "description": "Seats"
          },
          "price": {
            "$ref": "#/$defs/Price",
            "description": "Per passenger, one way"
          },
          "whole": {
            "$ref": "#/$defs/Price",
            "description": "Whole vehicle, one way (optional)"
          }
        }
      }
    },
    "points": {
      "type": "object",
      "description": "Departure points by direction (`tbs-evn`, `evn-tbs`).",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "object",
              "additionalProperties": {
                "type": "string"
              }
            },
            "lat": {
              "type": "number"
            },
            "lng": {
              "type": "number"
            },
            "price": {
              "anyOf": [
                {
                  "$ref": "#/$defs/Price"
                },
                {
                  "type": "null"
                }
              ],
              "description": "The point's own price per passenger, if it has one"
            }
          }
        }
      }
    },
    "addressPickup": {
      "type": "boolean",
      "description": "Whether pick-up from an address (`point: \"@addr\"`) is offered"
    },
    "schedule": {
      "type": "object",
      "description": "Departure times (HH:MM, Tbilisi/Yerevan time) by direction.",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      }
    }
  },
  "$defs": {
    "Price": {
      "type": "object",
      "description": "Amount per currency code; a currency that is not offered is absent.",
      "additionalProperties": {
        "type": "number"
      }
    }
  }
}