-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextractor.yaml
90 lines (88 loc) · 3.74 KB
/
extractor.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
title: Datatractor Schema
name: extractor
version: 1.0
id: https://datatractor.github.io/schema/main/datatractor_schema/
prefixes:
linkml: https://w3id.org/linkml/
schema_org: http://schema.org/
dcmitype: http://purl.org/dc/dcmitype/1.1
datatractor_schema: https://datatractor.github.io/schema/main/datatractor_schema/
default_prefix: datatractor_schema
emit_prefixes:
- datatractor_schema
imports:
- linkml:types
- base
- filetype
default_range: string
description: >-
This file describes the `Extractor` model from the Datatractor Schema.
classes:
Extractor:
description: >-
A script, code, or web service that, when executed, can extract information
from a supplied "file" with a specific [`FileType`](FileType.md).
comments:
- The supplied "file" may also be a set of files with a given structure.
- The extracted information may be verbatim or transformed, and include
the scientific data and/or metadata contained within the file.
close_mappings:
- schema_org:SoftwareApplication
- schema_org:ServiceChannel
- dcmitype:Software
- dcmitype:Service
slots:
- id
- name
- description
- subject
- citations
- license
attributes:
supported_filetypes:
multivalued: true
required: true
range: SupportedFileType
description: >-
An enumeration of the `FileType` that an `Extractor` supports,
matching `FileTypes` present in the registry. The `FileType->id`
slot can be passed to the `Extractor`, [see the `Usage` class](Usage.md).
supported_output_filetypes:
multivalued: true
required: false
range: SupportedFileType
description: >-
An enumeration of the possible output formats of an `Extractor`.
These should match `FileTypes` present in the registry. They can
be specified on extractor execution using the templates described
in the `Extractor->Usage->command` slot, [see the `Usage` class](Usage.md).
source_repository:
description: >-
A URL or URI for a source code repository associated with this
extractor.
documentation:
description: >-
A URL or URI for any online documentation associated with this
extractor.
usage:
multivalued: true
inlined_as_list: true
range: Usage
description: >-
A machine-actionable instructions for the usage of the Extractor.
The described usage pattern shall be available after the instructions
specified in `Extractor->installation` slot have been followed.
installation:
multivalued: true
inlined_as_list: true
range: Installation
description: >-
A machine-actionable set of installation instructions to obtain
a working set-up of the `Extractor`.
instructions:
description: >-
Any human-readable usage notes or installation instructions for
this `Extractor`. This field is intended for human use only and
is not intended to be machine-actionable. Please use the `Extractor->installation`
and `Extractor->usage` slots for that purpose.