anchor.diff:  
   include::{snippets}/create-sample/http-response.adoc[]
   
  +endif::sample[]
  +
   === Validation
   
   Descriptive data is checked at two points during submission:
  
positive.code: 
  include::{snippets}/create-study/http-response.adoc[]
  
  == Adding assays
  
  Assay documents describes the processes performed on the sample to produce data. For example, this could be library
  
negative.code: 
  Updating a document will cause it to be re-validated, as described above.
  
  ifdef::study[]
  
  == Adding a study
  
  Experimental data are grouped into _studies_. Studies should describe the motivation and summarise the design for the
  