2019-11-22 16:31:50 +01:00
|
|
|
package org.gcube.data.publishing.ckan2zenodo.model.zenodo;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import java.util.Date;
|
|
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
|
|
|
@Data
|
|
|
|
@NoArgsConstructor
|
|
|
|
public class DepositionMetadata {
|
|
|
|
|
2019-11-22 18:17:10 +01:00
|
|
|
public static enum UploadType{
|
|
|
|
publication,
|
|
|
|
poster,
|
|
|
|
presentation,
|
|
|
|
dataset,
|
|
|
|
image,
|
|
|
|
video,
|
|
|
|
software,
|
|
|
|
lesson,
|
|
|
|
other
|
|
|
|
}
|
|
|
|
|
|
|
|
public static enum PublicationType{
|
|
|
|
annotationcollection,
|
|
|
|
book,
|
|
|
|
section,
|
|
|
|
conferencepaper,
|
|
|
|
datamanagementplan,
|
|
|
|
article,
|
|
|
|
patent,
|
|
|
|
preprint,
|
|
|
|
deliverable,
|
|
|
|
milestone,
|
|
|
|
proposal,
|
|
|
|
report,
|
|
|
|
softwaredocumentation,
|
|
|
|
taxonomictreatment,
|
|
|
|
techincalnote,
|
|
|
|
thesis,
|
|
|
|
workingpaper,
|
|
|
|
other
|
|
|
|
}
|
|
|
|
|
|
|
|
public static enum ImageType{
|
|
|
|
figure,
|
|
|
|
plot,
|
|
|
|
drawing,
|
|
|
|
diagram,
|
|
|
|
photo,
|
|
|
|
other
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private UploadType upload_type;
|
|
|
|
private PublicationType publication_type;
|
|
|
|
private ImageType image_type;
|
2019-11-22 16:31:50 +01:00
|
|
|
private Date publication_date;
|
|
|
|
private String title;
|
|
|
|
private ArrayList<Creator> creators;
|
|
|
|
private String description; // TODO HTML
|
|
|
|
private String access_rights;
|
2019-11-22 18:17:10 +01:00
|
|
|
private String license; // TODO ENUM https://licenses.opendefinition.org/licenses/groups/all.json
|
2019-11-22 16:31:50 +01:00
|
|
|
private Date embargo_date;
|
|
|
|
private String access_conditions; // TODO HTML
|
|
|
|
private String doi;
|
|
|
|
private Boolean preserve_doi;
|
|
|
|
private ArrayList<String> keywords;
|
|
|
|
private String notes; // TODO HTML
|
|
|
|
private ArrayList<RelatedIdentifier> related_identifiers;
|
|
|
|
private ArrayList<Contributor> contributors;
|
|
|
|
private ArrayList<String> references;
|
|
|
|
private ArrayList<Community> communities;
|
|
|
|
private ArrayList<Grant> grants;
|
|
|
|
private String journal_title;
|
|
|
|
private String journal_volume;
|
|
|
|
private String journal_issue;
|
|
|
|
private String journal_pages;
|
|
|
|
private String conference_title;
|
|
|
|
private String conference_acronym;
|
|
|
|
private String conference_dates;
|
|
|
|
private String conference_place;
|
|
|
|
private String conference_url;
|
|
|
|
private String conference_session;
|
|
|
|
private String conference_session_part;
|
|
|
|
private String imprint_publisher;
|
|
|
|
private String imprint_isbn;
|
|
|
|
private String imprint_place;
|
|
|
|
private String partof_title;
|
|
|
|
private String partof_pages;
|
|
|
|
private ArrayList<Creator> thesis_supervisors;
|
|
|
|
private String thesis_university;
|
|
|
|
private ArrayList<Subject> subjects;
|
|
|
|
private String version;
|
|
|
|
private String language; //https://www.loc.gov/standards/iso639-2/php/code_list.php
|
|
|
|
private ArrayList<Location> locations;
|
|
|
|
private ArrayList<DateInterval> dates;
|
|
|
|
private String method; //TODO html
|
|
|
|
|
|
|
|
}
|