Document Structure in Detail¶
The full JSON schema can be found and downloaded here.
Bolded properties are required.
User¶
mosydb/schema/user.json |
||
For documenting a user’s information |
||
type |
object |
|
properties |
||
|
user@id |
|
id of the user |
||
type |
string |
|
|
group@id |
|
related group ID |
||
type |
string |
|
|
||
|
||
a proper email for contacting the user |
||
type |
string |
|
|
status |
|
the status of the user - whether is active or not |
||
type |
string |
|
enum |
active, non-active, pending |
|
|
experiment@ids |
|
list of experiment @id’s that relate to this user |
||
type |
array |
|
uniqueItems |
True |
Group¶
mosydb/schema/group.json |
|||
For describing an affiliated group |
|||
type |
object |
||
properties |
|||
|
group@id |
||
id of the user |
|||
type |
string |
||
|
status |
||
status of the user, e.g. active or non-active |
|||
type |
string |
||
enum |
active, non-active, pending |
||
|
|||
|
|||
a proper email for contacting the PI |
|||
type |
string |
||
|
location |
||
type |
object |
||
properties |
|||
|
institute |
||
place of research |
|||
type |
string |
||
|
city |
||
place of research |
|||
type |
string |
||
|
state |
||
place of research |
|||
type |
string |
||
|
country |
||
place of research |
|||
type |
string |
||
|
user@ids |
||
list of users @id’s who work with this PI |
|||
type |
array |
||
uniqueItems |
True |
Event¶
mosydbschema/schema/event.json |
||||
Describes an action or observation event |
||||
type |
object |
|||
properties |
||||
|
event@id |
|||
unique ID for an event |
||||
type |
string |
|||
|
executed |
|||
distinction on whether the protocol have been executed |
||||
type |
boolean |
|||
|
experiment@id |
|||
related experiment ID |
||||
type |
string |
|||
|
environment |
|||
state that the system is at |
||||
type |
object |
|||
properties |
||||
|
_key |
|||
name of the container in which the materials are processed |
||||
type |
string |
|||
|
the quantitative and/or qualitative description for the container |
|||
|
state |
|||
type |
object |
|||
properties |
||||
|
atmosphere |
|||
the type of the atmosphere: glove-box, N2, Ar, ambient |
||||
type |
string |
|||
|
the quantitative and/or qualitative description of a system state |
|||
|
sequence |
|||
to order the sequence of events in an experiment |
||||
type |
object |
|||
properties |
||||
|
order |
|||
the index-step at which this event happened |
||||
type |
integer |
|||
|
The time this event happened |
|||
|
class |
|||
The class of the event: action or observation |
||||
type |
string |
|||
enum |
act, obs |
|||
|
action |
|||
the action name - a group of allowed names, based on the field (from experiment/user) and class (above) |
||||
type |
string |
|||
|
Experiment¶
mosydb/schema/experiment.json |
|||
This schema is for describing an experiment at a high level |
|||
type |
object |
||
properties |
|||
|
experiment @id |
||
unique ID for an experiment |
|||
type |
string |
||
|
_key |
||
who can access the experiment information |
|||
type |
string |
||
enum |
group, public |
||
|
_key |
||
metadata of an experiment |
|||
type |
object |
||
properties |
|||
|
user@id |
||
the ID of the contributors who designed the experiment |
|||
type |
array |
||
|
date |
||
the datetime when this protocol was created |
|||
type |
number |
||
|
_key |
||
the edition of the experiment - a commit id (GitHub-like) |
|||
type |
string |
||
|
protocol |
||
type |
object |
||
properties |
|||
|
system |
||
the target compound that is made, LiCl, Organic-compound name |
|||
type |
string |
||
|
system category |
||
the category of the synthesis, e.g,: solid-state, sol-gel, solvent, etc. |
|||
type |
string |
||
|
main motivation |
||
main motivation for the experiment |
|||
type |
string |
||
|
version |
||
Preferably a number, but can be also a version name |
|||
type |
string |
||
|
description |
||
a description about the experiment |
|||
type |
string |
||
|
free text |
||
a free text description about the experiment |
|||
type |
string |
||
|
executed |
||
the executed protocols |
|||
type |
object |
||
properties |
|||
|
executed |
||
mark if an experiment was ever executed |
|||
type |
boolean |
||
|
the time an experiment was executed |
||
|
notes |
||
a note about the experiment - free |
|||
type |
string |
||
|
event@ids |
||
event id’s |
|||
type |
array |
||
|
_key |
||
output id’s |
|||
type |
array |
Item¶
mosydbschema/schema/item.json |
||||
For describing and documenting a tool, instrument, or result |
||||
type |
object |
|||
properties |
||||
|
item@id |
|||
unique ID for an item |
||||
type |
string |
|||
|
_key |
|||
type of item |
||||
type |
string |
|||
enum |
input, output |
|||
|
_key |
|||
an input item |
||||
type |
object |
|||
properties |
||||
|
object name |
|||
the name an object |
||||
type |
string |
|||
|
description |
|||
a verbal description of an object |
||||
type |
string |
|||
|
_key |
|||
linked object |
||||
type |
object |
|||
properties |
||||
|
link experiment@id |
|||
internally-related unique ID |
||||
type |
string |
|||
|
link external url |
|||
url to the item |
||||
type |
string |
|||
|
the quantitative and/or qualitative description of the input |
|||
|
_key |
|||
an output type |
||||
type |
object |
|||
properties |
||||
|
object name |
|||
the name an object |
||||
type |
string |
|||
|
description |
|||
a verbal description of an object |
||||
type |
string |
|||
|
link |
|||
lined object |
||||
type |
object |
|||
properties |
||||
|
link experiment@id |
|||
internally-related unique ID |
||||
type |
string |
|||
|
results |
|||
the output results |
||||
type |
object |
|||
properties |
||||
|
sample label |
|||
the label a user used, eg. in notebook |
||||
type |
string |
|||
|
successful |
|||
whether the result is as expected |
||||
type |
string |
|||
enum |
unknown, yes, no |
|||
|
the quantitative and/or qualitative description of the result |
|||
|
attachment |
|||
a path to an attachment. Allows a single attachment |
||||
type |
string |
Person Name¶
mosydb/schema/helper/personame.json |
||
type |
object |
|
properties |
||
|
first name |
|
first name |
||
type |
string |
|
|
middle name |
|
middle name |
||
type |
string |
|
|
last name |
|
last name |
||
type |
string |
Time¶
mosydb/schema/helper/time.json |
||
The occurrence time of an event |
||
type |
object |
|
properties |
||
|
start time |
|
The time an event started |
||
type |
number |
|
|
end time |
|
The time an event ended |
||
type |
number |
Value¶
mosydb/schema/helper/value.json |
||||
Describes the measured value of a substance or property |
||||
type |
object |
|||
properties |
||||
|
_key |
|||
description of the quantity, e.g. units: temperature, speed, rate, amount, etc. |
||||
type |
string |
|||
|
_key |
|||
type |
object |
|||
properties |
||||
|
_key |
|||
type |
object |
|||
properties |
||||
|
quantity-planned |
|||
the planned quantity of the property |
||||
type |
number |
|||
|
quantity-actual |
|||
the planned quantity of the property |
||||
type |
number |
|||
|
_key |
|||
a list of planned quantities |
||||
type |
array |
|||
|
unit |
|||
the units of the quantity |
||||
type |
string |
|||
|
_key |
|||
qualitative descriptions, e.g. dissolved, clear, opaque, hot, cold, room temperature, steaming |
||||
type |
string |