-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathschema.toml
126 lines (90 loc) · 3.19 KB
/
schema.toml
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Sightings and species
[bee_sighting]
description = "A bee sighting"
[bee_sighting.fields]
datetime = { type = "str" }
latitude = { type = "float" }
longitude = { type = "float" }
images = { type = "relation_list", schema = { id = "blob_v1" } }
species = { type = "relation_list", schema = { name = "bee_species" } }
local_names = { type = "relation_list", schema = { name = "bee_local_name" } }
comment = { type = "str" }
[bee_species]
description = "The species of a bee"
[bee_species.fields]
description = { type = "str" }
species = { type = "relation", schema = { name = "taxonomy_species" } }
[bee_local_name]
description = "Name a bee is known by locally"
[bee_local_name.fields]
name = { type = "str" }
# Attributes
[bee_attributes_used_for]
description = "What a bees honey is used for"
[bee_attributes_used_for.fields]
sighting = { type = "relation", schema = { name = "bee_sighting" } }
used_for = { type = "str" }
[bee_attributes_location_tree]
description = "Bee sighting location: tree"
[bee_attributes_location_tree.fields]
tree_species = { type = "str" }
height = { type = "float" }
diameter = { type = "float" }
sighting = { type = "relation", schema = { name = "bee_sighting" } }
[bee_attributes_location_building]
description = "Bee sighting location: building"
[bee_attributes_location_building.fields]
sighting = { type = "relation", schema = { name = "bee_sighting" } }
[bee_attributes_location_ground]
description = "Bee sighting location: ground"
[bee_attributes_location_ground.fields]
sighting = { type = "relation", schema = { name = "bee_sighting" } }
[bee_attributes_location_box]
description = "Bee sighting location: box"
[bee_attributes_location_box.fields]
sighting = { type = "relation", schema = { name = "bee_sighting" } }
# Taxonomy
[taxonomy_kingdom]
description = "Taxonomy: kingdom"
[taxonomy_kingdom.fields]
name = { type = "str" }
[taxonomy_phylum]
description = "Taxonomy: phylum"
[taxonomy_phylum.fields]
name = { type = "str" }
kingdom = { type = "relation", schema = { name = "taxonomy_kingdom" } }
[taxonomy_class]
description = "Taxonomy: class"
[taxonomy_class.fields]
name = { type = "str" }
phylum = { type = "relation", schema = { name = "taxonomy_phylum" } }
[taxonomy_order]
description = "Taxonomy: order"
[taxonomy_order.fields]
name = { type = "str" }
class = { type = "relation", schema = { name = "taxonomy_class" } }
[taxonomy_family]
description = "Taxonomy: family"
[taxonomy_family.fields]
name = { type = "str" }
order = { type = "relation", schema = { name = "taxonomy_order" } }
[taxonomy_subfamily]
description = "Taxonomy: subfamily"
[taxonomy_subfamily.fields]
name = { type = "str" }
family = { type = "relation", schema = { name = "taxonomy_family" } }
[taxonomy_tribe]
description = "Taxonomy: tribe"
[taxonomy_tribe.fields]
name = { type = "str" }
subfamily = { type = "relation", schema = { name = "taxonomy_subfamily" } }
[taxonomy_genus]
description = "Taxonomy: genus"
[taxonomy_genus.fields]
name = { type = "str" }
tribe = { type = "relation", schema = { name = "taxonomy_tribe" } }
[taxonomy_species]
description = "Taxonomy: species"
[taxonomy_species.fields]
name = { type = "str" }
genus = { type = "relation", schema = { name = "taxonomy_genus" } }