-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema_objects_info.txt
More file actions
62 lines (39 loc) · 1.92 KB
/
schema_objects_info.txt
File metadata and controls
62 lines (39 loc) · 1.92 KB
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
NEED ACTION
objects.formats
specifies regex to enforce the correct "format", this is useful as it can check for
stuff like specific files etc...
implement a lightweight function or class like selectorParser, but format_checker or something
to check it. Can be called from columns, suffixes, metadata, entities etc.. and returns a boolean
to see if val respects the given format
objects.suffixes
similar to entities, need to check for unit, max min, anyOf etc..
object.columns
similar to entities need to enforce format, unit, enum, max, min etc..
objects.metadata
similar to entities need to enforce format, enum, max min etc...
objects.entities
need to fetch format and enum
enforce if it is a "label" or "index", and if its enum enforce the possible types...
POSSIBLE FUTURE:
add help(<term>) function to return the info
more integrated help function for modalities, datatypes,
SOME ACTION
objects.enums
similar to below.
objects.files
similar to below, maybe look at file_type? integrate it to making files to double check that
it is respected
objects.extensions
similar to below.
objects.datatypes
possibly useful to add function to fetch description? overkill to create function wrapper
as no checks are needed
objects.modalities
- possibly useful: maybe look at a function which gives the descriptions when asked,
in case someone doesn't quite know the correct modality
- NO need to have expensive entity objects which store the description, display name etc...
NO ACTION
objects.common_principles:
- general terms, could add functionality like a .help(term) to return the definition?
no real need to interpret this at all, if people want to find info on what a session is
the website will be more informative