{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://proofscaling.org/schema/0.2/form.schema.json",
  "title": "Form Proof Dimension",
  "description": "How the venture measures and discloses: assurance level, timeliness, and completeness. Form binds to the SAFR Reporting Standard schema, version 0.07, for the financial reporting shape it reads. It does not redefine it.",
  "type": "object",
  "$comment": "Form binds to the SAFR Reporting Standard schema 0.07 for the financial reporting shape it reads.",
  "allOf": [{ "$ref": "proof-record.schema.json" }],
  "properties": {
    "dimension": { "const": "form" },
    "binding": {
      "description": "This dimension binds to the SAFR Reporting Standard for the financial reporting shape it reads. It does not redefine it.",
      "type": "object",
      "properties": {
        "standard": { "const": "SAFR Reporting Standard" },
        "version": { "const": "0.07" },
        "schema": {
          "type": "string",
          "description": "The pinned SAFR schema URL, where one is bound.",
          "format": "uri"
        }
      },
      "required": ["standard", "version"],
      "additionalProperties": false
    },
    "proofs": {
      "type": "object",
      "properties": {
        "assurance": {
          "description": "The assurance level attached to the financials: filed, reviewed, or audited.",
          "enum": ["filed", "reviewed", "audited"]
        },
        "timeliness": {
          "description": "Whether the filing arrived inside its reporting window, and the lag in days.",
          "$ref": "proof-record.schema.json#/$defs/measure"
        },
        "ledgerBase": {
          "description": "The economic base of the venture. The term is Ledger Base, never Ledger NAV.",
          "$ref": "proof-record.schema.json#/$defs/amount"
        },
        "completeness": {
          "description": "Whether the cost side is instrumented well enough to derive a margin rather than assert one.",
          "$ref": "proof-record.schema.json#/$defs/measure"
        }
      },
      "required": ["assurance"],
      "additionalProperties": true
    }
  },
  "required": ["dimension", "binding", "proofs"]
}
