{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/financegenius-ai/json-schema/financegenius-ai-rights-intake-schema.json",
  "title": "RightsIntake",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/financegenius-ai-crm-compliance-api-openapi.yml#/components/schemas/RightsIntake",
  "properties": {
    "customer_ref": {
      "type": "string",
      "format": "uuid",
      "title": "Customer Ref"
    },
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "intake_channel": {
      "type": "string",
      "title": "Intake Channel",
      "default": "voice"
    },
    "detail": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "null"
        }
      ],
      "title": "Detail"
    },
    "nominee": {
      "anyOf": [
        {
          "$ref": "#/$defs/NomineeIn"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "customer_ref",
    "kind"
  ],
  "$defs": {
    "NomineeIn": {
      "properties": {
        "full_name": {
          "type": "string",
          "maxLength": 120,
          "title": "Full Name"
        },
        "relationship": {
          "type": "string",
          "title": "Relationship"
        },
        "contact": {
          "type": "string",
          "maxLength": 120,
          "title": "Contact"
        }
      },
      "type": "object",
      "required": [
        "full_name",
        "relationship",
        "contact"
      ],
      "title": "NomineeIn"
    }
  }
}