Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
elixir
metadata-tools
Commits
9e9cb376
Commit
9e9cb376
authored
Jul 23, 2020
by
Vilem Ded
Browse files
allowing null values for some fields
parent
340af735
Changes
4
Hide whitespace changes
Inline
Side-by-side
metadata_tools/resources/elu-core.json
View file @
9e9cb376
...
...
@@ -57,6 +57,7 @@
"format"
:
"email"
},
"affiliations"
:
{
"description"
:
"Names of the affiliated institutions."
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
...
...
metadata_tools/resources/elu-dataset.json
View file @
9e9cb376
...
...
@@ -10,7 +10,8 @@
],
"properties"
:
{
"project"
:
{
"type"
:
"string"
"description"
:
"Name of the project the dataset belongs to."
,
"type"
:
[
"string"
,
"null"
]
},
"data_declarations"
:
{
"type"
:
"array"
,
...
...
@@ -49,9 +50,9 @@
"type"
:
"object"
,
"properties"
:
{
"partner"
:
{
"type"
:
"string"
},
"transfer_details"
:
{
"type"
:
"string"
},
"transfer_details"
:
{
"type"
:
[
"string"
,
"null"
]
},
"transfer_date"
:
{
"type"
:
"string"
,
"type"
:
[
"string"
,
"null"
],
"pattern"
:
"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
}
}
...
...
metadata_tools/resources/elu-institution.json
View file @
9e9cb376
...
...
@@ -36,11 +36,11 @@
]
},
"address"
:
{
"type"
:
"string"
"type"
:
[
"string"
,
"null"
]
},
"country_code"
:{
"title"
:
"ISO 3166-1 Alpha-2 Country code"
,
"type"
:
"string"
,
"type"
:
[
"string"
,
"null"
],
"pattern"
:
"^[A-Z]{2}$"
}
}
...
...
metadata_tools/resources/elu-project.json
View file @
9e9cb376
...
...
@@ -19,20 +19,20 @@
"type"
:
"boolean"
},
"institutional_ethics_approval_notes"
:
{
"type"
:
"string"
"type"
:
[
"string"
,
"null"
]
},
"has_national_ethics_approval"
:
{
"type"
:
"boolean"
},
"national_ethics_approval_notes"
:
{
"type"
:
"string"
"type"
:
[
"string"
,
"null"
]
},
"start_date"
:
{
"type"
:
"string"
,
"type"
:
[
"string"
,
"null"
],
"pattern"
:
"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
},
"end_date"
:
{
"type"
:
"string"
,
"type"
:
[
"string"
,
"null"
],
"pattern"
:
"^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment