{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/infinihash-com/json-schema/infinihash-com-create-submission-schema.json",
  "title": "CreateSubmission",
  "description": "Fields not listed here are silently dropped. country and jurisdiction are normalised to ISO-3166 alpha-2; a FATF-listed jurisdiction raises riskTier to high.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kyc-api-infinihash-openapi.json#/components/schemas/CreateSubmission",
  "type": "object",
  "required": [
    "entityType",
    "entityName"
  ],
  "properties": {
    "entityType": {
      "type": "string",
      "enum": [
        "individual",
        "listed_public",
        "wholly_owned_sub",
        "pension_erisa",
        "governmental",
        "nonprofit",
        "trust",
        "spv",
        "complex",
        "private_corp"
      ]
    },
    "entityName": {
      "type": "string",
      "minLength": 2,
      "maxLength": 300
    },
    "riskTier": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high"
      ],
      "default": "low"
    },
    "lei": {
      "type": "string"
    },
    "crd": {
      "type": "string"
    },
    "jurisdiction": {
      "type": "string"
    },
    "ticker": {
      "type": "string"
    },
    "country": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "naicsCode": {
      "type": "string"
    },
    "businessDescription": {
      "type": "string"
    },
    "registrationNumber": {
      "type": "string"
    },
    "incorporationDate": {
      "type": "string"
    },
    "principalPlaceOfBusiness": {
      "type": "string"
    },
    "dob": {
      "type": "string"
    },
    "nationality": {
      "type": "string"
    },
    "sourceDoc": {
      "type": "string"
    },
    "addressLine1": {
      "type": "string"
    },
    "addressLine2": {
      "type": "string"
    },
    "city": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "postalCode": {
      "type": "string"
    },
    "smartImport": {
      "type": "boolean"
    },
    "officers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Person"
      }
    },
    "owners": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Person"
      }
    },
    "signatory": {
      "$ref": "#/$defs/Person"
    }
  },
  "$defs": {
    "Person": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "role": {
          "type": "string"
        },
        "ownershipPct": {
          "type": "number"
        },
        "dob": {
          "type": "string"
        },
        "nationality": {
          "type": "string"
        }
      },
      "additionalProperties": true
    }
  }
}