place.birds.sighting
Schema Diff
+8 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "place.birds.sighting:body.thumb" }
- AddedEdge AddedEdge { src: "place.birds.sighting:body", tgt: "place.birds.sighting:body.thumb", kind: "prop", name: Some("thumb") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "place.birds.sighting:body.thumb" }
Additional Notes
- Non-breaking: AddedEdge { src: "place.birds.sighting:body", tgt: "place.birds.sighting:body.thumb", kind: "prop", name: Some("thumb") }
1
1
{
2
2
"id": "place.birds.sighting",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"species",
11
11
"observedAt",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"count": {
16
16
"type": "integer",
17
17
"maximum": 100000,
18
18
"minimum": 1,
19
19
"description": "How many individuals the observer counted. Absent means one, or means they did not count."
20
20
},
21
21
"media": {
22
22
"type": "array",
23
23
"items": {
24
24
"ref": "#media",
25
25
"type": "ref"
26
26
},
27
27
"maxLength": 4,
28
28
"description": "Evidence, in whatever form it was captured: a photo, a video, or a recording of the call. Ordered as the observer added it."
29
29
},
30
30
"notes": {
31
31
"type": "string",
32
32
"maxLength": 3000,
33
33
"description": "Anything else the observer wants to say about the sighting: behaviour, plumage, who they were with.",
34
34
"maxGraphemes": 600
35
35
},
36
+
"thumb": {
37
+
"type": "blob",
38
+
"accept": [
39
+
"image/*"
40
+
],
41
+
"maxSize": 100000000,
42
+
"description": "The image the observer chose to represent this sighting in compact views. Must be either an image in `media` or a `thumb` belonging to an item in `media`; clients should ignore unrelated blobs."
43
+
},
36
44
"species": {
37
45
"type": "string",
38
46
"maxLength": 640,
39
47
"description": "Common name as the observer said it. Free text on purpose — always present, even when no code was resolved.",
40
48
"maxGraphemes": 160
41
49
},
42
50
"location": {
43
51
"ref": "#location",
44
52
"type": "ref",
45
53
"description": "Roughly where the bird was. Optional, and deliberately coarse — see #location."
46
54
},
47
55
"createdAt": {
48
56
"type": "string",
49
57
"format": "datetime",
50
58
"description": "Client-declared timestamp for when this record was written."
51
59
},
52
60
"observedAt": {
53
61
"type": "string",
54
62
"format": "datetime",
55
63
"description": "Client-declared timestamp for when the bird was seen. Distinct from createdAt so a sighting can be written up later. Not verified by anything."
56
64
},
57
65
"speciesCode": {
58
66
"type": "string",
59
67
"maxLength": 32,
60
68
"description": "The observer's asserted identification as a stable eBird/Clements taxon code (e.g. `norcar`). Present when they picked from the list; absent when they just typed something. May be a `spuh` or `slash` code when the identification is honestly partial."
61
69
}
62
70
}
63
71
},
64
72
"description": "A bird sighting logged by the observer, stored in their own repository. Honor system: `species` is what the observer believes they saw, not a verified determination."
65
73
},
66
74
"media": {
67
75
"type": "object",
68
76
"required": [
69
77
"blob"
70
78
],
71
79
"properties": {
72
80
"alt": {
73
81
"type": "string",
74
82
"maxLength": 2000,
75
83
"description": "Alt text describing the media for people who cannot see or hear it.",
76
84
"maxGraphemes": 400
77
85
},
78
86
"blob": {
79
87
"type": "blob",
80
88
"accept": [
81
89
"image/*",
82
90
"audio/*",
83
91
"video/*"
84
92
],
85
93
"maxSize": 100000000,
86
94
"description": "The captured file. Audio is first-class here: a bird's call is often better evidence than a photograph of a silhouette."
87
95
},
88
96
"thumb": {
89
97
"type": "blob",
90
98
"accept": [
91
99
"image/jpeg",
92
100
"image/png",
93
101
"image/webp"
94
102
],
95
103
"maxSize": 2000000,
96
104
"description": "A still representing this media — for a video, a frame the observer chose. Derived from `blob`, never captured separately, so a client may regenerate it. Absent for media that is already an image."
97
105
}
98
106
}
99
107
},
100
108
"location": {
101
109
"type": "object",
102
110
"required": [
103
111
"latitude",
104
112
"longitude"
105
113
],
106
114
"properties": {
107
115
"name": {
108
116
"type": "string",
109
117
"maxLength": 640,
110
118
"description": "Free-text place name, as the observer chose it (e.g. \"Montrose Point Bird Sanctuary, Chicago\"). Independent of the coordinates and not verified against them.",
111
119
"maxGraphemes": 160
112
120
},
113
121
"latitude": {
114
122
"type": "string",
115
123
"maxLength": 32,
116
124
"description": "Decimal degrees, as a string to avoid float drift. Deliberately coarse: clients should write no more than 3 decimal places (~110m). These records are public and permanent, and a bird sighting does not need a precise fix."
117
125
},
118
126
"longitude": {
119
127
"type": "string",
120
128
"maxLength": 32,
121
129
"description": "Decimal degrees, as a string. Same precision limit as latitude."
122
130
}
123
131
}
124
132
}
125
133
},
126
134
"$type": "com.atproto.lexicon.schema",
127
135
"lexicon": 1
128
136
}