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
"id": "app.certified.location",
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
"lpVersion",
11
11
"srs",
12
12
"locationType",
13
13
"location",
14
14
"createdAt"
15
15
],
16
16
"properties": {
17
17
"srs": {
18
18
"type": "string",
19
19
"format": "uri",
20
20
"maxLength": 100,
21
21
"description": "The Spatial Reference System URI (e.g., http://www.opengis.net/def/crs/OGC/1.3/CRS84) that defines the coordinate system."
22
22
},
23
23
"name": {
24
24
"type": "string",
25
25
"maxLength": 1000,
26
26
"description": "Human-readable name for this location (e.g. 'Golden Gate Park', 'San Francisco Bay Area')",
27
27
"maxGraphemes": 100
28
28
},
29
29
"location": {
30
30
"refs": [
31
31
"org.hypercerts.defs#uri",
32
32
"org.hypercerts.defs#smallBlob",
33
33
"#string"
34
34
],
35
35
"type": "union",
36
36
"description": "The location of where the work was performed as a URI, blob, or inline string."
37
37
},
38
38
"createdAt": {
39
39
"type": "string",
40
40
"format": "datetime",
41
41
"description": "Client-declared timestamp when this record was originally created"
42
42
},
43
43
"lpVersion": {
44
44
"type": "string",
45
45
"maxLength": 10,
46
46
"description": "The version of the Location Protocol"
47
47
},
48
+
"signatures": {
49
+
"ref": "app.certified.signature.defs#list",
50
+
"type": "ref",
51
+
"description": "Optional cryptographic signatures attesting to this record's content."
52
+
},
48
53
"description": {
49
54
"type": "string",
50
55
"maxLength": 2000,
51
56
"description": "Additional context about this location, such as its significance to the work or specific boundaries",
52
57
"maxGraphemes": 500
53
58
},
54
59
"locationType": {
55
60
"type": "string",
56
61
"maxLength": 20,
57
62
"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",
58
63
"knownValues": [
59
64
"coordinate-decimal",
60
65
"geojson-point",
61
66
"geojson",
62
67
"h3",
63
68
"geohash",
64
69
"wkt",
65
70
"address",
66
71
"scaledCoordinates"
67
72
]
68
73
}
69
74
}
70
75
},
71
76
"description": "A location reference"
72
77
},
73
78
"string": {
74
79
"type": "object",
75
80
"required": [
76
81
"string"
77
82
],
78
83
"properties": {
79
84
"string": {
80
85
"type": "string",
81
86
"maxLength": 10000,
82
87
"description": "The location string value",
83
88
"maxGraphemes": 1000
84
89
}
85
90
},
86
91
"description": "A location represented as a string, e.g. coordinates or a small GeoJSON string."
87
92
}
88
93
},
89
94
"$type": "com.atproto.lexicon.schema",
90
95
"lexicon": 1
91
96
}