Skip to content
GitmoapAPIBeta
Schema

LegalDocument

The version of a legal document in force today, with its text and every version published.

Shape

  • bodystringIts text, as markdown. Links name other documents as <document_key>.md.
  • content_sha256stringThe SHA-256 of body.
  • document_keyLegalDocumentKeyterms-of-serviceacceptable-use-policycontent-reporting-policysecurity-disclosure-policyprivacy-statementcookie-statementdata-processing-addendumsubprocessorsentityThe document.
  • effective_dateCalendarDate (string)The day it took effect, in UTC.
  • historyarray of LegalVersionSummaryEvery published version, newest first, each readable at its own permanent address.
    • The LegalVersionSummary schema
    • content_sha256stringThe SHA-256 of its text, as the published body hashes.
    • effective_dateCalendarDate (string)The day it takes effect, in UTC.
    • versionLegalVersion (string)The version.
    • change_summarystring or nulloptionalWhat changed since the version before it, as its publisher summarised it. None for a first version.
  • kindLegalDocumentKindagreementpolicynoticeaddendumannexWhat it is.
  • titlestringIts title.
  • versionLegalVersion (string)The version in force today.
  • change_summarystring or nulloptionalWhat changed since the version before it, as its publisher summarised it. None for a first version.
  • upcomingLegalVersionSummary or nulloptionalThe version that will next take its place, when one is published.
    • The LegalVersionSummary schema
    • content_sha256stringThe SHA-256 of its text, as the published body hashes.
    • effective_dateCalendarDate (string)The day it takes effect, in UTC.
    • versionLegalVersion (string)The version.
    • change_summarystring or nulloptionalWhat changed since the version before it, as its publisher summarised it. None for a first version.

Example

Synthesized example
{
"body": "Renders each region as density contours of its operations.",
"content_sha256": "content-sha256-dbac",
"document_key": "terms-of-service",
"effective_date": "effective-date-9b7c",
"history": [
{
"content_sha256": "content-sha256-91f6",
"effective_date": "effective-date-dffb",
"version": "version-ef46"
}
],
"kind": "agreement",
"title": "Pin a page's payload to the build that rendered it",
"version": "version-3e77",
"change_summary": "change-summary-5616",
"upcoming": {
"content_sha256": "content-sha256-c229",
"effective_date": "effective-date-c5e6",
"version": "version-2761",
"change_summary": "change-summary-e303"
}
}

Graph

Used inside

No schema contains this one.

Used by

Sent by 0 operations

No operation takes it as a request body.