ZnanyLekarz · Schema

Booking

CompanyHealthcareHealth TechAppointmentsBookingMedicalMarketplaceDoctorsSchedulingPolandPractice ManagementTelehealth

Properties

Name Type Description
id string
status string
start_at string
end_at string
duration integer
booked_by string
canceled_by string
booked_at string
canceled_at stringnull
moving object
patient object
address_service object
comment stringnull
presence stringnull
insurance object
visit_payment booleannull
visit_payment_status stringnull
videocall_url stringnull
View JSON Schema on GitHub

JSON Schema

znanylekarz-booking-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/znanylekarz/main/json-schema/znanylekarz-booking-schema.json",
  "title": "Booking",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/znanylekarz-bookings-api-openapi.yml#/components/schemas/Booking",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "start_at": {
      "type": "string",
      "format": "date-time"
    },
    "end_at": {
      "type": "string",
      "format": "date-time"
    },
    "duration": {
      "type": "integer"
    },
    "booked_by": {
      "type": "string",
      "enum": [
        "user",
        "doctor",
        "integration"
      ]
    },
    "canceled_by": {
      "type": "string",
      "enum": [
        "",
        "user",
        "doctor",
        "integration"
      ]
    },
    "booked_at": {
      "type": "string",
      "format": "date-time"
    },
    "canceled_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "moving": {
      "allOf": [
        {
          "$ref": "#/$defs/BookingMoving"
        }
      ]
    },
    "patient": {
      "$ref": "#/$defs/BookingPatient"
    },
    "address_service": {
      "allOf": [
        {
          "$ref": "#/$defs/AddressService"
        }
      ]
    },
    "comment": {
      "type": [
        "string",
        "null"
      ]
    },
    "presence": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "present",
        "absent"
      ]
    },
    "insurance": {
      "allOf": [
        {
          "$ref": "#/$defs/Insurance"
        }
      ]
    },
    "visit_payment": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "visit_payment_status": {
      "type": [
        "string",
        "null"
      ]
    },
    "videocall_url": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "$defs": {
    "AddressService": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "price": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Integer part of the price (decimals truncated)"
        },
        "is_price_from": {
          "type": "boolean",
          "description": "If true, the price is the minimum price of the service"
        },
        "is_default": {
          "type": "boolean"
        },
        "service_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "duration": {
          "type": "integer"
        },
        "is_visible": {
          "type": "boolean"
        },
        "allowed_patients": {
          "allOf": [
            {
              "$ref": "#/$defs/AllowedPatientsData"
            }
          ]
        },
        "custom_name": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "AllowedPatientsData": {
      "type": "object",
      "properties": {
        "minimum_age": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Minimum age of patients allowed for this service"
        },
        "maximum_age": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Maximum age of patients allowed for this service"
        }
      }
    },
    "BookingMoving": {
      "type": "object",
      "properties": {
        "origin_booking_id": {
          "type": "string"
        },
        "newest_booking_id": {
          "type": "string"
        }
      }
    },
    "BookingPatient": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "surname": {
          "type": "string"
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "phone": {
          "type": [
            "string",
            "null"
          ]
        },
        "birth_date": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "nin": {
          "type": [
            "string",
            "null"
          ]
        },
        "gender": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "m",
            "f"
          ]
        },
        "is_returning": {
          "type": "boolean"
        },
        "insurance_number": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "Insurance": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "plan": {
          "type": [
            "string",
            "null"
          ]
        },
        "plan_id": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/znanylekarz-booking"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.