datamule 1.2.3__py3-none-any.whl → 1.2.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -147,21 +147,30 @@ class Document:
147
147
  return process_tabular_data(self)
148
148
 
149
149
 
150
- def write_csv(self, output_folder, accession_number=None):
150
+ def write_csv(self, output_folder):
151
+ output_folder = Path(output_folder)
152
+ output_folder.mkdir(exist_ok=True)
151
153
 
152
- tables = self.to_tabular(accession_number)
154
+ tables = self.to_tabular()
153
155
 
154
156
  if not tables:
155
157
  return
156
158
 
157
159
  for table in tables:
158
160
  fieldnames = table.columns
159
- output_filename = Path(output_folder) / f"{table.type}.csv"
161
+ output_filename = output_folder / f"{table.type}.csv"
162
+
163
+ # Check if the file already exists
164
+ if output_filename.exists():
160
165
 
161
- with open(output_filename, 'w', newline='') as csvfile:
162
- writer = csv.DictWriter(csvfile,fieldnames=fieldnames, quoting=csv.QUOTE_ALL)
163
- writer.writeheader()
164
- writer.writerows(table.data)
166
+ with open(output_filename, 'a', newline='') as csvfile:
167
+ writer = csv.DictWriter(csvfile,fieldnames=fieldnames, quoting=csv.QUOTE_ALL)
168
+ writer.writerows(table.data)
169
+ else:
170
+ with open(output_filename, 'w', newline='') as csvfile:
171
+ writer = csv.DictWriter(csvfile, fieldnames=fieldnames, quoting=csv.QUOTE_ALL)
172
+ writer.writeheader()
173
+ writer.writerows(table.data)
165
174
 
166
175
 
167
176
  def _document_to_section_text(self, document_data, parent_key=''):
File without changes
@@ -0,0 +1,208 @@
1
+ # ATS-N metadata mapping
2
+ metadata_ats_dict = {
3
+ 'filerInfo_filer_filerCredentials_ccc': 'filerCcc',
4
+ 'filerInfo_filer_filerCredentials_cik': 'filerCik',
5
+ 'filerInfo_flags_confirmingCopyFlag': 'confirmingCopyFlag',
6
+ 'filerInfo_flags_overrideInternetFlag': 'overrideInternetFlag',
7
+ 'filerInfo_liveTestFlag': 'liveTestFlag',
8
+ 'submissionType': 'submissionType'
9
+ }
10
+
11
+ cover_ats_dict = {
12
+ 'rbOperatesPursuantToFormATS' : 'operatesPursuantToFormATS',
13
+ 'txNMSStockATSName' : 'atsName'
14
+ }
15
+
16
+ part_one_ats_dict = {
17
+ 'atsNames_atsName_@txPart1Item3ATSName': 'formalATSName',
18
+ 'cbPart1Item8Exhibit1atWebsite': 'exhibit1AtWebsite',
19
+ 'cbPart1Item9Exhibit2atWebsite': 'exhibit2AtWebsite',
20
+ 'part1Item5bEffectiveMembershipDate': 'membershipEffectiveDate',
21
+ 'part1Item7PrimarySite_city': 'primarySiteCity',
22
+ 'part1Item7PrimarySite_state': 'primarySiteState',
23
+ 'part1Item7PrimarySite_street1': 'primarySiteStreet1',
24
+ 'part1Item7PrimarySite_street2': 'primarySiteStreet2',
25
+ 'part1Item7PrimarySite_zip': 'primarySiteZip',
26
+ 'part1Item7SecondarySiteRecords_secondarySiteI7_city': 'secondarySiteCity',
27
+ 'part1Item7SecondarySiteRecords_secondarySiteI7_state': 'secondarySiteState',
28
+ 'part1Item7SecondarySiteRecords_secondarySiteI7_street1': 'secondarySiteStreet1',
29
+ 'part1Item7SecondarySiteRecords_secondarySiteI7_street2': 'secondarySiteStreet2',
30
+ 'part1Item7SecondarySiteRecords_secondarySiteI7_zip': 'secondarySiteZip',
31
+ 'rbPart1Item1IsBd': 'isBrokerDealer',
32
+ 'txPart1Item2ATSName': 'marketName',
33
+ 'txPart1Item4aBdCrdNumber': 'brokerDealerCrdNumber',
34
+ 'txPart1Item4aBdFileNumber': 'brokerDealerFileNumber',
35
+ 'txPart1Item5aNsaFullName': 'nsaFullName',
36
+ 'txtPart1Item5cNmsStockMPID': 'stockMPID',
37
+ 'txtPart1Item6uwebsite': 'website'
38
+ }
39
+
40
+ part_two_ats_dict = {
41
+ 'affiliatesPermittedToEnterInterest_@rbPart2Item2aAreAfflPermittedToEnterInterest': 'affiliatesPermittedToEnterInterest',
42
+ 'affiliatesPermittedToEnterInterest_part2Item2bAreSevicestoAfflSametoSubscribers_@rbPart2Item2bAreSevicestoAfflSametoSubscribers': 'areServicesToAffiliatesSameAsSubscribers',
43
+ 'affiliatesPermittedToEnterInterest_part2Item2bAreSevicestoAfflSametoSubscribers_taPart2Item2bExplainDiff': 'differenceInAffiliateServicesExplanation',
44
+ 'affiliatesPermittedToEnterInterest_rbPart2Item2bAreSevicestoAfflSametoSubscribers': 'servicesEqualForAffiliatesAndSubscribers',
45
+ 'affiliatesPermittedToEnterInterest_rbPart2Item2cAreThereArrangementsWithAffl': 'arrangementsWithAffiliatesExist',
46
+ 'affiliatesPermittedToEnterInterest_taPart2Item2aAfflThatEnterInterest': 'affiliatesThatEnterInterest',
47
+ 'part2Item1aArePermittedToEnterInterest_@rbPart2Item1aArePermittedToEnterInterest': 'brokerDealerPermittedToEnterInterest',
48
+ 'part2Item1aArePermittedToEnterInterest_part2Item1bAreSevicesSametoAllSubscribers_@rbPart2Item1bAreSevicesSametoAllSubscribers': 'areServicesSameToAllSubscribers',
49
+ 'part2Item1aArePermittedToEnterInterest_part2Item1bAreSevicesSametoAllSubscribers_taPart2Item2bExplainDiff': 'differenceInSubscriberServicesExplanation',
50
+ 'part2Item1aArePermittedToEnterInterest_rbPart2Item1bAreSevicesSametoAllSubscribers': 'servicesEqualForAllSubscribers',
51
+ 'part2Item1aArePermittedToEnterInterest_rbPart2Item1cAreThereArrangements': 'brokerDealerArrangementsExist',
52
+ 'part2Item1aArePermittedToEnterInterest_taPart2Item1aUnitNamesEnterInterest': 'unitNamesThatEnterInterest',
53
+ 'part2Item3aCanSubscrOptOutWithOATIOfAffl_@rbPart2Item3aCanSubscrOptOutWithOATIOfAffl': 'canOptOutOfAffiliateOrderInteraction',
54
+ 'part2Item3aCanSubscrOptOutWithOATIOfAffl_taPart2Item3bExplianOptOut': 'affiliateOptOutExplanation',
55
+ 'part2Item3aCanSubscrOptOutWithOATIOfBD_@rbPart2Item3aCanSubscrOptOutWithOATIOfBD': 'canOptOutOfBrokerDealerOrderInteraction',
56
+ 'part2Item3aCanSubscrOptOutWithOATIOfBD_taPart2Item3aExplianOptOut': 'brokerDealerOptOutExplanation',
57
+ 'part2Item4aAreThereArrangementsBtwBDAndTC_@rbPart2Item4aAreThereArrangementsBtwBDAndTC': 'arrangementsExistBetweenBrokerDealerAndTradingCenter',
58
+ 'part2Item4aAreThereArrangementsBtwBDAndTC_rbPart2Item4bAreThereArrangementsBtwAfflAndTC': 'arrangementsExistBetweenAffiliateAndTradingCenter',
59
+ 'part2Item4aAreThereArrangementsBtwBDAndTC_taPart2Item4aTDAndATSServices': 'tradingCenterAndATSServicesDescription',
60
+ 'part2Item5aDoesOfferProductsAndServices_@rbPart2Item5aDoesOfferProductsAndServices': 'offersProductsAndServices',
61
+ 'part2Item5aDoesOfferProductsAndServices_part2Item5bAreSevicesSametoAllSubscribersAndBD_@rbPart2Item5bAreSevicesSametoAllSubscribersAndBD': 'areServicesSameToAllSubscribersAndBrokerDealer',
62
+ 'part2Item5aDoesOfferProductsAndServices_part2Item5bAreSevicesSametoAllSubscribersAndBD_taPart2Item5bExplainDiff': 'differenceInServicesExplanation',
63
+ 'part2Item5aDoesOfferProductsAndServices_rbPart2Item5bAreSevicesSametoAllSubscribersAndBD': 'servicesEqualForAllSubscribersAndBrokerDealer',
64
+ 'part2Item5aDoesOfferProductsAndServices_taPart2Item5aProductsAndServices': 'productsAndServicesDescription',
65
+ 'part2Item5cDoesAfflOfferProductsAndServices_@rbPart2Item5cDoesAfflOfferProductsAndServices': 'affiliateOffersProductsAndServices',
66
+ 'part2Item5cDoesAfflOfferProductsAndServices_rbPart2Item5dAreTCOfSevicesSametoAll': 'affiliateServicesEqualForAll',
67
+ 'part2Item5cDoesAfflOfferProductsAndServices_taPart2Item5cAfflProvidedProductsAndServices': 'affiliateProvidedProductsAndServicesDescription',
68
+ 'part2Item6aDoesEmployeeAccessConfidentialInfo_@rbPart2Item6aDoesEmployeeAccessConfidentialInfo': 'employeeAccessToConfidentialInfo',
69
+ 'part2Item6aDoesEmployeeAccessConfidentialInfo_taPart2Item6aUnitAfflEmployeeServices': 'unitAffiliateEmployeeServicesDescription',
70
+ 'part2Item6bDoesAnyEntitySupportServices_@rbPart2Item6bDoesAnyEntitySupportServices': 'entitySupportServicesExist',
71
+ 'part2Item6bDoesAnyEntitySupportServices_part2Item6cDoesServiceProviderUseATSServices_@rbPart2Item6cDoesServiceProviderUseATSServices': 'serviceProviderUsesATSServices',
72
+ 'part2Item6bDoesAnyEntitySupportServices_part2Item6cDoesServiceProviderUseATSServices_rbPart2Item6dAreATSSevicesSametoAll': 'atsServicesEqualForAll',
73
+ 'part2Item6bDoesAnyEntitySupportServices_part2Item6cDoesServiceProviderUseATSServices_taPart2Item6cProviderAfflAndServicesUsed': 'providerAffiliateAndServicesUsedDescription',
74
+ 'part2Item6bDoesAnyEntitySupportServices_rbPart2Item6cDoesServiceProviderUseATSServices': 'serviceProviderUsesATSServices',
75
+ 'part2Item6bDoesAnyEntitySupportServices_taPart2Item6bServiceProvider': 'serviceProviderDescription',
76
+ 'part2Item7bCanSubscriberConsentToDisclosure_@rbPart2Item7bCanSubscriberConsentToDisclosure': 'subscriberCanConsentToDisclosure',
77
+ 'part2Item7bCanSubscriberConsentToDisclosure_part2Item7cCanSubscriberWithdrawConsent_@rbPart2Item7cCanSubscriberWithdrawConsent': 'subscriberCanWithdrawConsent',
78
+ 'part2Item7bCanSubscriberConsentToDisclosure_part2Item7cCanSubscriberWithdrawConsent_taPart2Item7cExplainHowAndConditions': 'withdrawConsentExplanation',
79
+ 'part2Item7bCanSubscriberConsentToDisclosure_taPart2Item7bExplainHowAndConditions': 'consentToDisclosureExplanation',
80
+ 'rbPart2Item1aArePermittedToEnterInterest': 'permittedToEnterInterest',
81
+ 'rbPart2Item1dCanOATInterestBeRouted': 'orderInterestCanBeRouted',
82
+ 'rbPart2Item2aAreAfflPermittedToEnterInterest': 'affiliatesPermittedToEnterInterest',
83
+ 'rbPart2Item2dCanOATIBeRoutedByAffl': 'orderInterestCanBeRoutedByAffiliate',
84
+ 'rbPart2Item3aCanSubscrOptOutWithOATIOfAffl': 'subscriberCanOptOutOfAffiliateInteraction',
85
+ 'rbPart2Item3aCanSubscrOptOutWithOATIOfBD': 'subscriberCanOptOutOfBrokerDealerInteraction',
86
+ 'rbPart2Item3cAreOptOutSametoAllSubscribers': 'optOutOptionsEqualForAllSubscribers',
87
+ 'rbPart2Item4aAreThereArrangementsBtwBDAndTC': 'arrangementsBetweenBrokerDealerAndTradingCenterExist',
88
+ 'rbPart2Item5aDoesOfferProductsAndServices': 'offersProductsAndServices',
89
+ 'rbPart2Item5cDoesAfflOfferProductsAndServices': 'affiliateOffersProductsAndServices',
90
+ 'rbPart2Item7bCanSubscriberConsentToDisclosure': 'subscriberCanConsentToDisclosure',
91
+ 'taPart2Item7aDescrOfSafeGaurdsAndProcedures': 'safeguardsAndProceduresDescription',
92
+ 'taPart2Item7dSummaryOfRolesRespOfPersons': 'rolesAndResponsibilitiesSummary'
93
+ }
94
+
95
+ part_three_ats_dict = {
96
+ 'part3Item10eDiffDtls_@rbPart3Item10eIsAnyDifBtwnPreOpExecFlwngStpg': 'differencesBetweenPreOpExecution',
97
+ 'part3Item10eDiffDtls_taPart3Item10eDiffDtls': 'preOperationExecutionDifferences',
98
+ 'part3Item11dDiffDtls_@rbPart3Item11dIsProcsRulsSameForAll': 'processingRulesSameForAll',
99
+ 'part3Item11dDiffDtls_taPart3Item11dDiffDtls': 'processingRulesDifferences',
100
+ 'part3Item13aSegmntDtls_@rbPart3Item13aIsOrdrTiSegmntd': 'orderTradingInterestSegmented',
101
+ 'part3Item13aSegmntDtls_part3Item13bSegmntDtls_@rbPart3Item13bIsSegmntatnSameForAll': 'segmentationSameForAll',
102
+ 'part3Item13aSegmntDtls_part3Item13bSegmntDtls_taPart3Item13bSegDiffDtls': 'segmentationDifferences',
103
+ 'part3Item13aSegmntDtls_part3Item13dDsclrContntDtls_@rbPart3Item13dIsSegCatgDisclosd': 'segmentCategoryDisclosed',
104
+ 'part3Item13aSegmntDtls_part3Item13dDsclrContntDtls_rbPart3Item13eIsDsclosrSameForAll': 'disclosureSameForAll',
105
+ 'part3Item13aSegmntDtls_part3Item13dDsclrContntDtls_taPart3Item13dDsclosrContntDtls': 'disclosureContentDetails',
106
+ 'part3Item13aSegmntDtls_rbPart3Item13bIsSegmntatnSameForAll': 'segmentationSameForAll',
107
+ 'part3Item13aSegmntDtls_taPart3Item13aSegProcdurDtls': 'segmentationProcedureDetails',
108
+ 'part3Item14aCntrPrtySelectnDtls_@rbPart3Item14aIsDsgToIntrctOrNot': 'designatedToInteract',
109
+ 'part3Item14aCntrPrtySelectnDtls_rbPart3Item14bIsSelectnSameForAll': 'counterpartySelectionSameForAll',
110
+ 'part3Item14aCntrPrtySelectnDtls_taPart3Item14aCntrPrtyDtls': 'counterpartyDetails',
111
+ 'part3Item15bSubSctbDtls_@rbPart3Item15bIsSubScrbOrdBnd': 'subscriberOrderBound',
112
+ 'part3Item15bSubSctbDtls_rbPart3Item15cIsDsplyProcSameForAll': 'displayProcedureSameForAll',
113
+ 'part3Item15bSubSctbDtls_taPart3Item15bSubscrBndDtls': 'subscriberBindingDetails',
114
+ 'part3Item16aAffirInstrDtls_@rbPart3Item16aIsInstRoutd': 'instructionRouted',
115
+ 'part3Item16aAffirInstrDtls_part3Item16bAffirmInstrDtls_@rbPart3Item16bIsRoutdBefrInstr': 'routedBeforeInstruction',
116
+ 'part3Item16aAffirInstrDtls_part3Item16bAffirmInstrDtls_taPart3Item16bAffirmInstrDiffDtls': 'affirmInstructionDifferences',
117
+ 'part3Item17aAffirInstrDtls_@rbPart3Item17aIsDiffBtwnOrdTITrtmnt': 'differencesBetweenOrderTrading',
118
+ 'part3Item17aAffirInstrDtls_taPart3Item17aTrtmntDiffDtls': 'treatmentDifferences',
119
+ 'part3Item18aTrdingHrDtls_@rbPart3Item18aIsOutsdeTrdingHrs': 'outsideTradingHours',
120
+ 'part3Item18aTrdingHrDtls_part3Item18bOutsdHrsDiffDtls_@rbPart3Item18bIsAnyDiffInTrdingOutSdHrs': 'differenceInOutsideHoursTrading',
121
+ 'part3Item18aTrdingHrDtls_part3Item18bOutsdHrsDiffDtls_taPart3Item18bDiffDtls': 'outsideHoursDifferences',
122
+ 'part3Item18aTrdingHrDtls_rbPart3Item18cIsTrtedDiffOutsdHrs': 'treatedDifferentlyOutsideHours',
123
+ 'part3Item26PlatFrmData_@rbPart3Item26IsOrdrFloExecStatsPublshd': 'orderFlowExecutionStatsPublished',
124
+ 'part3Item26PlatFrmData_cbPart3Item26iInfoRqstdUndrExbt4AvlblAtWebst': 'exhibit4InfoAvailableAtWebsite',
125
+ 'part3Item26PlatFrmData_cbPart3Item26iiInfoRqstdUndrExbt5AvlblAtWebst': 'exhibit5InfoAvailableAtWebsite',
126
+ 'part3Item2bSummaryOfConditions_@rbPart3Item2bIsThereOtherConditions': 'otherConditionsExist',
127
+ 'part3Item2bSummaryOfConditions_rbPart3Item2cIsConditionsSameForAll': 'conditionsSameForAll',
128
+ 'part3Item2bSummaryOfConditions_taPart3Item2bSummaryOfCndtns': 'summaryOfConditions',
129
+ 'part3Item3aSumryOfExcludngCondtns_@rbPart3Item3aIsExcludeSubscriber': 'excludeSubscriber',
130
+ 'part3Item3aSumryOfExcludngCondtns_part3Item3bSummaryOfConditions_@rbPart3Item3bIsCondtnsSameForAll': 'excludedConditionsSameForAll',
131
+ 'part3Item3aSumryOfExcludngCondtns_part3Item3bSummaryOfConditions_taPart3Item3bSummaryOfDifferences': 'excludingConditionsDifferences',
132
+ 'part3Item3aSumryOfExcludngCondtns_rbPart3Item3bIsCondtnsSameForAll': 'excludingConditionsSameForAll',
133
+ 'part3Item3aSumryOfExcludngCondtns_taPart3Item3aExcludngSumryDtls': 'excludingSummaryDetails',
134
+ 'part3Item5aProtocolDetails_@rbPart3Item5aIsPermitOrdrTradng': 'permitOrderTrading',
135
+ 'part3Item5aProtocolDetails_rbPart3Item5bIsProtclsameForAll': 'protocolSameForAll',
136
+ 'part3Item5aProtocolDetails_taPart3Item5aProtocolused': 'protocolUsed',
137
+ 'part3Item5cOthrDtls_@rbPart3Item5cIsAnyOtherMeans': 'anyOtherMeans',
138
+ 'part3Item5cOthrDtls_rbPart3Item5dIsTnCSameForAll': 'termsAndConditionsSameForAll',
139
+ 'part3Item5cOthrDtls_taPart3Item5cOthrMeansDtls': 'otherMeansDetails',
140
+ 'part3Item6aProtocolDetails_@rbPart3Item6aIsCoLocRltdSrvcsOfrd': 'coLocationRelatedServicesOffered',
141
+ 'part3Item6aProtocolDetails_rbPart3Item6bIsTNCsameForAll': 'termsAndConditionsSameForCoLocation',
142
+ 'part3Item6aProtocolDetails_taPart3Item6aCoLocRltdSrvcsDtls': 'coLocationRelatedServicesDetails',
143
+ 'part3Item8aSizeReqrmnts_@rbPart3Item8aIsMinOrMaxSizeReqd': 'minOrMaxSizeRequired',
144
+ 'part3Item8aSizeReqrmnts_part3Item8bReqProcDetails_@rbPart3Item8bIsReqProcSameForAll': 'requirementProcedureSameForAll',
145
+ 'part3Item8aSizeReqrmnts_part3Item8bReqProcDetails_taPart3Item8bDiffrncsInOtiReqrmnts': 'differencesInOrderRequirements',
146
+ 'part3Item8aSizeReqrmnts_rbPart3Item8bIsReqProcSameForAll': 'requirementProcedureSameForAll',
147
+ 'part3Item8aSizeReqrmnts_taPart3Item8aOtiSizeReqrmns': 'orderSizeRequirements',
148
+ 'part3Item8cOddltOrdrReqs_@rbPart3Item8cIsOddLotsAcptdExecutd': 'oddLotsAcceptedExecuted',
149
+ 'part3Item8cOddltOrdrReqs_rbPart3Item8dIsReqsProcdurSameForAll': 'requirementsProcedureSameForAll',
150
+ 'part3Item8cOddltOrdrReqs_taPart3Item8cOddLtOrdrReqsnProcdurs': 'oddLotOrderRequirementsAndProcedures',
151
+ 'part3Item8eMixltOrdrDetails_@rbPart3Item8eIsMixLotOrdrsAcptdExecutd': 'mixedLotOrdersAcceptedExecuted',
152
+ 'part3Item8eMixltOrdrDetails_rbPart3Item8fIsRecProcSameForAll': 'receivingProcedureSameForAll',
153
+ 'part3Item8eMixltOrdrDetails_taPart3Item8eMixltOrdrReqsProcDtls': 'mixedLotOrderRequirementsDetails',
154
+ 'part3Item9aMsgDtls_@rbPart3Item9aIsAnyMsgToIndicTI': 'anyMessageIndicatingTrading',
155
+ 'part3Item9aMsgDtls_taPart3Item9aMsgUsgDtls': 'messageUsageDetails',
156
+ 'rbPart3Item10bIsOpnReopnSameForAll': 'openReopenSameForAll',
157
+ 'rbPart3Item10dIsAnyDifBtwnExeProcTrdHrs': 'differencesBetweenExecutionProcedureTradingHours',
158
+ 'rbPart3Item10eIsAnyDifBtwnPreOpExecFlwngStpg': 'differencesBetweenPreOpExecutionFollowingStopping',
159
+ 'rbPart3Item11bIsMeansFeciltsSameForAll': 'meansFacilitiesSameForAll',
160
+ 'rbPart3Item11dIsProcsRulsSameForAll': 'processingRulesSameForAll',
161
+ 'rbPart3Item12aIsAnyFrmlInfrmlArngmnts': 'anyFormalInformalArrangements',
162
+ 'rbPart3Item13aIsOrdrTiSegmntd': 'orderTradingInterestSegmented',
163
+ 'rbPart3Item13cIsCustmrOrdr': 'customerOrder',
164
+ 'rbPart3Item15aIsElectrncCommu': 'electronicCommunication',
165
+ 'rbPart3Item15bIsSubScrbOrdBnd': 'subscriberOrderBound',
166
+ 'rbPart3Item16aIsInstRoutd': 'instructionRouted',
167
+ 'rbPart3Item17aIsDiffBtwnOrdTITrtmnt': 'differencesBetweenOrderTradingTreatment',
168
+ 'rbPart3Item17bIsTrtmntSameForAll': 'treatmentSameForAll',
169
+ 'rbPart3Item18aIsOutsdeTrdingHrs': 'outsideTradingHours',
170
+ 'rbPart3Item20bIsSuspndProcdurSameFrAll': 'suspendProcedureSameForAll',
171
+ 'rbPart3Item21bIsMtrlArngmtSameFrAll': 'materialArrangementSameForAll',
172
+ 'rbPart3Item22bIsMtrlArngmtSameFrAll': 'materialArrangementSameForAll',
173
+ 'rbPart3Item23bIsSrcSameFrAll': 'sourceSameForAll',
174
+ 'rbPart3Item24aIsSubScrbrOrdr': 'subscriberOrder',
175
+ 'rbPart3Item25aIsAvgDlyTradinVolExcd': 'averageDailyTradingVolumeExceeded',
176
+ 'rbPart3Item26IsOrdrFloExecStatsPublshd': 'orderFlowExecutionStatsPublished',
177
+ 'rbPart3Item2aRegisteredBD': 'registeredBrokerDealer',
178
+ 'rbPart3Item2dIsThereWrittenAgreement': 'writtenAgreementExists',
179
+ 'rbPart3Item4bIsHrsOfOperationsame': 'hoursOfOperationSame',
180
+ 'rbPart3Item5aIsPermitOrdrTradng': 'permitOrderTrading',
181
+ 'rbPart3Item5cIsAnyOtherMeans': 'anyOtherMeans',
182
+ 'rbPart3Item6aIsCoLocRltdSrvcsOfrd': 'coLocationRelatedServicesOffered',
183
+ 'rbPart3Item6cIsAnyOtherMeans': 'anyOtherMeansForCoLocation',
184
+ 'rbPart3Item6eIsAnyRducdSpOfCom': 'anyReducedSpeedOfCommunication',
185
+ 'rbPart3Item7bIsTnCSameForAll': 'termsAndConditionsSameForAll',
186
+ 'rbPart3Item8aIsMinOrMaxSizeReqd': 'minOrMaxSizeRequired',
187
+ 'rbPart3Item8cIsOddLotsAcptdExecutd': 'oddLotsAcceptedExecuted',
188
+ 'rbPart3Item9aIsAnyMsgToIndicTI': 'anyMessageIndicatingTrading',
189
+ 'rbPart3Item9bIsIndIntrstSameForAll': 'indicationInterestSameForAll',
190
+ 'taPart3Item10aOpenReOpenDtls': 'openReopenDetails',
191
+ 'taPart3Item10cUnexeOrdrTIDtls': 'unexecutedOrderTradingDetails',
192
+ 'taPart3Item11aStrucOfNmsStk': 'structureOfNmsStock',
193
+ 'taPart3Item11cRulsProcsOfNmsStk': 'rulesAndProceduresOfNmsStock',
194
+ 'taPart3Item19aSrvcUsgFees': 'serviceUsageFees',
195
+ 'taPart3Item19bBundldSrvcUsgFees': 'bundledServiceUsageFees',
196
+ 'taPart3Item19cRbtDiscOfFees': 'rebateDiscountOfFees',
197
+ 'taPart3Item1OtherSubscrbrDtls': 'otherSubscriberDetails',
198
+ 'taPart3Item1SubscriberType': 'subscriberType',
199
+ 'taPart3Item20aSuspndProcdur': 'suspendProcedure',
200
+ 'taPart3Item21aMtrlArngmntDtls': 'materialArrangementDetails',
201
+ 'taPart3Item22aMtrlArngmntDtls': 'materialArrangementDetails',
202
+ 'taPart3Item23aMrktDatSrc': 'marketDataSource',
203
+ 'taPart3Item4aHrsOfOperation': 'hoursOfOperation',
204
+ 'taPart3Item7AOrdrTypExplain': 'orderTypeExplanation'
205
+ }
206
+
207
+ # Not implemented yet, not sure a 4 exists in ATS-N yet
208
+ part_four_ats_dict = {}
@@ -0,0 +1,346 @@
1
+ # CFPORTAL Metadata mapping
2
+ metadata_cfportal_dict = {
3
+ 'filerInfo_filer_fileNumber': 'fileNumber',
4
+ 'filerInfo_filer_filerCredentials_filerCcc': 'filerCcc',
5
+ 'filerInfo_filer_filerCredentials_filerCik': 'filerCik',
6
+ 'filerInfo_flags_overrideInternetFlag': 'overrideInternetFlag',
7
+ 'filerInfo_flags_returnCopyFlag': 'returnCopyFlag',
8
+ 'submissionType': 'submissionType'
9
+ }
10
+
11
+ # CFPORTAL Identifying Information mapping
12
+ identifying_information_cfportal_dict = {
13
+ 'amendmentExplanation': 'amendmentExplanation',
14
+ 'anyForeignRegistrations': 'anyForeignRegistrations',
15
+ 'anyPreviousRegistrations': 'anyPreviousRegistrations',
16
+ 'contactEmployeeName_firstName': 'contactFirstName',
17
+ 'contactEmployeeName_lastName': 'contactLastName',
18
+ 'contactEmployeeName_middleName': 'contactMiddleName',
19
+ 'contactEmployeeName_prefix': 'contactPrefix',
20
+ 'contactEmployeeName_suffix': 'contactSuffix',
21
+ 'contactEmployeeTitle': 'contactTitle',
22
+ 'fiscalYearEnd': 'fiscalYearEnd',
23
+ 'irsEmployerIdNumber': 'irsEmployerIdNumber',
24
+ 'legalNameChange': 'legalNameChange',
25
+ 'mailingAddressDifferent': 'mailingAddressDifferent',
26
+ 'nameOfPortal': 'nameOfPortal',
27
+ 'otherNamesAndWebsiteUrls': 'otherNamesAndWebsiteUrls',
28
+ 'otherNamesAndWebsiteUrls_otherNamesUsedPortal': 'otherNamesUsedPortal',
29
+ 'otherNamesAndWebsiteUrls_webSiteOfPortal': 'websiteOfPortal',
30
+ 'otherOfficeLocationAddress_city': 'otherOfficeCity',
31
+ 'otherOfficeLocationAddress_stateOrCountry': 'otherOfficeStateOrCountry',
32
+ 'otherOfficeLocationAddress_street1': 'otherOfficeStreet1',
33
+ 'otherOfficeLocationAddress_street2': 'otherOfficeStreet2',
34
+ 'otherOfficeLocationAddress_zipCode': 'otherOfficeZipCode',
35
+ 'portalAddress_city': 'portalCity',
36
+ 'portalAddress_stateOrCountry': 'portalStateOrCountry',
37
+ 'portalAddress_street1': 'portalStreet1',
38
+ 'portalAddress_street2': 'portalStreet2',
39
+ 'portalAddress_zipCode': 'portalZipCode',
40
+ 'portalContact_portalContactEmail': 'portalContactEmail',
41
+ 'portalContact_portalContactFax': 'portalContactFax',
42
+ 'portalContact_portalContactPhone': 'portalContactPhone',
43
+ 'portalMailingAddress_city': 'portalMailingCity',
44
+ 'portalMailingAddress_stateOrCountry': 'portalMailingStateOrCountry',
45
+ 'portalMailingAddress_street1': 'portalMailingStreet1',
46
+ 'portalMailingAddress_street2': 'portalMailingStreet2',
47
+ 'portalMailingAddress_zipCode': 'portalMailingZipCode',
48
+ 'prevNamesAndWebsiteUrls': 'prevNamesAndWebsiteUrls',
49
+ 'prevNamesAndWebsiteUrls_prevNamesOfPortal': 'prevNamesOfPortal',
50
+ 'prevNamesAndWebsiteUrls_prevWebSiteUrls': 'prevWebsiteUrls',
51
+ 'secFileNumbers': 'secFileNumbers'
52
+ }
53
+
54
+ # CFPORTAL Form of Organization mapping
55
+ form_of_organization_cfportal_dict = {
56
+ 'dateIncorporation': 'dateIncorporation',
57
+ 'jurisdictionOrganization': 'jurisdictionOrganization',
58
+ 'legalStatusForm': 'legalStatusForm',
59
+ 'legalStatusOtherDesc': 'legalStatusOtherDescription'
60
+ }
61
+
62
+ # CFPORTAL Successions mapping
63
+ successions_cfportal_dict = {
64
+ 'acquiredHistoryDetails_acquiredDesc': 'acquiredDescription',
65
+ 'acquiredHistoryDetails_acquiredFundingPortal': 'acquiredFundingPortal',
66
+ 'acquiredHistoryDetails_acquiredPortalFileNumber': 'acquiredPortalFileNumber',
67
+ 'isSucceedingBusiness': 'isSucceedingBusiness'
68
+ }
69
+
70
+ # CFPORTAL Control Relationships mapping
71
+ control_relationships_cfportal_dict = {
72
+ 'fullLegalNames': 'fullLegalNames',
73
+ 'fullLegalNames_fullLegalName': 'fullLegalName'
74
+ }
75
+
76
+ # CFPORTAL Disclosure Answers mapping
77
+ disclosure_answers_cfportal_dict = {
78
+ 'civilJudicialActionDisclosure_isDismissed': 'civilJudicialIsDismissed',
79
+ 'civilJudicialActionDisclosure_isEnjoined': 'civilJudicialIsEnjoined',
80
+ 'civilJudicialActionDisclosure_isFoundInViolationOfRegulation': 'civilJudicialIsFoundInViolationOfRegulation',
81
+ 'civilJudicialActionDisclosure_isNamedInCivilProceeding': 'civilJudicialIsNamedInCivilProceeding',
82
+ 'criminalDisclosure_isChargedMisdemeanor': 'criminalIsChargedMisdemeanor',
83
+ 'criminalDisclosure_isChargedWithFelony': 'criminalIsChargedWithFelony',
84
+ 'criminalDisclosure_isConvictedMisdemeanor': 'criminalIsConvictedMisdemeanor',
85
+ 'criminalDisclosure_isConvictedOfFelony': 'criminalIsConvictedOfFelony',
86
+ 'financialDisclosure_doesAppHaveLiens': 'financialDoesApplicantHaveLiens',
87
+ 'financialDisclosure_hasBondDenied': 'financialHasBondDenied',
88
+ 'financialDisclosure_hasSubjectOfBankruptcy': 'financialHasSubjectOfBankruptcy',
89
+ 'financialDisclosure_hasTrusteeAppointed': 'financialHasTrusteeAppointed',
90
+ 'regulatoryActionDisclosure_isAuthorizedToActAttorney': 'regulatoryIsAuthorizedToActAttorney',
91
+ 'regulatoryActionDisclosure_isCauseOfDenial': 'regulatoryIsCauseOfDenial',
92
+ 'regulatoryActionDisclosure_isDeniedLicense': 'regulatoryIsDeniedLicense',
93
+ 'regulatoryActionDisclosure_isDisciplined': 'regulatoryIsDisciplined',
94
+ 'regulatoryActionDisclosure_isFoundInCauseOfDenial': 'regulatoryIsFoundInCauseOfDenial',
95
+ 'regulatoryActionDisclosure_isFoundInCauseOfSuspension': 'regulatoryIsFoundInCauseOfSuspension',
96
+ 'regulatoryActionDisclosure_isFoundInViolationOfRegulation': 'regulatoryIsFoundInViolationOfRegulation',
97
+ 'regulatoryActionDisclosure_isFoundInViolationOfRules': 'regulatoryIsFoundInViolationOfRules',
98
+ 'regulatoryActionDisclosure_isFoundMadeFalseStatement': 'regulatoryIsFoundMadeFalseStatement',
99
+ 'regulatoryActionDisclosure_isImposedPenalty': 'regulatoryIsImposedPenalty',
100
+ 'regulatoryActionDisclosure_isMadeFalseStatement': 'regulatoryIsMadeFalseStatement',
101
+ 'regulatoryActionDisclosure_isOrderAgainst': 'regulatoryIsOrderAgainst',
102
+ 'regulatoryActionDisclosure_isOrderAgainstActivity': 'regulatoryIsOrderAgainstActivity',
103
+ 'regulatoryActionDisclosure_isRegulatoryComplaint': 'regulatoryIsRegulatoryComplaint',
104
+ 'regulatoryActionDisclosure_isUnEthical': 'regulatoryIsUnethical',
105
+ 'regulatoryActionDisclosure_isViolatedRegulation': 'regulatoryIsViolatedRegulation'
106
+ }
107
+
108
+ # CFPORTAL Non-Securities Related Business mapping
109
+ non_securities_related_business_cfportal_dict = {
110
+ 'isEngagedInNonSecurities': 'isEngagedInNonSecurities',
111
+ 'nonSecuritiesBusinessDesc': 'nonSecuritiesBusinessDescription'
112
+ }
113
+
114
+ # CFPORTAL Escrow Arrangements mapping
115
+ escrow_arrangements_cfportal_dict = {
116
+ 'compensationDesc': 'compensationDescription',
117
+ 'investorFundsContacts': 'investorFundsContacts',
118
+ 'investorFundsContacts_investorFundsAddress_city': 'investorFundsCity',
119
+ 'investorFundsContacts_investorFundsAddress_stateOrCountry': 'investorFundsStateOrCountry',
120
+ 'investorFundsContacts_investorFundsAddress_street1': 'investorFundsStreet1',
121
+ 'investorFundsContacts_investorFundsAddress_street2': 'investorFundsStreet2',
122
+ 'investorFundsContacts_investorFundsAddress_zipCode': 'investorFundsZipCode',
123
+ 'investorFundsContacts_investorFundsContactName': 'investorFundsContactName',
124
+ 'investorFundsContacts_investorFundsContactPhone': 'investorFundsContactPhone'
125
+ }
126
+
127
+ # CFPORTAL Execution mapping
128
+ execution_cfportal_dict = {
129
+ 'executionDate': 'executionDate',
130
+ 'fullLegalNameFundingPortal': 'fullLegalNameFundingPortal',
131
+ 'personSignature': 'personSignature',
132
+ 'personTitle': 'personTitle'
133
+ }
134
+
135
+ # CFPORTAL Schedule A mapping
136
+ schedule_a_cfportal_dict = {
137
+ 'entityOrNaturalPerson': 'entityOrNaturalPerson',
138
+ 'entityOrNaturalPerson_controlPerson': 'controlPerson',
139
+ 'entityOrNaturalPerson_crdNumber': 'crdNumber',
140
+ 'entityOrNaturalPerson_dateOfTitleStatusAcquired': 'dateOfTitleStatusAcquired',
141
+ 'entityOrNaturalPerson_entityType': 'entityType',
142
+ 'entityOrNaturalPerson_fullLegalName': 'fullLegalName',
143
+ 'entityOrNaturalPerson_ownershipCode': 'ownershipCode',
144
+ 'entityOrNaturalPerson_titleStatus': 'titleStatus'
145
+ }
146
+
147
+ # CFPORTAL Schedule B mapping
148
+ schedule_b_cfportal_dict = {
149
+ 'amendEntityOrNaturalPerson': 'amendEntityOrNaturalPerson',
150
+ 'amendEntityOrNaturalPerson_controlPerson': 'amendControlPerson',
151
+ 'amendEntityOrNaturalPerson_crdNumber': 'amendCrdNumber',
152
+ 'amendEntityOrNaturalPerson_dateOfTitleStatusAcquired': 'amendDateOfTitleStatusAcquired',
153
+ 'amendEntityOrNaturalPerson_entityType': 'amendEntityType',
154
+ 'amendEntityOrNaturalPerson_fullLegalName': 'amendFullLegalName',
155
+ 'amendEntityOrNaturalPerson_ownershipCode': 'amendOwnershipCode',
156
+ 'amendEntityOrNaturalPerson_titleStatus': 'amendTitleStatus',
157
+ 'amendEntityOrNaturalPerson_typeOfAmendment': 'typeOfAmendment'
158
+ }
159
+
160
+ # CFPORTAL Schedule C mapping
161
+ schedule_c_cfportal_dict = {
162
+ 'agentAddress_city': 'agentCity',
163
+ 'agentAddress_stateOrCountry': 'agentStateOrCountry',
164
+ 'agentAddress_street1': 'agentStreet1',
165
+ 'agentAddress_street2': 'agentStreet2',
166
+ 'agentAddress_zipCode': 'agentZipCode',
167
+ 'agentName': 'agentName',
168
+ 'personSignature': 'personSignature',
169
+ 'personTitle': 'personTitle',
170
+ 'printedName': 'printedName',
171
+ 'signatureDate': 'signatureDate'
172
+ }
173
+
174
+ # CFPORTAL Schedule D mapping
175
+ schedule_d_cfportal_dict = {
176
+ 'bookKeepingDetails': 'bookKeepingDetails',
177
+ 'bookKeepingDetails_bookKeepingEntityAddress_city': 'bookKeepingEntityCity',
178
+ 'bookKeepingDetails_bookKeepingEntityAddress_stateOrCountry': 'bookKeepingEntityStateOrCountry',
179
+ 'bookKeepingDetails_bookKeepingEntityAddress_street1': 'bookKeepingEntityStreet1',
180
+ 'bookKeepingDetails_bookKeepingEntityAddress_street2': 'bookKeepingEntityStreet2',
181
+ 'bookKeepingDetails_bookKeepingEntityAddress_zipCode': 'bookKeepingEntityZipCode',
182
+ 'bookKeepingDetails_bookKeepingEntityFax': 'bookKeepingEntityFax',
183
+ 'bookKeepingDetails_bookKeepingEntityName': 'bookKeepingEntityName',
184
+ 'bookKeepingDetails_bookKeepingEntityPhone': 'bookKeepingEntityPhone',
185
+ 'bookKeepingDetails_bookKeepingEntityType': 'bookKeepingEntityType',
186
+ 'bookKeepingDetails_bookKeepingLocationDesc': 'bookKeepingLocationDescription',
187
+ 'bookKeepingDetails_isAddressPrivateResidence': 'isAddressPrivateResidence',
188
+ 'dateBusinessCeasedWithdrawn': 'dateBusinessCeasedWithdrawn',
189
+ 'investorInitiatedComplaint': 'investorInitiatedComplaint',
190
+ 'isInvestigated': 'isInvestigated',
191
+ 'privateCivilLitigation': 'privateCivilLitigation'
192
+ }
193
+
194
+ # CFPORTAL Criminal DRP Info mapping
195
+ criminal_drip_info_cfportal_dict = {
196
+ 'criminalDrp_applicant_criminalDrpDetails_anyChargeFelony': 'applicantAnyChargeFelony',
197
+ 'criminalDrp_applicant_criminalDrpDetails_courtAddress_city': 'applicantCourtCity',
198
+ 'criminalDrp_applicant_criminalDrpDetails_courtAddress_stateOrCountry': 'applicantCourtStateOrCountry',
199
+ 'criminalDrp_applicant_criminalDrpDetails_courtAddress_street1': 'applicantCourtStreet1',
200
+ 'criminalDrp_applicant_criminalDrpDetails_courtAddress_zipCode': 'applicantCourtZipCode',
201
+ 'criminalDrp_applicant_criminalDrpDetails_courtType': 'applicantCourtType',
202
+ 'criminalDrp_applicant_criminalDrpDetails_criminalCharge': 'applicantCriminalCharge',
203
+ 'criminalDrp_applicant_criminalDrpDetails_dateFirstCharged_date': 'applicantDateFirstCharged',
204
+ 'criminalDrp_applicant_criminalDrpDetails_dateFirstCharged_exactOrExplanation': 'applicantDateFirstChargedExactOrExplanation',
205
+ 'criminalDrp_applicant_criminalDrpDetails_docketOrCaseNumber': 'applicantDocketOrCaseNumber',
206
+ 'criminalDrp_applicant_criminalDrpDetails_eventCurrentStatus': 'applicantEventCurrentStatus',
207
+ 'criminalDrp_applicant_criminalDrpDetails_eventStatusDate_date': 'applicantEventStatusDate',
208
+ 'criminalDrp_applicant_criminalDrpDetails_eventStatusDate_exactOrExplanation': 'applicantEventStatusDateExactOrExplanation',
209
+ 'criminalDrp_applicant_criminalDrpDetails_nameOfCourt': 'applicantNameOfCourt',
210
+ 'criminalDrp_applicant_dispositionDisclosure_datePaid': 'applicantDatePaid',
211
+ 'criminalDrp_applicant_dispositionDisclosure_dispositionDate': 'applicantDispositionDate',
212
+ 'criminalDrp_applicant_dispositionDisclosure_dispositionTypes': 'applicantDispositionTypes',
213
+ 'criminalDrp_applicant_dispositionDisclosure_duration_months': 'applicantDurationMonths',
214
+ 'criminalDrp_applicant_dispositionDisclosure_penaltyFineAmount': 'applicantPenaltyFineAmount',
215
+ 'criminalDrp_applicant_dispositionDisclosure_sentencePenalty': 'applicantSentencePenalty',
216
+ 'criminalDrp_applicant_summaryOfCircumstances': 'applicantSummaryOfCircumstances',
217
+ 'criminalDrp_associatedPerson_associatedPersonDetails_fullName': 'associatedPersonFullName',
218
+ 'criminalDrp_associatedPerson_associatedPersonDetails_personRegistered': 'associatedPersonRegistered',
219
+ 'criminalDrp_associatedPerson_associatedPersonDetails_personType': 'associatedPersonType',
220
+ 'criminalDrp_associatedPerson_criminalDrpDetails_anyChargeFelony': 'associatedPersonAnyChargeFelony',
221
+ 'criminalDrp_associatedPerson_criminalDrpDetails_courtAddress_city': 'associatedPersonCourtCity',
222
+ 'criminalDrp_associatedPerson_criminalDrpDetails_courtAddress_stateOrCountry': 'associatedPersonCourtStateOrCountry',
223
+ 'criminalDrp_associatedPerson_criminalDrpDetails_courtAddress_street1': 'associatedPersonCourtStreet1',
224
+ 'criminalDrp_associatedPerson_criminalDrpDetails_courtAddress_zipCode': 'associatedPersonCourtZipCode',
225
+ 'criminalDrp_associatedPerson_criminalDrpDetails_courtType': 'associatedPersonCourtType',
226
+ 'criminalDrp_associatedPerson_criminalDrpDetails_criminalCharge': 'associatedPersonCriminalCharge',
227
+ 'criminalDrp_associatedPerson_criminalDrpDetails_dateFirstCharged_date': 'associatedPersonDateFirstCharged',
228
+ 'criminalDrp_associatedPerson_criminalDrpDetails_dateFirstCharged_exactOrExplanation': 'associatedPersonDateFirstChargedExactOrExplanation',
229
+ 'criminalDrp_associatedPerson_criminalDrpDetails_docketOrCaseNumber': 'associatedPersonDocketOrCaseNumber',
230
+ 'criminalDrp_associatedPerson_criminalDrpDetails_eventCurrentStatus': 'associatedPersonEventCurrentStatus',
231
+ 'criminalDrp_associatedPerson_criminalDrpDetails_eventStatusDate_date': 'associatedPersonEventStatusDate',
232
+ 'criminalDrp_associatedPerson_criminalDrpDetails_eventStatusDate_exactOrExplanation': 'associatedPersonEventStatusDateExactOrExplanation',
233
+ 'criminalDrp_associatedPerson_criminalDrpDetails_nameOfCourt': 'associatedPersonNameOfCourt',
234
+ 'criminalDrp_associatedPerson_dispositionDisclosure_datePaid': 'associatedPersonDatePaid',
235
+ 'criminalDrp_associatedPerson_dispositionDisclosure_dispositionDate': 'associatedPersonDispositionDate',
236
+ 'criminalDrp_associatedPerson_dispositionDisclosure_dispositionTypeOtherDesc': 'associatedPersonDispositionTypeOtherDescription',
237
+ 'criminalDrp_associatedPerson_dispositionDisclosure_dispositionTypes': 'associatedPersonDispositionTypes',
238
+ 'criminalDrp_associatedPerson_dispositionDisclosure_duration_months': 'associatedPersonDurationMonths',
239
+ 'criminalDrp_associatedPerson_dispositionDisclosure_penaltyFineAmount': 'associatedPersonPenaltyFineAmount',
240
+ 'criminalDrp_associatedPerson_dispositionDisclosure_sentencePenalty': 'associatedPersonSentencePenalty',
241
+ 'criminalDrp_associatedPerson_dispositionDisclosure_startDatePenalty': 'associatedPersonStartDatePenalty',
242
+ 'criminalDrp_associatedPerson_summaryOfCircumstances': 'associatedPersonSummaryOfCircumstances',
243
+ 'criminalDrp_drpFiledFor': 'drpFiledFor',
244
+ 'criminalDrp_initialOrAmended': 'initialOrAmended',
245
+ 'criminalDrp_respondingTo_responseQuestion': 'responseQuestion'
246
+ }
247
+
248
+ # CFPORTAL Regulatory DRP Info mapping
249
+ regulatory_drip_info_cfportal_dict = {
250
+ 'regulatoryDrp_applicant_drpRemovalReason': 'applicantDrpRemovalReason',
251
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_currentStatus': 'applicantCurrentStatus',
252
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_dateInitiated_date': 'applicantDateInitiated',
253
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_dateInitiated_exactOrExplanation': 'applicantDateInitiatedExactOrExplanation',
254
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_dateInitiated_explanationInfo': 'applicantDateInitiatedExplanationInfo',
255
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_descAllegations': 'applicantDescriptionAllegations',
256
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_docketOrCaseNumber': 'applicantDocketOrCaseNumber',
257
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_matterResolvedType': 'applicantMatterResolvedType',
258
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_otherProductDesc': 'applicantOtherProductDescription',
259
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_principalProductType': 'applicantPrincipalProductType',
260
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_principalProductTypeOtherDesc': 'applicantPrincipalProductTypeOtherDescription',
261
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_principalSanction': 'applicantPrincipalSanction',
262
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_regulatorName': 'applicantRegulatorName',
263
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_regulatoryActionInitiatedBy': 'applicantRegulatoryActionInitiatedBy',
264
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_resolutionDateExactExplain_date': 'applicantResolutionDate',
265
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_resolutionDateExactExplain_exactOrExplanation': 'applicantResolutionDateExactOrExplanation',
266
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_sanctionsOrderedDetails_amountPaid': 'applicantAmountPaid',
267
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_sanctionsOrderedDetails_otherSanctions': 'applicantOtherSanctions',
268
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_sanctionsOrderedDetails_sanctionsOrdered_sanctionOrdered': 'applicantSanctionOrdered',
269
+ 'regulatoryDrp_applicant_regulatoryDrpDetails_summaryOfDetails': 'applicantSummaryOfDetails',
270
+ 'regulatoryDrp_drpFiledFor': 'drpFiledFor',
271
+ 'regulatoryDrp_initialOrAmended': 'initialOrAmended',
272
+ 'regulatoryDrp_respondingTo_responseQuestion': 'responseQuestion'
273
+ }
274
+
275
+ # CFPORTAL Civil Judicial DRP Info mapping
276
+ civil_judicial_drip_info_cfportal_dict = {
277
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_cityOrCounty': 'applicantCityOrCounty',
278
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_civilActionCourtName': 'applicantCivilActionCourtName',
279
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_civilActionCourtType': 'applicantCivilActionCourtType',
280
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_courtActionInitiatorName': 'applicantCourtActionInitiatorName',
281
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_describeCivilActionAllegations': 'applicantDescribeCivilActionAllegations',
282
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_docketOrCaseNumber': 'applicantDocketOrCaseNumber',
283
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_eventCurrentStatus': 'applicantEventCurrentStatus',
284
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_filingDateOfCourtActionExactOrExplain_date': 'applicantFilingDateOfCourtAction',
285
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_filingDateOfCourtActionExactOrExplain_exactOrExplanation': 'applicantFilingDateOfCourtActionExactOrExplanation',
286
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_grantOrFineAmount': 'applicantGrantOrFineAmount',
287
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_matterResolveType': 'applicantMatterResolveType',
288
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_otherPrincipalProductType': 'applicantOtherPrincipalProductType',
289
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_otherReliefSought': 'applicantOtherReliefSought',
290
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_principalProductType': 'applicantPrincipalProductType',
291
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_principalReliefSought': 'applicantPrincipalReliefSought',
292
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_processingDateCourtActionExactOrExplain_date': 'applicantProcessingDateCourtAction',
293
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_processingDateCourtActionExactOrExplain_exactOrExplanation': 'applicantProcessingDateCourtActionExactOrExplanation',
294
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_resolutionDateExactOrExplain_date': 'applicantResolutionDate',
295
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_resolutionDateExactOrExplain_exactOrExplanation': 'applicantResolutionDateExactOrExplanation',
296
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_sanctionDetail': 'applicantSanctionDetail',
297
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_sanctionReliefType_sanctionOrdered': 'applicantSanctionOrdered',
298
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_stateOrCountry': 'applicantStateOrCountry',
299
+ 'civilJudicialDrp_applicant_civilJudicialDrpDetails_summaryOfCircumstances': 'applicantSummaryOfCircumstances',
300
+ 'civilJudicialDrp_applicant_drpRemovalReason': 'applicantDrpRemovalReason',
301
+ 'civilJudicialDrp_associatedPerson_associatedPersonDetails_crdNumber': 'associatedPersonCrdNumber',
302
+ 'civilJudicialDrp_associatedPerson_associatedPersonDetails_fullName': 'associatedPersonFullName',
303
+ 'civilJudicialDrp_associatedPerson_associatedPersonDetails_personRegistered': 'associatedPersonRegistered',
304
+ 'civilJudicialDrp_associatedPerson_associatedPersonDetails_personType': 'associatedPersonType',
305
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_cityOrCounty': 'associatedPersonCityOrCounty',
306
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_civilActionCourtName': 'associatedPersonCivilActionCourtName',
307
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_civilActionCourtType': 'associatedPersonCivilActionCourtType',
308
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_courtActionInitiatorName': 'associatedPersonCourtActionInitiatorName',
309
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_describeCivilActionAllegations': 'associatedPersonDescribeCivilActionAllegations',
310
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_docketOrCaseNumber': 'associatedPersonDocketOrCaseNumber',
311
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_eventCurrentStatus': 'associatedPersonEventCurrentStatus',
312
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_filingDateOfCourtActionExactOrExplain_date': 'associatedPersonFilingDateOfCourtAction',
313
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_filingDateOfCourtActionExactOrExplain_exactOrExplanation': 'associatedPersonFilingDateOfCourtActionExactOrExplanation',
314
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_grantOrFineAmount': 'associatedPersonGrantOrFineAmount',
315
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_matterResolveType': 'associatedPersonMatterResolveType',
316
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_otherPrincipalProductType': 'associatedPersonOtherPrincipalProductType',
317
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_otherReliefSought': 'associatedPersonOtherReliefSought',
318
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_principalProductType': 'associatedPersonPrincipalProductType',
319
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_principalReliefSought': 'associatedPersonPrincipalReliefSought',
320
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_processingDateCourtActionExactOrExplain_date': 'associatedPersonProcessingDateCourtAction',
321
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_processingDateCourtActionExactOrExplain_exactOrExplanation': 'associatedPersonProcessingDateCourtActionExactOrExplanation',
322
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_resolutionDateExactOrExplain_date': 'associatedPersonResolutionDate',
323
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_resolutionDateExactOrExplain_exactOrExplanation': 'associatedPersonResolutionDateExactOrExplanation',
324
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_sanctionDetail': 'associatedPersonSanctionDetail',
325
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_sanctionReliefType_sanctionOrdered': 'associatedPersonSanctionOrdered',
326
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_stateOrCountry': 'associatedPersonStateOrCountry',
327
+ 'civilJudicialDrp_associatedPerson_civilJudicialDrpDetails_summaryOfCircumstances': 'associatedPersonSummaryOfCircumstances',
328
+ 'civilJudicialDrp_drpFiledFor': 'drpFiledFor',
329
+ 'civilJudicialDrp_initialOrAmended': 'initialOrAmended',
330
+ 'civilJudicialDrp_respondingTo_responseQuestion': 'responseQuestion'
331
+ }
332
+
333
+ # CFPORTAL Bankruptcy SIPC DRP Info mapping
334
+ bankruptcy_sipc_drip_info_cfportal_dict = {
335
+ 'bankruptcyDrp_affiliatePerson_affBankruptcySipcDrpDetails_apCrdNumber': 'affiliatePersonCrdNumber',
336
+ 'bankruptcyDrp_affiliatePerson_affBankruptcySipcDrpDetails_controlAffiliateType': 'affiliatePersonControlAffiliateType',
337
+ 'bankruptcyDrp_affiliatePerson_affBankruptcySipcDrpDetails_isConAffRegisteredCrd': 'isAffiliatePersonRegisteredCrd',
338
+ 'bankruptcyDrp_affiliatePerson_affBankruptcySipcDrpDetails_isRegistered': 'isAffiliatePersonRegistered',
339
+ 'bankruptcyDrp_drpFiledFor': 'drpFiledFor',
340
+ 'bankruptcyDrp_initialOrAmended': 'initialOrAmended',
341
+ 'bankruptcyDrp_respondingTo_responseQuestion': 'responseQuestion'
342
+ }
343
+
344
+ # No submission with this key has been filed yet
345
+ bond_drip_info_cfportal_dict = {}
346
+ judgement_drip_info_cfportal_dict = {}
@@ -0,0 +1 @@
1
+ ex99a_sdr_dict = {}
File without changes
File without changes
File without changes