├── RDOS_Schema.xlsx
├── licenses
├── RMS-RDOS_CorporateCLA.pdf
└── RMS-RDOS_IndividualCLA.pdf
├── rdos-validation-tools
├── rdos-schema
│ ├── src
│ │ └── main
│ │ │ └── resources
│ │ │ ├── Contract
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RiskItem
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── Result
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── Settings
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── ContractCDL
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── AreaUnit
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── AnalysisHierarchy
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── Peril
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ContractDeclaration
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── CurrencyExchangeRate
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Portfolio
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Region
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ResultMetadata
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Tag
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Admin1
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Admin2
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Admin3
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Admin4
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Admin5
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── CauseOfLossHierarchy
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── City
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Contract_Treaty
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ExposureSet
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── PopulationShift
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── Producer
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Reinsurer
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Resolution
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ResultFacetValues
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ResultType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── SDLStructure
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ShiftType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── TermType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── TimeBasis
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Country
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Currency
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Insured
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Insurer
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── LossType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── PerRiskTreatySubject
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── PositionType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── PostalCode
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Result_Stats
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RiskitemType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── SettingsType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── StructurePositions
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── sysdiagrams
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── AmountBasis
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── CauseOfLoss
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Granularity
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── PayoutFunction
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── PortfolioType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Settings_ModelProfile
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Tank
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── AddressScheme
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Analysis
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── AnalysisMap
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── ContractBranch
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ContractCedant
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ContractScope
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ContractStatus
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ContractType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── DistanceUnit
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── LineOfBusiness
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── MEPPlumbing
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Performance
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── PopulationDensity
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Pounding
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ProrataOptionType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RiskItem_Population
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RiskItem_TimeElement
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RoofAnchor
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RoofCovering
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RoofGeometry
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RoofVent
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ScheduleRiskMap
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── SettingsDetail
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Settings_RiskAnalysisProfile
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── SubscheduleRiskMap
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── TreatyReinstatements
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── URMChimney
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── URMRetrofit
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── AttachmentBasis
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── AttachmentLevel
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── MarineProtection
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── OpeningProtect
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── PlanIrregularity
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RealPropertyCharacteristics
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Result_ELT
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RiskItem_ContainedProperty
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RoofAdditions
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RoofAgeCondition
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── TreatyLayer
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── WageRelativityRank
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ContractSubjectType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ContractUnderwriter
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── GeoModelResolution
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── GeocodingDataSource
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── HazardousMaterial
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Occupancy
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── PlumbingInsulation
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ResidentialAppurtenant
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Result_EP
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── VerticalIrregularity
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── WindMissileExposure
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── BIRedundancy
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Basement
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── CharacteristicsScheme
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Exterior
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── FloodMissile
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── FloodType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── FloorType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Garaging
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── GeocodinglResolution
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RentalPropertyIdentifier
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RiskManagementOnsiteRank
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── StructuralUpgradeNonURM
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── BIPreparedness
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ContentsVulnWater
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ContentsVulnWind
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ExteriorRating
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── FireSuppression
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── FloodProtection
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── FoundationType
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── PortfolioMembership
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── CommercialAppurtenant
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── EmergencyProtectionProximity
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── EngineeredFoundation
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── ExternalOrnamentation
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── FireSprinklerPresence
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── FireSprinklerSystem
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Result_PLT
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Construction
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── FireRemoteAlarmPresence
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── FrameFoundationConnection
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── LossTypeHierarchy
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── PortfolioTag
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── RiskExposure
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── Address
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Risk
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Schedule
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Contract_Insurance
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── Contract_Facultative
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── RiskItem_RealProperty
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── InsuranceLayer
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── InsuranceTerm
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ ├── FacultativeCession
│ │ │ ├── data_type_validation.json
│ │ │ └── integrity_constraints.json
│ │ │ ├── AggregatePortfolioMembership
│ │ │ ├── integrity_constraints.json
│ │ │ └── data_type_validation.json
│ │ │ └── logback.xml
│ └── pom.xml
├── rdo-validation-tool-scala
│ ├── src
│ │ ├── test
│ │ │ ├── resources
│ │ │ │ ├── valid_data_type.json
│ │ │ │ ├── invalid_data_type.json
│ │ │ │ ├── valid_integrity_constraints.json
│ │ │ │ ├── employee
│ │ │ │ │ ├── data_type_validation.json
│ │ │ │ │ ├── integrity_constraints.json
│ │ │ │ │ └── emp.csv
│ │ │ │ ├── invalid_integrity_constraints.json
│ │ │ │ ├── cdl
│ │ │ │ │ ├── valid.txt
│ │ │ │ │ └── invalid.txt
│ │ │ │ └── csv
│ │ │ │ │ └── employee.csv
│ │ │ └── scala
│ │ │ │ └── com
│ │ │ │ └── rms
│ │ │ │ └── rdo
│ │ │ │ └── validation
│ │ │ │ ├── cdl
│ │ │ │ └── CDLValidatorTest.scala
│ │ │ │ ├── datatype
│ │ │ │ └── ValidatorTest.scala
│ │ │ │ ├── csv
│ │ │ │ └── CsvReaderTest.scala
│ │ │ │ ├── integrityconstraint
│ │ │ │ └── PrimaryKeyValidatorTest.scala
│ │ │ │ └── utility
│ │ │ │ └── UtilityTest.scala
│ │ └── main
│ │ │ ├── scala
│ │ │ └── com
│ │ │ │ └── rms
│ │ │ │ └── rdo
│ │ │ │ └── validation
│ │ │ │ ├── model
│ │ │ │ ├── CDLValidationError.scala
│ │ │ │ ├── IntegrityConstraint.scala
│ │ │ │ ├── DataTypeValidationError.scala
│ │ │ │ └── IntegrityConstraintValidationError.scala
│ │ │ │ ├── cdl
│ │ │ │ └── CDLValidator.scala
│ │ │ │ ├── datatype
│ │ │ │ ├── Validator.scala
│ │ │ │ └── DataTypeValidator.scala
│ │ │ │ ├── constant
│ │ │ │ └── Constants.scala
│ │ │ │ ├── utility
│ │ │ │ └── Utility.scala
│ │ │ │ ├── integrityconstraint
│ │ │ │ ├── PrimaryKeyValidator.scala
│ │ │ │ └── ForeignKeyValidator.scala
│ │ │ │ └── csv
│ │ │ │ └── CsvReader.scala
│ │ │ └── resources
│ │ │ └── logback.xml
│ └── README.md
├── cdl-parser
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── com
│ │ │ └── rms
│ │ │ └── cdl
│ │ │ └── parser
│ │ │ ├── treebuilder
│ │ │ └── CdlParseTreeBuilder.java
│ │ │ └── listener
│ │ │ └── CustomErrorListener.java
│ ├── README.md
│ └── pom.xml
├── rdo-validation-tool-java
│ ├── src
│ │ └── main
│ │ │ ├── resources
│ │ │ └── logback.xml
│ │ │ └── java
│ │ │ └── com
│ │ │ └── rms
│ │ │ └── rdo
│ │ │ └── validation
│ │ │ ├── model
│ │ │ ├── integrityconstraint
│ │ │ │ ├── ForeignKeyDetail.java
│ │ │ │ ├── IntegrityConstraint.java
│ │ │ │ ├── PrimaryKeyErrorDetail.java
│ │ │ │ ├── ForeignKeyErrorDetail.java
│ │ │ │ ├── PrimaryKeyError.java
│ │ │ │ ├── ForeignKeyError.java
│ │ │ │ └── IntegrityConstraintValidationError.java
│ │ │ ├── cdl
│ │ │ │ └── CDLValidationError.java
│ │ │ └── datatype
│ │ │ │ ├── DataTypeValidationError.java
│ │ │ │ └── DataTypeValidationErrors.java
│ │ │ ├── handler
│ │ │ ├── CDLValidationHandler.java
│ │ │ └── RDOValidationHandler.java
│ │ │ ├── cdl
│ │ │ └── CDLValidator.java
│ │ │ ├── constants
│ │ │ └── Constants.java
│ │ │ ├── datatype
│ │ │ ├── Validator.java
│ │ │ └── DataTypeValidator.java
│ │ │ ├── utility
│ │ │ └── Utility.java
│ │ │ └── integrityconstraint
│ │ │ └── PrimaryKeyValidator.java
│ └── README.md
├── README.md
└── pom.xml
├── Schema
└── sql
│ └── ReferenceTables-SeedData
│ ├── 202_Portfolio.PortfolioType.sql
│ ├── 302_Result.ResultType.sql
│ ├── 302_Settings.SettingsType.sql
│ ├── 002_Contract.CDL.AttachmentBasis.sql
│ ├── 066_RiskItem.RealProperty.Characteristics.AreaUnit.sql
│ ├── 201_Structure.PositionType.sql
│ ├── 014_Contract.ContractScope.sql
│ ├── 027_RiskItem.RealProperty.Characteristics.Basement.sql
│ ├── 051_RiskItem.RealProperty.Characteristics.Pounding.sql
│ ├── 061_RiskItem.RealProperty.Characteristics.Tank.sql
│ ├── 054_RiskItem.RealProperty.Characteristics.RoofAdditions.sql
│ ├── 056_RiskItem.RealProperty.Characteristics.RoofAnchor.sql
│ ├── 059_RiskItem.RealProperty.Characteristics.RoofVent.sql
│ ├── 063_RiskItem.RealProperty.Characteristics.URMRetrofit.sql
│ ├── 039_RiskItem.RealProperty.Characteristics.FloodMissile.sql
│ ├── 062_RiskItem.RealProperty.Characteristics.URMChimney.sql
│ ├── 045_RiskItem.RealProperty.Characteristics.Garaging.sql
│ ├── 055_RiskItem.RealProperty.Characteristics.RoofAgeCondition.sql
│ ├── 040_RiskItem.RealProperty.Characteristics.FloodProtection.sql
│ ├── 050_RiskItem.RealProperty.Characteristics.PlumbingInsulation.sql
│ ├── 064_RiskItem.RealProperty.Characteristics.VerticalIrregularity.sql
│ ├── 065_RiskItem.RealProperty.Characteristics.WindMissileExposure.sql
│ ├── 106_RiskItem.Population.WageRelativityRank.sql
│ ├── 034_RiskItem.RealProperty.Characteristics.EngineeredFoundation.sql
│ ├── 046_RiskItem.RealProperty.Characteristics.MarineProtection.sql
│ ├── 047_RiskItem.RealProperty.Characteristics.OpeningProtect.sql
│ ├── 049_RiskItem.RealProperty.Characteristics.PlanIrregularity.sql
│ ├── 037_RiskItem.RealProperty.Characteristics.FireRemoteAlarmPresence.sql
│ ├── 038_RiskItem.RealProperty.Characteristics.FireSprinklerPresence.sql
│ ├── 048_RiskItem.RealProperty.Characteristics.Performance.sql
│ ├── 042_RiskItem.RealProperty.Characteristics.FoundationType.sql
│ ├── 060_RiskItem.RealProperty.Characteristics.StructuralUpgradeNonURM.sql
│ ├── 029_RiskItem.RealProperty.Characteristics.BIRedundancy.sql
│ ├── 041_RiskItem.RealProperty.Characteristics.FloorType.sql
│ ├── 043_RiskItem.RealProperty.Characteristics.FrameFoundationConnection.sql
│ ├── 035_RiskItem.RealProperty.Characteristics.ExteriorRating.sql
│ ├── 024_RiskItem.Common.RiskitemType.sql
│ ├── 028_RiskItem.RealProperty.Characteristics.BIPreparedness.sql
│ ├── 030_RiskItem.RealProperty.Characteristics.CommercialAppurtenant.sql
│ ├── 067_RiskItem.RealProperty.Characteristics.DistanceUnit.sql
│ ├── 101_RiskItem.Population.RiskManagementOnsiteRank.sql
│ ├── 103_RiskItem.Population.EmergencyProtectionProximity.sql
│ ├── 100_RiskItem.Population.HazardousMaterial.sql
│ ├── 052_RiskItem.RealProperty.Characteristics.RentalPropertyIdentifier.sql
│ ├── 004_Contract.CDL.PayoutFunction.sql
│ ├── 031_RiskItem.RealProperty.Characteristics.ContentsVulnWater.sql
│ ├── 032_RiskItem.RealProperty.Characteristics.ContentsVulnWind.sql
│ ├── 058_RiskItem.RealProperty.Characteristics.RoofGeometry.sql
│ ├── 003_Contract.CDL.TimeBasis.sql
│ ├── 044_RiskItem.RealProperty.Characteristics.FireSupression.sql
│ ├── 036_RiskItem.RealProperty.Characteristics.ExternalOrnamentation.sql
│ ├── 009_Contract.CDL.CauseOfLossHierarchy.sql
│ ├── 057_RiskItem.RealProperty.Characteristics.RoofCovering.sql
│ ├── 102_RiskItem.Population.ShiftType.sql
│ ├── 053_RiskItem.RealProperty.Characteristics.ResidentialAppurtenant.sql
│ ├── 019_Geography.Geocoding.GeocodingDataSource.sql
│ ├── 005_Contract.CDL.Resolution.sql
│ ├── 033_RiskItem.RealProperty.Characteristics.Exterior.sql
│ ├── 007_Contract.CDL.TermType.sql
│ ├── 008_Contract.CDL.CauseOfLoss.sql
│ ├── 011_Contract.CDL.LossTypeHierarchy.sql
│ ├── 012_Contract.CDL.AttachmentLevel.sql
│ ├── 301_Result.Peril.sql
│ ├── 018_Geography.Geocoding.GeoModelResolution.sql
│ ├── 010_Contract.CDL.LossType.sql
│ ├── 017_Geography.Geocoding.GeocodingResolution.sql
│ ├── 006_Contract.CDL.AmountBasis.sql
│ └── 013_Contract.ContractType.sql
├── .gitignore
└── .github
├── ISSUE_TEMPLATE.md
└── PULL_REQUEST_TEMPLATE.md
/RDOS_Schema.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RMS/RDOS/HEAD/RDOS_Schema.xlsx
--------------------------------------------------------------------------------
/licenses/RMS-RDOS_CorporateCLA.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RMS/RDOS/HEAD/licenses/RMS-RDOS_CorporateCLA.pdf
--------------------------------------------------------------------------------
/licenses/RMS-RDOS_IndividualCLA.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/RMS/RDOS/HEAD/licenses/RMS-RDOS_IndividualCLA.pdf
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Contract/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | ]
4 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskItem/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "name": "String"
4 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Result/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long"
3 | }
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Settings/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long"
3 | }
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractCDL/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "contractId": "Long",
3 | "CDL": "String"
4 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AreaUnit/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "areaUnitCode":"Byte",
3 | "areaUnitdesc":"String"
4 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskItem/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | ],
4 | "foreignKeys": [
5 | ]
6 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/202_Portfolio.PortfolioType.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.PortfolioType(portfolioTypeCode) VALUES
2 | ('AGG'),
3 | ('DETAIL')
4 | ;
5 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AnalysisHierarchy/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "analysisId": "Long",
3 | "childAnalysisId": "Long"
4 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Peril/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "perilCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Result/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id" ],
4 | "foreignKeys": [
5 | ]
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Settings/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id" ],
4 | "foreignKeys": [
5 | ]
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractDeclaration/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | ],
4 | "foreignKeys": [
5 | ]
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/CurrencyExchangeRate/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | ],
4 | "foreignKeys": [
5 | ]
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Portfolio/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Region/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "RegionCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ResultMetadata/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id" ],
4 | "foreignKeys": [
5 | ]
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Tag/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "tagCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Admin1/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "admin1GeoId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Admin2/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "admin2GeoId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Admin3/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "admin3GeoId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Admin4/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "admin4GeoId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Admin5/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "admin5GeoId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/CauseOfLossHierarchy/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "causeOfLossCode":"Char",
3 | "parentCauseOfLossCode":"Char"
4 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/City/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "cityGeoId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Contract/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "name": "String"
4 | }
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Contract_Treaty/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ExposureSet/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PopulationShift/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "riskItemId":"Long",
3 | "shiftId":"Short",
4 | "count":"Integer"
5 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Producer/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "producerCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Reinsurer/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "reinsurerCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Resolution/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "resolutionCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ResultFacetValues/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id" ],
4 | "foreignKeys": [
5 | ]
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ResultType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "resultTypeCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/SDLStructure/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ShiftType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "shiftTypeId"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/TermType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "termTypeCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/TimeBasis/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "timeBasisCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/302_Result.ResultType.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.ResultType(resultTypeCode) VALUES
2 | ('ELT'),
3 | ('PLT'),
4 | ('EP'),
5 | ('STATS')
6 | ;
7 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AreaUnit/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "areaUnitCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractCDL/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "contractId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Country/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Currency/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "currencyCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Insured/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "insuredCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Insurer/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "insurerCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/LossType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "lossTypeCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PerRiskTreatySubject/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PositionType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "positionTypeCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PostalCode/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "postalCodeGeoId"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Result_Stats/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "resultId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskitemType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "riskItemTypeCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/SettingsType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "settingsTypeCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/StructurePositions/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/TermType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "termTypeCode": "String",
3 | "termTypeDesc": "String",
4 | "isActive": "Bit"
5 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/sysdiagrams/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "diagram_id"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/302_Settings.SettingsType.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.SettingsType(settingsTypeCode) VALUES
2 | ('ModelProfile'),
3 | ('RiskAnalysisProfile')
4 | ;
5 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/test/resources/valid_data_type.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "name": "String",
4 | "salary": "Double",
5 | "empid": "Long"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AmountBasis/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "amountBasisCode":"String",
3 | "amountBasisDesc":"String",
4 | "isActive":"Bit"
5 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AmountBasis/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "amountBasisCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/CauseOfLoss/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "causeOfLossCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Granularity/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "granularityCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PayoutFunction/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "payoutFunctionCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PortfolioType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "portfolioTypeCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Settings_ModelProfile/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Tank/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/TimeBasis/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "timeBasisCode": "String",
3 | "timeBasisDesc": "String",
4 | "isActive": "Bit"
5 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/test/resources/invalid_data_type.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "name": "String",
4 | "salary": "Double",
5 | "empid": "Long",
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/test/resources/valid_integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id",
4 | "salary"
5 | ],
6 | "foreignKeys": []
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AddressScheme/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "addressSchemeId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Analysis/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id",
4 | "settingsId"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AnalysisMap/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "analysisId": "Long",
3 | "resultId": "Long"
4 | }
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractBranch/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "contractBranchCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractCedant/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "contractCedantCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractScope/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "contractScopeCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractStatus/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "contractStatusCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "contractTypeCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/DistanceUnit/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "distanceUnitCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/LineOfBusiness/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "lineOfBusinessCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/MEPPlumbing/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Performance/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PopulationDensity/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "populationDensityCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Pounding/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ProrataOptionType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "prorataOptionTypeCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskItem_Population/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "riskItemId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskItem_TimeElement/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "riskItemId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofAnchor/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofCovering/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofGeometry/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofVent/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ScheduleRiskMap/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "subscheduleId": "Long",
3 | "insuranceContractId": "Long",
4 | "riskId": "Long"
5 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/SettingsDetail/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "settingDetailId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Settings_RiskAnalysisProfile/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/SubscheduleRiskMap/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "subscheduleId":"Long",
3 | "insuranceContractId":"Long",
4 | "riskId":"Long"
5 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/TreatyReinstatements/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "treatyId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/URMChimney/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/URMRetrofit/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/test/resources/employee/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "name": "String",
4 | "age": "String",
5 | "sex": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/test/resources/employee/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id",
4 | "salary"
5 | ],
6 | "foreignKeys": []
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/test/resources/invalid_integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id",
4 | "salary",
5 | ],
6 | "foreignKeys": []
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AttachmentBasis/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "attachmentBasisCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AttachmentLevel/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "attachmentLevelCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/MarineProtection/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/OpeningProtect/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PlanIrregularity/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RealPropertyCharacteristics/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "riskItemId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Result_ELT/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "resultId",
4 | "eventId"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskItem_ContainedProperty/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "riskItemId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofAdditions/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofAgeCondition/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/TreatyLayer/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "treatyId",
4 | "id"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/WageRelativityRank/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "wageRelativityRankCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/002_Contract.CDL.AttachmentBasis.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.AttachmentBasis (attachmentBasisCode) VALUES
2 | ('Risk Attaching'),
3 | ('Loss Occurring')
4 | ;
5 |
6 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/test/resources/employee/emp.csv:
--------------------------------------------------------------------------------
1 | id,name,age,sex
2 | 1,John,30,Male
3 | 2,Robert,20,Male
4 | 3,Michael,40,Male
5 | 4,Aish,25,Female
6 | 5,Jerry,30,Female
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Analysis/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "name": "String",
4 | "settingTypeCode": "String",
5 | "settingsId": "Long"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AnalysisMap/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "analysisId",
4 | "resultsId"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractSubjectType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "contractSubjectTypeCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractUnderwriter/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "contractUnderwriterCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/GeoModelResolution/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "geoModelResolutionCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/GeocodingDataSource/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "geocodingDataSourceId"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/HazardousMaterial/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "hazardousMaterialCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Occupancy/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "occupancyschemeName", "occupancyCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PayoutFunction/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "payoutFunctionCode": "String",
3 | "payoutFunctionDesc": "String",
4 | "isActive": "Bit"
5 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Peril/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "perilCode": "String",
3 | "perilDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PlumbingInsulation/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ResidentialAppurtenant/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Result_EP/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "resultId",
4 | "returnPeriod"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/VerticalIrregularity/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/WindMissileExposure/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/066_RiskItem.RealProperty.Characteristics.AreaUnit.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.AreaUnit (areaUnitCode, areaUnitDesc) VALUES
2 | (2,'Square Feet'),
3 | (4,'Square Meters')
4 | ;
5 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/test/resources/cdl/valid.txt:
--------------------------------------------------------------------------------
1 | Contract
2 | Declarations
3 | Currency is USD
4 | Covers
5 | 100% share
6 | Deductibles
7 | 2% RCV Affected to R1, R2
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/test/resources/csv/employee.csv:
--------------------------------------------------------------------------------
1 | id,name,age,sex
2 | 1,John,30,Male
3 | 2,Robert,20,Male
4 | 3,Michael,40,Male
5 | 4,Aish,25,Female
6 | 5,Jerry,30,Female
7 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/BIRedundancy/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Basement/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/CharacteristicsScheme/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "characteristicsSchemeCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Exterior/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FloodMissile/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FloodType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FloorType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Garaging/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/GeocodinglResolution/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "geocodingResolutionCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PopulationShift/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "riskItemid",
4 | "shiftId"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Region/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "regionCode": "String",
3 | "regionDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RentalPropertyIdentifier/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "rentalPropertyIdentifierCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskManagementOnsiteRank/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "riskManagementOnsiteRankCode"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/StructuralUpgradeNonURM/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId", "optionValue"
4 | ],
5 | "foreignKeys": []
6 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/201_Structure.PositionType.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.PositionType(positionTypeCode) VALUES
2 | ('Group'),
3 | ('Scale'),
4 | ('Filter'),
5 | ('Contract'),
6 | ('Portfolio')
7 | ;
8 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/test/resources/cdl/invalid.txt:
--------------------------------------------------------------------------------
1 | Contract123
2 | Declarations
3 | Currency is USD
4 | Covers
5 | 100% share
6 | Deductibles12
7 | 2% RCV Affected to R1, R2
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/BIPreparedness/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContentsVulnWater/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContentsVulnWind/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ExteriorRating/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FireSuppression/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FloodProtection/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FoundationType/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PortfolioMembership/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "portfolioId": "Long",
3 | "insuranceContractId": "Long"
4 | }
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Producer/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "producerCode": "String",
3 | "producerName": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ShiftType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "shiftTypeId": "Short",
3 | "shiftTypeDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/014_Contract.ContractScope.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.ContractScope (contractScopeCode) VALUES
2 | ('RISK'),
3 | ('SCHEDULE'),
4 | ('LAYER'),
5 | ('CONTRACT'),
6 | ('SUBSCHEDULE')
7 | ;
8 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AnalysisHierarchy/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "analysisId",
4 | "childAnalysisId"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/CauseOfLoss/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "causeOfLossCode":"Char",
3 | "causeOfLossDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/CommercialAppurtenant/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/EmergencyProtectionProximity/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "emergencyProtectionProxCode"
4 | ],
5 | "foreignKeys": [
6 | ]
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/EngineeredFoundation/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ExternalOrnamentation/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FireSprinklerPresence/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FireSprinklerSystem/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Reinsurer/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "reinsurerCode": "String",
3 | "reinsurerName": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Resolution/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "resolutionCode": "String",
3 | "resolutionDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ResultType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "resultTypeCode": "String",
3 | "resultTypeDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Result_PLT/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "resultId",
4 | "periodId",
5 | "eventId"
6 | ],
7 | "foreignKeys": [
8 | ]
9 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Construction/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "constructionschemeName",
4 | "constructionCode"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractScope/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "contractScopeCode":"String",
3 | "contractScopeDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FireRemoteAlarmPresence/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FrameFoundationConnection/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "countryGeoId",
4 | "optionValue"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/LossTypeHierarchy/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "lossTypeCode",
4 | "parentLossTypeCode"
5 | ],
6 | "foreignKeys": [
7 | ]
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PortfolioTag/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "portfolioId": "Long",
3 | "tagCode": "String",
4 | "tagValue": "String"
5 | }
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractBranch/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "contractBranchCode":"String",
3 | "contractBranchName":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractCedant/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "contractCedantCode":"String",
3 | "contractCedantName":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractStatus/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "contractStatusCode":"Char",
3 | "contractStatusDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PortfolioType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "portfolioTypeCode": "String",
3 | "portfolioTypeDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PositionType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "positionTypeCode": "String",
3 | "positionTypeDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskitemType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "riskItemTypeCode": "String",
3 | "riskItemTypeDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/SDLStructure/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "name": "String",
4 | "externalId": "String",
5 | "description": "String",
6 | "SDL": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/SettingsType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "settingsTypeCode": "String",
3 | "settingsTypeDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/027_RiskItem.RealProperty.Characteristics.Basement.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.Basement (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'No', 1),
4 | (0, 'Yes', 2)
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/051_RiskItem.RealProperty.Characteristics.Pounding.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.Pounding (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'No', 1),
4 | (0, 'Yes', 2)
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AttachmentBasis/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "attachmentBasisCode":"String",
3 | "attachmentBasisDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AttachmentLevel/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "attachmentLevelCode":"String",
3 | "attachmentLevelDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/061_RiskItem.RealProperty.Characteristics.Tank.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.Tank (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'No', 1),
4 | (0, 'Yes', 2)
5 | ;
6 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/main/scala/com/rms/rdo/validation/model/CDLValidationError.scala:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model
2 |
3 | case class CDLValidationError(file: String, errorMessage: String)
4 |
5 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Basement/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractSubjectType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "contractSubjectTypeCode":"String",
3 | "contractSubjectDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Tag/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "tagCode": "String",
3 | "tagValue": "String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Tank/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/054_RiskItem.RealProperty.Characteristics.RoofAdditions.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.RoofAdditions (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'No', 1),
4 | (0, 'Yes', 2)
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/056_RiskItem.RealProperty.Characteristics.RoofAnchor.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.RoofAnchor (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Bolts', 1),
4 | (0, 'Wraps', 2)
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/059_RiskItem.RealProperty.Characteristics.RoofVent.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.RoofVent (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Present', 2),
4 | (0, 'None', 1)
5 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/063_RiskItem.RealProperty.Characteristics.URMRetrofit.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.URMRetrofit (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Yes', 1),
4 | (0, 'No', 2)
5 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/BIPreparedness/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/BIRedundancy/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractUnderwriter/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "contractUnderwriterCode":"String",
3 | "contractUnderwriterName":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PerRiskTreatySubject/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id":"Long",
3 | "treatyId":"Long",
4 | "portfolioId":"Long",
5 | "filterAttribute":"String",
6 | "filterValue":"String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PopulationDensity/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "populationDensityCode": "Integer",
3 | "populationDensityDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Pounding/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ProrataOptionType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "prorataOptionTypeCode": "String",
3 | "prorataOptionTypeDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofAnchor/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofVent/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/URMChimney/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/WageRelativityRank/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "wageRelativityRankCode": "Short",
3 | "wageRelativityRankDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/sysdiagrams/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "String",
3 | "principal_id": "Integer",
4 | "diagram_id": "Integer",
5 | "version": "Integer",
6 | "definition": "String"
7 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/039_RiskItem.RealProperty.Characteristics.FloodMissile.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.FloodMissile (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'No', 1),
4 | (0, 'Yes', 2)
5 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/062_RiskItem.RealProperty.Characteristics.URMChimney.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.URMChimney(countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'No', 1),
4 | (0, 'Yes', 2)
5 | ;
6 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/CharacteristicsScheme/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "characteristicsSchemeCode":"String",
3 | "characteristicsSchemeDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContentsVulnWater/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContentsVulnWind/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/MEPPlumbing/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/OpeningProtect/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Performance/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofAdditions/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofCovering/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofGeometry/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/URMRetrofit/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/045_RiskItem.RealProperty.Characteristics.Garaging.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.Garaging (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Outside', 1),
4 | (0, 'Inside', 2)
5 | ;
6 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/055_RiskItem.RealProperty.Characteristics.RoofAgeCondition.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.RoofAgeCondition (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'New', 1),
4 | (0, 'Old', 2)
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/City/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "cityGeoId":"Long",
3 | "countryGeoId":"Long",
4 | "cityCode":"String",
5 | "cityName":"String",
6 | "isActive":"Bit",
7 | "externalId":"String"
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/CommercialAppurtenant/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/DistanceUnit/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "distanceUnitCode":"Byte",
3 | "distanceUnitDesc":"String"
4 | }
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/MarineProtection/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PlanIrregularity/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PlumbingInsulation/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RoofAgeCondition/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/VerticalIrregularity/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/WindMissileExposure/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/040_RiskItem.RealProperty.Characteristics.FloodProtection.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.FloodProtection (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'No', 1),
4 | (0, 'Yes', 2)
5 |
6 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/050_RiskItem.RealProperty.Characteristics.PlumbingInsulation.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.PlumbingInsulation(countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Yes', 1),
4 | (0, 'No', 2)
5 | ;
6 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/064_RiskItem.RealProperty.Characteristics.VerticalIrregularity.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.VerticalIrregularity (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'No', 1),
4 | (0, 'Yes', 2)
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/065_RiskItem.RealProperty.Characteristics.WindMissileExposure.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.WindMissileExposure (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Low', 1),
4 | (0, 'High', 2)
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/106_RiskItem.Population.WageRelativityRank.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.WageRelativityRank (wageRelativityRankCode, wageRelativityRankDesc) VALUES
2 | (110,'Above Average'),
3 | (100,'Average'),
4 | (81,'Below Average')
5 | ;
6 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AddressScheme/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "addressSchemeId":"Short",
3 | "addressSchemeName":"String",
4 | "addressSchemeDesc":"String",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ResidentialAppurtenant/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/StructuralUpgradeNonURM/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId": "Integer",
3 | "optionDesc": "String",
4 | "optionValue": "Short",
5 | "isActive": "Bit",
6 | "externalId": "String"
7 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/034_RiskItem.RealProperty.Characteristics.EngineeredFoundation.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.EngineeredFoundation (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Yes', 1),
4 | (0, 'No', 2)
5 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/046_RiskItem.RealProperty.Characteristics.MarineProtection.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.MarineProtection (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'None', 1),
4 | (0, 'Yes', 2)
5 | ;
6 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/047_RiskItem.RealProperty.Characteristics.OpeningProtect.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.OpeningProtect (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Shuttered', 1),
4 | (0, 'Not Shuttered', 2)
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/049_RiskItem.RealProperty.Characteristics.PlanIrregularity.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.PlanIrregularity (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Regular', 1),
4 | (0, 'Irregular', 2)
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Admin1/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "admin1GeoId":"Long",
3 | "countryGeoId":"Integer",
4 | "admin1Code":"String",
5 | "admin1Name":"String",
6 | "isActive":"Bit",
7 | "externalId":"String"
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RentalPropertyIdentifier/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "rentalPropertyIdentifierCode": "Integer",
3 | "rentalPropertyIdentifierDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Result_Stats/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "resultId": "Long",
3 | "facetId": "Long",
4 | "aal": "Double",
5 | "stdDev": "Double",
6 | "CV": "Double"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskManagementOnsiteRank/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "riskManagementOnsiteRankCode": "Short",
3 | "riskManagementOnsiteRankDesc": "String",
4 | "isActive": "Bit",
5 | "externalId": "String"
6 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/037_RiskItem.RealProperty.Characteristics.FireRemoteAlarmPresence.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.FireRemoteAlarmPresence(countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Yes', 1),
4 | (0, 'No', 2)
5 | ;
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/038_RiskItem.RealProperty.Characteristics.FireSprinklerPresence.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.FireSprinklerPresence (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'No', 1),
4 | (0, 'Yes', 2)
5 | ;
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/048_RiskItem.RealProperty.Characteristics.Performance.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.Performance (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Good', 1),
4 | (0, 'Average', 2),
5 | (0, 'Poor', 3)
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/042_RiskItem.RealProperty.Characteristics.FoundationType.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.FoundationType (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Non-Elevated', 1),
4 | (0, 'Elevated', 2)
5 | ;
6 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/060_RiskItem.RealProperty.Characteristics.StructuralUpgradeNonURM.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.StructuralUpgradeNonURM (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Yes', 2),
4 | (0, 'No', 1)
5 |
6 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ResultMetadata/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "structureId": "Long",
4 | "positionId": "Long",
5 | "settingsId": "Long",
6 | "resultTypeCode": "String",
7 | "granularityCode": "String"
8 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/029_RiskItem.RealProperty.Characteristics.BIRedundancy.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.BIRedundancy (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Minimal', 1),
4 | (0, 'Average', 2),
5 | (0, 'Extensive', 3)
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/041_RiskItem.RealProperty.Characteristics.FloorType.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.FloorType (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Concrete', 1),
4 | (0, 'Masonry', 2),
5 | (0, 'Wood', 3)
6 |
7 | ;
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/043_RiskItem.RealProperty.Characteristics.FrameFoundationConnection.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.FrameFoundationConnection (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Bolted', 1),
4 | (0, 'Unbolted', 2)
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Result_PLT/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "resultId": "Long",
3 | "periodId": "Long",
4 | "eventId": "Long",
5 | "facetId": "Long",
6 | "loss": "Double",
7 | "lossDate": "Date",
8 | "eventDate": "Date"
9 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/StructurePositions/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id":"Long",
3 | "structureId":"Long",
4 | "positionName":"String",
5 | "positionTypeCode":"String",
6 | "children":"String",
7 | "instructions":"String"
8 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/035_RiskItem.RealProperty.Characteristics.ExteriorRating.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.ExteriorRating (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Good', 1),
4 | (0, 'Average', 2),
5 | (0, 'Poor', 3)
6 | ;
7 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/LossTypeHierarchy/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "lossTypeCode":"String",
3 | "parentLossTypeCode": "String"
4 | }
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskExposure/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "riskExposureId": "Long",
3 | "exposureSetId": "Long",
4 | "riskId": "Long",
5 | "riskItemId": "Long",
6 | "lossTypeCode": "String",
7 | "insurableInterest": "Double"
8 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/024_RiskItem.Common.RiskitemType.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.RiskitemType (riskItemTypeCode, riskItemTypeDesc) VALUES
2 | ('RP', 'RealProperty'),
3 | ('CP', 'ContainedProperty'),
4 | ('TE', 'TimeElement'),
5 | ('POP', 'Population')
6 | ;
7 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "contractTypeCode":"String",
3 | "contractTypeDesc":"String",
4 | "parentContractTypeCode":"String",
5 | "isInsurance":"Bit",
6 | "isActive":"Bit",
7 | "externalId":"String"
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/CurrencyExchangeRate/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "currencyCode":"Char",
3 | "effectiveDate":"DateTime",
4 | "exchangeRate":"Double"
5 | }
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/028_RiskItem.RealProperty.Characteristics.BIPreparedness.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.BIPreparedness (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Poor', 3),
4 | (0, 'Average', 2),
5 | (0, 'Good', 1)
6 | ;
7 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/030_RiskItem.RealProperty.Characteristics.CommercialAppurtenant.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.CommercialAppurtenant (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'None', 1),
4 | (0, 'Signage', 2),
5 | (0, 'PV Array', 3)
6 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/067_RiskItem.RealProperty.Characteristics.DistanceUnit.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.DistanceUnit (distanceUnitCode, distanceUnitDesc) VALUES
2 | (0,'Unspecified'),
3 | (1,'Inches'),
4 | (2,'Feet'),
5 | (3,'Miles'),
6 | (4,'Meters'),
7 | (5,'Kilometers')
8 | ;
9 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/101_RiskItem.Population.RiskManagementOnsiteRank.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.RiskManagementOnsiteRank (riskManagementOnsiteRankCode, riskManagementOnsiteRankDesc) VALUES
2 | (-1, 'Above Average'),
3 | (0, 'Average'),
4 | (1, 'Below Average')
5 | ;
6 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/103_RiskItem.Population.EmergencyProtectionProximity.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.EmergencyProtectionProximity (emergencyProtectionProxCode, emergencyProtectionProxDesc) VALUES
2 | (-1, 'Above Average'),
3 | (0, 'Average'),
4 | (1, 'Below Average')
5 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Occupancy/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "occupancyschemeName": "String",
3 | "occupancyCode": "Integer",
4 | "occupancyName": "String",
5 | "occupancyBandName": "String",
6 | "isActive": "Bit",
7 | "externalId": "String"
8 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/SettingsDetail/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "settingDetailId":"Long",
3 | "settingId":"Long",
4 | "settingname":"String",
5 | "settingValue":"String",
6 | "settingGroupName":"String",
7 | "settingGroupValue":"String",
8 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/100_RiskItem.Population.HazardousMaterial.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.HazardousMaterial (hazardousMaterialCode, hazardousMaterialDesc) VALUES
2 | (1, 'None other than Incidental'),
3 | (2, 'Flammables or Explosives'),
4 | (3, 'Toxic Gas or Liquids')
5 | ;
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # IntelliJ
2 | *.iml
3 | *.ipr
4 | *.iws
5 | .idea
6 |
7 | # Maven
8 | **/target/
9 | **/logs/
10 | *.versionsBackup
11 | .flattened-pom.xml
12 | **/scalastyle-output.xml
13 |
14 | # Mac
15 | .DS_Store
16 | **/derby.log
17 | **/metastore_db/
18 | **/graylog-client.log
19 |
20 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/052_RiskItem.RealProperty.Characteristics.RentalPropertyIdentifier.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.RentalPropertyIdentifier (rentalPropertyIdentifierCode, rentalPropertyIdentifierDesc) VALUES
2 | (0, 'Unknown'),
3 | (1, 'Owner Insured'),
4 | (2, 'Tenant Insured')
5 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Construction/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "constructionschemeName":"String",
3 | "constructionCode":"String",
4 | "constructionName":"String",
5 | "constructionBandName":"String",
6 | "isActive":"Bit",
7 | "externalId":"String"
8 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/004_Contract.CDL.PayoutFunction.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.PayoutFunction (payoutFunctionCode, payoutFunctionDesc) VALUES
2 | ('LIMIT','Pays share * (min(limit, max(0, loss - attachment)))'),
3 | ('CONSTANT ','If loss > attachment, pays share * payoutAmount')
4 | ;
5 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/031_RiskItem.RealProperty.Characteristics.ContentsVulnWater.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.ContentsVulnWater (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Low', 1),
4 | (0, 'Average', 2),
5 | (0, 'High', 3),
6 | (0, 'Very High', 4)
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/032_RiskItem.RealProperty.Characteristics.ContentsVulnWind.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.ContentsVulnWind (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Low', 1),
4 | (0, 'Average', 2),
5 | (0, 'High', 3),
6 | (0, 'Very High', 4)
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/058_RiskItem.RealProperty.Characteristics.RoofGeometry.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.RoofGeometry (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Flat', 1),
4 | (0, 'Gable', 2),
5 | (0, 'Hip', 3),
6 | (0, 'Monoslope', 4)
7 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/003_Contract.CDL.TimeBasis.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.TimeBasis (timeBasisCode, timeBasisDesc) VALUES
2 | ('AGGREGATE','Each occurrence erodes the term''s amount. Amount is reset only after the end of the period.'),
3 | ('OCCURRENCE','Amount is reset for each occurrence.')
4 | ;
5 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/044_RiskItem.RealProperty.Characteristics.FireSupression.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.FireSuppression (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Active suppression', 1),
4 | (0, 'Passive suppression', 2),
5 | (0, 'None', 3)
6 | ;
7 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Address/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | {
7 | "table": "ExposureSet",
8 | "columnMapping": {
9 | "id": "exposureSetId"
10 | }
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Result_EP/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "resultId": "Long",
3 | "returnPeriod": "Double",
4 | "facetId": "Long",
5 | "aep": "Double",
6 | "oep": "Double",
7 | "tce_aep": "Double",
8 | "tce_oep": "Double",
9 | "eef": "Double"
10 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Risk/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | {
7 | "table": "ExposureSet",
8 | "columnMapping": {
9 | "id": "exposureSetId"
10 | }
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskItem_TimeElement/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "riskItemId":"Long",
3 | "externalId":"String",
4 | "name":"String",
5 | "number":"String",
6 | "parentRiskItemId":"Long",
7 | "replacementCostValue":"Double",
8 | "currencyCode":"Char"
9 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/036_RiskItem.RealProperty.Characteristics.ExternalOrnamentation.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.ExternalOrnamentation (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Limited', 1),
4 | (0, 'Average', 2),
5 | (0, 'Extensive', 3)
6 |
7 | ;
8 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ResultFacetValues/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "facetId": "Long",
3 | "admin1GeoId": "Long",
4 | "admin2GeoId": "Long",
5 | "admin3GeoId": "Long",
6 | "postalCodeGeoId": "Long",
7 | "lineOfBusinessCode": "String",
8 | "cedantCode": "String"
9 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Schedule/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | {
7 | "table": "ExpposureSet",
8 | "columnMapping": {
9 | "id": "exposureSetId"
10 | }
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/TreatyReinstatements/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "treatyId": "Long",
3 | "numberOfReinstatements": "Short",
4 | "isUnlimited": "Bit",
5 | "ordinal": "Short",
6 | "isPaid": "Bit",
7 | "rate": "Double",
8 | "prorataOptionTypeCode": "String"
9 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Contract_Insurance/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | {
7 | "table": "ExposureSet",
8 | "columnMapping": {
9 | "id": "exposureSetId"
10 | }
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Insured/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "insuredCode":"String",
3 | "insuredDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Insurer/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "insurerCode":"String",
3 | "insurerDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/LossType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "lossTypeCode":"String",
3 | "lossTypeDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/009_Contract.CDL.CauseOfLossHierarchy.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.CauseOfLossHierarchy (causeOfLossCode, parentCauseOfLossCode) VALUES
2 | ('EQ', 'ALL'),
3 | ('WS', 'ALL'),
4 | ('FL', 'ALL'),
5 | ('FR', 'ALL'),
6 | ('TR', 'ALL'),
7 | ('CS', 'ALL'),
8 | ('WT', 'ALL')
9 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/057_RiskItem.RealProperty.Characteristics.RoofCovering.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.RoofCovering (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Shingles', 1),
4 | (0, 'Metal', 2),
5 | (0, 'Tiles', 3),
6 | (0, 'Concrete', 4),
7 | (0, 'Other', 5)
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Admin2/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "admin2GeoId":"Long",
3 | "admin1GeoId":"Long",
4 | "countryGeoId":"Integer",
5 | "admin2Code":"String",
6 | "admin2Name":"String",
7 | "cresta":"String",
8 | "isActive":"Bit",
9 | "externalId":"String"
10 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Contract_Facultative/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | {
7 | "table": "ExposureSet",
8 | "columnMapping": {
9 | "id": "exposureSetId"
10 | }
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskItem_ContainedProperty/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "riskItemId": "Long",
3 | "externalId": "String",
4 | "parentRiskItemId": "Long",
5 | "name": "String",
6 | "number": "String",
7 | "replacementCostValue": "Integer",
8 | "currencyCode": "String"
9 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskItem_RealProperty/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "riskItemId"
4 | ],
5 | "foreignKeys": [
6 | {
7 | "table": "Address",
8 | "columnMapping": {
9 | "id": "addressId"
10 | }
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Granularity/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "granularityCode":"String",
3 | "granularityDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/InsuranceLayer/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | {
7 | "table": "Contract_Insurance",
8 | "columnMapping": {
9 | "id": "insuranceContractId"
10 | }
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/InsuranceTerm/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | {
7 | "table": "Contract_Insurance",
8 | "columnMapping": {
9 | "id": "insuranceContractId"
10 | }
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Result_ELT/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "resultId": "Long",
3 | "facetId": "Long",
4 | "eventId": "Long",
5 | "meanLoss": "Double",
6 | "stdDevC": "Double",
7 | "stdDevl": "Double",
8 | "exposureValue": "Double"
9 | }
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Portfolio/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "externalId": "String",
4 | "name": "String",
5 | "exposureSetId": "Long",
6 | "number": "String",
7 | "portfolioTypeCode": "String",
8 | "description": "String"
9 | }
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Schedule/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "exposureSetId": "Long",
4 | "externalId": "String",
5 | "name": "String",
6 | "number": "String",
7 | "description": "String",
8 | "scheduleExpression": "String",
9 | "accountName": "String"
10 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ScheduleRiskMap/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "subscheduleId",
4 | "riskId"
5 | ],
6 | "foreignKeys": [
7 | {
8 | "table": "Risk",
9 | "columnMapping": {
10 | "id": "riskId"
11 | }
12 | }
13 | ]
14 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/102_RiskItem.Population.ShiftType.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.shifttype (ShiftTypeID, ShiftTypeDesc) VALUES
2 | (0, 'Shift data not available or applicable'),
3 | (1, 'Standard Single Shift'),
4 | (2, 'Two shifts per day'),
5 | (3, 'Three shifts per day'),
6 | (4, 'Four shifts per day')
7 | ;
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ExposureSet/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "name": "String",
4 | "externalId": "String",
5 | "description": "String",
6 | "createUserId": "String",
7 | "createDate": "DateTime",
8 | "updateUserId": "String",
9 | "updateDate": "DateTime"
10 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/LineOfBusiness/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "lineOfBusinessCode":"String",
3 | "lineOfBusinessDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PortfolioTag/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "portfolioId",
4 | "tagCode"
5 | ],
6 | "foreignKeys": [
7 | {
8 | "table": "Portfolio",
9 | "columnMapping": {
10 | "id": "portfolioId"
11 | }
12 | }
13 | ]
14 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PostalCode/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "postalCodeGeoId": "Long",
3 | "admin3GeoId": "Long",
4 | "admin2GeoId": "Long",
5 | "admin1GeoId": "Long",
6 | "countryGeoId": "Long",
7 | "postalCode": "String",
8 | "isActive": "Bit",
9 | "externalId": "String"
10 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Exterior/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FloodType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FloorType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Garaging/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Settings_RiskAnalysisProfile/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id":"Long",
3 | "numberOfPeriods":"Long",
4 | "currencyCode":"Char",
5 | "currencyAsOfDate":"Date",
6 | "reportingWindowStartDate":"Date",
7 | "reportingWindowEndDate":"Date",
8 | "minimumLossThreshold":"Double"
9 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/053_RiskItem.RealProperty.Characteristics.ResidentialAppurtenant.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.ResidentialAppurtenant (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'None', 1),
4 | (0, 'Screen Enclosure', 2),
5 | (0, 'PV Array', 3),
6 | (0, 'Additional Structure', 4)
7 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Admin3/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "admin3GeoId":"Long",
3 | "admin2GeoId":"Long",
4 | "admin1GeoId":"Long",
5 | "countryGeoId":"Long",
6 | "admin3Code":"String",
7 | "admin3Name":"String",
8 | "cresta":"String",
9 | "isActive":"Bit",
10 | "externalId":"String"
11 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ExteriorRating/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FireSuppression/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FloodMissile/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FloodProtection/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FoundationType/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/GeoModelResolution/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "geoModelResolutionCode":"Short",
3 | "geoModelResolutionDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/GeocodingDataSource/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "geocodingDataSourceId":"Short",
3 | "geocodingDataSourceName":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/HazardousMaterial/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "hazardousMaterialCode":"Integer",
3 | "hazardousMaterialDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/019_Geography.Geocoding.GeocodingDataSource.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.GeocodingDataSource (geocodingDataSourceId, geocodingDataSourceName) VALUES
2 | (0,'Failed geocoding attempt'),
3 | (4,'Parcel'),
4 | (8,'Street interpolation'),
5 | (16,'ESDB HRB data'),
6 | (32,'Global Location Module (GLM)'),
7 | (64,'Tabular')
8 | ;
9 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/EngineeredFoundation/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ExternalOrnamentation/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FireSprinklerPresence/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FireSprinklerSystem/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/GeocodinglResolution/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "geocodingResolutionCode":"Short",
3 | "geocodingResolutionDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Currency/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "currencyCode":"Char",
3 | "currencyName":"String",
4 | "countryName":"String",
5 | "currencySymbol":"Nvarchar",
6 | "isActive":"Bit",
7 | "externalId":"String"
8 | }
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FireRemoteAlarmPresence/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FrameFoundationConnection/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "optionDesc":"String",
4 | "optionValue":"Short",
5 | "isActive":"Bit",
6 | "externalId":"String"
7 | }
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Risk/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "Long",
3 | "exposureSetId": "Long",
4 | "primaryRiskItemId": "Long",
5 | "externalId": "String",
6 | "name": "String",
7 | "number": "String",
8 | "description": "String",
9 | "accountName": "String",
10 | "numberOfUnits": "Integer"
11 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/005_Contract.CDL.Resolution.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.Resolution (resolutionCode, resolutionDesc) VALUES
2 | ('PER_RISK','This is a shorthand for specifying multiple layers or terms, identical except each applies to a single risk.'),
3 | ('PER_OCCURRENCE','The terms apply to the sum of the losses in the subject.')
4 | ;
5 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/033_RiskItem.RealProperty.Characteristics.Exterior.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.Exterior (countryGeoId, optionDesc, optionValue) VALUES
2 | (0, 'Unknown', 0),
3 | (0, 'Brick Veneer', 1),
4 | (0, 'Vinyl', 2),
5 | (0, 'EFIS/Stucco', 3),
6 | (0, 'Glazed', 4),
7 | (0, 'Masonry/RC', 5),
8 | (0, 'Metal', 6),
9 | (0, 'Wood', 7)
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/EmergencyProtectionProximity/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "emergencyProtectionProxCode":"Short",
3 | "emergencyProtectionProxDesc":"String",
4 | "isActive":"Bit",
5 | "externalId":"String"
6 | }
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/main/scala/com/rms/rdo/validation/model/IntegrityConstraint.scala:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model
2 |
3 | case class IntegrityConstraint(primaryKeys: List[String],
4 | foreignKeys: List[ForeignKeyDetail])
5 |
6 | case class ForeignKeyDetail(table: String, columnMapping: Map[String, String])
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Admin4/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "admin4GeoId":"Long",
3 | "admin3GeoId":"Long",
4 | "admin2GeoId":"Long",
5 | "admin1GeoId":"Long",
6 | "countryGeoId":"Long",
7 | "admin4Code":"String",
8 | "admin4Name":"String",
9 | "cresta":"String",
10 | "isActive":"Bit",
11 | "externalId":"String"
12 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Admin5/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "admin5GeoId":"Long",
3 | "admin4GeoId":"Long",
4 | "admin3GeoId":"Long",
5 | "admin2GeoId":"Long",
6 | "admin1GeoId":"Long",
7 | "countryGeoId":"Long",
8 | "admin5Code":"String",
9 | "admin5Name":"String",
10 | "CRESTA":"String",
11 | "isActive":"Bit",
12 | "externalId":"String"
13 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/CauseOfLossHierarchy/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "causeOfLossCode",
4 | "parentCauseOfLossCode"
5 | ],
6 | "foreignKeys": [
7 | {
8 | "table": "CauseOfLoss",
9 | "columnMapping": {
10 | "causeOfLossCode": "causeOfLossCode, parentCauseOfLossCode"
11 | }
12 | }
13 | ]
14 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/007_Contract.CDL.TermType.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.TermType (termTypeCode, termTypeDesc) VALUES
2 | ('SUBLIMIT','Standard sublimit'),
3 | ('DEDUCTIBLE','Standard deductible'),
4 | ('MAX_DEDUCTIBLE','Maximum deductible'),
5 | ('FRANCHISE_DEDUCTIBLE','The deductible is 0 if the loss exceeds the amount specified.'),
6 | ('SINGLE_LARGEST','(Not implemented)')
7 | ;
8 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Settings_ModelProfile/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id":"Long",
3 | "analysisType":"String",
4 | "softwareVersion":"String",
5 | "perilCode":"String",
6 | "regionCode":"String",
7 | "currencyCode":"String",
8 | "currencyAsOfDate":"Date",
9 | "modelProfileJson":"String",
10 | "createUser":"String",
11 | "createDate":"Date"
12 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/main/scala/com/rms/rdo/validation/model/DataTypeValidationError.scala:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model
2 |
3 | case class DataTypeValidationError(columnName: String, columnValue: String, errorMessage: String)
4 |
5 | case class DataTypeValidationErrors(errors: List[DataTypeValidationError],
6 | message: Option[String] = None)
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/ContractDeclaration/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "contractId":"Long",
3 | "contractLayerId":"Long",
4 | "contractScopeCode":"String",
5 | "contractCedantCode":"String",
6 | "reinsurerCode":"String",
7 | "underwriterShortName":"String",
8 | "producerShortName":"String",
9 | "branchShortName":"String",
10 | "brokerShortName":"String"
11 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/008_Contract.CDL.CauseOfLoss.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.CauseOfLoss (causeOfLossCode, causeOfLossDesc, isActive) VALUES
2 | ('EQ','Earthquake',1),
3 | ('WS','Windstorm/Hurricane',1),
4 | ('FL','Flood',1),
5 | ('FR','Interior Fire',1),
6 | ('TR','Terrorism',1),
7 | ('CS','Severe Convective Storm',1),
8 | ('WT','Winterstorm',1),
9 | ('ALL','RMS ALL PERILS',1)
10 |
11 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/011_Contract.CDL.LossTypeHierarchy.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.LossTypeHierarchy (lossTypeCode, parentLossTypeCode) VALUES
2 | ('CovA', 'Building'),
3 | ('CovB', 'Building'),
4 | ('CovC', 'Contents'),
5 | ('CovD', 'BI'),
6 | ('Building', 'Property'),
7 | ('Contents', 'Property'),
8 | ('BI', 'Property'),
9 | ('Casualty', 'Loss'),
10 | ('Property', 'Loss')
11 | ;
12 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/RiskExposure/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "riskExposureId"
4 | ],
5 | "foreignKeys": [
6 | {
7 | "table": "ExposureSet",
8 | "columnMapping": {
9 | "id": "exposureSetId"
10 | }
11 | },
12 | {
13 | "table": "Risk",
14 | "columnMapping": {
15 | "id": "riskId"
16 | }
17 | }
18 | ]
19 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/FacultativeCession/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id":"Long",
3 | "facultativeId":"Long",
4 | "excessAmount":"Double",
5 | "excessCurrencyCode":"Char",
6 | "limitAmount":"Double",
7 | "limitCurrency":"Char",
8 | "share":"Double",
9 | "subjectTypeCode":"String",
10 | "subjectInsuranceContractId":"Long",
11 | "subjectInsuranceLayerId":"Long",
12 | "subjectRiskId":"Long"
13 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AggregatePortfolioMembership/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "id"
4 | ],
5 | "foreignKeys": [
6 | {
7 | "table": "Portfolio",
8 | "columnMapping": {
9 | "id": "portfolioId"
10 | }
11 | },
12 | {
13 | "table": "ExposureSet",
14 | "columnMapping": {
15 | "id": "exposureSetId"
16 | }
17 | }
18 | ]
19 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/InsuranceTerm/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id":"Long",
3 | "insuranceContractId":"Long",
4 | "termTypeCode":"String",
5 | "amount":"Double",
6 | "amountBasisCode":"String",
7 | "timeBasisCode":"String",
8 | "currencyCode":"Char",
9 | "lossTypeCode":"String",
10 | "causeOfLossCode":"String",
11 | "subjectId":"Long",
12 | "subjectScopeCode":"String",
13 | "subjectResolutionCode":"String"
14 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/012_Contract.CDL.AttachmentLevel.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.AttachmentLevel (attachmentLevelCode, attachmentLevelDesc, externalId) VALUES
2 | ('Contract','Terms aggregated over Contracts in reinsurance schedule grouped by Account Number','ACCT'),
3 | ('Location','Terms apply to each Subject At Risk covered by each Contract in reinsurance Schedule','LOC'),
4 | ('ContractLayer','Terms apply to each Cover in reinsurance schedule','POL')
5 | ;
6 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/301_Result.Peril.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.Peril (perilCode, perilDesc, isActive) VALUES
2 | ('EQ', 'Earthquake', 1),
3 | ('WS', 'Windstorm/Hurricane/Typhoon', 1),
4 | ('FL', 'Flood', 1),
5 | ('FR', 'Interior Fire', 0),
6 | ('TR', 'Terrorism', 0),
7 | ('CS', 'Severe Convective Storm', 1),
8 | ('WT', 'Winterstorm', 1),
9 | ('YY', 'RMS ALL PERILS', 0),
10 | ('TO', '(CS/WT) Severe Convective Storm / WinterStorm', 0)
11 | ;
12 |
--------------------------------------------------------------------------------
/rdos-validation-tools/cdl-parser/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | %date{HH:mm:ss} %-5level %logger{0} {%class %method} - %msg%n
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Contract_Insurance/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id":"Long",
3 | "exposureSetId":"Long",
4 | "externalId":"String",
5 | "name":"String",
6 | "number":"String",
7 | "description":"String",
8 | "statusCode":"String",
9 | "insuranceContractTypeCode":"String",
10 | "subjectId":"Long",
11 | "subjectName":"String",
12 | "subjectScopeCode":"String",
13 | "renewalExternalId":"String",
14 | "brokerage":"Double"
15 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | %date{HH:mm:ss} %-5level %logger{0} {%class %method} - %msg%n
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/PortfolioMembership/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "portfolioId",
4 | "insuranceContractId"
5 | ],
6 | "foreignKeys": [
7 | {
8 | "table": "Contract_Insurance",
9 | "columnMapping": {
10 | "id": "insuranceContractId"
11 | }
12 | },
13 | {
14 | "table": "Portfolio",
15 | "columnMapping": {
16 | "id": "portfolioId"
17 | }
18 | }
19 | ]
20 | }
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/018_Geography.Geocoding.GeoModelResolution.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.GeoModelResolution (geoModelResolutionCode, geoModelResolutionDesc) VALUES
2 | (0,'none'),
3 | (1,'Coordinate'),
4 | (2,'Street / Building / Parcel'),
5 | (3,'High Resolution Postcode / Other'),
6 | (4,'Street Name'),
7 | (5,'Postal Code'),
8 | (6,'Neighborhood'),
9 | (7,'City'),
10 | (8,'District / Municipality'),
11 | (9,'County'),
12 | (10,'State'),
13 | (11,'CRESTA'),
14 | (14,'Country')
15 | ;
16 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-java/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | %date{HH:mm:ss} %-5level %logger{0} {%class %method} - %msg%n
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-scala/src/main/resources/logback.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | %date{HH:mm:ss} %-5level %logger{0} {%class %method} - %msg%n
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/SubscheduleRiskMap/integrity_constraints.json:
--------------------------------------------------------------------------------
1 | {
2 | "primaryKeys": [
3 | "subscheduleId",
4 | "insuranceContractId",
5 | "riskId"
6 | ],
7 | "foreignKeys": [
8 | {
9 | "table": "InsuranceContract",
10 | "columnMapping": {
11 | "id": "insuranceContractId"
12 | }
13 | },
14 | {
15 | "table": "Risk",
16 | "columnMapping": {
17 | "id": "riskId"
18 | }
19 | }
20 | ]
21 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Country/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "countryGeoId":"Integer",
3 | "countryCode":"String",
4 | "countryName":"String",
5 | "iso2a":"String",
6 | "iso3a":"String",
7 | "iso3n":"String",
8 | "fips":"String",
9 | "cresta":"String",
10 | "countryModelCode":"String",
11 | "countryModelName":"String",
12 | "isActive":"Bit",
13 | "externalId":"String"
14 | }
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-java/src/main/java/com/rms/rdo/validation/model/integrityconstraint/ForeignKeyDetail.java:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model.integrityconstraint;
2 |
3 | import java.util.Map;
4 |
5 | import lombok.*;
6 | import lombok.experimental.FieldDefaults;
7 |
8 | @Getter
9 | @Setter
10 | @Builder
11 | @AllArgsConstructor
12 | @NoArgsConstructor
13 | @FieldDefaults(level = AccessLevel.PRIVATE)
14 | public class ForeignKeyDetail {
15 |
16 | String table;
17 |
18 | Map columnMapping;
19 | }
20 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-java/src/main/java/com/rms/rdo/validation/model/cdl/CDLValidationError.java:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model.cdl;
2 |
3 | import lombok.AccessLevel;
4 | import lombok.AllArgsConstructor;
5 | import lombok.Builder;
6 | import lombok.Getter;
7 | import lombok.experimental.FieldDefaults;
8 |
9 | @Getter
10 | @Builder
11 | @AllArgsConstructor
12 | @FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
13 | public class CDLValidationError {
14 |
15 | String file;
16 |
17 | String errorMessage;
18 | }
19 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-java/src/main/java/com/rms/rdo/validation/model/integrityconstraint/IntegrityConstraint.java:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model.integrityconstraint;
2 |
3 | import java.util.List;
4 |
5 | import lombok.*;
6 | import lombok.experimental.FieldDefaults;
7 |
8 | @Getter
9 | @Setter
10 | @Builder
11 | @AllArgsConstructor
12 | @NoArgsConstructor
13 | @FieldDefaults(level = AccessLevel.PRIVATE)
14 | public class IntegrityConstraint {
15 |
16 | List primaryKeys;
17 |
18 | List foreignKeys;
19 | }
20 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/010_Contract.CDL.LossType.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.LossType (lossTypeCode, lossTypeDesc, isActive) VALUES
2 | ('Building', 'Building', 1),
3 | ('Contents', 'Contents', 1),
4 | ('BI', 'Business Interruption', 1),
5 | ('CovA', 'Coverage A', 1),
6 | ('CovB', 'Coverage B - appurtenant structure', 1),
7 | ('CovC', 'Coverage C', 1),
8 | ('CovD', 'Coverage D', 1),
9 | ('Casualty', 'Casualty', 1),
10 | ('Property', 'Property', 1),
11 | ('Loss','any or all loss types. CDL will specify Loss to catch all Loss types', 1)
12 | ;
13 |
--------------------------------------------------------------------------------
/Schema/sql/ReferenceTables-SeedData/017_Geography.Geocoding.GeocodingResolution.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO REF.GeocodingResolution (geocodingResolutionCode, geocodingResolutionDesc) VALUES
2 | (0,'Ungeocoded'),
3 | (1,'Multiple Match'),
4 | (2,'Country'),
5 | (14,'Building'),
6 | (19,'Point'),
7 | (22,'Parcel'),
8 | (31,'Street Address'),
9 | (32,'Street Address'),
10 | (34,'Block Segment'),
11 | (36,'Hi Resolution Postcode'),
12 | (51,'Street Name'),
13 | (64,'Medium Resolution Postcode'),
14 | (66,'Admin4'),
15 | (72,'City'),
16 | (76,'Admin3'),
17 | (86,'Admin2'),
18 | (96,'Admin1'),
19 | (98,'CRESTA')
20 | ;
21 |
--------------------------------------------------------------------------------
/rdos-validation-tools/README.md:
--------------------------------------------------------------------------------
1 | #### Create RDO Validation Java jar
2 | mvn -pl rdo-validation-tool-java/ -am clean package
3 |
4 | #### Create RDO Validation Scala jar
5 | mvn -pl rdo-validation-tool-scala/ -am clean package
6 |
7 | #### Compile the project
8 | mvn clean compile
9 |
10 | #### Run the jar
11 | java -jar
12 |
13 | Here, is optional. If it will not be given then the will be used to create error files.
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-java/src/main/java/com/rms/rdo/validation/model/integrityconstraint/PrimaryKeyErrorDetail.java:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model.integrityconstraint;
2 |
3 |
4 | import java.util.List;
5 |
6 | import lombok.AccessLevel;
7 | import lombok.AllArgsConstructor;
8 | import lombok.Builder;
9 | import lombok.Getter;
10 | import lombok.experimental.FieldDefaults;
11 |
12 | @Getter
13 | @Builder
14 | @AllArgsConstructor
15 | @FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
16 | public class PrimaryKeyErrorDetail {
17 |
18 | List errors;
19 | }
20 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-java/src/main/java/com/rms/rdo/validation/model/datatype/DataTypeValidationError.java:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model.datatype;
2 |
3 | import lombok.AccessLevel;
4 | import lombok.AllArgsConstructor;
5 | import lombok.Builder;
6 | import lombok.Getter;
7 | import lombok.experimental.FieldDefaults;
8 |
9 | @Getter
10 | @Builder
11 | @AllArgsConstructor
12 | @FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
13 | public class DataTypeValidationError {
14 |
15 | String columnName;
16 |
17 | String columnValue;
18 |
19 | String errorMessage;
20 | }
21 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-java/src/main/java/com/rms/rdo/validation/model/datatype/DataTypeValidationErrors.java:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model.datatype;
2 |
3 | import java.util.List;
4 |
5 | import lombok.AccessLevel;
6 | import lombok.AllArgsConstructor;
7 | import lombok.Builder;
8 | import lombok.Getter;
9 | import lombok.experimental.FieldDefaults;
10 |
11 | @Getter
12 | @Builder
13 | @AllArgsConstructor
14 | @FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
15 | public class DataTypeValidationErrors {
16 |
17 | List errors;
18 |
19 | String message;
20 | }
21 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/AggregatePortfolioMembership/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id":"Long",
3 | "portfolioId":"Long",
4 | "exposureSetId":"Long",
5 | "countryCode":"String",
6 | "admin1Code":"String",
7 | "admin2Code":"String",
8 | "cresta":"String",
9 | "postalCode":"String",
10 | "riskCount":"Long",
11 | "totalReplacementCostValue":"Double",
12 | "currencyCode":"Char",
13 | "lossTypeCode":"String",
14 | "causeOfLossCode":"String",
15 | "contractLineOfBusinessCode":"String",
16 | "totalPremium":"Double",
17 | "totalLimit":"Double",
18 | "averageDeductible":"Double"
19 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Contract_Facultative/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "id":"Long",
3 | "exposureSetId":"Long",
4 | "name":"String",
5 | "number":"String",
6 | "inceptionDate":"Date",
7 | "expirationDate":"Date",
8 | "producerCode":"String",
9 | "cedantCode":"String",
10 | "lossTypeCodes":"String",
11 | "causeOfLossCodes":"String",
12 | "lineOfBusinessCodes":"String",
13 | "premium":"Double",
14 | "excessAmount":"Double",
15 | "excessCurrencyCode":"Char",
16 | "limitAmount":"Double",
17 | "limitCurrency":"Char",
18 | "share":"Double",
19 | "inuringPriority":"Short"
20 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-java/src/main/java/com/rms/rdo/validation/model/integrityconstraint/ForeignKeyErrorDetail.java:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model.integrityconstraint;
2 |
3 | import java.util.List;
4 |
5 | import lombok.AccessLevel;
6 | import lombok.AllArgsConstructor;
7 | import lombok.Builder;
8 | import lombok.Getter;
9 | import lombok.experimental.FieldDefaults;
10 |
11 | @Getter
12 | @Builder
13 | @AllArgsConstructor
14 | @FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
15 | public class ForeignKeyErrorDetail {
16 |
17 | String errorMessage;
18 |
19 | List errors;
20 | }
21 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/Contract_Treaty/data_type_validation.json:
--------------------------------------------------------------------------------
1 |
2 | {
3 | "id":"Long",
4 | "name":"String",
5 | "number":"String",
6 | "externalId":"String",
7 | "treatyTypeCode":"String",
8 | "depositPremium":"Double",
9 | "depositPremiumCurrencyCode":"Char",
10 | "taxRate":"Double",
11 | "brokerageRate":"Double",
12 | "variableExpenseRate":"Double",
13 | "lossAdjustmentExpenseRate":"Double",
14 | "fixedExpense":"Double",
15 | "inuringPriority":"Short",
16 | "attachmentLevelCode":"String",
17 | "attachmentBasisCode":"String",
18 | "percentRetention":"Double",
19 | "percentShare":"Double"
20 | }
21 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-java/src/main/java/com/rms/rdo/validation/model/integrityconstraint/PrimaryKeyError.java:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model.integrityconstraint;
2 |
3 | import java.util.List;
4 |
5 | import lombok.AccessLevel;
6 | import lombok.AllArgsConstructor;
7 | import lombok.Builder;
8 | import lombok.Getter;
9 | import lombok.experimental.FieldDefaults;
10 |
11 | @Getter
12 | @Builder
13 | @AllArgsConstructor
14 | @FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
15 | public class PrimaryKeyError {
16 |
17 | String columnName;
18 |
19 | List columnValue;
20 |
21 | String errorMessage;
22 | }
23 |
--------------------------------------------------------------------------------
/rdos-validation-tools/rdos-schema/src/main/resources/TreatyLayer/data_type_validation.json:
--------------------------------------------------------------------------------
1 | {
2 | "treatyId":"Long",
3 | "id":"Short",
4 | "name":"String",
5 | "parentLayerId":"Short",
6 | "isPerRisk":"Integer",
7 | "inceptionDate":"Date",
8 | "expirationDate":"Date",
9 | "payoutShare":"Double",
10 | "payoutFunctionCode":"String",
11 | "payoutAmount":"Double",
12 | "payoutAmountBasisCode":"String",
13 | "payoutTimeBasisCode":"String",
14 | "payoutCurrencyCode":"Char",
15 | "excessIsFranchise":"Bit",
16 | "excessAmount":"Double",
17 | "excessAmountBasisCode":"String",
18 | "excessTimeBasisCode":"String",
19 | "excessCurrencyCode":"Char"
20 | }
--------------------------------------------------------------------------------
/rdos-validation-tools/rdo-validation-tool-java/src/main/java/com/rms/rdo/validation/model/integrityconstraint/ForeignKeyError.java:
--------------------------------------------------------------------------------
1 | package com.rms.rdo.validation.model.integrityconstraint;
2 |
3 | import java.util.List;
4 | import java.util.Map;
5 |
6 | import lombok.AccessLevel;
7 | import lombok.AllArgsConstructor;
8 | import lombok.Builder;
9 | import lombok.Getter;
10 | import lombok.experimental.FieldDefaults;
11 |
12 | @Getter
13 | @Builder
14 | @AllArgsConstructor
15 | @FieldDefaults(level = AccessLevel.PRIVATE, makeFinal = true)
16 | public class ForeignKeyError {
17 |
18 | String file;
19 |
20 | List