class DataConventionMasterResource extends AbstractDataResource {

  @POST
  @Path("conventions")
  public Response add(@Context UriInfo uriInfo, ConventionDocument request) {
    ConventionDocument result = getConventionMaster().add(request);
    URI createdUri = (new DataConventionResource()).uriVersion(uriInfo.getBaseUri(), result.getUniqueId());
    return responseCreatedObject(createdUri, result);
  }

  public  DataConventionMasterResource(final ConventionMaster conventionMaster);

}