BioSample Validation Service
BioSample submissions are subject to validation in order to ensure that the records contain accurate and useful information consistent with the FAIR principles. BioSample validations are performed automatically during the submission process and any identified errors are immediately returned to the submitter.
BioSample provides a validation service that validates format and content of BioSample XML submission record, prior to it being submitted to NCBI. An interactive usage example of the validation service is available.
Please see the complete list of validation errors and messages.
The BioSample validation errors are also available in XML format.
Access URL
https://www.ncbi.nlm.nih.gov/projects/biosample/validate/
Input
POST request with XML "AddData" element of submission.xml, see submission.xsd.
AddData element has to include BioSample XML in the same format as for XML deposit submission:
<AddData target_db="BioSample"> <Data content_type="XML"> <XmlContent> <BioSample schema_version="2.0"> ... </BioSample> </XmlContent> </Data> <Identifier> <SPUID spuid_namespace="Namespace">ID</SPUID> </Identifier> </AddData>
BioSample XML schema can be found here: https://www.ncbi.nlm.nih.gov/viewvc/v1/trunk/submit/public-docs/biosample/.
Output
Output format follows submission-response.xsd, with the only change that root node is called "BioSampleValidate".