CGES Guide

Altium Exporter Mapping Guide

Informative mapping guidance for Altium-based CGES exporters.

Status

Guide TypeInformative (non-normative)
Primary ContractCGES-CORE-1.0 + CGES-JSON-1.0
Reference Scriptexporters/altium/24.x/cges_altium_json_v1_0.pas
Last Updated2026-03-13

This guide does not replace profile-level MUST language in the CGES standard.

Recommended exporter workflow is summarized in docs/implementer-workflow.html.

Human-readable EPSA transport semantics and canonical JSON field names are summarized in docs/reference/epsa-extension.html.

Recommended Mapping

CGES Field / Concept Recommended Altium Source Notes
identity.board_pnProject parameter PART_NUMBER (fallback: schematic parameter)If unresolved, apply default UNKNOWN.
identity.board_revProject parameter REVISION (fallback: schematic parameter)If unresolved, apply default -.
metadata.schematic_revisionProject or schematic parameter representing document revision (for example SCH_REVISION or mapped equivalent; fallback: REVISION)May equal identity.board_rev when no separate schematic revision exists.
metadata.revisionDeprecated legacy alias for metadata.schematic_revisionDo not emit in new CGES-CORE-1.0 payloads unless backward compatibility requires it. If emitted, it must equal metadata.schematic_revision.
metadata.project_nameProject parameter TITLEMay be empty when unavailable.
metadata.analysis_context.epsa_boardProject or board parameter set mapped from EPSA_* board attributesUse when claiming CGES-EPSA-BOARD-0.1.
metadata.source_toolExporter-generated literal (for example Altium Designer 24.x)Keep deterministic and versioned.
components[].refdesComponent designatorMust be non-empty and unique within emitted scope.
components[].valueComponent comment/value parameterMay be empty.
components[].footprintAssigned PCB footprint model nameMay be empty.
role/functionComponent parameters with case-insensitive key matchingCore required component semantics.
components[].analysis_modules.epsaMapped from tolerance, v_rating, i_rating, p_rating, and EPSA_* aliasesNormalize into canonical keys such as tolerance, voltage_rating, current_rating, and power_rating. Use when claiming CGES-EPSA-COMPONENT-0.1.
components[].analysis_modules.fmea, components[].analysis_modules.wccaProject/component parameters mapped to module keysOptional analysis bundles.
components[].pins[].pin_numberPin designator from compiled connectivity modelUse deterministic string representation.
components[].pins[].netConnected net nameMay be empty when unresolved.
nets[].nameCompiled net label/nameUse empty string only when unnamed.
test_integration.test_pointsComponents with designator prefix TPFollow profile-level requirements for measurement type and net mapping.
Markdown pinout (P1)Component parameters on designator P1 where key starts with pinFollow Section 7.7 emission rules.
Excluded utility partsDesignator prefix filtering per Section 5.1Apply profile-specific exclusions consistently.

P1 and similar identifiers are informative source-side examples from the core documentation, not mandatory Altium object names.