{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://terravitahub.com/assets/evidence-governance-extension-lci-v0.1.schema.json",
  "title": "Terra Vita Evidence Governance Extension Profile — LCI Process Context",
  "description": "Inactive reference profile for sector-specific life-cycle inventory process context. It is separate from TV-EG-CORE and does not establish conformity with any external method, protocol or standard.",
  "type": "object",
  "additionalProperties": false,
  "required": ["extension_profile_id", "profile_version", "status", "external_conformity_claimed", "core_record_ref"],
  "properties": {
    "extension_profile_id": { "const": "TV-EG-EXT-LCI" },
    "profile_version": { "const": "0.1" },
    "status": { "const": "inactive_reference_profile" },
    "external_conformity_claimed": { "const": false },
    "core_record_ref": { "type": "string", "minLength": 1 },
    "lci_process": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "process_name": { "type": "string" },
        "system_boundary": { "type": "string" },
        "geography": { "type": "string" },
        "reference_period": { "type": "string" },
        "allocation_method": { "type": "string" },
        "data_quality_notes": { "type": "string" }
      }
    },
    "functional_unit": {
      "type": "object",
      "additionalProperties": false,
      "required": ["quantity", "unit", "description"],
      "properties": {
        "quantity": { "type": "number" },
        "unit": { "type": "string", "minLength": 1 },
        "description": { "type": "string", "minLength": 1 }
      }
    },
    "method_notes": {
      "type": "array",
      "items": { "type": "string" }
    }
  }
}
