{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/collectly/json-schema/collectly-patient-form-schema.json",
  "title": "PatientForm",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/collectly-patient-forms-api-openapi.yml#/components/schemas/PatientForm",
  "properties": {
    "card": {},
    "card_id": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "client_id": {
      "format": "int32",
      "type": "integer"
    },
    "company": {
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "created_at": {
      "readOnly": true
    },
    "data": {},
    "date_of_birth": {
      "format": "date",
      "type": "string"
    },
    "email": {
      "maxLength": 255,
      "type": [
        "string",
        "null"
      ]
    },
    "first_name": {
      "type": "string"
    },
    "form_type": {
      "type": "string"
    },
    "guarantor_first_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "guarantor_last_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "readOnly": true,
      "type": "string"
    },
    "last_name": {
      "type": "string"
    },
    "modified_at": {
      "readOnly": true
    },
    "patient_id": {
      "format": "int32",
      "type": "integer"
    },
    "phone": {
      "maxLength": 20,
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": [
        "string",
        "null"
      ]
    },
    "zip_code": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "date_of_birth",
    "first_name",
    "last_name"
  ],
  "type": "object"
}