{
  "@context": {
    "@version": 1.1,
    "@base": "https://tax-kg.example.com/",
    "@vocab": "https://tax-kg.example.com/vocab#",
    
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "time": "http://www.w3.org/2006/time#",
    "prov": "http://www.w3.org/ns/prov#",
    "foaf": "http://xmlns.com/foaf/0.1/",
    "schema": "https://schema.org/",
    "fibo": "https://spec.edmcouncil.org/fibo/ontology/",
    
    "TaxpayerProfile": {
      "@id": "TaxpayerProfile",
      "@type": "@id"
    },
    "TaxYear": {
      "@id": "TaxYear",
      "@type": "@id"
    },
    "Jurisdiction": {
      "@id": "Jurisdiction",
      "@type": "@id"
    },
    "TaxForm": {
      "@id": "TaxForm",
      "@type": "@id"
    },
    "Schedule": {
      "@id": "Schedule",
      "@type": "@id"
    },
    "FormBox": {
      "@id": "FormBox",
      "@type": "@id"
    },
    "Document": {
      "@id": "Document",
      "@type": "@id"
    },
    "Evidence": {
      "@id": "Evidence",
      "@type": "@id"
    },
    "Party": {
      "@id": "Party",
      "@type": "@id"
    },
    "Account": {
      "@id": "Account",
      "@type": "@id"
    },
    "IncomeItem": {
      "@id": "IncomeItem",
      "@type": "@id"
    },
    "ExpenseItem": {
      "@id": "ExpenseItem",
      "@type": "@id"
    },
    "PropertyAsset": {
      "@id": "PropertyAsset",
      "@type": "@id"
    },
    "BusinessActivity": {
      "@id": "BusinessActivity",
      "@type": "@id"
    },
    "Payment": {
      "@id": "Payment",
      "@type": "@id"
    },
    "ExchangeRate": {
      "@id": "ExchangeRate",
      "@type": "@id"
    },
    "Calculation": {
      "@id": "Calculation",
      "@type": "@id"
    },
    "Rule": {
      "@id": "Rule",
      "@type": "@id"
    },
    "Allowance": {
      "@id": "Allowance",
      "@type": "@id"
    },
    "Relief": {
      "@id": "Relief",
      "@type": "@id"
    },
    "PensionContribution": {
      "@id": "PensionContribution",
      "@type": "@id"
    },
    "StudentLoanPlan": {
      "@id": "StudentLoanPlan",
      "@type": "@id"
    },
    "NormalizationEvent": {
      "@id": "NormalizationEvent",
      "@type": "@id"
    },
    "Reconciliation": {
      "@id": "Reconciliation",
      "@type": "@id"
    },
    "Consent": {
      "@id": "Consent",
      "@type": "@id"
    },
    "LegalBasis": {
      "@id": "LegalBasis",
      "@type": "@id"
    },
    "ImportJob": {
      "@id": "ImportJob",
      "@type": "@id"
    },
    "ETLRun": {
      "@id": "ETLRun",
      "@type": "@id"
    },
    
    "taxpayer_id": {
      "@id": "taxpayer_id",
      "@type": "xsd:string"
    },
    "utr": {
      "@id": "utr",
      "@type": "xsd:string"
    },
    "ni_number": {
      "@id": "ni_number",
      "@type": "xsd:string"
    },
    "doc_id": {
      "@id": "doc_id",
      "@type": "xsd:string"
    },
    "snippet_id": {
      "@id": "snippet_id",
      "@type": "xsd:string"
    },
    "text_hash": {
      "@id": "text_hash",
      "@type": "xsd:string"
    },
    "checksum": {
      "@id": "checksum",
      "@type": "xsd:string"
    },
    
    "valid_from": {
      "@id": "time:hasBeginning",
      "@type": "xsd:dateTime"
    },
    "valid_to": {
      "@id": "time:hasEnd",
      "@type": "xsd:dateTime"
    },
    "asserted_at": {
      "@id": "prov:generatedAtTime",
      "@type": "xsd:dateTime"
    },
    "retracted_at": {
      "@id": "prov:invalidatedAtTime",
      "@type": "xsd:dateTime"
    },
    
    "gross": {
      "@id": "gross",
      "@type": "xsd:decimal"
    },
    "net": {
      "@id": "net",
      "@type": "xsd:decimal"
    },
    "amount": {
      "@id": "amount",
      "@type": "xsd:decimal"
    },
    "tax_withheld": {
      "@id": "tax_withheld",
      "@type": "xsd:decimal"
    },
    "currency": {
      "@id": "currency",
      "@type": "xsd:string"
    },
    
    "page": {
      "@id": "page",
      "@type": "xsd:integer"
    },
    "ocr_confidence": {
      "@id": "ocr_confidence",
      "@type": "xsd:decimal"
    },
    
    "start_date": {
      "@id": "start_date",
      "@type": "xsd:date"
    },
    "end_date": {
      "@id": "end_date",
      "@type": "xsd:date"
    },
    "period_start": {
      "@id": "period_start",
      "@type": "xsd:date"
    },
    "period_end": {
      "@id": "period_end",
      "@type": "xsd:date"
    },
    
    "BELONGS_TO": {
      "@id": "BELONGS_TO",
      "@type": "@id"
    },
    "OF_TAX_YEAR": {
      "@id": "OF_TAX_YEAR",
      "@type": "@id"
    },
    "IN_JURISDICTION": {
      "@id": "IN_JURISDICTION",
      "@type": "@id"
    },
    "HAS_SECTION": {
      "@id": "HAS_SECTION",
      "@type": "@id"
    },
    "HAS_BOX": {
      "@id": "HAS_BOX",
      "@type": "@id"
    },
    "REPORTED_IN": {
      "@id": "REPORTED_IN",
      "@type": "@id"
    },
    "COMPUTES": {
      "@id": "COMPUTES",
      "@type": "@id"
    },
    "DERIVED_FROM": {
      "@id": "prov:wasDerivedFrom",
      "@type": "@id"
    },
    "SUPPORTED_BY": {
      "@id": "prov:wasAttributedTo",
      "@type": "@id"
    },
    "PAID_BY": {
      "@id": "PAID_BY",
      "@type": "@id"
    },
    "PAID_TO": {
      "@id": "PAID_TO",
      "@type": "@id"
    },
    "OWNS": {
      "@id": "OWNS",
      "@type": "@id"
    },
    "RENTED_BY": {
      "@id": "RENTED_BY",
      "@type": "@id"
    },
    "EMPLOYED_BY": {
      "@id": "EMPLOYED_BY",
      "@type": "@id"
    },
    "APPLIES_TO": {
      "@id": "APPLIES_TO",
      "@type": "@id"
    },
    "APPLIES": {
      "@id": "APPLIES",
      "@type": "@id"
    },
    "VIOLATES": {
      "@id": "VIOLATES",
      "@type": "@id"
    },
    "NORMALIZED_FROM": {
      "@id": "NORMALIZED_FROM",
      "@type": "@id"
    },
    "HAS_VALID_BASIS": {
      "@id": "HAS_VALID_BASIS",
      "@type": "@id"
    },
    "PRODUCED_BY": {
      "@id": "prov:wasGeneratedBy",
      "@type": "@id"
    }
  }
}
