JSON Schema 2020-12 definitions for all data files.
Each pilgrimage route is a directory with four files:
routes/{route-id}/
metadata.json # Overview, tradition, culture, logistics
route.geojson # GeoJSON FeatureCollection (LineString)
stages.json # Stage-by-stage breakdown
waypoints.geojson # GeoJSON FeatureCollection (Points)
Plus index.json at the repo root as the discovery file.
| Schema | Validates | Source |
|---|---|---|
index.schema.json | index.json | View |
pilgrimage.schema.json | metadata.json | View |
stages.schema.json | stages.json | View |
route.schema.json | route.geojson | View |
waypoints.schema.json | waypoints.geojson | View |
GeoJSON standard: [longitude, latitude] or [longitude, latitude, altitude]. Altitude in meters.
All human-readable text uses the LocalizedString pattern. English is always required.
{
"en": "Camino de Santiago",
"es": "Camino de Santiago",
"ja": "サンティアゴ巡礼路"
}
| Value | Meaning | Example |
|---|---|---|
linear | A-to-B route | Camino Frances |
circular | Loop returning to start | Shikoku 88 |
network | Interconnected sub-routes | Kumano Kodo |
15 types covering diverse pilgrimage traditions:
| Type | Description |
|---|---|
town | Settlement, village, city |
accommodation | Place to sleep (albergue, temple lodging, ryokan, etc.) |
sacred_site | Temple, church, shrine, chapel |
water_source | Fountain, spring, tap |
credential_stamp | Stamp/seal location |
viewpoint | Scenic overlook |
food | Restaurant, cafe, market |
medical | Hospital, pharmacy, clinic |
transport | Bus stop, train station, ferry |
waymarker | Trail marker, milestone |
cultural_site | Museum, monument, heritage site |
camping | Designated camping area |
pass | Mountain pass or summit |
information | Tourist office, info board |
supply | Shop, supermarket, ATM |
Every data file includes a schemaVersion field following SemVer:
| Change | Version Bump | Example |
|---|---|---|
| Field removed or renamed | MAJOR | 1.0.0 → 2.0.0 |
| New optional field added | MINOR | 1.0.0 → 1.1.0 |
| Content correction | PATCH | 1.0.0 → 1.0.1 |
CDN URLs pin to the major version: @v1. All schemas use additionalProperties: true for forward compatibility.