Skip to content

Class: License

A licence as one source stated it, or all rights reserved assumed because no source stated one.

URI: neurostudy:License

 classDiagram
    class License
    click License href "../License/"
      License : determination





        License --> "1" LicenseDetermination : determination
        click LicenseDetermination href "../LicenseDetermination/"



      License : license_id





        License --> "1" LicenseId : license_id
        click LicenseId href "../LicenseId/"



      License : stated_as

      License : stated_by





        License --> "0..1" MetadataSource : stated_by
        click MetadataSource href "../MetadataSource/"



Slots

Name Cardinality and Range Description Inheritance
license_id 1
LicenseId
Which licence, as OpenAlex's licence slugs name them (cc-by, cc-by-nc, direct
determination 1
LicenseDetermination
direct
stated_by 0..1
MetadataSource
The source whose statement this is direct
stated_as 0..1
String
The statement exactly as the source gave it: a licence URL, a licence name, o... direct

Usages

used by used in type used
Bibliography license range License

Rules

Rule Applied Preconditions Postconditions Elseconditions
slot_conditions {'determination': {'equals_string': 'stated'}} {'stated_by': {'value_presence': 'PRESENT', 'any_of': [{'range': 'MetadataSource'}]}, 'stated_as': {'value_presence': 'PRESENT', 'any_of': [{'range': 'string'}]}} {'license_id': {'equals_string': 'all-rights-reserved'}, 'stated_by': {'none_of': [{'range': 'MetadataSource'}]}, 'stated_as': {'none_of': [{'range': 'string'}]}}

Identifier and Mapping Information

Schema Source

  • from schema: https://neurostuff.org/schemas/neuroimaging-study-storage

Mappings

Mapping Type Mapped Value
self neurostudy:License
native neurostudy:License

LinkML Source

Direct

name: License
description: A licence as one source stated it, or all rights reserved assumed because
  no source stated one.
from_schema: https://neurostuff.org/schemas/neuroimaging-study-storage
rank: 1000
attributes:
  license_id:
    name: license_id
    description: 'Which licence, as OpenAlex''s licence slugs name them (`cc-by`,
      `cc-by-nc`, ...). Not an SPDX License Identifier: sources rarely state the licence''s
      version, and SPDX identifiers require one.'
    in_subset:
    - mvp
    - deterministic
    from_schema: https://neurostuff.org/schemas/neuroimaging-study-storage/license
    rank: 1000
    domain_of:
    - License
    range: LicenseId
    required: true
  determination:
    name: determination
    in_subset:
    - mvp
    - deterministic
    from_schema: https://neurostuff.org/schemas/neuroimaging-study-storage/license
    rank: 1000
    domain_of:
    - License
    range: LicenseDetermination
    required: true
  stated_by:
    name: stated_by
    description: The source whose statement this is.
    in_subset:
    - mvp
    - deterministic
    from_schema: https://neurostuff.org/schemas/neuroimaging-study-storage/license
    rank: 1000
    domain_of:
    - License
    range: MetadataSource
  stated_as:
    name: stated_as
    description: 'The statement exactly as the source gave it: a licence URL, a licence
      name, or a copyright line. What `other` holds, and what attribution quotes.
      Never empty: a source that gave no statement did not state a licence.'
    in_subset:
    - mvp
    - deterministic
    from_schema: https://neurostuff.org/schemas/neuroimaging-study-storage/license
    rank: 1000
    domain_of:
    - License
    range: string
    pattern: \S
rules:
- preconditions:
    slot_conditions:
      determination:
        name: determination
        equals_string: stated
  postconditions:
    slot_conditions:
      stated_by:
        name: stated_by
        value_presence: PRESENT
        any_of:
        - range: MetadataSource
      stated_as:
        name: stated_as
        value_presence: PRESENT
        any_of:
        - range: string
  elseconditions:
    slot_conditions:
      license_id:
        name: license_id
        equals_string: all-rights-reserved
      stated_by:
        name: stated_by
        none_of:
        - range: MetadataSource
      stated_as:
        name: stated_as
        none_of:
        - range: string
  open_world: true
  description: A stated licence says who stated it and how. An assumed one is all
    rights reserved, and nobody stated it.

Induced

name: License
description: A licence as one source stated it, or all rights reserved assumed because
  no source stated one.
from_schema: https://neurostuff.org/schemas/neuroimaging-study-storage
rank: 1000
attributes:
  license_id:
    name: license_id
    description: 'Which licence, as OpenAlex''s licence slugs name them (`cc-by`,
      `cc-by-nc`, ...). Not an SPDX License Identifier: sources rarely state the licence''s
      version, and SPDX identifiers require one.'
    in_subset:
    - mvp
    - deterministic
    from_schema: https://neurostuff.org/schemas/neuroimaging-study-storage/license
    rank: 1000
    owner: License
    domain_of:
    - License
    range: LicenseId
    required: true
  determination:
    name: determination
    in_subset:
    - mvp
    - deterministic
    from_schema: https://neurostuff.org/schemas/neuroimaging-study-storage/license
    rank: 1000
    owner: License
    domain_of:
    - License
    range: LicenseDetermination
    required: true
  stated_by:
    name: stated_by
    description: The source whose statement this is.
    in_subset:
    - mvp
    - deterministic
    from_schema: https://neurostuff.org/schemas/neuroimaging-study-storage/license
    rank: 1000
    owner: License
    domain_of:
    - License
    range: MetadataSource
  stated_as:
    name: stated_as
    description: 'The statement exactly as the source gave it: a licence URL, a licence
      name, or a copyright line. What `other` holds, and what attribution quotes.
      Never empty: a source that gave no statement did not state a licence.'
    in_subset:
    - mvp
    - deterministic
    from_schema: https://neurostuff.org/schemas/neuroimaging-study-storage/license
    rank: 1000
    owner: License
    domain_of:
    - License
    range: string
    pattern: \S
rules:
- preconditions:
    slot_conditions:
      determination:
        name: determination
        equals_string: stated
  postconditions:
    slot_conditions:
      stated_by:
        name: stated_by
        value_presence: PRESENT
        any_of:
        - range: MetadataSource
      stated_as:
        name: stated_as
        value_presence: PRESENT
        any_of:
        - range: string
  elseconditions:
    slot_conditions:
      license_id:
        name: license_id
        equals_string: all-rights-reserved
      stated_by:
        name: stated_by
        none_of:
        - range: MetadataSource
      stated_as:
        name: stated_as
        none_of:
        - range: string
  open_world: true
  description: A stated licence says who stated it and how. An assumed one is all
    rights reserved, and nobody stated it.