Skip to content

How to export structured data from the platform

← All revisions

4dc9b9d6 · PointSav Digital Systems ·

feat(how-to): add 8 developer guides for Working in Console + Records & Storage tiles (EN+ES pairs)

View the full record as of this revision →

@@ -0,0 +1,93 @@
---
schema: foundry-doc-v1
title: "How to export structured data from the platform"
slug: export-structured-data
category: how-to
content_type: how-to
type: how-to
status: active
last_edited: 2026-06-14
editor: pointsav-engineering
paired_with: export-structured-data.es.md
---

The platform stores data at multiple layers — raw ledger tiles, entity records in the DataGraph, wiki content, and location intelligence datasets. Exporting that data means choosing the right layer for your use case and the appropriate export format. This guide covers the four main export paths and when to use each.

For the layered data model, see [[service-content]]. For the underlying ledger storage, see [[service-fs-architecture]].

## Prerequisites

- A paired device with appropriate tier access (INPUT for ledger; USER for read-only exports)
- An active Totebox session (see [[open-first-totebox-session]])
- Knowledge of which data layer you are targeting

## Export path 1: Entity data from the DataGraph

Use this when you need structured records about people, organisations, projects, or services.

Call `query_datagraph` to identify the entity, then call `get_entity_context` to retrieve the full entity profile. The returned JSON object is the authoritative entity record. Copy or pipe it to your destination system.

For bulk exports, the `service-fs` API provides a `read_since` operation that returns entity-linked records from the ledger in chronological order.

## Export path 2: Wiki articles as Markdown

Use this when you need article content for downstream publication, processing, or indexing.

Wiki articles are plain Markdown files with YAML frontmatter, stored in the `media-knowledge-*` git repositories. Export them by reading the files directly, or by using the knowledge instance's export endpoint if it is configured:

```
GET /export/<category>/<slug>
Accept: text/markdown
```

The response is the raw Markdown file including frontmatter. No authentication is required for content marked `audience: vendor-public`.

## Export path 3: Location intelligence datasets as GeoJSON

Use this when you need cluster or archetype spatial data for GIS applications.

The GIS gateway serves pre-built GeoJSON files at:

```
GET /data/archetype-<name>.geojson
```

Where `<name>` is one of: `vwh` (Vertical Warehouse), `pks` (Parking Structures), or the main cluster file. These files include tier classifications, co-location signal fields, and enrichment attributes.

For the data schema and field definitions, see [[pointsav-gis-engine]].

## Export path 4: Ledger tiles for audit

Use this when you need tamper-evident records for compliance, legal discovery, or third-party audit.

Use the `service-fs verify` CLI or the `read_since` API to export C2SP tlog-tiles:

```
service-fs export --from <checkpoint-id> --format tlog-tiles --out <output-file>
```

The resulting file is plain text, verifiable with a SHA-256 utility, and readable without any PointSav tooling. See [[verify-worm-ledger]] for the verification procedure.

## Choosing the right path

| What you need | Use export path |
|---|---|
| Information about a named entity (person, project, service) | 1 — DataGraph |
| Article content for publishing or indexing | 2 — Wiki Markdown |
| Spatial cluster data for a map application | 3 — GeoJSON |
| Tamper-evident records for compliance or audit | 4 — Ledger tiles |

## Key takeaways

- The DataGraph is the right path for named entity data — it holds verified, current records
- Wiki Markdown exports include frontmatter; strip it or process it before sending to downstream consumers that expect plain prose
- GeoJSON files are pre-built and served statically; they update when the nightly rebuild runs
- Ledger tile exports are self-verifying with a SHA-256 utility; no live service is needed after export

## See also

- [[service-content]] — the Gravity Engine and the five-layer data model
- [[service-fs-architecture]] — the WORM ledger that stores the raw record layer
- [[verify-worm-ledger]] — how to verify the integrity of an exported ledger tile
- [[pointsav-gis-engine]] — the GIS engine and its data schema
- [[query-the-datagraph]] — how to look up entity data before exporting
Important Information

Important Information

Corporate structure. PointSav Digital Systems ("PointSav") is a trade name of Woodfine Capital Projects Inc. ("Woodfine"). PointSav does not itself offer, sell, or solicit any security. Any securities offering associated with Woodfine's real-property direct-hold solutions is made exclusively by Woodfine, and only by means of the applicable Private Placement Memorandum.

No investment advice. This wiki's content is provided for engineering, operational, research, and development purposes. Nothing on this wiki constitutes investment advice or a solicitation to invest in any Woodfine partnership or direct-hold solution.

Intellectual property. The PointSav name, trade name, wordmark, and marks, together with all current and future PointSav- and Totebox-branded products, services, and offerings — and the software, source code, documentation, design system, and all related materials — are proprietary to Woodfine and its affiliates, except for components identified as open source. No rights are granted except as expressly set out in a written license or agreement. See TRADEMARK.md in this repository for the full trademark notice.

Open source components. Portions of the platform are made available under permissive open-source licenses identified in the accompanying repository. Use of those components is governed by their respective license terms.

No warranty; informational use. Content on this wiki is provided for general informational purposes only and does not constitute a representation, warranty, or commitment with respect to product functionality, availability, pricing, or roadmap. Some articles describe planned or intended features, capabilities, and milestones — language such as "planned," "intended," "targeted," "may," and "expected" marks this forward-looking content, which is subject to change and does not constitute a commitment regarding future performance.

Confidentiality. Where an article describes an operational or deployment detail that is not intended for public disclosure, that article is not published on this wiki. Content here is general-purpose engineering documentation, not customer-specific configuration.

Jurisdiction. Woodfine Capital Projects Inc. is organized in British Columbia, Canada. References to the Sovereign Data Foundation on this wiki describe a planned or intended initiative only, not a current equity holder or active governance body.

Changes to this notice. PointSav may update this notice from time to time; the version posted on this page governs.

Not a filing system. This wiki is not a securities filing system, an electronic disclosure repository, or a substitute for SEDAR+ or any other regulatory filing system. Formal securities filings are made through the applicable regulatory filing system, not through this wiki.

Full disclaimer. This notice supplements, and does not replace, the full Disclaimers article. In the event of any conflict, the full Disclaimers article governs.

Read the full disclaimer →