@@ -0,0 +1,542 @@
+package uk.ac.ebi.biosamples.model;%0A%0Aimport org.springframework.hateoas.core.Relation;%0A%0A@Relation(value=%22sample%22, collectionRelation = %22samples%22)%0Apublic class SampleV3%7B%0A%0A    private String accession;%0A%0A    public String getAccession() %7B%0A        return accession;%0A    %7D%0A%0A    public void setAccession(String accession) %7B%0A        this.accession = accession;%0A    %7D%0A%0A    public static SampleV3 build(String accession) %7B%0A        SampleV3 newResource = new SampleV3();%0A        newResource.setAccession(accession);%0A        return newResource;%0A    %7D%0A%7D%0A

change samples resource collection name to 'samples'