Schematron using XPath 2.0
applicable_records_local_reference_type/Rule
In the nucspec:Applicable_Records class, the attribute pds:local_reference_type must be equal to 'state_table_to_data_table'.
applicable_records_require_record_count/Rule
In the nucspec:Applicable_Records class, the local_identifier_reference () must reference a table with a record count.
cal_ref_doc/Rule
In the nucspec:Calibration_Reference class, the attribute pds:reference_type must be equal to 'energy_calibration_to_calibration_document'.
first_count_bounds_check/Rule
In the nucspec:First_Count class, the index of the last record () must be less than or equal to the record count of the referenced table ().
first_last_ordering/Rule
In the nucspec:First_Last class, the index of the last record must be greater than or equal to the index of the first record.
last_bounds_check/Rule
In the nucspec:First_Last class, the index of the last record () must be less than or equal to the record count of the referenced table ().
nucspec:Observing_Conditions/nucspec:condition_type/nucspec:condition_type
The attribute nucspec:Observing_Conditions/nucspec:condition_type must be nulled or equal to one of the following values 'Data Glitch', 'Electron Burst', 'Gamma-ray Burst', 'SEP', 'Solar Flare'.
state_table_entry_table_exists/Rule
In the nucspec:State_Table_Entry class, the local_identifier_reference () must reference a table.
state_table_ref/Rule
In the nucspec:State_Table class, the attribute pds:reference_type must be equal to 'nucspec_product_to_state_table'.
state_time_field_exists/Rule
In the nucspec:State_Time class, state_time_field_name () must reference a field in the referenced data table ().