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
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:
title: Outcomes variables
description: >-
@ -70,15 +88,12 @@ slots:
range: Dimension
multivalued: true
distributions:
distribution_of:
description: >-
Available distributions of the dataset or data item.
multivalued: true
range: Distribution
exact_mappings:
- dcat:distribution
The resource that the subject is a distribution of.
range: DataItem
broad_mappings:
- sio:SIO_000341
- sio:SIO_000426
factors:
title: Influencing factors
@ -93,22 +108,14 @@ slots:
A factor the subject is a (sub)level of.
range: Factor
instruments:
title: Used instruments
format:
description: >-
Instruments employed in a study activity. This could be physical
devices, but also software tools.
range: Instrument
multivalued: true
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
The file format of a distribution.
range: FileFormat
exact_mappings:
- dcterms:format
notes:
- When type of the distribution is defined by IANA, `media_type` should be used.
implements:
title: Implemented protocols
@ -121,6 +128,34 @@ slots:
broad_mappings:
- 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:
title: Speciment of
description: >-
@ -182,7 +217,6 @@ classes:
conceptual entity. A DataItem might be available in more than
one representation, with differing formats, and serializations.
slots:
- distributions
- dimensions
Distribution:
@ -192,6 +226,14 @@ classes:
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
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:
class_uri: inm7fd:Dimension
@ -256,6 +298,33 @@ classes:
annotations:
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:
class_uri: inm7fd:Instrument
is_a: Thing