     fault_surface_discretization float
         CONSTRAINT fault_surface_discretization_is_set
         CHECK(
-            ((job_type IN ('classical', 'event_based', 'disaggregation'))
+            ((job_type != 'deterministic')
              AND (fault_surface_discretization IS NOT NULL))
             OR
             ((job_type = 'deterministic')

            ((job_type = 'classical')
             AND (compute_mean_hazard_curve IS NOT NULL))
            OR
            ((job_type IN ('deterministic', 'event_based', 'disaggregation'))
             AND (compute_mean_hazard_curve IS NULL))),
    conditional_loss_poe float[],
    fault_magnitude_scaling_relationship VARCHAR

    subduction_fault_magnitude_scaling_relationship VARCHAR
        CONSTRAINT subduction_fault_magnitude_scaling_relationship_is_set
        CHECK(
            ((job_type != 'deterministic')
             AND (subduction_fault_magnitude_scaling_relationship IS NOT NULL))
            OR
            ((job_type = 'deterministic')
