Schemas / Circuit / PCB

rig.pcb.layer_set

v1.0.0 · stable maturity: draft 1 field 1 required

Fields

FieldTypeMeaning
layers array<entity>min 1 items required rig.pcb.layer entities, at least one

Which board layers an item sits on. Format when present.

Required: layers.

A track, graphic, or text lists one layer. A through-hole pad lists every copper layer plus both masks; an SMD pad lists its copper, mask, and paste layers; a via lists the two copper layers it runs between. Wildcards in a file encoding (KiCad *.Cu) expand to the explicit layers on import - a writer may fold them back.

Parenting stays on rig.spatial.relationship: a pad is a child of its part (pose) and a member of its layers (this component). Different graphs; do not merge.

JSON Schema

Resolves at https://rig.works/schemas/rig.pcb.layer_set.schema.json — raw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.pcb.layer_set.schema.json",
  "title": "rig.pcb.layer_set",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "layers": {
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "./_defs.schema.json#/$defs/entity"
      }
    }
  },
  "required": [
    "layers"
  ],
  "x-rig-maturity": "draft"
}

Seen in

kicad-pcb.json