{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mednode-in/json-schema/mednode-in-patient-booked-appointment-response-schema.json",
  "title": "PatientBookedAppointmentResponse",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mednode-in-openapi.json#/components/schemas/PatientBookedAppointmentResponse",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "doctor_user_id": {
      "type": "integer",
      "title": "Doctor User Id"
    },
    "doctor_name": {
      "type": "string",
      "title": "Doctor Name"
    },
    "doctor_specialty": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Doctor Specialty"
    },
    "hospital_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Hospital Name"
    },
    "patient_user_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Patient User Id"
    },
    "patient_name": {
      "type": "string",
      "title": "Patient Name"
    },
    "patient_phone": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Patient Phone"
    },
    "patient_email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Patient Email"
    },
    "appointment_date": {
      "type": "string",
      "format": "date",
      "title": "Appointment Date"
    },
    "appointment_time": {
      "type": "string",
      "title": "Appointment Time"
    },
    "duration_minutes": {
      "type": "integer",
      "title": "Duration Minutes"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "reason": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reason"
    },
    "notes": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Notes"
    },
    "mode": {
      "type": "string",
      "title": "Mode"
    },
    "meeting_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Meeting Url"
    },
    "token_number": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Token Number"
    },
    "wa_phone_sent": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Wa Phone Sent"
    },
    "queue_slug": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Queue Slug"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Updated At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "doctor_user_id",
    "doctor_name",
    "patient_name",
    "appointment_date",
    "appointment_time",
    "duration_minutes",
    "status",
    "mode",
    "created_at",
    "updated_at"
  ]
}