anchor.diff:  FABS,FABS29.1,"OriginalLoanSubsidyCost is required for loans (i.e., when AssistanceType = 07 or 08).",Fatal Error,Implemented
   FABS,FABS29.2,"OriginalLoanSubsidyCost must be blank or 0 for non-loans (i.e., when AssistanceType is not 07 or 08).",Fatal Error,Implemented
   FABS,FABS30,"BusinessFundsIndicator must contain one of the following values: ""REC"" or ""NON"".",Fatal Error,Implemented
  -FABS,FABS31.1,AwardeeOrRecipientUniqueIdentifier Field must be blank for aggregate records (RecordType=1) and individual recipients (BusinessTypes includes 'P').,Fatal Error,Implemented
  -FABS,FABS31.2,"AwardeeOrRecipientUniqueIdentifier is required for AssistanceType of 02, 03, 04, or 05 whose ActionDate after October 1, 2010, unless the record is an aggregate record (RecordType=1) or individual recipient (BusinessTypes includes 'P').",Fatal Error,Implemented
  +FABS,FABS31.1,AwardeeOrRecipientUniqueIdentifier Field must be blank for aggregate and PII-redacted non-aggregate records (RecordType=1 or 3) and individual recipients (BusinessTypes includes 'P').,Fatal Error,Implemented
  +FABS,FABS31.2,"AwardeeOrRecipientUniqueIdentifier is required for AssistanceType of 02, 03, 04, or 05 whose ActionDate after October 1, 2010, unless the record is an aggregate or PII-redacted non-aggregate record (RecordType=1 or 3) or individual recipient (BusinessTypes includes 'P').",Fatal Error,Implemented
   FABS,FABS31.3,"When AwardeeOrRecipientUniqueIdentifier is provided, it must be nine digits.",Fatal Error,Implemented
  -FABS,FABS31.4,"For AssistanceType of 02, 03, 04, or 05 whose ActionDate is after October 1, 2010, AwardeeOrRecipientUniqueIdentifier must be registered (not necessarily active) in SAM, unless the record is an aggregate record (RecordType=1) or individual recipient (BusinessTypes includes 'P').",Fatal Error,Implemented
  +FABS,FABS31.4,"For AssistanceType of 02, 03, 04, or 05 whose ActionDate is after October 1, 2010, AwardeeOrRecipientUniqueIdentifier must be registered (not necessarily active) in SAM, unless the record is an aggregate or PII-redacted non-aggregate record (RecordType=1 or 3) or individual recipient (BusinessTypes includes 'P').",Fatal Error,Implemented
   FABS,FABS31.5,"For AssistanceType of 02, 03, 04, or 05 whose ActionDate is after October 1, 2010 and ActionType = A, AwardeeOrRecipientUniqueIdentifier must be active as of the ActionDate, unless the record is an aggregate record (RecordType=1) or individual recipient (BusinessTypes includes 'P'). This is an error because CorrectionLateDeleteIndicator is not C or the action date is after January 1, 2017.",Fatal Error,Implemented
   FABS,FABS31.6,"For AssistanceType of 02, 03, 04, or 05 whose ActionDate is after October 1, 2010 and ActionType = A, AwardeeOrRecipientUniqueIdentifier should be active as of the ActionDate, unless the record is an aggregate record (RecordType=1) or individual recipient (BusinessTypes includes 'P'). This is a warning because CorrectionLateDeleteIndicator is C and the action date is before January 1, 2017.",Warning,Implemented
   FABS,FABS31.7,"For AssistanceType of 02, 03, 04, or 05 whose ActionDate is after October 1, 2010 and ActionType = B, C, or D, AwardeeOrRecipientUniqueIdentifier should be active on the ActionDate, unless the record is an aggregate record (RecordType=1) or individual recipient (BusinessTypes includes 'P').",Warning,Implemented
  
positive.code: Relates to Files,Rule Name,Rule Detail,Severity,Status
  FABS,FABS1,"FAIN is required for non-aggregate records (i.e., when RecordType = 2).",Fatal Error,Implemented
  FABS,FABS2.1,"The combination of FAIN, AwardModificationAmendmentNumber, URI, and AwardingSubTierAgencyCode must be unique within the submission file.",Fatal Error,Implemented
  FABS,FABS2.2,"The combination of FAIN, AwardModificationAmendmentNumber, URI, and AwardingSubTierAgencyCode must be unique when compared to currently published data--unless the record is a correction or deletion (i.e., if CorrectionLateDeleteIndicator = C or D). In this particular case, the combination of these four fields in this transaction has already been published in USAspending, making this second attempt a duplicate.",Fatal Error,Implemented
  FABS,FABS2.3,"The unique combination of FAIN, AwardModificationAmendmentNumber, URI, and AwardingSubTierAgencyCode must exist as a currently published record when the record is a correction (i.e., if CorrectionLateDeleteIndicator = C).",Fatal Error,Implemented
  FABS,FABS2.4,"The unique combination of FAIN, AwardModificationAmendmentNumber, URI, and AwardingSubTierAgencyCode must exist as a currently published record when the record is a deletion (i.e., if CorrectionLateDeleteIndicator = D).",Fatal Error,Implemented
  FABS,FABS3.1,"ActionType is required for non-aggregate records (i.e., when RecordType = 2).",Fatal Error,Implemented
  FABS,FABS3.2,"ActionType must contain one of the following values: ""A"", ""B"", ""C"", ""D"", or blank.",Fatal Error,Implemented
  FABS,FABS4.1,"ActionDate must follow YYYYMMDD format, where YYYY is the year, MM the month and DD the day.",Fatal Error,Implemented
  FABS,FABS4.2,"Value of ActionDate must be between 19991001 and 20991231 (i.e., a date between 10/01/1999 and 12/31/2099).",Fatal Error,Implemented
  FABS,FABS4.3,A future ActionDate is valid only if it occurs within the current fiscal year,Fatal Error,Implemented
  FABS,FABS5,"AssistanceType field must contain one of the following values: ""02"", ""03"", ""04"", ""05"", ""06"", ""07"", ""08"", ""09"", ""10"", or ""11"".",Fatal Error,Implemented
  FABS,FABS6,"RecordType field must contain one of the following values: ""1"" or ""2"".",Fatal Error,Implemented
  FABS,FABS7,"URI is a required field for aggregate records (i.e., when RecordType = 1)",Fatal Error,Implemented
  FABS,FABS8.1,"FiscalYearAndQuarterCorrection is an optional field, but when provided must follow YYYYQ format, where YYYY is a year and Q represents fiscal quarter and takes value 1, 2, 3, or 4.",Fatal Error,Implemented
  FABS,FABS8.2,Year provided in FiscalYearQuarterCorrection must be in current or directly previous fiscal year (as compared to the date of submission).,Fatal Error,Implemented
  FABS,FABS9,"AwardeeOrRecipientLegalEntityName must contain ""MULTIPLE RECIPIENTS"" for aggregate records (i.e., when RecordType = 1).",Fatal Error,Implemented
  FABS,FABS10.1,"LegalEntityAddressLine1 is required for non-aggregate records (i.e., when RecordType = 2)",Fatal Error,Implemented
  FABS,FABS10.2,"LegalEntityAddressLine1 must be blank for aggregate records (i.e., when RecordType = 1)",Fatal Error,Implemented
  FABS,FABS11,"LegalEntityAddressLine2 is optional, but must be blank for aggregate records (i.e., when RecordType = 1)",Fatal Error,Implemented
  FABS,FABS12,"LegalEntityAddressLine3 is optional, but must be blank for aggregate records (i.e., when RecordType = 1)",Fatal Error,Implemented
  FABS,FABS13.1,"LegalEntityZIP5 must be blank for aggregate records (i.e., when RecordType = 1)",Fatal Error,Implemented
  FABS,FABS13.2,"LegalEntityZIP5 must be blank for foreign recipients (i.e., when LegalEntityCountryCode is not USA)",Fatal Error,Implemented
  FABS,FABS13.3,"LegalEntityZIP5 is required for domestic recipients (i.e., when LegalEntityCountryCode = USA) for non-aggregate records (i.e., when RecordType = 2)",Fatal Error,Implemented
  FABS,FABS14.1,"LegalEntityZIPLast4 must be blank for aggregate records (i.e., when RecordType = 1)",Fatal Error,Implemented
  FABS,FABS14.2,"LegalEntityZIPLast4 must be blank for foreign recipients (i.e., when LegalEntityCountryCode is not USA)",Fatal Error,Implemented
  FABS,FABS14.3,"When it exists, LegalEntityZIPLast4 should be provided for domestic recipients (i.e., when LegalEntityCountryCode = USA) for non-aggregate records (i.e., when RecordType = 2). A warning will be triggered when it is not provided.",Warning,Implemented
  FABS,FABS15.1,"LegalEntityForeignCityName is required for foreign recipients (i.e., when LegalEntityCountryCode is not USA)",Fatal Error,Implemented
  
negative.code: FABS,FABS41.4,"When provided, PrimaryPlaceofPerformanceZIP+4 must be in the format #####, #########, #####-####, or contain 'city-wide'.",Fatal Error,Implemented
  FABS,FABS41.5,The provided PrimaryPlaceofPerformanceZIP+4 must be in the state specified by PrimaryPlaceOfPerformanceCode.,Warning,Implemented
  FABS,FABS41.6,"If PrimaryPlaceOfPerformanceCode is XX00000, PrimaryPlaceOfPerformanceZip+4 must not be 'city-wide'.",Fatal Error,Implemented
  FABS,FABS41.7,"PrimaryPlaceOfPerformanceZip+4 must be blank for PII-redacted non-aggregate records (i.e., RecordType = 3).",Fatal Error,Implemented
  FABS,FABS42.1,"PrimaryPlaceOfPerformanceForeignLocationDescription is required for foreign places of performance (i.e., when PrimaryPlaceOfPerformanceCountryCode does not equal USA).",Fatal Error,Implemented
  FABS,FABS42.2,"PrimaryPlaceOfPerformanceForeignLocationDescription must be blank for domestic recipients (i.e., when PrimaryPlaceOfPerformanceCountryCode = USA).",Fatal Error,Implemented
  FABS,FABS43.1,"When PrimaryPlaceOfPerformanceCountryCode is not USA, PrimaryPlaceOfPerformanceCongressionalDistrict must be blank.",Fatal Error,Implemented
  