diff options
author | Pjotr Prins | 2020-07-13 08:50:25 +0100 |
---|---|---|
committer | Pjotr Prins | 2020-07-13 08:50:25 +0100 |
commit | b5e38b960c380f0f7868d8fc4038ea3c3a0c52ee (patch) | |
tree | b5477179d66540ab25634295112a2df47df30e27 /bh20sequploader | |
parent | 4167c87ece222f07b8a7cf4e56f71d8256ab5839 (diff) | |
download | bh20-seq-resource-b5e38b960c380f0f7868d8fc4038ea3c3a0c52ee.tar.gz bh20-seq-resource-b5e38b960c380f0f7868d8fc4038ea3c3a0c52ee.tar.lz bh20-seq-resource-b5e38b960c380f0f7868d8fc4038ea3c3a0c52ee.zip |
Add ontology and schema for license information. For review.
Diffstat (limited to 'bh20sequploader')
-rw-r--r-- | bh20sequploader/bh20seq-options.yml | 4 | ||||
-rw-r--r-- | bh20sequploader/bh20seq-schema.yml | 25 |
2 files changed, 29 insertions, 0 deletions
diff --git a/bh20sequploader/bh20seq-options.yml b/bh20sequploader/bh20seq-options.yml index c553f41..d1ea398 100644 --- a/bh20sequploader/bh20seq-options.yml +++ b/bh20sequploader/bh20seq-options.yml @@ -3,6 +3,10 @@ # being unique or at least using the same options in different containing # types. +license_type: + CC0 Public Domain Dedication: http://creativecommons.org/publicdomain/zero/1.0/ + CC-BY-4.0 Attribution 4.0 International: http://creativecommons.org/licenses/by/4.0/ + host_age_unit: Years: http://purl.obolibrary.org/obo/UO_0000036 Months: http://purl.obolibrary.org/obo/UO_0000035 diff --git a/bh20sequploader/bh20seq-schema.yml b/bh20sequploader/bh20seq-schema.yml index a8ab920..b3d4d12 100644 --- a/bh20sequploader/bh20seq-schema.yml +++ b/bh20sequploader/bh20seq-schema.yml @@ -1,5 +1,6 @@ $base: http://biohackathon.org/bh20-seq-schema $namespaces: + cc: http://creativecommons.org/ns# sch: https://schema.org/ efo: http://www.ebi.ac.uk/efo/ obo: http://purl.obolibrary.org/obo/ @@ -9,6 +10,30 @@ $namespaces: $graph: +- name: licenseSchema + type: record + fields: + license_type: + doc: License types as defined in https://wiki.creativecommons.org/images/d/d6/Ccrel-1.0.pdf + type: string? + jsonldPredicate: + _id: https://creativecommons.org/ns#License + title: + doc: Attribution title related to data license + type: string? + jsonldPredicate: + _id: http://semanticscience.org/resource/SIO_001167 + attribution_url: + doc: Attribution URL related to data license + type: string? + jsonldPredicate: + _id: https://creativecommons.org/ns#Work + attribution_source: + doc: Attribution source URL related to data license + type: string? + jsonldPredicate: + _id: https://creativecommons.org/ns#Work + - name: hostSchema type: record fields: |