{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askvouch.com/schemas/deal-package-readiness/v0.5.0/deal-package.strict.schema.json",
  "title": "Lending Deal-Package Readiness — pack instance (STRICT, generated)",
  "description": "GENERATED from field-catalogue.v0.json (v0.15.0) + code-lists.v0.json — do not edit by hand; run generate_strict_schema.py. Vocabulary-complete JSON Schema: every section/field enumerated, code-list enums inlined, datatypes mapped to JSON types, repeatable instances (':2', ':3', … — no leading zeros) and x_ extension fields as patternProperties. The reference validator remains normative for the semantic rules JSON Schema cannot express (tag/provenance compatibility, readiness coherence, the entity gate, requirement profiles).",
  "type": "object",
  "required": [
    "standard",
    "schema_version",
    "catalogue_version",
    "entity",
    "sections",
    "readiness"
  ],
  "properties": {
    "standard": {
      "const": "lending-deal-package-readiness"
    },
    "schema_version": {
      "type": "string",
      "pattern": "^\\d+\\.\\d+\\.\\d+$"
    },
    "catalogue_version": {
      "type": "string",
      "pattern": "^\\d+\\.\\d+\\.\\d+$"
    },
    "entity": {
      "type": "object",
      "required": [
        "legal_form"
      ],
      "additionalProperties": false,
      "properties": {
        "legal_form": {
          "description": "Broad enum so a pack can DESCRIBE any applicant. The eligibility GATE is a readiness rule (enforced by the reference validator): oven-ready / L2+ / attested packs require a corporate form (ltd/llp/plc). sole_trader and small-partnership lending can be a regulated credit agreement (RAO art 60B, subject to the art 60C exemptions; partnerships via art 60L) — such packs may relate to a regulated credit agreement and implementers carry the corresponding FCA obligations; a dedicated regulated-agreement profile is future work, not covered by v0.",
          "enum": [
            "ltd",
            "llp",
            "plc",
            "partnership",
            "sole_trader",
            "other"
          ]
        },
        "jurisdiction": {
          "type": "string",
          "default": "GB"
        }
      }
    },
    "producer": {
      "type": "object",
      "description": "OPTIONAL but RECOMMENDED (v0.5.0): who assembled this pack. In v0 provenance is the producer's recorded claim rather than a proof a consumer can check independently, so trusting a pack means trusting its producer. This block lets a consumer know whose claim it is, and what regulatory status that party holds.",
      "required": [
        "name"
      ],
      "additionalProperties": false,
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1,
          "description": "The legal or trading name of the party that assembled the pack."
        },
        "role": {
          "type": "string",
          "description": "How the producer acted on this case, e.g. 'origination platform', 'broker', 'lender'."
        },
        "fca_status": {
          "description": "The producer's FCA position for the activity carried on in assembling and passing this pack. not_stated is honest; omitting the block entirely says nothing at all.",
          "enum": [
            "authorised",
            "appointed_representative",
            "unregulated",
            "not_applicable",
            "not_stated"
          ]
        },
        "fca_frn": {
          "type": "string",
          "description": "The Firm Reference Number on the FCA Register, where the producer is authorised or an appointed representative. Checkable against the fca_register entry in reference-data."
        },
        "principal_name": {
          "type": "string",
          "description": "Where fca_status is appointed_representative: the principal firm that carries regulatory responsibility (FSMA s.39)."
        },
        "contact": {
          "type": "string",
          "description": "A contact address for questions about this pack."
        }
      }
    },
    "readiness": {
      "$ref": "#/$defs/readiness"
    },
    "signatures": {
      "type": "array",
      "description": "OPTIONAL evidence anchors (v1.0 layer, see spec/evidence-anchors-design.md). Each entry is a DETACHED JWS (RFC 7515) over the RFC 8785 JCS canonical bytes named by `over`: 'pack' = the whole document minus this signatures block; 'attestation' = the attestation tuple bound to the pack's content hash, so an attestation cannot be replayed onto a different pack. The signing algorithm is read from the SIGNED protected header, never from an unprotected field, so an algorithm-substitution attack cannot downgrade a signature. Structure only is checked here; authenticity requires a public key the consumer supplies (schema/evidence.py verify_signatures) — the reference validator never fetches a key. NOT yet required by any conformance level: that is the v1.0 rule change.",
      "maxItems": 16,
      "items": {
        "type": "object",
        "required": [
          "over",
          "protected",
          "signature"
        ],
        "additionalProperties": false,
        "properties": {
          "over": {
            "description": "What the signature covers.",
            "enum": [
              "pack",
              "attestation"
            ]
          },
          "protected": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]+$",
            "description": "base64url (unpadded) JOSE protected header — carries the signed `alg` and `kid`, and optionally `frn` binding the key to the producer's FCA Firm Reference Number."
          },
          "signature": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]+$",
            "description": "base64url (unpadded) signature. ES256 is raw R||S per JOSE, not DER."
          }
        }
      }
    },
    "sections": {
      "type": "object",
      "minProperties": 1,
      "properties": {
        "business_identity": {
          "$ref": "#/$defs/sec_business_identity"
        },
        "financials": {
          "$ref": "#/$defs/sec_financials"
        },
        "banking": {
          "$ref": "#/$defs/sec_banking"
        },
        "security_assets": {
          "$ref": "#/$defs/sec_security_assets"
        },
        "people": {
          "$ref": "#/$defs/sec_people"
        },
        "guarantor": {
          "$ref": "#/$defs/sec_guarantor"
        },
        "the_ask": {
          "$ref": "#/$defs/sec_the_ask"
        },
        "declarations": {
          "$ref": "#/$defs/sec_declarations"
        },
        "receivables": {
          "$ref": "#/$defs/sec_receivables"
        },
        "inventory": {
          "$ref": "#/$defs/sec_inventory"
        },
        "capital_structure": {
          "$ref": "#/$defs/sec_capital_structure"
        },
        "development": {
          "$ref": "#/$defs/sec_development"
        },
        "trade_finance": {
          "$ref": "#/$defs/sec_trade_finance"
        },
        "card_receipts": {
          "$ref": "#/$defs/sec_card_receipts"
        },
        "sharia_compliance": {
          "$ref": "#/$defs/sec_sharia_compliance"
        }
      },
      "patternProperties": {
        "^security_assets:([2-9]|[1-9][0-9]+)$": {
          "$ref": "#/$defs/sec_security_assets"
        },
        "^people:([2-9]|[1-9][0-9]+)$": {
          "$ref": "#/$defs/sec_people"
        },
        "^guarantor:([2-9]|[1-9][0-9]+)$": {
          "$ref": "#/$defs/sec_guarantor"
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "$defs": {
    "extension_field": {
      "type": "object",
      "required": [
        "value",
        "provenance"
      ],
      "additionalProperties": false,
      "properties": {
        "value": {},
        "provenance": {
          "$ref": "#/$defs/provenance"
        }
      }
    },
    "provenance": {
      "description": "How a fact entered the pack, and when it was checked. Aligned with what a producing system (e.g. AskVouch dealpack/assemble.py) actually emits: verified facts carry the check date; document/not_collected may carry a display label.",
      "oneOf": [
        {
          "type": "object",
          "required": [
            "kind",
            "source"
          ],
          "additionalProperties": false,
          "properties": {
            "kind": {
              "const": "verified"
            },
            "source": {
              "type": "string"
            },
            "via": {
              "type": "string"
            },
            "date": {
              "type": "string"
            },
            "expires_at": {
              "type": "string"
            },
            "evidence_ref": {
              "type": "string",
              "description": "OPAQUE locator for the stored source response — a storage key, not a fetch instruction. A consumer that chooses to dereference it MUST treat it as untrusted input (allowlist schemes, block SSRF targets, bound size/type/time — see the spec's Security considerations)."
            },
            "evidence_hash": {
              "type": "string",
              "pattern": "^sha256:[0-9a-f]{64}$",
              "description": "OPTIONAL evidence anchor (v1.0 layer, spec/evidence-anchors-design.md §3b): 'sha256:' + hex of the RFC 8785 JCS bytes of the SOURCE'S OWN RESPONSE that established this fact. Lets a consumer re-hash the stored (or re-fetched) response and confirm the producer neither invented nor altered it — the difference between 'we say we checked Companies House' and 'here is the checkable trace'. NOT proof the source was honest, and NOT producer authenticity (that is the pack signature). Computed by schema/evidence.py evidence_hash(); checked by verify_evidence()."
            }
          }
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "additionalProperties": false,
          "properties": {
            "kind": {
              "const": "self-declared"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "additionalProperties": false,
          "properties": {
            "kind": {
              "const": "document"
            },
            "checked": {
              "type": "boolean"
            },
            "ref": {
              "type": "string"
            },
            "label": {
              "type": "string"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "kind"
          ],
          "additionalProperties": false,
          "properties": {
            "kind": {
              "const": "not_collected"
            },
            "label": {
              "type": "string"
            }
          }
        }
      ]
    },
    "readiness": {
      "type": "object",
      "required": [
        "status",
        "attested",
        "conformance_level",
        "missing"
      ],
      "additionalProperties": false,
      "properties": {
        "status": {
          "description": "oven-ready REQUIRES missing == [] (enforced by the reference validator). gaps-remaining requires a non-empty missing list.",
          "enum": [
            "oven-ready",
            "gaps-remaining"
          ]
        },
        "attested": {
          "description": "true REQUIRES declarations.truth_statement with a non-empty value AND an attestation object (enforced by the reference validator). An attestation is the packing party's statement — it does NOT transfer legal responsibility to, or discharge the diligence obligations of, a receiving firm.",
          "type": "boolean"
        },
        "attestation": {
          "type": "object",
          "required": [
            "attested_by",
            "attested_at"
          ],
          "additionalProperties": false,
          "properties": {
            "attested_by": {
              "type": "string",
              "description": "Who attests (name + capacity, e.g. 'A. Director, director of the applicant')"
            },
            "attested_at": {
              "type": "string"
            },
            "statement_ref": {
              "type": "string",
              "description": "Reference/hash of the signed truth statement"
            }
          }
        },
        "conformance_level": {
          "description": "L1 = declared-only. L2 = verify-core: no verify-tagged field present in the pack carries a self-declared value (not_collected is permitted — it is the honest absence marker), and at least one verified fact exists. L3 = L2 + attested with attestation object + oven-ready. Enforced by the reference validator.",
          "enum": [
            "L1-declared",
            "L2-verified-core",
            "L3-attested"
          ]
        },
        "missing": {
          "type": "array",
          "uniqueItems": true,
          "items": {
            "type": "string"
          }
        }
      }
    },
    "sec_business_identity": {
      "type": "object",
      "properties": {
        "company_name": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "company_number": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "legal_form": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "ltd",
                "llp",
                "plc",
                "partnership",
                "sole_trader",
                "other",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "company_status": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "incorporation_date": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "sic_codes": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              }
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "lei": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "trading_name": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "website": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "registered_address": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "trading_address": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "vat_number": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "employee_count": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "business_description": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_financials": {
      "type": "object",
      "properties": {
        "turnover": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "months_trading": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "accounts_overdue": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "net_profit": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "statutory_accounts": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "management_accounts": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "cashflow_forecast": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "business_plan": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "accounts_reference_date": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "aged_creditor_ledger": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "creditor_days": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "vat_returns": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "hmrc_arrears": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "ccj_history": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "accountant_details": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "accounting_consent": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "accounting_turnover_12m": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "accounting_net_profit_12m": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "accounting_gross_margin": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "accounting_creditors_total": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "accounting_last_sync": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_banking": {
      "type": "object",
      "properties": {
        "bank_provider": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "bank_statements": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "monthly_credit_turnover": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "existing_repayments": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "dscr": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "statements_months_provided": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "average_monthly_balance": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "returned_items_count": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "other_banking_relationships": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "open_banking_consent": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_security_assets": {
      "type": "object",
      "properties": {
        "security_offered": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "unsecured",
                "secured_property",
                "secured_asset",
                "debenture",
                "guarantee_only",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "charges_register": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "property_address": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "valuation_report": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "asset_schedule": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "buildings_insurance": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "title_number": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "tenure": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "freehold",
                "leasehold",
                "long_leasehold",
                "other",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "lease_years_remaining": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "estimated_value": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "existing_charge_ranking": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "ltv_requested": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "asset_make_model": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "asset_identifier": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "asset_age_years": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "supplier_invoice": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "outstanding_charges_count": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_people": {
      "type": "object",
      "properties": {
        "active_officers": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "director_disqualified": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "sanctions_pep": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "director_id": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "director_address_proof": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "psc_register": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "shareholding_percent": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "role_title": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "industry_experience_years": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "credit_search_consent": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_guarantor": {
      "type": "object",
      "properties": {
        "guarantee_required": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "guarantee_type": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "personal",
                "limited",
                "joint_several",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "guarantee_amount": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "guarantor_name": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "guarantor_id": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "guarantor_net_worth": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "personal_financial_statement": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "guarantor_homeowner": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "ila_confirmation": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "guarantor_sanctions_pep": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_the_ask": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "purpose": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "facility_type": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "term_loan",
                "revolving_credit_facility",
                "overdraft",
                "asset_finance_hp",
                "asset_finance_lease",
                "invoice_discounting",
                "factoring",
                "asset_based_lending",
                "trade_finance",
                "bridging",
                "development_finance",
                "mezzanine_subordinated",
                "merchant_cash_advance",
                "sale_and_leaseback",
                "other",
                "inventory_finance",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "use_of_funds_code": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "working_capital",
                "equipment_assets",
                "vehicles",
                "property_purchase",
                "property_development",
                "fit_out",
                "stock",
                "refinance",
                "acquisition",
                "growth",
                "tax",
                "invoice_finance",
                "other",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "candidate_products": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "term_months": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "deposit_contribution": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "repayment_profile": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "amortising",
                "interest_only",
                "bullet",
                "revolving",
                "receipts_linked",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "exit_strategy": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "sale_of_asset",
                "refinance",
                "trading_receipts",
                "contracted_income",
                "other",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "exit_evidence": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "drawdown_timeline": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "finance_basis": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "conventional",
                "sharia_compliant",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "performance_evidence_basis": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "proof_of_delivery",
                "approved_timesheet",
                "certified_application",
                "none",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_declarations": {
      "type": "object",
      "properties": {
        "warranty_questionnaire": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "truth_statement": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "adverse_history_declaration": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "litigation_pending": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "data_processing_consent": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_receivables": {
      "type": "object",
      "properties": {
        "aged_debtor_ledger": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "debtor_concentration": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "dilution_rate": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "average_debtor_days": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "sample_invoices": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "credit_control_evidence": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "debtor_contracts": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "sales_ledger_system": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "terms_of_trade": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "debtor_insurance": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "contra_accounts": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "export_debtor_share": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "eligible_receivables": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "borrowing_base_certificate": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "accounting_debtors_total": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "pod_verified_value": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "delivered_not_invoiced_value": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "verified_dilution_rate": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "verified_debtor_days": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "approved_unbilled_value": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "approved_timesheet_count": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "certified_to_date_value": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "applied_not_certified_value": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "retention_held_value": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "retention_release_next_date": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "main_contractor_concentration": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_inventory": {
      "type": "object",
      "properties": {
        "stock_on_hand_value": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "stock_count_date": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "stock_valuation_basis": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "cost",
                "lower_of_cost_or_nrv",
                "net_realisable_value",
                "orderly_liquidation_value",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "stock_category_mix": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              }
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "aged_stock_share": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "stock_turnover_days": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "nolv_rate": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "stock_appraisal": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "stock_locations": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              }
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "third_party_logistics_provider": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "waiver_of_lien": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "stock_insurance": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "inventory_system": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "goods_in_transit_value": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_capital_structure": {
      "type": "object",
      "properties": {
        "existing_debt_schedule": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "senior_facility_terms": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "intercreditor_position": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "enterprise_valuation": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "ebitda": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "sponsor_details": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "equity_kicker_terms": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "group_structure_chart": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "shareholder_loans": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "cross_guarantees": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "existing_covenants": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "subordination_consent": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_development": {
      "type": "object",
      "properties": {
        "gdv": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "total_build_costs": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "drawdown_schedule": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "planning_permission": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "monitoring_surveyor": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "development_appraisal": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "build_cost_breakdown": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "planning_reference": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "s106_cil_liability": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "professional_team": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "main_contractor": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "contractor_track_record": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "build_programme": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "warranty_provider": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "presales_prelets": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "certified_work_in_place": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "cost_to_complete": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "drawn_to_date": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "last_certificate_date": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "programme_variance_weeks": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "cost_variance_rate": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_trade_finance": {
      "type": "object",
      "properties": {
        "trade_direction": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "import",
                "export",
                "both",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "supplier_details": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "supplier_track_record": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "purchase_orders": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "proforma_invoice": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "trade_cycle_days": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "shipping_documents": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "delivery_terms": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "currency_exposure": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "trade_credit_insurance": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_card_receipts": {
      "type": "object",
      "properties": {
        "acquirer_name": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "acquirer_statements": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "monthly_card_turnover": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "card_turnover_seasonality": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "proposed_split_percentage": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "acquirer_switch_required": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "verified_card_turnover": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "verified_transaction_count": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "integer",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "verified_average_transaction": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "verified_refund_rate": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "pending_settlement_value": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "settlement_next_date": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    },
    "sec_sharia_compliance": {
      "type": "object",
      "properties": {
        "sharia_structure": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "murabaha",
                "tawarruq",
                "ijara",
                "ijara_muntahia_bittamleek",
                "diminishing_musharaka",
                "musharaka",
                "mudaraba",
                "wakala",
                "istisna",
                "salam",
                "other",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "claimed_level": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "enum": [
                "S1-declared",
                "S2-structure-evidenced",
                "S3-certified",
                null
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "sharia_certificate": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "certifying_board": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "certificate_expiry": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "template_ref": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "late_payment_charity_clause": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "disclosed_cost": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "disclosed_markup": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "ownership_transfer_date": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "sale_contract_date": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ],
              "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "ownership_transfer_evidence": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "sale_contract": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "co_ownership_agreement": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "buyout_schedule": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "funder_insurance_evidence": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "partnership_agreement": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "capital_contribution_funder": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "capital_contribution_customer": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "profit_sharing_ratio": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ],
              "minimum": 0,
              "maximum": 1
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "loss_follows_capital": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "agency_agreement": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "agency_fee": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "number",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "specification_delivery_schedule": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        },
        "advance_payment_evidence": {
          "type": "object",
          "required": [
            "value",
            "provenance"
          ],
          "additionalProperties": false,
          "properties": {
            "value": {
              "type": [
                "string",
                "null"
              ]
            },
            "provenance": {
              "$ref": "#/$defs/provenance"
            }
          }
        }
      },
      "patternProperties": {
        "^x_[a-z][a-z0-9_]*$": {
          "$ref": "#/$defs/extension_field"
        }
      },
      "additionalProperties": false
    }
  }
}
