First steps towards a Distribution annotation #75

Merged
mih merged 1 commit from flatentry into main 2025-05-26 06:21:14 +00:00

View file

@ -63,6 +63,24 @@ imports:
- inm7schemas:flat-base/unreleased - inm7schemas:flat-base/unreleased
slots: slots:
byte_size:
description: >-
The size of the subject in bytes.
range: NonNegativeInteger
exact_mappings:
- dcat:byteSize
checksums:
description: >-
The checksum property provides a mechanism that can be used to verify
that the contents of a file or package have not changed.
range: Checksum
multivalued: true
inlined: true
inlined_as_list: true
exact_mappings:
- spdx:checksum
dimensions: dimensions:
title: Outcomes variables title: Outcomes variables
description: >- description: >-
@ -70,15 +88,12 @@ slots:
range: Dimension range: Dimension
multivalued: true multivalued: true
distributions: distribution_of:
description: >- description: >-
Available distributions of the dataset or data item. The resource that the subject is a distribution of.
multivalued: true range: DataItem
range: Distribution
exact_mappings:
- dcat:distribution
broad_mappings: broad_mappings:
- sio:SIO_000341 - sio:SIO_000426
factors: factors:
title: Influencing factors title: Influencing factors
@ -93,22 +108,14 @@ slots:
A factor the subject is a (sub)level of. A factor the subject is a (sub)level of.
range: Factor range: Factor
instruments: format:
title: Used instruments
description: >- description: >-
Instruments employed in a study activity. This could be physical The file format of a distribution.
devices, but also software tools. range: FileFormat
range: Instrument exact_mappings:
multivalued: true - dcterms:format
notes:
subject_type: - When type of the distribution is defined by IANA, `media_type` should be used.
title: Type
description: >-
A classifier that identifies the nature/type of a subject.
For specimen (a subject derived/taken from another subject),
this classifier should be more precise than the classifier
of the source subject.
range: SubjectType
implements: implements:
title: Implemented protocols title: Implemented protocols
@ -121,6 +128,34 @@ slots:
broad_mappings: broad_mappings:
- dcterms:conformsTo - dcterms:conformsTo
instruments:
title: Used instruments
description: >-
Instruments employed in a study activity. This could be physical
devices, but also software tools.
range: Instrument
multivalued: true
media_type:
description: >-
The media type of a distribution as defined by IANA
range: string
examples:
- value: text/csv
see_also:
- https://www.iana.org/assignments/media-types
exact_mappings:
- dcat:mediaType
subject_type:
title: Type
description: >-
A classifier that identifies the nature/type of a subject.
For specimen (a subject derived/taken from another subject),
this classifier should be more precise than the classifier
of the source subject.
range: SubjectType
specimen_of: specimen_of:
title: Speciment of title: Speciment of
description: >- description: >-
@ -182,7 +217,6 @@ classes:
conceptual entity. A DataItem might be available in more than conceptual entity. A DataItem might be available in more than
one representation, with differing formats, and serializations. one representation, with differing formats, and serializations.
slots: slots:
- distributions
- dimensions - dimensions
Distribution: Distribution:
@ -192,6 +226,14 @@ classes:
A specific representation of a resource, which may come in the form of A specific representation of a resource, which may come in the form of
a physical object, or an electronic file, or an archive or directory a physical object, or an electronic file, or an archive or directory
of many files, may be standalone or part of a larger collection. of many files, may be standalone or part of a larger collection.
slots:
- byte_size
- checksums
- distribution_of # DataItem
- format
- media_type
- name
- short_name
Dimension: Dimension:
class_uri: inm7fd:Dimension class_uri: inm7fd:Dimension
@ -256,6 +298,33 @@ classes:
annotations: annotations:
sh:order: 5 sh:order: 5
FileFormat:
class_uri: inm7fd:FileFormat
is_a: Thing
mixins:
- CurationAid
description: >-
The file format of a distribution.
slots:
- name
- short_name
slot_usage:
name:
recommended: true
annotations:
sh:order: 1
short_name:
annotations:
sh:order: 2
description:
annotations:
sh:order: 3
dash:singleLine: false
display_label:
recommended: true
annotations:
sh:order: 4
Instrument: Instrument:
class_uri: inm7fd:Instrument class_uri: inm7fd:Instrument
is_a: Thing is_a: Thing