app.gainforest.ac.multimedia
Schema Diff
+1 -2
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "app.gainforest.ac.multimedia:body", src: "app.gainforest.ac.multimedia:body", tgt: "app.gainforest.ac.multimedia:body.subjectPart", kind: "prop", name: Some("subjectPart") }
Migration Guidance
Additional Notes
- Breaking: RequiredEdgeRemoved { vertex_id: "app.gainforest.ac.multimedia:body", src: "app.gainforest.ac.multimedia:body", tgt: "app.gainforest.ac.multimedia:body.subjectPart", kind: "prop", name: Some("subjectPart") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A multimedia evidence record associated with a biodiversity occurrence.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"accessUri": {
10
10
"description": "URI to the original full-resolution media resource (e.g. S3 URL). The PDS blob is a compressed variant; this points to the archival original.",
11
11
"format": "uri",
12
12
"maxGraphemes": 2048,
13
13
"type": "string"
14
14
},
15
15
"caption": {
16
16
"description": "Human-readable description of the media content.",
17
17
"maxGraphemes": 1024,
18
18
"type": "string"
19
19
},
20
20
"createDate": {
21
21
"description": "Date and time the media resource was originally created (e.g. when the photo was taken).",
22
22
"format": "datetime",
23
23
"type": "string"
24
24
},
25
25
"createdAt": {
26
26
"description": "Timestamp of record creation in the ATProto PDS.",
27
27
"format": "datetime",
28
28
"type": "string"
29
29
},
30
30
"creator": {
31
31
"description": "Name of the person or agent who created the media resource.",
32
32
"maxGraphemes": 256,
33
33
"type": "string"
34
34
},
35
35
"file": {
36
36
"accept": [
37
37
"image/jpeg",
38
38
"image/jpg",
39
39
"image/png",
40
40
"image/webp",
41
41
"image/heic",
42
42
"image/heif",
43
43
"image/tiff",
44
44
"image/tif",
45
45
"image/gif",
46
46
"image/bmp",
47
47
"image/svg+xml",
48
48
"audio/wav",
49
49
"audio/x-wav",
50
50
"audio/mpeg",
51
51
"audio/mp3",
52
52
"audio/mp4",
53
53
"audio/x-m4a",
54
54
"audio/aac",
55
55
"audio/flac",
56
56
"audio/x-flac",
57
57
"audio/ogg",
58
58
"audio/opus",
59
59
"audio/webm",
60
60
"video/mp4",
61
61
"video/quicktime",
62
62
"video/webm",
63
63
"video/x-matroska"
64
64
],
65
65
"description": "The media file blob. Images up to 100MB, audio up to 100MB, video up to 100MB. For PDS-stored compressed versions; original full-res referenced via accessUri.",
66
66
"maxSize": 104857600,
67
67
"type": "blob"
68
68
},
69
69
"format": {
70
70
"description": "MIME type of the media file (e.g. image/webp, audio/flac). Should match the blob's actual content type.",
71
71
"maxGraphemes": 128,
72
72
"type": "string"
73
73
},
74
74
"occurrenceRef": {
75
75
"description": "AT-URI of the dwc.occurrence record this media is evidence for.",
76
76
"format": "at-uri",
77
77
"type": "string"
78
78
},
79
79
"siteRef": {
80
80
"description": "AT-URI of the organization site record where this media was captured.",
81
81
"format": "at-uri",
82
82
"type": "string"
83
83
},
84
84
"subjectOrientation": {
85
85
"description": "Viewing orientation relative to the subject, using TDWG Audubon Core subjectOrientation controlled values. Examples: dorsal, ventral, lateral, anterior, posterior.",
86
86
"maxGraphemes": 128,
87
87
"type": "string"
88
88
},
89
89
"subjectPart": {
90
-
"description": "The part of the organism depicted, using TDWG Audubon Core subjectPart controlled values (http://rs.tdwg.org/acpart/values/). Examples: entireOrganism, leaf, bark, flower, fruit, seed, stem, twig, bud, root.",
90
+
"description": "The part of the organism depicted, using TDWG Audubon Core subjectPart controlled values (http://rs.tdwg.org/acpart/values/). Examples: entireOrganism, leaf, bark, flower, fruit, seed, stem, twig, bud, root. Only meaningful for media depicting an organism; omit for soundscapes and other media without a single depicted subject.",
91
91
"knownValues": [
92
92
"entireOrganism",
93
93
"leaf",
94
94
"bark",
95
95
"flower",
96
96
"fruit",
97
97
"seed",
98
98
"stem",
99
99
"twig",
100
100
"bud",
101
101
"root",
102
102
"head",
103
103
"wing",
104
104
"shell",
105
105
"unspecifiedPart"
106
106
],
107
107
"maxGraphemes": 128,
108
108
"type": "string"
109
109
},
110
110
"subjectPartUri": {
111
111
"description": "Full IRI of the subjectPart term from the TDWG controlled vocabulary. Example: http://rs.tdwg.org/acpart/values/p0002 for bark.",
112
112
"format": "uri",
113
113
"type": "string"
114
114
},
115
115
"variantLiteral": {
116
116
"description": "AC variant describing the quality/size of this service access point. Values: Thumbnail, Lower Quality, Medium Quality, Good Quality, Best Quality, Offline.",
117
117
"knownValues": [
118
118
"Thumbnail",
119
119
"Lower Quality",
120
120
"Medium Quality",
121
121
"Good Quality",
122
122
"Best Quality",
123
123
"Offline"
124
124
],
125
125
"maxGraphemes": 64,
126
126
"type": "string"
127
127
}
128
128
},
129
129
"required": [
130
-
"subjectPart",
131
130
"file",
132
131
"createdAt"
133
132
],
134
133
"type": "object"
135
134
},
136
135
"type": "record"
137
136
}
138
137
},
139
138
"description": "Audubon Core multimedia resource record. Represents a single media item (image, audio, video, spectrogram) associated with a biodiversity occurrence. Based on the TDWG Audiovisual Core standard (http://www.tdwg.org/standards/638). Each media item is a separate record linked to a dwc.occurrence via occurrenceRef.",
140
139
"id": "app.gainforest.ac.multimedia",
141
140
"lexicon": 1
142
141
}