001 Schemas
Payloads and their fields
The HTTP API description, with every operation and component, in two OpenAPI versions: /api/v1/openapi.json · /api/v1/openapi-3.1.json · Portable design tokens (DTCG 2025.10) and theme resolver: /data/design-tokens.json · /data/design-tokens.resolver.json
The service returns these descriptions in English; they are quoted here as it returns them.
public-domain-result
Layers of the South Public Domain Result Envelope (v1) Shared canonical domain result payload returned across HTTP, MCP, A2A, and WebMCP adapters.
Schema file: https://layersofthesouth.org/schemas/developers/public-domain-result/1.json
schemaVersion always public-domain-result/1 requiredkind one of catalogue, study_detail, search_results, study_evidence, study_citations, statements, claim_evidence, inscription_record, place_chronology, release_comparison, epigraphic_reading_result, stratigraphy_context_result, claim_verification_result, pleiades_chronology_result requiredview one of compact, fullsnapshotId string (pattern ^[0-9a-f]{64}$) requiredcontentBundleSha256 string (pattern ^[0-9a-f]{64}$)release developer-release or object The full release descriptor (view=full), or a reference to it (view=compact).canonicalObjectSha256 string (pattern ^[0-9a-f]{64}$) required RFC 8785 digest of `data` exactly as returned.objectCanonicalization always rfc8785-jcs-sha256/1 requiredattribution object What to credit and under which licence. `scope` says what the licence covers.credit string requiredlicence string required SPDX identifier.licenceUrl string requiredciteAs string requiredsnapshotId string (pattern ^[0-9a-f]{64}$) requiredscope string required
links objectreviewStatus objectpublicationApproved booleandata object required
developer-release
Layers of the South Canonical Release Descriptor (v1) Authoritative release and snapshot provenance descriptor (RI-01).
Schema file: https://layersofthesouth.org/schemas/developers/developer-release/1.json
schemaVersion always developer-release/1 requiredpackageVersion string requiredsnapshotId string (pattern ^[0-9a-f]{64}$) requiredcontentBundleSha256 string (pattern ^[0-9a-f]{64}$) requiredsourceCommit string or null requiredsourceTreeState one of clean, dirty, None requiredprovenanceUnavailableReason string or nullprovenanceEvidence object or null Reference to the original release manifest from which origin fields were read; a checksum does not establish a signature.inheritedProvenance object or null Unverified legacy claims kept separately; never authoritative original-release fields.generatedAt string or null required Recorded original release build time, or null when it is unknown.publicationState one of local_review_only, approved_public_release requiredpublicationApproved boolean requiredaccessMode one of private_preview, public_anonymous requiredstatus one of current, retained, expired, withdrawn requiredstudyCount integer (1..) requiredrouteCount integer (1..) requireddigestSchemes object requiredfileSha256 always lts-raw-file/1 requiredbodySha256 always lts-markdown-body/2 requiredcanonicalObjectSha256 always rfc8785-jcs-sha256/1 required
protocolVersions object requiredhttpApi always v1 requiredopenapiPrimary always 3.2.1 requiredopenapiCompatibility always 3.1.2 requiredjsonSchemaDialect always https://json-schema.org/draft/2020-12/schema requiredmcpSupported array of string requireda2aRelease always v1.0.1 requireda2aWireVersion always 1.0 requiredroCrateProfile always https://w3id.org/ro/crate/1.3 required
evidence-package
Layers of the South Reproducible Evidence Package (v1) An evidence package manifest (the JSON answer and the manifest.json of the ZIP), or the preview of one (format "preview"), which carries the manifest it would build. The members below are those of the manifest; a preview also has format, totalPackageBytes and manifest.
Schema file: https://layersofthesouth.org/schemas/developers/evidence-package/1.json
schemaVersion always evidence-package/1packageId stringsnapshotId string (pattern ^[0-9a-f]{64}$)contentBundleSha256 string (pattern ^[0-9a-f]{64}$)generatedAt string or nullstudyIds array of string (at most 128 characters)savedQuery saved-query see saved-querydigestSchemes objectstudies array of objectcitations objectfiles array of objectpath string requiredfileSha256 string (pattern ^[0-9a-f]{64}$) requiredbyteLength integer (0..) required
canonicalObjectSha256 string (pattern ^[0-9a-f]{64}$)offlineReplaySha256 string or null (pattern ^[0-9a-f]{64}$)whatIsInThisDownload object
saved-query
Layers of the South Saved Query Specification (v1) Bounded safe read operations. Expectations are verification metadata, separate from operation parameters. Replay compares the complete result.data using RFC 8785; source tiers are retrieval metadata.
Schema file: https://layersofthesouth.org/schemas/developers/saved-query/1.json
schemaVersion always saved-query/1 requiredoperationVersion one of lts-read-operations/3, lts-read-operations/2snapshotId string (pattern ^(current|[0-9a-f]{64})$) requiredoperation one of search, study_detail, study_evidence, study_citations requiredparameters object requiredexpectedResultSha256 string (pattern ^[0-9a-f]{64}$) required Mandatory full result.data JCS digest. Never inferred from the replayed result.expectedStudyIds array of string (at most 128 characters)canonicalization always rfc8785-jcs-sha256/1offlineReplaySha256 string (pattern ^[0-9a-f]{64}$) Accepted legacy metadata; never used in place of expectedResultSha256.schema one of saved-query/1, lts-saved-query/1params objectexpectedResultJcsSha256 string (pattern ^[0-9a-f]{64}$)method one of GET, POST, QUERYendpoint string
capability-registry
Layers of the South Capability Registry Schema (v1) Machine-readable inventory of ordinary HTTP routes, MCP primitives, A2A skills, WebMCP tools, and schemas.
Schema file: https://layersofthesouth.org/schemas/developers/capability-registry/1.json
schemaVersion always capability-registry/1 requiredsnapshotId stringlimits object requiredhttpEndpoints array of object requiredmcp object requireda2a object requiredwebmcp object requiredschemas array of string required
verification-receipt
Layers of the South Digest & Replay Verification Receipt (v1) Receipt returned by digest verification and saved-query replay operations.
Schema file: https://layersofthesouth.org/schemas/developers/verification-receipt/1.json
schemaVersion always verification-receipt/1 requiredverified boolean requiredsnapshotId string (pattern ^[0-9a-f]{64}$) requiredcanonicalization one of lts-markdown-body/2, lts-raw-file/1, rfc8785-jcs-sha256/1 requireddigestField one of bodySha256, fileSha256, canonicalObjectSha256 requiredexpectedSha256 stringcomputedSha256 string (pattern ^[0-9a-f]{64}$) requireddriftedFields array of stringresult object
problem
Problem details (RFC 9457) Every error body. `type` resolves to a page that gives the meaning and the remedy.
Schema file: https://layersofthesouth.org/schemas/developers/problem/1.json
type string requiredtitle string requiredstatus integer (400..599) requireddetail string requiredinstance stringcode string (pattern ^[a-z0-9_]+$)field string or nullsnapshotId stringcandidates array of object
study
Study One study with its graded statements. The compact view is the default; the full view adds fields.
Schema file: https://layersofthesouth.org/schemas/developers/study/1.json
kind always study_detail requireddata object requiredid string requiredpublicId stringrouteSlug stringrevision integertitle string required The statement title when the study has a reader label.summary string or nullsection string or nullchronology object or nullstatementTitle string or nulloneLine string or nullinBrief string or nullwhyItMatters string or nullhowSure array or nulllevel one of established, likely, possible, not_known requiredlabel string requiredfinding string requiredwhy string
statementsAvailable booleanhowSureCounts object or nullestablished integer (0..) requiredlikely integer (0..) requiredpossible integer (0..) requirednot_known integer (0..) required
twoViews array of objectquestion stringviewA string requiredviewB string requiredwouldSettle string
howWeKnow array of stringlabelCheck null or objectsourceCount integer (0..)claimCount integer (0..)bodySha256 string (pattern ^[0-9a-f]{64}$) requiredbodyCanonicalization always lts-markdown-body/2body object One page of the Markdown text, present only when it was asked for.text string requiredoffset integer (0..) requiredlimit integer (1..)totalCharacters integer (0..) requirednextOffset integer or null required
statements
Graded statements Graded statements across studies, with the legend of the four How-sure levels.
Schema file: https://layersofthesouth.org/schemas/developers/statements/1.json
kind always statements requireddata object requiredquery stringfilters objectlevels array of object requiredkey one of established, likely, possible, not_known requiredlabel string requireddefinition string required
coverage objectcountsByLevel object or nullestablished integer (0..) requiredlikely integer (0..) requiredpossible integer (0..) requirednot_known integer (0..) required
totalMatches integer (0..) requiredlimit integer (1..) requiredoffset integer (0..) requirednextCursor string or null requiredcursorVersion stringresults array of object requiredlevel one of established, likely, possible, not_known requiredlabel string requiredfinding string requiredwhy stringstudyId string requiredstudyTitle stringposition integer (1..) requiredurl string required
search-results
Search results Ranked studies. Compact rows carry the one-line summary and the count of statements at each level.
Schema file: https://layersofthesouth.org/schemas/developers/search-results/1.json
kind always search_results requireddata object requiredquery string requiredfilters objectretrievalStatus one of matches_found, no_matchesrankingMethod string requiredcoverage object requiredfullTextSearched always False requiredstudyCount integerstatementsAvailable boolean
retrievalLimitations stringtotalMatches integer (0..) requiredlimit integer (1..) requiredoffset integer (0..) requirednextCursor string or null requiredcursorVersion stringresults array of object required
status
Service status What one request sees: service state, the snapshot in service, the edition and the limits.
Schema file: https://layersofthesouth.org/schemas/developers/status/1.json
status one of ok, degraded requirededition string requiredsnapshotId string (pattern ^[0-9a-f]{64}$) requiredcontentBundleSha256 string (pattern ^[0-9a-f]{64}$)publicationState stringaccessMode one of private_preview, public_anonymousstudyCount integer (0..)statementCount integer (0..)limits object requiredresponseBudgets objectrateLimit object Per serving instance and approximate.links object
CopyCopiedrequiredThe request did not complete. The service may be busy or unreachable from this network.DocumentOpen the documentFind a property by nameProperties found:No property of that name in this document.JSON PointerPathReferences resolved:These did not resolve:refers back to a schema above itDocument tree