Skip to content
Layers of the South
Search
Open Portal Standard v1.0.0Site Edition v2.1.2API Contract lts-read-operations/3Snapshot SHA-256 a97585a61f00…

000 Developers

Workbench

Test every interface directly against this host with zero API keys, zero accounts and zero caller tracking. Requests run only when you press a button; digest checks run locally in WebCrypto.

001 90-second quickstart

Run one study across six client forms

Inspect study R013 (Pattanam maritime assemblage) in PowerShell 7, curl, Python, JavaScript, stateless MCP 2026-07-28 or Agent2Agent 1.0, or execute the call live beside the expected envelope.

$uri = "https://layersofthesouth.org/api/v1/studies/R013"
$resp = Invoke-RestMethod -Uri $uri -Headers @{ Accept = "application/json" }
$d = $resp.data
[PSCustomObject]@{
  StudyId     = $d.id
  Title       = $d.title
  SnapshotId  = $resp.snapshotId
  JcsSha256   = $resp.canonicalObjectSha256
  Statements  = $d.howSure.Count
} | Format-List

Run the example live

Study R013 · Pattanam Early Historic port record

Press Run the example to fetch live JSON from /api/v1/studies/R013 and inspect its strong ETag and snapshotId.

{
  "schemaVersion": "lts-api/2",
  "kind": "study_detail",
  "snapshotId": "a97585a61f004ba4…",
  "objectCanonicalization": "rfc8785-jcs-sha256/1",
  "data": {
    "id": "R013",
    "url": "https://layersofthesouth.org/study/R013"
  }
}

002 Live multi-protocol workbenches

Run REST, HTTP QUERY, MCP, A2A and WebMCP side by side

Every request below goes to this site's own stateless endpoints only when you submit it.

02A · REST & RFC 10008 HTTP QUERY inspector

Try GET, HTTP QUERY, POST fallback and 304 ETag

Ready. Choose a REST or HTTP QUERY preset above and press Run request.

Choose an endpoint preset above and press Run request.

02B · Model Context Protocol · POST /api/mcp (2026-07-28 + 2025-11-25)

Stateless server/discover, 8 tools, resources and MCP Apps

Stateless Streamable HTTP endpoint at POST /api/mcp. Primary revision: 2026-07-28.

Press Send MCP POST to inspect the JSON-RPC response.

02C · Agent2Agent · POST /api/a2a (A2A 1.0)

Invoke skills, inspect retained packs and test 1.0 guards

Discovery card at /.well-known/agent-card.json.

Press Send A2A POST to inspect the response.

02D · Browser WebMCP bridge · document.modelContext

Register and invoke read-only browser tools

Detected browser mode: local-adapter. Registers all 8 read-only collection tools with JSON Schema Draft 2020-12 input checks, AbortSignal support and pagehide teardown.

Ready to invoke a read-only browser tool.

Select a tool above and press Invoke WebMCP tool.

003 Cross-protocol consistency

Verify identical RFC 8785 JCS domain digests across all four protocols

REST GET, RFC 10008 HTTP QUERY, MCP tools/call and A2A SendMessage wrap answers in different wire envelopes, while reading from one domain module. Run any scenario below to fetch all four live, unwrap each .data payload, canonicalize with RFC 8785 JCS and compare all four SHA-256 digests with canonicalObjectSha256.

Press Compare all 4 protocols to verify canonical payload agreement across REST, HTTP QUERY, MCP and A2A.

Waiting to run 4-protocol comparison.

004 Dual-domain digest verifier

Verify static file SHA-256 checksums and RFC 8785 JCS receipts in browser

Static files are checked byte for byte with WebCrypto SHA-256 against /SHA256SUMS.txt. Dynamic HTTP QUERY, REST, MCP and A2A payloads carry rfc8785-jcs-sha256/1 digests over canonical JSON; these establish byte and canonical integrity rather than detached signatures (unsigned).

04A · Static file SHA-256 manifest verifier

Verify built artifact bytes

Select an artifact above and press Compute SHA-256 & Verify.

/SHA256SUMS.txt · snapshot a97585a61f004ba4…

04B · RFC 8785 JCS canonical receipt verifier

Verify key-order-independent JSON digests

Press Load live HTTP QUERY receipt or Canonicalize & Hash (JCS) to verify RFC 8785 canonicalization in this browser.

rfc8785-jcs-sha256/1

005 Capability manifest & design tokens

Sixteen standards, five questions each, plus portable DTCG 2025.10 tokens

Generated from /data/capability-manifest.json. Each card states what you can do, which revision is implemented, what data is covered, where to try it live and how contract checks are separated from consumer checks.

The service returns these descriptions in English; they are quoted here as it returns them.

Discovery · STD-APICAT

RFC 9727 API Catalog

Discover every HTTP API, MCP server card, A2A agent card, data catalogue and AI Catalog from one well-known linkset.

Standard & version
RFC 9727 · IETF RFC 9727 & RFC 9264 Linkset
Accessible data scope
All public machine endpoints and descriptions.
Verification
STD-APICAT verifies profile media type, HEAD parity and resolution of every link target. · Loopback HTTP discovery crawler (JOURNEY-01) (verified, 2026-11-24)

HTTP Contracts · STD-OAS

OpenAPI 3.2.1, 3.1.2 & Lean Specification

Generate typed clients or inspect all 25 HTTP operations, parameters, schemas and error codes.

Standard & version
3.2.1 / 3.1.2 · OpenAPI Initiative
Accessible data scope
All 199 studies, 779 graded statements, citations, releases and evidence packages.
Verification
STD-OAS validates 3.2.1, 3.1.2 and lean specs against vendored official OpenAPI meta-schemas. · Draft 2020-12 OpenAPI validator & Python HTTP client (verified, 2026-11-24)

HTTP Contracts · STD-QUERY

Safe Structured HTTP QUERY & POST Fallback

Send structured JSON read queries over HTTP QUERY (or POST fallback) and receive RFC 8785 JCS canonicalObjectSha256 receipts.

Standard & version
RFC 10008 · IETF RFC 10008
Accessible data scope
Study detail, lexical metadata search, study evidence and study citations.
Verification
STD-QUERY verifies byte-identical domain data across HTTP QUERY and POST /api/v1/query. · Browser Fetch & Python urllib QUERY client (verified, 2026-11-24)

HTTP Transport · STD-CACHE

Strong SHA-256 ETag 304, CORS & Rate-Limit Headers

Re-validate cached responses with If-None-Match for 0-byte 304 Not Modified replies from any browser origin.

Standard & version
RFC 9110 · IETF RFC 9110, RFC 9111 & WHATWG Fetch
Accessible data scope
All cacheable GET/HEAD API responses, server cards and static datasets.
Verification
STD-CACHE, STD-CORS and STD-RATELIMIT test strong/weak/* ETags, preflight OPTIONS and 429 Retry-After. · Playwright Chromium Fetch & CORS preflight client (verified, 2026-11-24)

HTTP Contracts · STD-PROBLEM

RFC 9457 Problem Details Error Catalogue

Parse structured application/problem+json errors whose type URI resolves as Markdown, JSON or HTML.

Standard & version
RFC 9457 · IETF RFC 9457
Accessible data scope
All 36 catalogued HTTP and JSON-RPC error conditions.
Verification
STD-PROBLEM AST-scans api/*.py to ensure every raised code is catalogued and resolvable at /problems/{code}. · Python content-negotiated error client (verified, 2026-11-24)

Workflows · STD-ARAZZO

Executable Multi-Step Verification Workflow

Run a deterministic four-step search, evidence read, citation export and ZIP package check workflow.

Standard & version
1.1.0 · OpenAPI Initiative Arazzo
Accessible data scope
Search, study evidence, CC0 citations and deterministic ZIP evidence packages.
Verification
STD-ARAZZO executes every step of /api/v1/arazzo.yaml end to end including tampered-byte ZIP rejection. · scripts/run_arazzo_workflow.py runner (verified, 2026-11-24)

Agent Protocols · STD-MCP

Stateless Model Context Protocol (2026 & 2025 Eras)

Call server/discover, 8 read-only tools, 4 resources, resource templates and weigh_evidence prompt without an API key.

Standard & version
2026-07-28 (+ 2025-11-25, 2025-06-18) · Model Context Protocol
Accessible data scope
199 studies, 779 graded statements, inscriptions, chronology, citations and Markdown study twins.
Verification
STD-MCP validates all 8 tool outputs against Draft 2020-12 outputSchema plus 2026 and 2025 protocol eras. · Stateless HTTP MCP JSON-RPC harness (verified, 2026-11-24)

Agent Protocols · STD-MCPCARD

Sandboxed MCP Apps Card & SEP-2127 Server Card

Fetch /.well-known or /api/mcp/server-card metadata and render ui://layers-of-the-south/evidence-citation-card in a sandboxed iframe.

Standard & version
2026-01-26 / SEP-2127 · MCP Apps Extension & Server Card
Accessible data scope
Curated study evidence, How-sure statements, CC0 citations and SHA-256 digests.
Verification
STD-MCPCARD validates /api/mcp/server-card against the vendored schema and checks MCP App HTML delivery. · Playwright sandboxed iframe preview harness (verified, 2026-11-24)

Agent Protocols · STD-A2A

Agent2Agent 1.0 Discovery Card & JSON-RPC Skills

Discover /.well-known/agent-card.json, invoke all 8 skills via SendMessage, and inspect 3 retained completed Task packs.

Standard & version
1.0 (1.0.1) · Agent2Agent Protocol
Accessible data scope
All 8 retrieval skills plus 3 precomputed release-qualified archaeological evidence packs.
Verification
STD-A2A checks byte-identical cards at 3 paths, SendMessage across all 8 skills, GetTask and -32002/-32009 errors. · Loopback A2A 1.0 JSON-RPC client (verified, 2026-11-24)

Browser Agents · STD-WEBMCP

In-Tab Browser WebMCP Tool Adapter

Register and invoke the 8 read-only collection tools on document.modelContext with Draft 2020-12 input validation and AbortSignal teardown.

Standard & version
2026-11-13 · W3C Web Machine Learning CG Draft
Accessible data scope
Same 8 read-only tools backed by same-origin POST /api/mcp.
Verification
STD-WEBMCP verifies exact tool-list and schema parity between api/_domain/registry.py and app/v2/dev/webmcp.mjs. · Playwright Chromium modelContext polyfill & workbench adapter (verified, 2026-11-24)

Discovery · STD-AICAT

AI Catalog, Agent Skill & llms.txt Maps

Read /.well-known/ai-catalog.json, /.well-known/agent-skills/layers-of-the-south/SKILL.md, /llms.txt and /developers/llms.txt.

Standard & version
1.0 / v2 · Agent Card WG Draft & llms.txt v2
Accessible data scope
Agent cards, skill instructions and slash-less Markdown links to all 199 studies and 14 portal pages.
Verification
STD-AICAT and STD-LLMS verify media types, URN identifiers and 100% slash-less link resolution. · Loopback discovery verifier (verified, 2026-11-24)

Content Negotiation · STD-MD

Markdown Twins & Normalized Body Digests

Request Accept: text/markdown on any study, reading hub or developer route (or append /index.md) with YAML front matter and bodySha256.

Standard & version
lts-markdown-body/2 · IETF RFC 7763 & RFC 9110
Accessible data scope
199 English and Malayalam study twins, 8 reading-page twins and 14 developer-page twins.
Verification
STD-MD and RI-A03 verify negotiated Markdown headers, YAML front matter and lts-markdown-body/2 SHA-256 parity. · Negotiated HTTP client (Accept: text/markdown) (verified, 2026-11-24)

Schemas & Tokens · STD-SCHEMA

JSON Schema 2020-12 Payload Contracts

Validate every API response against its standalone /schemas/developers/{name}/1.json schema named in Link rel=describedby.

Standard & version
2020-12 · JSON Schema
Accessible data scope
All 18 developer payload and error schemas plus JSON-LD 1.1 context.
Verification
STD-SCHEMA checks Draft 2020-12 validity and validates live API responses against their advertised describedby schema. · Python jsonschema Draft202012Validator (verified, 2026-11-24)

Schemas & Tokens · PORTAL-01

Portable Design Tokens & Theme Resolver

Consume colour, typography, spacing and motion tokens in DTCG 2025.10 format alongside light/dark and vision-mode resolver rules.

Standard & version
2025.10 · W3C Design Tokens Community Group
Accessible data scope
Sitewide OKLCH/sRGB surfaces, inks, accents, type families, spacing scale and motion durations.
Verification
Build emits deterministic /data/design-tokens.json and /data/design-tokens.resolver.json listed in SHA256SUMS.txt. · JSON schema & SHA-256 manifest check (verified, 2026-11-24)

Verification · STD-SUMS

Dual-Domain SHA-256 & RFC 8785 JCS Digests

Verify static release files against /SHA256SUMS.txt and canonicalize JSON payloads with RFC 8785 JCS in browser WebCrypto or CLI.

Standard & version
rfc8785-jcs-sha256/1 · SHA-256 & IETF RFC 8785 JCS
Accessible data scope
Every static release artifact plus canonicalObjectSha256 on API, QUERY, MCP and A2A responses.
Verification
RI-A02 and STD-SUMS verify raw file digests, Markdown v2 digests, JCS canonicalization and negative surrogate/duplicate-key rejection. · Browser WebCrypto & sha256sum CLI (verified, 2026-11-24)

Linked Data · STD-DCAT

DCAT 3, RO-Crate 1.3, IIIF 3.0, Linked Places & Linked Art

Harvest dataset distributions, RO-Crate graph metadata, 10 IIIF Presentation 3.0 plate manifests, 22 Linked Places features and Linked Art epigraphy.

Standard & version
3.0 / 1.3 / 1.0 · W3C DCAT 3, ResearchObject, IIIF & Linked Pasts
Accessible data scope
Complete static research metadata, geospatial coordinates, Pleiades relations and Web Annotations.
Verification
STD-DCAT, STD-ROCRATE, STD-IIIF, STD-LPF, STD-LINKEDART and STD-ANNOTATION validate every emitted file. · Schema & graph validators in verify-developers (verified, 2026-11-24)

Design Tokens Community Group (DTCG) 2025.10

Portable colour, typography, spacing and motion tokens exported from app/v2/tokens.css at /data/design-tokens.json with light/dark and vision-mode modifiers at /data/design-tokens.resolver.json.

color.surface.bg--bg
color.surface.raised--bg-raised
color.ink.primary--ink
color.accent.ochre--ochre
color.accent.laterite--laterite
color.accent.signal--signal
color.cartography.land--land
color.cartography.sea--sea

This page as Markdown · All developer pages in one Markdown file