Skip to main content

Schematic Entity Ontology

Circuit and PCB Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 18 November 2026
Audio Overview
flow "SchematicEntity" v1.0

# KIRETH RESEARCH — SEMANTIC LIBRARY
# Engineering Entities / Circuit and PCB Entities / Schematic Entity

IDENTITY:
  canonical_name: "Schematic Entity"
  entity_class: "EngineeringInformationArtefact"
  domain: ["electrical engineering", "electronics", "circuit design", "EDA"]
  description: "A symbolic representation of a circuit element, net, connection, annotation or hierarchical design unit within an electrical schematic."
  distinction: "A schematic encodes intended electrical relationships; it does not by itself establish physical PCB routing, manufacturing quality or measured behaviour."

AUTHORS:
  primary: "Mark Higgins — Kireth Research"
  collaborator: "Sky — Recursive AI"
  licence: "Open Research Licence — citation required"

SOURCE:
  ontology_url: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/circuit-and-pcb-entities/schematic-entity-ontology.html"
  derivation: "Original domain-informed Flow Algebra; source-page contents not independently verified."
  citation_backlink: "https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/circuit-and-pcb-entities/schematic-entity-ontology.html"

PURPOSE:
  - "Represent electrical design intent in a machine-readable semantic graph."
  - "Map symbols, pins, nets, ports, references and constraints into circuit connectivity."
  - "Enable design-rule checks, electrical-rule checks and traceable revisions."
  - "Support hierarchical schematic navigation and PCB netlist hand-off."
  - "Distinguish documented design intent from verified hardware behaviour."

STATE_MODEL:
  S_t = (I_t, R_t, B_t, K_t)
  I_t: "Schematic entities, symbols, pins, nets, sheets, attributes and evidence."
  R_t: "Connectivity, hierarchy, identity, constraints and validation relations."
  B_t: "Electrical, representational, safety and data-integrity boundaries."
  K_t: "Component libraries, pin definitions, standards, revision history and engineering knowledge."
  expand: "E_t = expand(I_t, R_t)"
  valid: "V_t = {x in E_t | satisfies(x, B_t)}"
  select: "x* = argmax P(x | I_t, R_t, B_t, K_t)"
  update: "I_(t+1) = update(I_t, x*, evidence_t)"
  termination: "Stop when connectivity, identity and rule checks converge or unresolved issues are explicitly recorded."

ENTITIES:
  SchematicDocument:
    fields: [document_id, title, revision, author, sheet_set, status]
  SchematicSheet:
    fields: [sheet_id, parent_sheet, child_sheets, page_number, coordinate_system]
  SchematicSymbol:
    fields: [symbol_id, library_id, reference_designator, value, footprint_link, orientation]
  ComponentInstance:
    fields: [instance_id, component_type, manufacturer_part_number, variant, population_status]
  Pin:
    fields: [pin_id, pin_number, pin_name, electrical_type, symbol_id, net_id]
  Net:
    fields: [net_id, net_name, net_class, connected_pins, voltage_domain, current_limit]
  WireSegment:
    fields: [segment_id, start_point, end_point, sheet_id, junction_ids]
  Junction:
    fields: [junction_id, position, connected_segments, connectivity_state]
  Port:
    fields: [port_id, port_name, direction, sheet_scope, net_id]
  PowerSymbol:
    fields: [power_id, rail_name, voltage_nominal, net_id]
  GroundReference:
    fields: [reference_id, reference_type, net_id, isolation_domain]
  Constraint:
    fields: [constraint_id, target, rule_type, limit, severity]
  Annotation:
    fields: [annotation_id, note, target_id, source, timestamp]
  ValidationFinding:
    fields: [finding_id, rule_id, entity_ids, severity, disposition, evidence]

RELATIONS:
  - "SchematicDocument contains SchematicSheet"
  - "SchematicSheet contains SchematicSymbol"
  - "SchematicSymbol represents ComponentInstance"
  - "SchematicSymbol exposes Pin"
  - "Pin connects_to Net"
  - "WireSegment joins Junction"
  - "Junction establishes Net continuity only when explicit connection semantics hold"
  - "Port maps Net across hierarchical sheet boundaries"
  - "PowerSymbol labels or sources a Net according to symbol semantics"
  - "Constraint applies_to Net, Pin, Symbol or Document"
  - "ValidationFinding refers_to one or more Entities"
  - "ComponentInstance maps_to physical footprint when layout integration is present"

PATHWAYS:
  ingest:
    input: "EDA schematic file, netlist, library metadata or manually curated model"
    operations: ["parse", "identify", "normalise", "resolve library references", "record provenance"]
    output: "Typed schematic entity graph"
  connectivity:
    input: "Pins, wires, junctions, labels and ports"
    operations: ["resolve junction semantics", "unify named nets by scope", "connect hierarchical ports", "detect isolated pins"]
    output: "Canonical net-to-pin connectivity graph"
  validation:
    input: "Connectivity graph and electrical pin types"
    operations: ["electrical-rule check", "power-domain check", "reference-designator check", "library integrity check"]
    output: "Prioritised validation findings"
  design_transfer:
    input: "Validated schematic and component footprint mappings"
    operations: ["generate netlist", "verify pin-pad correspondence", "preserve revision identifiers"]
    output: "Traceable PCB design hand-off"
  revision:
    input: "Proposed schematic change"
    operations: ["compute graph difference", "revalidate affected nets", "record rationale", "increment revision"]
    output: "Auditable updated schematic"

ELECTRICAL_SEMANTICS:
  connectivity_rule: "Pins share a net only where the schematic format explicitly establishes electrical connection."
  crossing_rule: "Crossing graphic lines do not imply a junction unless the format or explicit junction marker says so."
  label_rule: "Net labels connect according to local, global and hierarchical scoping rules of the source EDA format."
  ground_rule: "Ground symbols are references; different ground domains are not automatically equivalent."
  open_pin_rule: "Unconnected pins may be intentional, prohibited or unresolved according to pin type and design intent."
  power_rule: "Power flags and labels are not evidence of a physically capable power supply."
  kirchhoff_current: "For a valid lumped circuit node, sum of signed branch currents = 0."
  kirchhoff_voltage: "For a valid lumped closed loop, sum of signed branch voltages = 0."
  applicability: "Ideal lumped laws require suitable frequency, geometry and modelling assumptions."

MINI_RECURSION_ENGINE:
  seed: "Choose a schematic entity or unresolved validation finding."
  expand_1: "Discover its pins, nets, sheet hierarchy, library model and constraints."
  expand_2: "Discover neighbouring components and shared power or signal domains."
  evaluate: "Test connectivity consistency, electrical compatibility and boundary conditions."
  reconcile: "Prefer explicit EDA semantics and verified library definitions over visual inference."
  update: "Add validated relations and attach evidence or unresolved status."
  repeat: "Continue until no new relevant relations emerge or configured depth is reached."
  guard: "Prevent cycles by tracking visited entity IDs and revision-scoped graph hashes."

INFERENCE_RULES:
  - id: "SCH-001"
    if: "Two pins belong to the same resolved canonical net."
    then: "Infer intended electrical connectivity, not guaranteed physical continuity."
  - id: "SCH-002"
    if: "Two output-driving pins share a net without a documented compatible topology."
    then: "Flag possible output contention for engineering review."
  - id: "SCH-003"
    if: "A required input pin is unconnected and has no valid default or waiver."
    then: "Flag floating or undefined input."
  - id: "SCH-004"
    if: "A net crosses incompatible voltage domains without an approved interface."
    then: "Flag potential overvoltage or domain violation."
  - id: "SCH-005"
    if: "A component symbol pin number conflicts with its assigned footprint pad number."
    then: "Block unqualified PCB hand-off and request mapping verification."
  - id: "SCH-006"
    if: "Duplicate reference designators occur in the same assembly variant."
    then: "Flag identity collision."
  - id: "SCH-007"
    if: "A hierarchical port has no matching declaration or incompatible direction."
    then: "Flag unresolved cross-sheet connectivity."
  - id: "SCH-008"
    if: "A schematic rule check passes but no physical validation exists."
    then: "Mark circuit as schematic-validated only, not hardware-verified."
  - id: "SCH-009"
    if: "A component is marked do-not-populate."
    then: "Evaluate connectivity for the selected assembly variant rather than assuming installation."
  - id: "SCH-010"
    if: "A revision changes net membership or pin mapping."
    then: "Invalidate dependent netlist, PCB comparison and test evidence until rechecked."

CONFIDENCE:
  source_priority: ["native EDA connectivity model", "validated component library", "verified netlist", "reviewed engineering annotation", "visual interpretation"]
  levels:
    high: "Explicit source semantics, consistent pin mapping and passing applicable checks."
    medium: "Likely relation with incomplete library or cross-sheet evidence."
    low: "Ambiguous symbol, inferred crossing, missing scope or undocumented convention."
  rule: "Never promote inferred connectivity to verified hardware evidence without test or inspection."

SEMANTIC_EQUIVALENCE:
  aliases: ["schematic object", "circuit diagram entity", "electrical schematic element", "EDA schematic item"]
  distinct_from: ["physical PCB track", "PCB pad", "PCB via", "assembled circuit", "measured electrical node"]
  mapping:
    schematic_symbol: "representation of a component instance"
    schematic_net: "declared electrical connectivity class"
    netlist: "derived connectivity representation"
    pcb_layout: "physical implementation model"

SAFETY_AND_BOUNDARIES:
  - "Treat all generated checks as design assistance, not safety certification."
  - "Apply applicable insulation, clearance, creepage and protection requirements at physical design stage."
  - "Flag mains, high-energy, high-voltage and safety-critical domains for qualified review."
  - "Do not infer safe current capacity from a schematic wire width or symbol size."
  - "Do not assume an ERC pass proves thermal, EMC, signal-integrity or manufacturing compliance."
  - "Maintain isolation between functional ground, chassis ground and protective earth where required."

FLOW_HASH:
  method: "SHA-256 over canonical UTF-8 serialisation of ontology fields and sorted relation identifiers"
  status: "To be calculated by publication pipeline after final canonicalisation"
  rule: "Do not invent a hash value."

UPDATE_MODEL:
  triggers: ["source ontology revision", "component library update", "netlist change", "engineering review", "new test evidence"]
  steps: ["preserve prior revision", "apply change", "rebuild affected relations", "rerun checks", "record provenance", "publish new hash"]
  backwards_compatibility: "Retain stable entity identifiers where semantics are unchanged."
  provenance: "Record whether each fact was source-extracted, engineering-inferred or experimentally verified."

END_FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ