The data model consists of ten classes
Affiliation
- information about which facility a member is located at
Dataset
- information about an experimental run, including optional File, Sample, Instrument and Technique
Document
- proposal which includes the dataset or published paper which references the dataset
File
- name of file and optionally location
Instrument
- beam line where experiment took place
Member
- proposal team member or paper co-author
Parameter
- scalar measurement with value and units
Person
- human who carried out experiment
Sample
- extract of material used in the experiment
Technique
- common name of scientific method used
https://confluence.panosc.eu/display/wp3/Data+Model
General remarks
-
Classes that may be returned by API calls have a id
property
allowing to refer to them in subsequent calls like GET /datasets/{id}
.
This id is a purely internal identifier of the local metadata
catalogue. It is considered ephemeral and should not be retained by
the client beyond the current session. The value should be
restricted to the characters 0-9A-Za-z_.~-
.
-
Some classes have a pid
property. This is a persistent identifier
that is supposed to be stable and may be stored in the client for
later referal. It also allows cross references to objects in remote
repositories. The value should be a well established persistent
identifier such as a DOI, a Handle, an ORCID-iD, or a ROR. If such
a PID is not available for the object, a locally assigned identifier
in the metadata catalogue is acceptable, as long as it is guaranteed
to be stable.
- Affiliation
- Dataset
- Document
- File
- Instrument
- Member
- Parameter
- Person
- Sample
- Technique
Information about which facility a member is located at.
Card |
Class |
Field |
0,* |
Member |
members |
Field |
Type |
Mandatory |
Comment |
name |
String |
no |
|
id |
String |
no |
|
address |
String |
no |
|
city |
String |
no |
|
country |
String |
no |
|
Information about an experimental run, including optional File,
Sample, Instrument and Parameters.
Card |
Class |
Field |
1,* |
Document |
documents |
1,* |
Technique |
techniques |
0,1 |
Instrument |
instrument |
0,* |
File |
files |
0,* |
Parameter |
parameters |
0,* |
Sample |
samples |
Field |
Type |
Mandatory |
Comment |
pid |
String |
yes |
|
title |
String |
yes |
|
isPublic |
Boolean |
yes |
|
creationDate |
Date |
yes |
|
size |
Integer |
no |
Size of the dataset in bytes |
Represents a scientific proposal or publication.
Card |
Class |
Field |
1,* |
Dataset |
datasets |
0,* |
Member |
members |
0,* |
Parameter |
parameters |
Field |
Type |
Mandatory |
Comment |
pid |
String |
yes |
|
isPublic |
Boolean. |
yes |
|
type |
String |
yes |
|
title |
String |
yes |
|
summary |
String |
no |
|
doi |
String |
no |
|
startDate |
Date |
no |
|
endDate |
Date |
no |
|
releaseDate |
Date |
no |
Date when this document will become openly accessible |
license |
String |
no |
Use SPDX license identifier if applicable, e.g. CC0-1.0 or CC-BY-4.0 |
keywords |
list of strings |
no |
|
Name of file and optionally location.
Card |
Class |
Field |
*,1 |
Dataset |
dataset |
Field |
Type |
Mandatory |
Comment |
id |
String |
yes |
|
name |
String |
yes |
|
path |
String |
no |
|
size |
Integer |
no |
Number of bytes |
Beam line where experiment took place.
Card |
Class |
Field |
0,* |
Dataset |
datasets |
Field |
Type |
Mandatory |
Comment |
pid |
String |
yes |
|
name |
String |
yes |
e.g. Loki |
facility |
String |
yes |
e.g. ESS |
Proposal team member or paper co-author.
Card |
Class |
Field |
1,1 |
Document |
document |
0,1 |
Person |
person |
0.1 |
Affiliation |
affiliation |
Field |
Type |
Mandatory |
Comment |
role |
String |
no |
|
Card |
Class |
Field |
0,1 |
Dataset |
dataset |
0,1 |
Document |
document |
Note: a parameter is either related to a dataset or a document, but
not both.
Field |
Type |
Mandatory |
Comment |
name |
String |
yes |
|
value |
Number or String |
yes |
e.g. 22 |
unit |
String |
where applicable |
e.g. bar |
Note: the value may be either a number or a string. We rely on JSON
using double quotes for strings (e.g. { "name": "detector1_name", "value": "incoming_beam" }
versus { "name": "detector1_data", "units": "A", "value": 3.38e-05 }
) to distinguish either.
Human who carried out experiment.
Card |
Class |
Field |
0,* |
Member |
members |
Field |
Type |
Mandatory |
Comment |
id |
String |
yes |
|
fullName |
String |
yes |
|
orcid |
String |
no |
|
researcherId |
String |
no |
|
firstName |
String |
no |
|
lastName |
String |
no |
|
Extract of material used in the experiment.
Card |
Class |
Field |
0,* |
Dataset |
datasets |
Field |
Type |
Mandatory |
Comment |
name |
String |
yes |
|
pid |
String |
yes |
|
description |
String |
no |
|
Common name of scientific method used.
Card |
Class |
Field |
0,* |
Dataset |
datasets |
Field |
Type |
Mandatory |
Comment |
pid |
String |
yes |
|
name |
String |
yes |
|
panetId |
String |
no |
purl of the PaNET item |