{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-provider-company-sponsorships-controller-create-body-schema.json",
  "title": "Create_Sponsorship",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hint-health-sponsorship-api-openapi.yml#/components/schemas/Provider.CompanySponsorshipsController.create_body",
  "type": "object",
  "properties": {
    "is_subscriber": {
      "type": "boolean",
      "description": "Currently only employees may be subscribers"
    },
    "type": {
      "type": "string",
      "description": "May be one of \"employee\", \"spouse\", or \"child\""
    },
    "external_id": {
      "type": "string"
    },
    "patient": {
      "$ref": "#/$defs/Association"
    },
    "family": {
      "$ref": "#/$defs/Association",
      "description": "This will be returned to you upon creation of the employee. This is only required when creating dependents."
    }
  },
  "required": [
    "is_subscriber",
    "type",
    "patient"
  ],
  "$defs": {
    "Association": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "required": [
        "id"
      ]
    }
  }
}