app.certified.location
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "app.certified.location:body.signatures" }
- AddedVertex AddedVertex { vertex_id: "app.certified.signature.defs#list" }
- AddedEdge AddedEdge { src: "app.certified.location:body", tgt: "app.certified.location:body.signatures", kind: "prop", name: Some("signatures") }
- AddedEdge AddedEdge { src: "app.certified.location:body.signatures", tgt: "app.certified.signature.defs#list", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.certified.location:body.signatures" }AddedVertex { vertex_id: "app.certified.signature.defs#list" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.certified.location:body", tgt: "app.certified.location:body.signatures", kind: "prop", name: Some("signatures") }
- Non-breaking: AddedEdge { src: "app.certified.location:body.signatures", tgt: "app.certified.signature.defs#list", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A location reference",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"description": "Client-declared timestamp when this record was originally created",
11
11
"format": "datetime",
12
12
"type": "string"
13
13
},
14
14
"description": {
15
15
"description": "Additional context about this location, such as its significance to the work or specific boundaries",
16
16
"maxGraphemes": 500,
17
17
"maxLength": 2000,
18
18
"type": "string"
19
19
},
20
20
"location": {
21
21
"description": "The location of where the work was performed as a URI, blob, or inline string.",
22
22
"refs": [
23
23
"org.hypercerts.defs#uri",
24
24
"org.hypercerts.defs#smallBlob",
25
25
"#string"
26
26
],
27
27
"type": "union"
28
28
},
29
29
"locationType": {
30
30
"description": "An identifier for the format of the location data. Use `geojson-point` for a single GeoJSON Point; use `geojson` as the catch-all for any other GeoJSON geometry (Polygon, MultiPolygon, FeatureCollection, etc.) — the inner payload's own GeoJSON `type` field carries the specifics. Values beyond the known set are permitted; see the Location Protocol spec for the canonical registry: https://spec.decentralizedgeo.org/specification/location-types/#location-type-registry",
31
31
"knownValues": [
32
32
"coordinate-decimal",
33
33
"geojson-point",
34
34
"geojson",
35
35
"h3",
36
36
"geohash",
37
37
"wkt",
38
38
"address",
39
39
"scaledCoordinates"
40
40
],
41
41
"maxLength": 20,
42
42
"type": "string"
43
43
},
44
44
"lpVersion": {
45
45
"description": "The version of the Location Protocol",
46
46
"maxLength": 10,
47
47
"type": "string"
48
48
},
49
49
"name": {
50
50
"description": "Human-readable name for this location (e.g. 'Golden Gate Park', 'San Francisco Bay Area')",
51
51
"maxGraphemes": 100,
52
52
"maxLength": 1000,
53
53
"type": "string"
54
54
},
55
+
"signatures": {
56
+
"description": "Optional cryptographic signatures attesting to this record's content.",
57
+
"ref": "app.certified.signature.defs#list",
58
+
"type": "ref"
59
+
},
55
60
"srs": {
56
61
"description": "The Spatial Reference System URI (e.g., http://www.opengis.net/def/crs/OGC/1.3/CRS84) that defines the coordinate system.",
57
62
"format": "uri",
58
63
"maxLength": 100,
59
64
"type": "string"
60
65
}
61
66
},
62
67
"required": [
63
68
"lpVersion",
64
69
"srs",
65
70
"locationType",
66
71
"location",
67
72
"createdAt"
68
73
],
69
74
"type": "object"
70
75
},
71
76
"type": "record"
72
77
},
73
78
"string": {
74
79
"description": "A location represented as a string, e.g. coordinates or a small GeoJSON string.",
75
80
"properties": {
76
81
"string": {
77
82
"description": "The location string value",
78
83
"maxGraphemes": 1000,
79
84
"maxLength": 10000,
80
85
"type": "string"
81
86
}
82
87
},
83
88
"required": [
84
89
"string"
85
90
],
86
91
"type": "object"
87
92
}
88
93
},
89
94
"id": "app.certified.location",
90
95
"lexicon": 1
91
96
}