full diff

app.certified.location

certified.app +2 −1
From
bafyreie6k3ztdq4qkld6pz4t3hsohyomcxsycf7f6fi2cfzbzwulbkieua indexed 2026-07-26 20:06 UTC View this version
To
bafyreif6dkefeahh6m7mmexawtrtgefnuf2exidei72e6pcpys5ea5nema indexed 2026-09-01 10:12 UTC View this version

Compatibility

breaking 1 breaking change, 0 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "app.certified.location:body.locationType", sort: "knownValues", old_value: "[\"coordinate-decimal\",\"geojson-point\",\"geojson\",\"h3\",\"geohash\",\"wkt\",\"address\",\"scaledCoordinates\"]", new_value: "[\"coordinate-decimal\",\"geojson-point\",\"geojson\",\"h3\",\"geohash\",\"wkt\",\"address\",\"country-code\",\"scaledCoordinates\"]" }

Migration guidance

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "app.certified.location:body.locationType", sort: "knownValues", old_value: "[\"coordinate-decimal\",\"geojson-point\",\"geojson\",\"h3\",\"geohash\",\"wkt\",\"address\",\"scaledCoordinates\"]", new_value: "[\"coordinate-decimal\",\"geojson-point\",\"geojson\",\"h3\",\"geohash\",\"wkt\",\"address\",\"country-code\",\"scaledCoordinates\"]" }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A location reference",
66 "key": "tid",
77 "record": {
88 "properties": {
99 "createdAt": {
1010 "description": "Client-declared timestamp when this record was originally created",
1111 "format": "datetime",
1212 "type": "string"
1313 },
1414 "description": {
1515 "description": "Additional context about this location, such as its significance to the work or specific boundaries",
1616 "maxGraphemes": 500,
1717 "maxLength": 2000,
1818 "type": "string"
1919 },
2020 "location": {
2121 "description": "The location of where the work was performed as a URI, blob, or inline string.",
2222 "refs": [
2323 "org.hypercerts.defs#uri",
2424 "org.hypercerts.defs#smallBlob",
2525 "#string"
2626 ],
2727 "type": "union"
2828 },
2929 "locationType": {
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",
30 "description": "An identifier for the format of the location data. Use `country-code` for uppercase ISO 3166-1 alpha-2 codes in `location.string` (e.g. `CH`). Although this lexicon requires `srs`, it has no meaning for this type and consumers must ignore it. 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",
3131 "knownValues": [
3232 "coordinate-decimal",
3333 "geojson-point",
3434 "geojson",
3535 "h3",
3636 "geohash",
3737 "wkt",
3838 "address",
39 "country-code",
3940 "scaledCoordinates"
4041 ],
4142 "maxLength": 20,
4243 "type": "string"
4344 },
4445 "lpVersion": {
4546 "description": "The version of the Location Protocol",
4647 "maxLength": 10,
4748 "type": "string"
4849 },
4950 "name": {
5051 "description": "Human-readable name for this location (e.g. 'Golden Gate Park', 'San Francisco Bay Area')",
5152 "maxGraphemes": 100,
5253 "maxLength": 1000,
5354 "type": "string"
5455 },
5556 "signatures": {
5657 "description": "Optional cryptographic signatures attesting to this record's content.",
5758 "ref": "app.certified.signature.defs#list",
5859 "type": "ref"
5960 },
6061 "srs": {
6162 "description": "The Spatial Reference System URI (e.g., http://www.opengis.net/def/crs/OGC/1.3/CRS84) that defines the coordinate system.",
6263 "format": "uri",
6364 "maxLength": 100,
6465 "type": "string"
6566 }
6667 },
6768 "required": [
6869 "lpVersion",
6970 "srs",
7071 "locationType",
7172 "location",
7273 "createdAt"
7374 ],
7475 "type": "object"
7576 },
7677 "type": "record"
7778 },
7879 "string": {
7980 "description": "A location represented as a string, e.g. coordinates or a small GeoJSON string.",
8081 "properties": {
8182 "string": {
8283 "description": "The location string value",
8384 "maxGraphemes": 1000,
8485 "maxLength": 10000,
8586 "type": "string"
8687 }
8788 },
8889 "required": [
8990 "string"
9091 ],
9192 "type": "object"
9293 }
9394 },
9495 "id": "app.certified.location",
9596 "lexicon": 1
9697}

Compare other versions