{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/spliceforms/main/json-schema/spliceforms-nominee-schema.json",
  "title": "Nominee",
  "description": "Specifies the personal information of the nominee designated by the account holder.",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/spliceforms-capture-services-openapi.yml#/components/schemas/Nominee",
  "type": "object",
  "x-package": "nomination",
  "x-stoplight": {
    "id": "70bneppghra7k"
  },
  "required": [
    "name",
    "dob",
    "address",
    "relationshipWithApplicant"
  ],
  "properties": {
    "name": {
      "description": "The full name of the individual nominated by the account holder to receive the benefits or proceeds of the account in the event of the account holder's demise.",
      "x-unresolved-stoplight-ref": "stoplight://resources/overrides/5yNhk1Hgfig"
    },
    "dob": {
      "description": "If nominee dob is less than 18yrs then guardian details in \"guardian\" has to be filled. ",
      "x-unresolved-stoplight-ref": "stoplight://resources/overrides/UEKAfGKnXtA"
    },
    "address": {
      "$ref": "#/$defs/NomineeAddress"
    },
    "relationshipWithApplicant": {
      "description": "Relationship of Nominee with Applicant/Depositor.\nThe allowed values will have to comply with the values of codeset",
      "x-unresolved-stoplight-ref": "stoplight://resources/overrides/02QZBj0cg1s"
    },
    "guardian": {
      "$ref": "#/$defs/Guardian"
    },
    "sharePercentage": {
      "x-stoplight": {
        "id": "z2a474uhtz3pr"
      },
      "x-unresolved-stoplight-ref": "stoplight://resources/overrides/IVykiNdyptI"
    }
  },
  "$defs": {
    "Guardian": {
      "type": "object",
      "title": "Guardian",
      "description": "It refers to the information related to the person who will act as a legal guardian for the nominee in case the nominee is a minor or unable to manage their own affairs.",
      "x-stoplight": {
        "id": "lghrra139m815"
      },
      "required": [
        "name",
        "dob",
        "address"
      ],
      "properties": {
        "name": {
          "description": "Full name of the guardian",
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/5yNhk1Hgfig"
        },
        "dob": {
          "description": "The exact date on which the guardian was born, including the day, month, and year.",
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/UEKAfGKnXtA"
        },
        "relationshipWithNominee": {
          "description": "Specifies the nature of the connection between two parties. The allowed values will have to comply with the values of \"nomineeRelationCode\" codeset.",
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/rCj13ihpGbg"
        },
        "address": {
          "$ref": "#/$defs/GuardianAddress"
        }
      }
    },
    "GuardianAddress": {
      "type": "object",
      "title": "GuardianAddress",
      "description": "Specifies the complete address details of the guardian.",
      "x-package": "nomination",
      "x-stoplight": {
        "id": "v86vldk7j4odh"
      },
      "required": [
        "line",
        "cityCode",
        "stateCode",
        "countryCode",
        "pinCode"
      ],
      "properties": {
        "line": {
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/cJk4qn60FYo"
        },
        "cityCode": {
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/e716yeYODOc"
        },
        "stateCode": {
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/Cvh9dy4b2Bc"
        },
        "countryCode": {
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/TefCsIHCKhs"
        },
        "pinCode": {
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/Ov8lL8w72Jo"
        }
      }
    },
    "NomineeAddress": {
      "type": "object",
      "title": "NomineeAddress",
      "description": "Specifies the complete address details of the nominee.",
      "x-package": "nomination",
      "x-stoplight": {
        "id": "u5dcf6yibq6yq"
      },
      "required": [
        "line",
        "cityCode",
        "stateCode",
        "countryCode",
        "pinCode"
      ],
      "properties": {
        "line": {
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/cJk4qn60FYo"
        },
        "cityCode": {
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/e716yeYODOc"
        },
        "stateCode": {
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/Cvh9dy4b2Bc"
        },
        "countryCode": {
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/TefCsIHCKhs"
        },
        "pinCode": {
          "x-unresolved-stoplight-ref": "stoplight://resources/overrides/Ov8lL8w72Jo"
        }
      }
    }
  }
}