Principia · Schema

CanonicalPrior

A synthesized Bayesian prior over a construct→construct relationship. Full field definitions live in `@people-analyst/measurement-core`. PRN-463: also carries `attestation` and `cite_as` (see AttestedFields).

WorkplaceMeasurementsRegistryOpen Data

Properties

Name Type Description
attestation object
cite_as string A citation line that names the receipt id (identical to attestation.cite_as).
basis object Stable review basis for the pooled estimate; null label means not every contributing input was checked or no inputs are recorded.
canonical_prior_id string
from_construct_id string
to_construct_id string
predicate object
status string **PRN-208a-OPEN-3.** Present ONLY when a curator hold withholds this prior's estimate. Absent on every unheld prior — do not treat its absence as a value. When present, `parameters`, `intervals`, `gra
hold object Present iff `status` is `withheld_under_curator_hold`.
synthesis_method string
k_studies integer **PRN-366 — READ THIS BEFORE MAPPING k TO AN EVIDENCE TIER.** This counts the `effect_size` ROWS this prior pooled, NOT primary studies. When one of those rows is itself a meta-analysis, this reads 1
n_total integer
contributing_effect_size_ids array
quality_distribution object
replication_status string
parameters object Distribution parameters (e.g. mean, sd) for direct use in Stan/PyMC/brms.
last_updated string
provenance_url string Human-readable provenance page (tuple route only).
effects_url string Link to the contributing effect sizes (tuple route only).
culture_unavailable_note string Present when sample_culture was requested but no sub-prior exists.
intervals object PRN-059 — derived from the stored parameters. The credibility interval (distribution of the true effect across settings) is the interval to use as a Bayesian prior; the confidence interval is uncertai
provenance object PRN-066 — evidence-source provenance. Surfaces the published-literature prior and any primary-deployment relationship evidence (PRN-065) distinctly. `source` is `published-only` (cold-start, no primar
fused_posterior objectnull PRN-066 — published prior ⊕ pooled primary evidence, fused via the /posterior normal-normal engine (PRN-052). null when no primary-deployment evidence exists yet (published-only cold-start).
View JSON Schema on GitHub

JSON Schema

peopleprincipia-com-canonical-prior-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peopleprincipia-com/json-schema/peopleprincipia-com-canonical-prior-schema.json",
  "title": "CanonicalPrior",
  "description": "A synthesized Bayesian prior over a construct→construct relationship.\nFull field definitions live in `@people-analyst/measurement-core`.\nPRN-463: also carries `attestation` and `cite_as` (see AttestedFields).\n",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peopleprincipia-com-openapi.yaml#/components/schemas/CanonicalPrior",
  "type": "object",
  "allOf": [
    {
      "$ref": "#/$defs/AttestedFields"
    }
  ],
  "properties": {
    "basis": {
      "type": "object",
      "required": [
        "review_label"
      ],
      "description": "Stable review basis for the pooled estimate; null label means not every contributing input was checked or no inputs are recorded.",
      "properties": {
        "review_label": {
          "anyOf": [
            {
              "$ref": "#/$defs/BasisReviewLabel"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "canonical_prior_id": {
      "type": "string"
    },
    "from_construct_id": {
      "type": "string"
    },
    "to_construct_id": {
      "type": "string"
    },
    "predicate": {
      "$ref": "#/$defs/Predicate"
    },
    "status": {
      "type": "string",
      "enum": [
        "withheld_under_curator_hold"
      ],
      "description": "**PRN-208a-OPEN-3.** Present ONLY when a curator hold withholds this\nprior's estimate. Absent on every unheld prior — do not treat its\nabsence as a value. When present, `parameters`, `intervals`,\n`grade_calibration`, `artifact_correction`, `generalization`,\n`provenance` and `fused_posterior` are `null`, and `hold` explains\nwhy. Still a 200; a 404 would mean the prior does not exist.\n"
    },
    "hold": {
      "allOf": [
        {
          "$ref": "#/$defs/CuratorHold"
        }
      ],
      "description": "Present iff `status` is `withheld_under_curator_hold`."
    },
    "synthesis_method": {
      "type": "string"
    },
    "k_studies": {
      "type": "integer",
      "description": "**PRN-366 — READ THIS BEFORE MAPPING k TO AN EVIDENCE TIER.** This counts\nthe `effect_size` ROWS this prior pooled, NOT primary studies. When one of\nthose rows is itself a meta-analysis, this reads 1 for an edge built on\nhundreds of studies: `prior.construct.role_ambiguity__correlates__construct.sales_performance`\nreports `k_studies: 1` over an effect row carrying Verbeke's own 113 pooled\ncorrelations. Measured 2026-08-27 across the store: 624 of 793 priors with\ncontributing effects (78.7%) report fewer studies than their own sources do\n— 1,033 reported against 40,950 available, a 40x understatement.\nA consumer mapping this to an evidence tier gets the answer BACKWARDS on our\nbest-evidenced edges. Use `k_primary_studies` on the driver instead. The\nmeaning of THIS field is frozen, not corrected, because four keyed consumers\nalready read it.\n"
    },
    "n_total": {
      "type": "integer"
    },
    "contributing_effect_size_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "quality_distribution": {
      "type": "object",
      "additionalProperties": true
    },
    "replication_status": {
      "type": "string"
    },
    "parameters": {
      "type": "object",
      "additionalProperties": true,
      "description": "Distribution parameters (e.g. mean, sd) for direct use in Stan/PyMC/brms."
    },
    "last_updated": {
      "type": "string",
      "format": "date-time"
    },
    "provenance_url": {
      "type": "string",
      "format": "uri",
      "description": "Human-readable provenance page (tuple route only)."
    },
    "effects_url": {
      "type": "string",
      "description": "Link to the contributing effect sizes (tuple route only)."
    },
    "culture_unavailable_note": {
      "type": "string",
      "description": "Present when sample_culture was requested but no sub-prior exists."
    },
    "intervals": {
      "type": "object",
      "description": "PRN-059 — derived from the stored parameters. The credibility interval (distribution of the true effect across settings) is the interval to use as a Bayesian prior; the confidence interval is uncertainty about the mean. Observed-score scale until artifact correction (PRN-058).",
      "properties": {
        "mean_r": {
          "type": "number"
        },
        "confidence_interval_r": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "Uncertainty about the mean ρ (r scale)."
        },
        "credibility_interval_r": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "number"
          },
          "description": "Distribution of the true effect across settings (r scale); null when k<2."
        },
        "sd_rho_z": {
          "type": [
            "number",
            "null"
          ],
          "description": "Between-study SD of true effects, z-scale (√τ²); null when k<2."
        },
        "generalizes": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "true ⇒ SD_ρ≈0 (stable across settings); false ⇒ likely moderated; null when k<2."
        },
        "i_squared": {
          "type": [
            "number",
            "null"
          ],
          "minimum": 0,
          "maximum": 1,
          "description": "I² (Higgins & Thompson 2002) — share of total variance from between-study heterogeneity, in [0,1]; null when k<2 or not yet backfilled onto the prior."
        },
        "note": {
          "type": "string"
        }
      }
    },
    "provenance": {
      "type": "object",
      "description": "PRN-066 — evidence-source provenance. Surfaces the published-literature prior and any primary-deployment relationship evidence (PRN-065) distinctly. `source` is `published-only` (cold-start, no primary evidence yet) or `published+primary`.",
      "properties": {
        "source": {
          "type": "string",
          "enum": [
            "published-only",
            "published+primary"
          ]
        },
        "published": {
          "type": "object",
          "description": "The meta-analytic prior (always present).",
          "properties": {
            "source": {
              "type": "string",
              "enum": [
                "published-literature"
              ]
            },
            "rho": {
              "type": "number",
              "description": "Pooled mean ρ (r scale)."
            },
            "k_studies": {
              "type": [
                "integer",
                "null"
              ]
            },
            "n_total": {
              "type": [
                "integer",
                "null"
              ]
            },
            "caveats": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Bias/heterogeneity caveats (funnel asymmetry, high I², aging literature, replication status)."
            }
          }
        },
        "primary": {
          "type": [
            "object",
            "null"
          ],
          "description": "Primary-deployment relationship evidence, pooled (precision-weighted, Fisher-z). null when no deployment evidence exists yet.",
          "properties": {
            "source": {
              "type": "string",
              "enum": [
                "primary-deployment"
              ]
            },
            "rho": {
              "type": "number",
              "description": "Pooled observed ρ across deployments (r scale)."
            },
            "n_observations": {
              "type": "integer"
            },
            "n_orgs": {
              "type": "integer",
              "description": "Distinct organizations contributing — the convenience-sample honesty signal."
            },
            "n_rows": {
              "type": "integer"
            },
            "no_publication_bias": {
              "type": "boolean",
              "description": "Always true — publication-bias-free by construction (results enter regardless of outcome)."
            }
          }
        },
        "fused_posterior": {
          "type": [
            "object",
            "null"
          ],
          "description": "Same as the top-level fused_posterior; null in the published-only case."
        },
        "note": {
          "type": "string"
        }
      }
    },
    "fused_posterior": {
      "type": [
        "object",
        "null"
      ],
      "description": "PRN-066 — published prior ⊕ pooled primary evidence, fused via the /posterior normal-normal engine (PRN-052). null when no primary-deployment evidence exists yet (published-only cold-start).",
      "properties": {
        "rho": {
          "type": "number",
          "description": "Posterior mean ρ (r scale)."
        },
        "ci_r": {
          "type": "array",
          "items": {
            "type": "number"
          },
          "description": "95% interval on ρ (r scale)."
        },
        "primary_weight": {
          "type": "number",
          "minimum": 0,
          "maximum": 1,
          "description": "Weight the posterior placed on the primary observation."
        }
      }
    }
  },
  "additionalProperties": true,
  "$defs": {
    "Attestation": {
      "type": "object",
      "description": "PRN-463. Proof that a served record is a leaf of a daily Merkle root Principia published\n(PRN-387 receipts, PRN-420 external anchor). No new proof format: `receipt_id` is the\nPRN-387 receipt content_hash, `path` is its Merkle path, `merkle_root` the day's root.\n`status` is `not_anchored` when the record is in no published root yet (added after the\nlatest anchor, or not an anchored kind, or a culture-conditioned sub-prior): then\n`receipt_id`, `anchored_at` and `merkle_root` are null and `path` is empty. That is a gap,\nnever a finding that the value is wrong.\n",
      "required": [
        "attestation_version",
        "status",
        "record_id",
        "receipt_id",
        "anchored_at",
        "merkle_root",
        "path",
        "external_anchor",
        "scope",
        "verify_url",
        "cite_as"
      ],
      "properties": {
        "attestation_version": {
          "type": "string",
          "enum": [
            "1"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "anchored",
            "not_anchored",
            "anchor_unavailable"
          ]
        },
        "record_id": {
          "type": "string"
        },
        "receipt_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "anchored_at": {
          "type": [
            "string",
            "null"
          ],
          "description": "UTC anchor date of the daily root."
        },
        "merkle_root": {
          "type": [
            "string",
            "null"
          ]
        },
        "path": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MerklePathStep"
          }
        },
        "external_anchor": {
          "type": "object",
          "required": [
            "service",
            "status",
            "summary"
          ],
          "properties": {
            "service": {
              "type": "string"
            },
            "status": {
              "type": "string",
              "enum": [
                "pending",
                "confirmed",
                "failed",
                "not_submitted"
              ]
            },
            "bitcoin_block_height": {
              "type": "string",
              "description": "Confirmed only; a string so it is never read as a served statistic."
            },
            "summary": {
              "type": "string"
            }
          }
        },
        "scope": {
          "type": "string",
          "description": "What the attestation covers and its limit."
        },
        "verify_url": {
          "type": "string"
        },
        "cite_as": {
          "type": "string"
        }
      }
    },
    "AttestedFields": {
      "type": "object",
      "description": "PRN-463 additive keys on every attested prior / effect / construct result (REST and MCP).",
      "properties": {
        "attestation": {
          "$ref": "#/$defs/Attestation"
        },
        "cite_as": {
          "type": "string",
          "description": "A citation line that names the receipt id (identical to attestation.cite_as)."
        }
      }
    },
    "BasisReviewLabel": {
      "type": "object",
      "required": [
        "label",
        "definition"
      ],
      "description": "Stable review label shared by effects, findings, and pooled priors. This field name and vocabulary are stable for consumers.",
      "properties": {
        "label": {
          "type": "string",
          "enum": [
            "human-verified",
            "checked by machine against the paper (not human-reviewed)"
          ]
        },
        "definition": {
          "type": "string"
        }
      }
    },
    "CuratorHold": {
      "type": "object",
      "description": "**PRN-208a-OPEN-3.** Present on any entity whose numeric estimate a\ncurator hold withholds. The response is a normal **200** and the entity\nis otherwise complete — the pair, the constructs, the citations,\n`k_studies`, `n_total` and the grades all survive. What is withheld is\nthe estimate and everything it is trivially reconstructable from.\n\n**Held is not the same as absent.** Test\n`status === \"withheld_under_curator_hold\"` (equivalently `hold != null`).\nA pair that does not exist answers **404** with\n`error.code = \"no_prior_synthesized\"`, and an unheld pair carries\nneither `status` nor `hold` — the shape of an unheld response is exactly\nwhat it was before holds existed.\n\nA hold means the estimate may not be PUBLISHED. It is not a claim that\nthe row was mis-transcribed, and nothing is deleted: the rows stay in\nthe store and the prior keeps synthesizing.\n\nThe curator's full free-text rationale is deliberately NOT inlined — it\nis written for curators and quotes the withheld figure verbatim.\n`rationale` here is a pointer to the ledger entry.\n",
      "required": [
        "hold_id",
        "kind",
        "reason",
        "withheld_fields",
        "ruling"
      ],
      "properties": {
        "hold_id": {
          "type": "string",
          "description": "Ledger key in data/research/supersession.json#holds."
        },
        "kind": {
          "type": "string",
          "description": "`superseded_by_method_no_replacement` — every source on the pair is\nmethodologically superseded and no corrected estimate exists\nanywhere, so the ordinary supersession rule cannot fire.\n`auto_extracted_cell_identity_unresolved` — the value came from an\nautomated extraction with no k/N and no way to tell which cell of\nthe cited table it was read from.\n"
        },
        "kind_label": {
          "type": "string",
          "description": "Human-readable form of `kind`; says so explicitly when the kind is unrecognised."
        },
        "scope": {
          "type": "string",
          "description": "`construct_pair` — the hold binds the whole pair, not only the ids the ledger listed."
        },
        "from_construct_id": {
          "type": "string"
        },
        "to_construct_id": {
          "type": "string"
        },
        "publishable": {
          "type": "boolean",
          "enum": [
            false
          ]
        },
        "reason": {
          "type": "string",
          "description": "Publication-safe explanation of this hold kind."
        },
        "withheld_fields": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Exactly which fields on THIS entity were suppressed. Never silent."
        },
        "replacement_available": {
          "type": "boolean",
          "description": "false when no corrected estimate has been published to replace the withheld one."
        },
        "replacement_citation_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "how_to_resolve": {
          "type": "string",
          "description": "What would lift the hold. Omitted when the ledger's text quotes the withheld value."
        },
        "decided_by": {
          "type": "string"
        },
        "decided_at": {
          "type": "string"
        },
        "raised_by": {
          "type": "string"
        },
        "open_items": {
          "type": "array",
          "description": "Open questions on this hold — ids and statuses only; the titles quote the withheld figures.",
          "items": {
            "type": "object",
            "properties": {
              "item_id": {
                "type": "string"
              },
              "status": {
                "type": "string"
              }
            }
          }
        },
        "held_prior_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "held_effect_size_ids": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "ruling": {
          "type": "object",
          "properties": {
            "ticket": {
              "type": "string",
              "description": "e.g. PRN-208a, PRN-208a-OPEN-2"
            },
            "ledger": {
              "type": "string",
              "description": "data/research/supersession.json#holds"
            },
            "document": {
              "type": "string",
              "description": "The written ruling / audit, where one exists separately from the ledger."
            }
          }
        },
        "rationale": {
          "type": "string",
          "description": "Pointer to the curator rationale in the ledger — NOT the rationale text."
        },
        "note": {
          "type": "string",
          "description": "States the held-vs-absent distinction inline, for a consumer reading one response in isolation."
        }
      }
    },
    "MerklePathStep": {
      "type": "object",
      "required": [
        "hash",
        "side"
      ],
      "properties": {
        "hash": {
          "type": "string",
          "description": "Sibling hash (lowercase hex sha256)."
        },
        "side": {
          "type": "string",
          "enum": [
            "left",
            "right"
          ],
          "description": "Which side the sibling sits on when hashing up: left => sha256(hash+current), right => sha256(current+hash)."
        }
      }
    },
    "Predicate": {
      "type": "string",
      "enum": [
        "predicts",
        "moderates",
        "mediates",
        "correlates",
        "causes"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/peopleprincipia-com-canonical-prior"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.