# DataCollection-schema.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "../Documentation/Implementation/data_model/Json/",
"title": "DataCollection",
"description": "DataCollection schema",
"dataTypes": null,
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Data collection title"
},
"description": {
"type": "string",
"description": "Description of data collection"
},
"dataNature": {
"type": "string",
"description": "Data nature (observation, experiment, survey, …)"
},
"facility": {
"type": "array",
"items": {
"type": "object",
"$comment": "class=TechnicalResource",
"properties": {
"dbid": {
"type": "number"
}
},
"required": [
"dbid"
]
},
"description": "Facility or instrument used to acquire data"
},
"methodReference": {
"type": "array",
"items": {
"type": "object",
"$comment": "class=ResourceReference",
"properties": {
"dbid": {
"type": "number"
}
},
"required": [
"dbid"
]
},
"description": "References of protocols/methods employed"
},
"contributor": {
"type": "array",
"items": {
"type": "object",
"$comment": "class=Contributor",
"properties": {
"dbid": {
"type": "number"
}
},
"required": [
"dbid"
]
},
"description": "Persons involved in the data collection procedure"
},
"cost": {
"type": "array",
"items": {
"type": "object",
"$comment": "class=Cost",
"properties": {
"dbid": {
"type": "number"
}
},
"required": [
"dbid"
]
},
"description": "Costs associated with data collection"
}
},
"required": [
"description",
"dataNature"
]
}