| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312 |
- {
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://local.invalid/schemas/board_viewer_data.schema.json",
- "title": "Generated board viewer data",
- "type": "object",
- "additionalProperties": false,
- "required": [
- "schema",
- "board",
- "counts",
- "touchpoints",
- "resistors",
- "evidence_conflicts",
- "interfaces",
- "photo_overlay",
- "value_coverage",
- "component_value_source_status",
- "resistor_links"
- ],
- "properties": {
- "schema": {
- "const": "board-viewer-data-v2"
- },
- "board": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "source_bounds",
- "view_box"
- ],
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- },
- "name": {
- "type": "string",
- "minLength": 1
- },
- "source_bounds": {
- "$ref": "#/$defs/bounds"
- },
- "view_box": {
- "$ref": "#/$defs/bounds"
- }
- }
- },
- "counts": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "footprints",
- "touchpoints",
- "pads",
- "resistors",
- "resistor_pads",
- "resistor_electrical_pads",
- "connector_contacts",
- "connector_auxiliary_pads",
- "categories",
- "sides",
- "touchpoint_sides",
- "resistor_sides"
- ],
- "properties": {
- "footprints": {
- "type": "integer",
- "minimum": 0
- },
- "touchpoints": {
- "type": "integer",
- "minimum": 0
- },
- "pads": {
- "type": "integer",
- "minimum": 0,
- "description": "Touchpoint pin count (CON|J|PL|TP pads only). Not all PCB pads."
- },
- "resistors": {
- "type": "integer",
- "minimum": 0
- },
- "resistor_pads": {
- "type": "integer",
- "minimum": 0
- },
- "connector_contacts": {
- "type": "integer",
- "minimum": 0
- },
- "connector_auxiliary_pads": {
- "type": "integer",
- "minimum": 0
- },
- "categories": {
- "$ref": "#/$defs/countMap"
- },
- "sides": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "front",
- "back"
- ],
- "properties": {
- "front": {
- "type": "integer",
- "minimum": 0
- },
- "back": {
- "type": "integer",
- "minimum": 0
- }
- },
- "description": "Legacy alias of touchpoint_sides only; NOT whole-board or resistor sides."
- },
- "resistor_electrical_pads": {
- "type": "integer",
- "minimum": 0
- },
- "touchpoint_sides": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "front",
- "back"
- ],
- "properties": {
- "front": {
- "type": "integer",
- "minimum": 0
- },
- "back": {
- "type": "integer",
- "minimum": 0
- }
- },
- "description": "Front/back counts for touchpoints only."
- },
- "resistor_sides": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "front",
- "back"
- ],
- "properties": {
- "front": {
- "type": "integer",
- "minimum": 0
- },
- "back": {
- "type": "integer",
- "minimum": 0
- }
- },
- "description": "Front/back counts for discrete resistors only."
- }
- }
- },
- "touchpoints": {
- "type": "array",
- "items": {
- "$ref": "#/$defs/touchpoint"
- }
- },
- "resistors": {
- "type": "array",
- "items": {
- "$ref": "#/$defs/resistor"
- }
- },
- "interfaces": {
- "type": "array",
- "items": {
- "type": "object"
- }
- },
- "photo_overlay": {
- "oneOf": [
- {
- "type": "null"
- },
- {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "asset",
- "sha256",
- "matrix",
- "control_point_count"
- ],
- "properties": {
- "asset": {
- "type": "string",
- "pattern": "^board-photo\\.(png|jpg|jpeg|webp)$"
- },
- "sha256": {
- "type": "string",
- "pattern": "^[0-9a-f]{64}$"
- },
- "matrix": {
- "type": "array",
- "minItems": 6,
- "maxItems": 6,
- "items": {
- "type": "number"
- }
- },
- "control_point_count": {
- "type": "integer",
- "minimum": 3
- }
- }
- }
- ]
- },
- "evidence_conflicts": {
- "type": "array",
- "items": {
- "$ref": "#/$defs/evidenceConflict"
- }
- },
- "value_coverage": {
- "type": "object",
- "additionalProperties": true,
- "required": [
- "resistors_total",
- "component_value_nonempty",
- "value_parsed",
- "value_missing_or_unparsed",
- "component_value_source_status"
- ],
- "properties": {
- "resistors_total": {
- "type": "integer",
- "minimum": 0
- },
- "component_value_nonempty": {
- "type": "integer",
- "minimum": 0
- },
- "value_parsed": {
- "type": "integer",
- "minimum": 0
- },
- "value_zero_ohm_fitted_or_unknown": {
- "type": "integer",
- "minimum": 0
- },
- "value_zero_ohm_not_fitted": {
- "type": "integer",
- "minimum": 0
- },
- "assembly_not_fitted": {
- "type": "integer",
- "minimum": 0
- },
- "value_missing_or_unparsed": {
- "type": "integer",
- "minimum": 0
- },
- "component_value_source_status": {
- "type": "string"
- },
- "example_available_tokens": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "note": {
- "type": "string"
- }
- }
- },
- "component_value_source_status": {
- "type": "string",
- "minLength": 1
- },
- "resistor_links": {
- "type": "array",
- "items": {
- "$ref": "#/$defs/structuredResistorLink"
- }
- }
- },
- "$defs": {
- "countMap": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "CON",
- "J",
- "PL",
- "TP",
- "R"
- ],
- "properties": {
- "CON": {
- "type": "integer",
- "minimum": 0
- },
- "J": {
- "type": "integer",
- "minimum": 0
- },
- "PL": {
- "type": "integer",
- "minimum": 0
- },
- "TP": {
- "type": "integer",
- "minimum": 0
- },
- "R": {
- "type": "integer",
- "minimum": 0
- }
- }
- },
- "point": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "x",
- "y"
- ],
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- }
- },
- "bounds": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "x",
- "y",
- "width",
- "height"
- ],
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- },
- "width": {
- "type": "number",
- "minimum": 0
- },
- "height": {
- "type": "number",
- "minimum": 0
- }
- }
- },
- "evidenceTier": {
- "enum": [
- "board_database",
- "cross_verified",
- "name_inferred",
- "unknown"
- ]
- },
- "ioEvidenceGrades": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "physical_path",
- "product_polarity",
- "hardware_measurement"
- ],
- "properties": {
- "physical_path": {
- "enum": [
- "confirmed_by_brd",
- "inferred",
- "blocked",
- "not_applicable",
- "unknown"
- ]
- },
- "product_polarity": {
- "enum": [
- "confirmed_by_electrical_staff",
- "inferred",
- "blocked",
- "not_applicable",
- "unknown"
- ]
- },
- "hardware_measurement": {
- "enum": [
- "not_run",
- "pass",
- "fail",
- "blocked",
- "not_applicable",
- "unknown"
- ]
- }
- }
- },
- "fpga": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "ball",
- "board_signal",
- "io_standard",
- "capabilities",
- "evidence_tier",
- "sources"
- ],
- "properties": {
- "ball": {
- "type": "string"
- },
- "board_signal": {
- "type": "string"
- },
- "io_standard": {
- "type": "string"
- },
- "capabilities": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "evidence_tier": {
- "$ref": "#/$defs/evidenceTier"
- },
- "sources": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "mcu": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "device",
- "family",
- "pin",
- "signal",
- "capabilities",
- "evidence_tier",
- "sources"
- ],
- "properties": {
- "device": {
- "type": "string",
- "minLength": 1
- },
- "family": {
- "type": "string",
- "minLength": 1
- },
- "pin": {
- "type": "string",
- "minLength": 1
- },
- "signal": {
- "type": "string",
- "minLength": 1
- },
- "capabilities": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- },
- "evidence_tier": {
- "$ref": "#/$defs/evidenceTier"
- },
- "sources": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- }
- }
- },
- "pin": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "id",
- "number",
- "pad_role",
- "row",
- "column",
- "board_order",
- "mechanical",
- "electrical",
- "net",
- "position",
- "view_position",
- "size",
- "rotation",
- "shape",
- "layers",
- "direction",
- "external_level",
- "function_category",
- "reserved",
- "fixed_load_conflict",
- "board_pull",
- "adc_pulltype",
- "active_level",
- "polarity",
- "external_components",
- "summary",
- "path",
- "evidence_tier",
- "evidence_sources",
- "fpga",
- "mcu",
- "programming",
- "recommendation"
- ],
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- },
- "number": {
- "type": "string"
- },
- "pad_role": {
- "enum": [
- "contact",
- "shield",
- "mechanical",
- "unknown"
- ]
- },
- "row": {
- "type": [
- "integer",
- "null"
- ],
- "minimum": 1
- },
- "column": {
- "type": [
- "integer",
- "null"
- ],
- "minimum": 1
- },
- "board_order": {
- "type": [
- "integer",
- "null"
- ],
- "minimum": 1
- },
- "mechanical": {
- "type": "boolean"
- },
- "electrical": {
- "type": "boolean"
- },
- "net": {
- "type": [
- "string",
- "null"
- ]
- },
- "position": {
- "$ref": "#/$defs/point"
- },
- "view_position": {
- "$ref": "#/$defs/point"
- },
- "size": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "width",
- "height",
- "drill_width",
- "drill_height"
- ],
- "properties": {
- "width": {
- "type": "number",
- "minimum": 0
- },
- "height": {
- "type": "number",
- "minimum": 0
- },
- "drill_width": {
- "type": "number",
- "minimum": 0
- },
- "drill_height": {
- "type": "number",
- "minimum": 0
- }
- }
- },
- "rotation": {
- "type": "number"
- },
- "shape": {
- "type": "string"
- },
- "layers": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "direction": {
- "enum": [
- "input",
- "output",
- "bidirectional",
- "passive",
- "unknown"
- ]
- },
- "external_level": {
- "type": "string"
- },
- "function_category": {
- "type": "string"
- },
- "reserved": {
- "type": "boolean"
- },
- "fixed_load_conflict": {
- "type": "boolean"
- },
- "board_pull": {
- "type": [
- "string",
- "null"
- ]
- },
- "adc_pulltype": {
- "type": [
- "string",
- "null"
- ],
- "pattern": "^[A-Z][A-Z0-9_]*$"
- },
- "active_level": {
- "type": "string",
- "minLength": 1
- },
- "polarity": {
- "type": "string",
- "minLength": 1
- },
- "external_components": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- },
- "summary": {
- "type": "string"
- },
- "path": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "evidence_tier": {
- "$ref": "#/$defs/evidenceTier"
- },
- "evidence_sources": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "evidence_grades": {
- "$ref": "#/$defs/ioEvidenceGrades"
- },
- "fpga": {
- "oneOf": [
- {
- "type": "null"
- },
- {
- "$ref": "#/$defs/fpga"
- }
- ]
- },
- "mcu": {
- "oneOf": [
- {
- "type": "null"
- },
- {
- "$ref": "#/$defs/mcu"
- }
- ]
- },
- "programming": {
- "$ref": "#/$defs/programming"
- },
- "recommendation": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "eligible",
- "reasons"
- ],
- "properties": {
- "eligible": {
- "type": "boolean"
- },
- "reasons": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- }
- },
- "related_resistors": {
- "type": "array",
- "items": {
- "$ref": "#/$defs/relatedResistor"
- }
- }
- }
- },
- "programming": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "status",
- "conclusion",
- "network_explanation",
- "hdl_guidance",
- "connection_guidance",
- "constraints",
- "risks",
- "evidence_tier",
- "sources"
- ],
- "properties": {
- "status": {
- "enum": [
- "verified_fpga",
- "verified_mcu",
- "board_only",
- "not_programmable",
- "unknown"
- ]
- },
- "conclusion": {
- "type": "string",
- "minLength": 1
- },
- "network_explanation": {
- "type": "string",
- "minLength": 1
- },
- "hdl_guidance": {
- "type": "string",
- "minLength": 1
- },
- "connection_guidance": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- },
- "constraints": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- },
- "risks": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- },
- "evidence_tier": {
- "$ref": "#/$defs/evidenceTier"
- },
- "sources": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- }
- }
- },
- "connector": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "profile",
- "review_status",
- "view",
- "contact_count",
- "auxiliary_pad_count",
- "rows",
- "columns",
- "contact_grid",
- "contact_order",
- "sources"
- ],
- "properties": {
- "profile": {
- "type": [
- "string",
- "null"
- ]
- },
- "review_status": {
- "$ref": "#/$defs/evidenceTier"
- },
- "view": {
- "const": "board_front"
- },
- "contact_count": {
- "type": "integer",
- "minimum": 0
- },
- "auxiliary_pad_count": {
- "type": "integer",
- "minimum": 0
- },
- "rows": {
- "type": "integer",
- "minimum": 0
- },
- "columns": {
- "type": "integer",
- "minimum": 0
- },
- "contact_grid": {
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- }
- },
- "contact_order": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- },
- "sources": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- }
- }
- },
- "touchpoint": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "reference",
- "category",
- "component_value",
- "position",
- "view_position",
- "rotation",
- "bounds",
- "view_bounds",
- "side",
- "summary",
- "connector",
- "pins"
- ],
- "properties": {
- "reference": {
- "type": "string",
- "pattern": "^(CON|J|PL|TP)[0-9]+$"
- },
- "category": {
- "enum": [
- "CON",
- "J",
- "PL",
- "TP"
- ]
- },
- "component_value": {
- "type": "string"
- },
- "position": {
- "$ref": "#/$defs/point"
- },
- "view_position": {
- "$ref": "#/$defs/point"
- },
- "rotation": {
- "type": "number"
- },
- "bounds": {
- "$ref": "#/$defs/bounds"
- },
- "view_bounds": {
- "$ref": "#/$defs/bounds"
- },
- "side": {
- "enum": [
- "front",
- "back"
- ]
- },
- "summary": {
- "type": "string"
- },
- "connector": {
- "oneOf": [
- {
- "type": "null"
- },
- {
- "$ref": "#/$defs/connector"
- }
- ]
- },
- "pins": {
- "type": "array",
- "items": {
- "$ref": "#/$defs/pin"
- }
- }
- }
- },
- "resistorPad": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "id",
- "number",
- "net",
- "position",
- "view_position",
- "bounds",
- "view_bounds",
- "pad_role",
- "size",
- "rotation",
- "shape",
- "layers"
- ],
- "properties": {
- "number": {
- "type": "string"
- },
- "net": {
- "type": [
- "string",
- "null"
- ]
- },
- "position": {
- "$ref": "#/$defs/point"
- },
- "view_position": {
- "$ref": "#/$defs/point"
- },
- "pad_role": {
- "enum": [
- "electrical",
- "mechanical"
- ]
- },
- "size": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "width",
- "height",
- "drill_width",
- "drill_height"
- ],
- "properties": {
- "width": {
- "type": "number",
- "minimum": 0
- },
- "height": {
- "type": "number",
- "minimum": 0
- },
- "drill_width": {
- "type": "number",
- "minimum": 0
- },
- "drill_height": {
- "type": "number",
- "minimum": 0
- }
- }
- },
- "id": {
- "type": "string",
- "minLength": 1
- },
- "bounds": {
- "$ref": "#/$defs/bounds"
- },
- "view_bounds": {
- "$ref": "#/$defs/bounds"
- },
- "rotation": {
- "type": "number"
- },
- "shape": {
- "type": "string",
- "minLength": 1
- },
- "layers": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- }
- }
- },
- "resistor": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "reference",
- "category",
- "component_value",
- "value_ohms",
- "value_tokens",
- "position",
- "view_position",
- "rotation",
- "bounds",
- "view_bounds",
- "side",
- "summary",
- "pads",
- "value_parse_status",
- "assembly_status"
- ],
- "properties": {
- "reference": {
- "type": "string",
- "pattern": "^R[0-9]+$"
- },
- "category": {
- "const": "R"
- },
- "component_value": {
- "type": "string"
- },
- "value_ohms": {
- "type": [
- "number",
- "null"
- ],
- "minimum": 0
- },
- "value_tokens": {
- "type": "array",
- "items": {
- "type": "string",
- "minLength": 1
- }
- },
- "position": {
- "$ref": "#/$defs/point"
- },
- "view_position": {
- "$ref": "#/$defs/point"
- },
- "rotation": {
- "type": "number"
- },
- "bounds": {
- "$ref": "#/$defs/bounds"
- },
- "view_bounds": {
- "$ref": "#/$defs/bounds"
- },
- "side": {
- "enum": [
- "front",
- "back"
- ]
- },
- "summary": {
- "type": "string"
- },
- "pads": {
- "type": "array",
- "minItems": 1,
- "items": {
- "$ref": "#/$defs/resistorPad"
- }
- },
- "value_parse_status": {
- "enum": [
- "parsed",
- "unparsed",
- "ambiguous"
- ]
- },
- "assembly_status": {
- "enum": [
- "unknown",
- "fitted",
- "not_fitted"
- ]
- }
- }
- },
- "relatedResistor": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "source_pin_id",
- "source_field",
- "resistor_reference",
- "pad_number",
- "raw_context",
- "status",
- "pcb_net",
- "claimed_net"
- ],
- "properties": {
- "source_pin_id": {
- "type": "string"
- },
- "source_field": {
- "enum": [
- "path",
- "external_components",
- "resistor_links"
- ]
- },
- "resistor_reference": {
- "type": "string",
- "pattern": "^R[0-9]+$"
- },
- "pad_number": {
- "type": [
- "string",
- "null"
- ]
- },
- "raw_context": {
- "type": "string"
- },
- "status": {
- "enum": [
- "resolved",
- "missing_reference",
- "missing_pad",
- "net_conflict"
- ]
- },
- "pcb_net": {
- "type": [
- "string",
- "null"
- ]
- },
- "claimed_net": {
- "type": [
- "string",
- "null"
- ]
- }
- }
- },
- "evidenceConflict": {
- "type": "object",
- "additionalProperties": true,
- "required": [
- "id",
- "subject_reference",
- "status",
- "kind",
- "primary_source"
- ],
- "properties": {
- "id": {
- "type": "string",
- "minLength": 1
- },
- "subject_reference": {
- "type": "string"
- },
- "status": {
- "enum": [
- "unresolved",
- "resolved",
- "info"
- ]
- },
- "kind": {
- "type": "string",
- "minLength": 1
- },
- "summary": {
- "type": "string"
- },
- "primary_source": {
- "type": "string",
- "minLength": 1
- },
- "claims": {
- "type": "array"
- },
- "subject_in_pcb_index": {
- "type": "boolean"
- },
- "pcb_pads": {
- "type": "array"
- }
- }
- },
- "structuredResistorLink": {
- "type": "object",
- "additionalProperties": false,
- "required": [
- "source_pin_id",
- "resistor_reference",
- "pad_number",
- "claimed_net",
- "pcb_net",
- "status",
- "evidence_source"
- ],
- "properties": {
- "source_pin_id": {
- "type": "string"
- },
- "resistor_reference": {
- "type": "string",
- "pattern": "^R[0-9]+$"
- },
- "pad_number": {
- "type": [
- "string",
- "null"
- ]
- },
- "claimed_net": {
- "type": [
- "string",
- "null"
- ]
- },
- "pcb_net": {
- "type": [
- "string",
- "null"
- ]
- },
- "status": {
- "enum": [
- "resolved",
- "missing_reference",
- "missing_pad",
- "net_conflict"
- ]
- },
- "evidence_source": {
- "type": "string"
- },
- "note": {
- "type": "string"
- }
- }
- }
- }
- }
|