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

Schemas

11 JSON Schema 2020-12 documents, one for each payload. Each has a stable absolute $id, and responses name theirs in a describedby link.

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 required
  • kind 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 required
  • view one of compact, full
  • snapshotId string (pattern ^[0-9a-f]{64}$) required
  • contentBundleSha256 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 required
  • attribution object What to credit and under which licence. `scope` says what the licence covers.
    • credit string required
    • licence string required SPDX identifier.
    • licenceUrl string required
    • citeAs string required
    • snapshotId string (pattern ^[0-9a-f]{64}$) required
    • scope string required
  • links object
  • reviewStatus object
  • publicationApproved boolean
  • data 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 required
  • packageVersion string required
  • snapshotId string (pattern ^[0-9a-f]{64}$) required
  • contentBundleSha256 string (pattern ^[0-9a-f]{64}$) required
  • sourceCommit string or null required
  • sourceTreeState one of clean, dirty, None required
  • provenanceUnavailableReason string or null
  • provenanceEvidence 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 required
  • publicationApproved boolean required
  • accessMode one of private_preview, public_anonymous required
  • status one of current, retained, expired, withdrawn required
  • studyCount integer (1..) required
  • routeCount integer (1..) required
  • digestSchemes object required
    • fileSha256 always lts-raw-file/1 required
    • bodySha256 always lts-markdown-body/2 required
    • canonicalObjectSha256 always rfc8785-jcs-sha256/1 required
  • protocolVersions object required
    • httpApi always v1 required
    • openapiPrimary always 3.2.1 required
    • openapiCompatibility always 3.1.2 required
    • jsonSchemaDialect always https://json-schema.org/draft/2020-12/schema required
    • mcpSupported array of string required
    • a2aRelease always v1.0.1 required
    • a2aWireVersion always 1.0 required
    • roCrateProfile 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/1
  • packageId string
  • snapshotId string (pattern ^[0-9a-f]{64}$)
  • contentBundleSha256 string (pattern ^[0-9a-f]{64}$)
  • generatedAt string or null
  • studyIds array of string (at most 128 characters)
  • savedQuery saved-query see saved-query
  • digestSchemes object
  • studies array of object
  • citations object
  • files array of object
    • path string required
    • fileSha256 string (pattern ^[0-9a-f]{64}$) required
    • byteLength 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 required
  • operationVersion one of lts-read-operations/3, lts-read-operations/2
  • snapshotId string (pattern ^(current|[0-9a-f]{64})$) required
  • operation one of search, study_detail, study_evidence, study_citations required
  • parameters object required
  • expectedResultSha256 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/1
  • offlineReplaySha256 string (pattern ^[0-9a-f]{64}$) Accepted legacy metadata; never used in place of expectedResultSha256.
  • schema one of saved-query/1, lts-saved-query/1
  • params object
  • expectedResultJcsSha256 string (pattern ^[0-9a-f]{64}$)
  • method one of GET, POST, QUERY
  • endpoint 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 required
  • snapshotId string
  • limits object required
  • httpEndpoints array of object required
  • mcp object required
  • a2a object required
  • webmcp object required
  • schemas 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 required
  • verified boolean required
  • snapshotId string (pattern ^[0-9a-f]{64}$) required
  • canonicalization one of lts-markdown-body/2, lts-raw-file/1, rfc8785-jcs-sha256/1 required
  • digestField one of bodySha256, fileSha256, canonicalObjectSha256 required
  • expectedSha256 string
  • computedSha256 string (pattern ^[0-9a-f]{64}$) required
  • driftedFields array of string
  • result 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 required
  • title string required
  • status integer (400..599) required
  • detail string required
  • instance string
  • code string (pattern ^[a-z0-9_]+$)
  • field string or null
  • snapshotId string
  • candidates 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 required
  • data object required
    • id string required
    • publicId string
    • routeSlug string
    • revision integer
    • title string required The statement title when the study has a reader label.
    • summary string or null
    • section string or null
    • chronology object or null
    • statementTitle string or null
    • oneLine string or null
    • inBrief string or null
    • whyItMatters string or null
    • howSure array or null
      • level one of established, likely, possible, not_known required
      • label string required
      • finding string required
      • why string
    • statementsAvailable boolean
    • howSureCounts object or null
      • established integer (0..) required
      • likely integer (0..) required
      • possible integer (0..) required
      • not_known integer (0..) required
    • twoViews array of object
      • question string
      • viewA string required
      • viewB string required
      • wouldSettle string
    • howWeKnow array of string
    • labelCheck null or object
    • sourceCount integer (0..)
    • claimCount integer (0..)
    • bodySha256 string (pattern ^[0-9a-f]{64}$) required
    • bodyCanonicalization always lts-markdown-body/2
    • body object One page of the Markdown text, present only when it was asked for.
      • text string required
      • offset integer (0..) required
      • limit integer (1..)
      • totalCharacters integer (0..) required
      • nextOffset 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 required
  • data object required
    • query string
    • filters object
    • levels array of object required
      • key one of established, likely, possible, not_known required
      • label string required
      • definition string required
    • coverage object
    • countsByLevel object or null
      • established integer (0..) required
      • likely integer (0..) required
      • possible integer (0..) required
      • not_known integer (0..) required
    • totalMatches integer (0..) required
    • limit integer (1..) required
    • offset integer (0..) required
    • nextCursor string or null required
    • cursorVersion string
    • results array of object required
      • level one of established, likely, possible, not_known required
      • label string required
      • finding string required
      • why string
      • studyId string required
      • studyTitle string
      • position integer (1..) required
      • url 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 required
  • data object required
    • query string required
    • filters object
    • retrievalStatus one of matches_found, no_matches
    • rankingMethod string required
    • coverage object required
      • fullTextSearched always False required
      • studyCount integer
      • statementsAvailable boolean
    • retrievalLimitations string
    • totalMatches integer (0..) required
    • limit integer (1..) required
    • offset integer (0..) required
    • nextCursor string or null required
    • cursorVersion string
    • results array of object required
      • id string required
      • title string required
      • oneLine string or null
      • howSureCounts object or null

        further fields are listed in the schema file

      • url string
      • markdownUrl string
      • section string or null
      • relevanceScore integer
      • matchedTerms array of string
      • matchedFields array of string
      • matchedStatements array of object

        further fields are listed in the schema file

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 required
  • edition string required
  • snapshotId string (pattern ^[0-9a-f]{64}$) required
  • contentBundleSha256 string (pattern ^[0-9a-f]{64}$)
  • publicationState string
  • accessMode one of private_preview, public_anonymous
  • studyCount integer (0..)
  • statementCount integer (0..)
  • limits object required
  • responseBudgets object
  • rateLimit object Per serving instance and approximate.
  • links object

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