PART TYPE Classifier
Reference classifier for Markdown partlist PART TYPE output.
Classifier Rules
- Classifier input is the uppercase reference designator.
- Matching MUST be longest-prefix-first (descending prefix length).
- If no prefix matches, emit
OTHER. - This reference is deterministic and intended for cross-exporter consistency.
function classifyPartType(refdes):
token = uppercase(refdes)
for prefix in PREFIXES_SORTED_BY_LENGTH_DESC:
if token startsWith prefix:
return LABEL[prefix]
return "OTHER"
Prefix Mapping
| Prefix | PART TYPE Label |
|---|---|
A | Gyroscope / Computational / Sensor (to power) |
AR | Amplifier / Repeater |
AT | Attenuator |
B | Blower / Fan |
BT | Battery / PV |
C | Capacitor |
CB | Circuit breaker |
CP | Connector adaptor / Junction |
CR | Current regulator |
D | Diode |
DC | Directional coupler |
DL | Delay line |
DS | Display device |
E | Antenna / Terminal / Cell |
EQ | Equalizing network |
F | Fuse |
FL | Filter |
G | Oscillator / Generator |
H | Hardware |
HP | Hydraulic part |
HR | Heater |
HS | Handset |
HT | Earphone |
HW | Wearable HID |
HX | HID (other) |
J | Connector (jack) |
K | Relay / Contactor |
L | Inductor / Coil / Solenoid |
LED | Light emitting diode |
LS | Audible alarm / Speaker |
M | Meter / Instrument |
MG | Motor |
MK | Microphone |
MP | Mechanical part |
MT | Measurement transducer |
P | Connector (plug) |
PS | Power supply |
Q | Transistor |
R | Resistor |
RT | Thermistor |
S | Switch / Contactor |
T | Transformer |
TB | Terminal board |
TP | Test point |
U | Integrated circuit / Opto |
VR | Voltage regulator |
W | Cable / Wire / Conductor |
WT | Wiring tie point |
X | Fuse holder / Socket |
Y | Crystal / Resonator |
OTHER | OTHER |