BioSample Validation Service
The service validates format and content of BioSample XML submission record, prior to it being submitted to NCBI.
The complete list of validation errors and warnings can be found here: https://www.ncbi.nlm.nih.gov/projects/biosample/docs/submission/validation/errors.xml.
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".