Schematron using XPath 2.0
In the nucspec:Applicable_Records class, the attribute pds:local_reference_type must be equal to 'state_table_to_data_table'.
In the nucspec:Applicable_Records class, the local_identifier_reference () must reference a table with a record count.
In the nucspec:Calibration_Reference class, the attribute pds:reference_type must be equal to 'energy_calibration_to_calibration_document'.
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 ().
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.
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 ().
The attribute nucspec:condition_type must be equal to one of the following values 'Data Glitch', 'Electron Burst', 'Gamma-ray Burst', 'SEP', 'Solar Flare'.
In the nucspec:State_Table_Entry class, the local_identifier_reference () must reference a table.
In the nucspec:State_Table class, the attribute pds:reference_type must be equal to 'nucspec_product_to_state_table'.
In the nucspec:State_Time class, state_time_field_name () must reference a field in the referenced data table ().