{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-public-company-blueprint-all-schema.json",
  "title": "Public.CompanyBlueprint_all",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hint-health-company-api-openapi.yml#/components/schemas/Public.CompanyBlueprint_all",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "employee_divisions_count": {
        "type": "integer",
        "format": "int32"
      },
      "name": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "address": {
        "$ref": "#/$defs/Public.AddressBlueprint_leaf"
      },
      "default_location": {
        "$ref": "#/$defs/Public.LocationBlueprint_min"
      },
      "default_plan": {
        "$ref": "#/$defs/Public.PlanBlueprint_min"
      },
      "default_practitioner": {
        "$ref": "#/$defs/Public.PractitionerBlueprint_min"
      },
      "employee_divisions": {
        "$ref": "#/$defs/Public.EmployeeDivisionBlueprint_leaf"
      },
      "phones": {
        "$ref": "#/$defs/Public.PhoneBlueprint_leaf"
      }
    }
  },
  "$defs": {
    "Public.AddressBlueprint_leaf": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "line1": {
          "type": "string"
        },
        "line2": {
          "type": "string"
        },
        "state": {
          "type": "string"
        },
        "zip": {
          "type": "string"
        },
        "latitude": {
          "type": "number",
          "format": "float"
        },
        "longitude": {
          "type": "number",
          "format": "float"
        }
      }
    },
    "Public.EmployeeDivisionBlueprint_leaf": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "Public.LocationBlueprint_min": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "Public.PhoneBlueprint_leaf": {
      "type": "object",
      "properties": {
        "number": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      }
    },
    "Public.PlanBlueprint_min": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "plan_type": {
          "type": "string"
        }
      }
    },
    "Public.PractitionerBlueprint_min": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    }
  }
}