class UnitValidator {

    public void validateUnit(ObjectNode unitJson)
        throws MetadataValidationException {

        validateStartAndEndDates(unitJson);

        validateInternalSchema(unitJson);

        validateArchiveUnitProfile(unitJson);
    }

    public  UnitValidator(CachedArchiveUnitProfileLoader archiveUnitProfileLoader,
        CachedSchemaValidatorLoader schemaValidatorLoader);

}