{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "urn:wavenumber:schema:kicad_monkey.schematic_plot.document:a0",
    "type": "object",
    "properties": {
        "schema": {
            "type": "string",
            "const": "kicad.plotter_ir.a0"
        },
        "source_kind": {
            "type": "string",
            "const": "SCH"
        },
        "total_operations": {
            "type": "integer",
            "minimum": 0,
            "maximum": 4294967295
        },
        "records": {
            "type": "array",
            "items": {
                "$ref": "#/$defs/SchematicPlotRecord"
            }
        },
        "source_path": {
            "type": "string"
        },
        "document_id": {
            "type": "string"
        },
        "canvas": {
            "$ref": "#/$defs/SchematicPlotCanvas"
        },
        "coordinate_space": {
            "$ref": "#/$defs/PlotterCoordinateSpace"
        }
    },
    "required": [
        "schema",
        "source_kind",
        "total_operations",
        "records",
        "document_id",
        "canvas",
        "coordinate_space"
    ],
    "unevaluatedProperties": {
        "not": {}
    },
    "description": "Strict schematic subset through the P5_071 hierarchical-sheet family.",
    "title": "Schematic plot document a0",
    "$defs": {
        "SchematicPlotRecord": {
            "anyOf": [
                {
                    "$ref": "#/$defs/SchematicSheetHeaderPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicWirePlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicBusPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicBusEntryPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicJunctionPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicNoConnectPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicLabelPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicGlobalLabelPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicHierarchicalLabelPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicNetclassFlagPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicTextPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicTextBoxPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicGraphicPolylinePlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicGraphicArcPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicGraphicCirclePlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicGraphicRectanglePlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicGraphicBezierPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicRuleAreaPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicImagePlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicTablePlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicSymbolInstancePlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicSymbolOverplotPlotRecord"
                },
                {
                    "$ref": "#/$defs/SchematicSheetPlotRecord"
                }
            ],
            "description": "Strict source-record vocabulary through the P5_071 hierarchical sheets."
        },
        "SchematicPlotCanvas": {
            "type": "object",
            "properties": {
                "width_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "height_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                }
            },
            "required": [
                "width_nm",
                "height_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Exact page extent of one schematic instance."
        },
        "PlotterCoordinateSpace": {
            "type": "object",
            "properties": {
                "unit": {
                    "type": "string",
                    "const": "nm"
                },
                "y_axis": {
                    "type": "string",
                    "const": "down"
                }
            },
            "required": [
                "unit",
                "y_axis"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Coordinate convention for the footprint plotter slice."
        },
        "SchematicSheetHeaderPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "sheet_header"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                },
                "paper_size": {
                    "type": "string"
                },
                "paper_width_mm": {
                    "anyOf": [
                        {
                            "type": "number"
                        },
                        {
                            "type": "null"
                        }
                    ]
                },
                "paper_height_mm": {
                    "anyOf": [
                        {
                            "type": "number"
                        },
                        {
                            "type": "null"
                        }
                    ]
                },
                "paper_portrait": {
                    "type": "boolean"
                },
                "sheet_width_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "sheet_height_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "version": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "generator": {
                    "type": "string"
                },
                "generator_version": {
                    "type": "string"
                },
                "title_block": {
                    "$ref": "#/$defs/SchematicPlotTitleBlock"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "paper_size",
                "paper_width_mm",
                "paper_height_mm",
                "paper_portrait",
                "sheet_width_nm",
                "sheet_height_nm",
                "version",
                "generator",
                "generator_version"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Leading paper, title-block, background, and worksheet record."
        },
        "SchematicWirePlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "wire"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One schematic wire polyline."
        },
        "SchematicBusPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "bus"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One schematic bus polyline."
        },
        "SchematicBusEntryPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "bus_entry"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One schematic bus-entry segment."
        },
        "SchematicJunctionPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "junction"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                },
                "color": {
                    "anyOf": [
                        {
                            "type": "string"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "description": "Authored junction color; null preserves an authored transparent color."
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One schematic junction marker."
        },
        "SchematicNoConnectPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "no_connect"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One schematic no-connect cross."
        },
        "SchematicLabelPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "label"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                },
                "text": {
                    "type": "string"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "text"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One local schematic label."
        },
        "SchematicGlobalLabelPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "global_label"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                },
                "text": {
                    "type": "string"
                },
                "shape": {
                    "$ref": "#/$defs/SchematicLabelShape"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "text",
                "shape"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One global schematic label and its optional decoration."
        },
        "SchematicHierarchicalLabelPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "hierarchical_label"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                },
                "text": {
                    "type": "string"
                },
                "shape": {
                    "$ref": "#/$defs/SchematicLabelShape"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "text",
                "shape"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One hierarchical schematic label and its optional decoration."
        },
        "SchematicNetclassFlagPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "netclass_flag"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                },
                "at_x_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "at_y_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "shape": {
                    "$ref": "#/$defs/SchematicNetclassFlagShape"
                },
                "length_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "at_x_nm",
                "at_y_nm",
                "shape",
                "length_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One netclass/directive flag with its visible property text."
        },
        "SchematicTextPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "text"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                },
                "text": {
                    "type": "string"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "text"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One ordinary top-level schematic text annotation."
        },
        "SchematicTextBoxPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "text_box"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                },
                "text": {
                    "type": "string"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "text"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One schematic text box with its canonical outline and plotted lines."
        },
        "SchematicGraphicPolylinePlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "graphic_polyline"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One top-level schematic graphic polyline."
        },
        "SchematicGraphicArcPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "graphic_arc"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One top-level schematic graphic arc."
        },
        "SchematicGraphicCirclePlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "graphic_circle"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One top-level schematic graphic circle."
        },
        "SchematicGraphicRectanglePlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "graphic_rectangle"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One top-level schematic graphic rectangle."
        },
        "SchematicGraphicBezierPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "graphic_bezier"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One canonical four-point top-level schematic graphic Bezier."
        },
        "SchematicRuleAreaPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "rule_area"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                },
                "shape": {
                    "$ref": "#/$defs/SchematicRuleAreaShape"
                },
                "locked": {
                    "type": "boolean"
                },
                "exclude_from_sim": {
                    "type": "boolean"
                },
                "in_bom": {
                    "type": "boolean"
                },
                "on_board": {
                    "type": "boolean"
                },
                "dnp": {
                    "type": "boolean"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "shape",
                "locked",
                "exclude_from_sim",
                "in_bom",
                "on_board",
                "dnp"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One schematic rule area with source policy metadata."
        },
        "SchematicImagePlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "image"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                },
                "scale": {
                    "type": "number"
                },
                "image_format": {
                    "$ref": "#/$defs/SchematicImageFormat"
                },
                "width_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "height_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "scale",
                "image_format",
                "width_nm",
                "height_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One decoded embedded schematic image."
        },
        "SchematicTablePlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "table"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterOperation"
                    }
                },
                "cell_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "cell_count"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One schematic table rendered as ordered text-box cell blocks."
        },
        "SchematicSymbolInstancePlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "symbol_instance"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/SchematicSymbolOperation"
                    }
                },
                "lib_id": {
                    "type": "string"
                },
                "lib_name": {
                    "type": "string"
                },
                "reference": {
                    "type": "string"
                },
                "at_x_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "at_y_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "at_angle_deg": {
                    "type": "number"
                },
                "mirror": {
                    "anyOf": [
                        {
                            "type": "string"
                        },
                        {
                            "type": "null"
                        }
                    ]
                },
                "unit": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "convert": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "in_bom": {
                    "type": "boolean"
                },
                "on_board": {
                    "type": "boolean"
                },
                "dnp": {
                    "type": "boolean"
                },
                "exclude_from_sim": {
                    "type": "boolean"
                },
                "in_pos_files": {
                    "type": "boolean"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "lib_id",
                "lib_name",
                "reference",
                "at_x_nm",
                "at_y_nm",
                "at_angle_deg",
                "mirror",
                "unit",
                "convert",
                "in_bom",
                "on_board",
                "dnp",
                "exclude_from_sim",
                "in_pos_files"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One placed schematic symbol, including body, pins, and visible fields."
        },
        "SchematicSymbolOverplotPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "symbol_overplot"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/SchematicSymbolOperation"
                    }
                },
                "source_symbol_uuid": {
                    "type": "string"
                },
                "lib_id": {
                    "type": "string"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "source_symbol_uuid",
                "lib_id"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Replotted pins and fields for one overlapping placed symbol."
        },
        "SchematicSheetPlotRecord": {
            "type": "object",
            "properties": {
                "uuid": {
                    "type": "string"
                },
                "kind": {
                    "type": "string",
                    "const": "sheet"
                },
                "object_id": {
                    "type": "string"
                },
                "operation_count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "operations": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/SchematicSheetOperation"
                    }
                },
                "sheet_name": {
                    "type": "string"
                },
                "sheet_file": {
                    "type": "string"
                },
                "at_x_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "at_y_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "size_x_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "size_y_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "dnp": {
                    "type": "boolean"
                }
            },
            "required": [
                "uuid",
                "kind",
                "object_id",
                "operation_count",
                "operations",
                "sheet_name",
                "sheet_file",
                "at_x_nm",
                "at_y_nm",
                "size_x_nm",
                "size_y_nm",
                "dnp"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One hierarchical sheet with its box, pins, visible fields, and DNP state."
        },
        "JavaScriptSafeInteger": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991,
            "description": "Integer that remains exact when decoded as a JavaScript number."
        },
        "PlotterOperation": {
            "anyOf": [
                {
                    "$ref": "#/$defs/ThickSegmentOperation"
                },
                {
                    "$ref": "#/$defs/ArcThreePointOperation"
                },
                {
                    "$ref": "#/$defs/CircleOperation"
                },
                {
                    "$ref": "#/$defs/RectOperation"
                },
                {
                    "$ref": "#/$defs/PlotPolyOperation"
                },
                {
                    "$ref": "#/$defs/BezierCurveOperation"
                },
                {
                    "$ref": "#/$defs/TextOperation"
                },
                {
                    "$ref": "#/$defs/PlotImageOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadCircleOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadOvalOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadRectOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadRoundRectOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadCustomOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadTrapezOperation"
                }
            ],
            "description": "Shared plotter operation vocabulary promoted across source producers."
        },
        "SchematicPlotTitleBlock": {
            "type": "object",
            "properties": {
                "title": {
                    "type": "string"
                },
                "date": {
                    "type": "string"
                },
                "rev": {
                    "type": "string"
                },
                "company": {
                    "type": "string"
                },
                "comments": {
                    "$ref": "#/$defs/RecordString"
                }
            },
            "required": [
                "title",
                "date",
                "rev",
                "company",
                "comments"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Typed title-block metadata carried by the leading sheet-header record."
        },
        "SchematicLabelShape": {
            "type": "string",
            "enum": [
                "input",
                "output",
                "bidirectional",
                "tri_state",
                "passive",
                "dot",
                "round",
                "diamond",
                "rectangle"
            ],
            "description": "Signal-direction shapes preserved on global and hierarchical labels."
        },
        "SchematicNetclassFlagShape": {
            "type": "string",
            "enum": [
                "round",
                "dot",
                "diamond",
                "rectangle"
            ],
            "description": "Marker shapes admitted by schematic netclass/directive flags."
        },
        "SchematicRuleAreaShape": {
            "type": "string",
            "enum": [
                "polyline",
                "rectangle",
                "arc",
                "circle",
                "bezier"
            ],
            "description": "Source-shape discriminator retained by a schematic rule area."
        },
        "SchematicImageFormat": {
            "type": "string",
            "enum": [
                "png",
                "jpeg",
                "bmp"
            ],
            "description": "Decoded image formats admitted by the schematic image family."
        },
        "SchematicSymbolOperation": {
            "anyOf": [
                {
                    "$ref": "#/$defs/ThickSegmentOperation"
                },
                {
                    "$ref": "#/$defs/ArcThreePointOperation"
                },
                {
                    "$ref": "#/$defs/CircleOperation"
                },
                {
                    "$ref": "#/$defs/RectOperation"
                },
                {
                    "$ref": "#/$defs/PlotPolyOperation"
                },
                {
                    "$ref": "#/$defs/BezierCurveOperation"
                },
                {
                    "$ref": "#/$defs/TextOperation"
                },
                {
                    "$ref": "#/$defs/PlotImageOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadCircleOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadOvalOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadRectOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadRoundRectOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadCustomOperation"
                },
                {
                    "$ref": "#/$defs/FlashPadTrapezOperation"
                },
                {
                    "$ref": "#/$defs/SchematicSymbolStartBlockOperation"
                },
                {
                    "$ref": "#/$defs/SchematicSymbolEndBlockOperation"
                }
            ],
            "description": "Strict operation vocabulary for placed symbols and their overplots."
        },
        "SchematicSheetOperation": {
            "anyOf": [
                {
                    "$ref": "#/$defs/ThickSegmentOperation"
                },
                {
                    "$ref": "#/$defs/RectOperation"
                },
                {
                    "$ref": "#/$defs/PlotPolyOperation"
                },
                {
                    "$ref": "#/$defs/TextOperation"
                },
                {
                    "$ref": "#/$defs/SchematicSheetStartBlockOperation"
                },
                {
                    "$ref": "#/$defs/SchematicSheetEndBlockOperation"
                }
            ],
            "description": "Strict operation vocabulary for hierarchical sheets and their pins."
        },
        "ThickSegmentOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "ThickSegment"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "start_x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "start_y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "end_x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "end_y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "width_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "layer": {
                    "type": "string"
                },
                "role": {
                    "$ref": "#/$defs/PlotterDrillRole"
                },
                "layers": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "mask_margin_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "pad_size_x_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "pad_size_y_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "stroke_color": {
                    "type": "string"
                }
            },
            "required": [
                "kind",
                "index",
                "start_x",
                "start_y",
                "end_x",
                "end_y",
                "width_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Solid or decomposed segment shared by PCB, footprint, and drill producers.\nGraphic state requires only layer. Drill state requires role plus layers;\nNPTH drill state additionally requires all mask and pad-size hints. The\ngenerated semantic validator enforces these mutually exclusive states."
        },
        "ArcThreePointOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "ArcThreePoint"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "start_x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "start_y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "mid_x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "mid_y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "end_x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "end_y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "fill": {
                    "$ref": "#/$defs/PlotterFill"
                },
                "width_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "layer": {
                    "type": "string"
                },
                "stroke_color": {
                    "type": "string"
                },
                "fill_color": {
                    "type": "string"
                },
                "line_style": {
                    "$ref": "#/$defs/PlotterLineStyle"
                }
            },
            "required": [
                "kind",
                "index",
                "start_x",
                "start_y",
                "mid_x",
                "mid_y",
                "end_x",
                "end_y",
                "fill",
                "width_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Solid three-point arc."
        },
        "CircleOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "Circle"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "cx": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "cy": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "diameter_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "fill": {
                    "$ref": "#/$defs/PlotterFill"
                },
                "width_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "layer": {
                    "type": "string"
                },
                "role": {
                    "$ref": "#/$defs/PlotterDrillRole"
                },
                "layers": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "mask_margin_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "pad_size_x_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "pad_size_y_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "stroke_color": {
                    "type": "string"
                },
                "fill_color": {
                    "type": "string"
                },
                "line_style": {
                    "$ref": "#/$defs/PlotterLineStyle"
                }
            },
            "required": [
                "kind",
                "index",
                "cx",
                "cy",
                "diameter_nm",
                "fill",
                "width_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Circle shared by graphical and drill producers. Graphic state requires only\nlayer. Drill state requires role plus layers; NPTH state additionally\nrequires all mask and pad-size hints. The generated semantic validator\nenforces these mutually exclusive states."
        },
        "RectOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "Rect"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "x1": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "y1": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "x2": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "y2": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "fill": {
                    "$ref": "#/$defs/PlotterFill"
                },
                "width_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "corner_radius_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "layer": {
                    "type": "string"
                },
                "stroke_color": {
                    "type": "string"
                },
                "fill_color": {
                    "type": "string"
                },
                "line_style": {
                    "$ref": "#/$defs/PlotterLineStyle"
                }
            },
            "required": [
                "kind",
                "index",
                "x1",
                "y1",
                "x2",
                "y2",
                "fill",
                "width_nm",
                "corner_radius_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Rectangle with square corners."
        },
        "PlotPolyOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "PlotPoly"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "points": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/PlotterPoint"
                    }
                },
                "fill": {
                    "$ref": "#/$defs/PlotterFill"
                },
                "width_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "layer": {
                    "type": "string"
                },
                "stroke_color": {
                    "type": "string"
                },
                "fill_color": {
                    "type": "string"
                },
                "line_style": {
                    "$ref": "#/$defs/PlotterLineStyle"
                }
            },
            "required": [
                "kind",
                "index",
                "points",
                "fill",
                "width_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Filled or outlined polygon operation."
        },
        "BezierCurveOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "BezierCurve"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "start_x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "start_y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "ctrl1_x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "ctrl1_y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "ctrl2_x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "ctrl2_y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "end_x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "end_y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "width_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "tolerance_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "layer": {
                    "type": "string"
                },
                "stroke_color": {
                    "type": "string"
                },
                "line_style": {
                    "$ref": "#/$defs/PlotterLineStyle"
                }
            },
            "required": [
                "kind",
                "index",
                "start_x",
                "start_y",
                "ctrl1_x",
                "ctrl1_y",
                "ctrl2_x",
                "ctrl2_y",
                "end_x",
                "end_y",
                "width_nm",
                "tolerance_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Cubic Bézier shared by symbol and schematic producers."
        },
        "TextOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "Text"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "text": {
                    "type": "string"
                },
                "color": {
                    "type": "string"
                },
                "orient_deg": {
                    "type": "number"
                },
                "size_x_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "size_y_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "h_align": {
                    "$ref": "#/$defs/PlotterTextHAlign"
                },
                "v_align": {
                    "$ref": "#/$defs/PlotterTextVAlign"
                },
                "pen_width_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "italic": {
                    "type": "boolean"
                },
                "bold": {
                    "type": "boolean"
                },
                "multiline": {
                    "type": "boolean"
                },
                "font_face": {
                    "type": "string"
                },
                "context": {
                    "$ref": "#/$defs/PlotterOperationContext"
                },
                "layer": {
                    "type": "string"
                },
                "mirror": {
                    "type": "boolean"
                },
                "text_as_polygons": {
                    "type": "boolean"
                },
                "polyline_per_segment": {
                    "type": "boolean"
                },
                "knockout": {
                    "type": "boolean"
                },
                "render_cache_polygons": {
                    "type": "array",
                    "items": {
                        "type": "array",
                        "items": {
                            "$ref": "#/$defs/PlotterPoint"
                        }
                    }
                },
                "render_cache": {
                    "$ref": "#/$defs/TextRenderCache"
                },
                "render_cache_source": {
                    "$ref": "#/$defs/PlotterTextRenderCacheSource"
                },
                "render_cache_exact": {
                    "type": "boolean"
                }
            },
            "required": [
                "kind",
                "index",
                "x",
                "y",
                "text",
                "color",
                "orient_deg",
                "size_x_nm",
                "size_y_nm",
                "h_align",
                "v_align",
                "pen_width_nm",
                "italic",
                "bold",
                "multiline",
                "font_face"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Stroke or cached text operation. Boolean marker keys (`mirror`,\n`text_as_polygons`, `polyline_per_segment`, `knockout`) are present-only\n-when-true, matching the established Python emitter. Render-cache keys\nappear together when an authored cache resolves; `render_cache_polygons`\ncarries the exterior rings in nanometres."
        },
        "PlotImageOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "PlotImage"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "width_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "height_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "scale": {
                    "type": "number"
                },
                "image_data_b64": {
                    "type": "string"
                },
                "image_format": {
                    "type": "string"
                },
                "stroke_color": {
                    "type": "string"
                }
            },
            "required": [
                "kind",
                "index",
                "x",
                "y",
                "width_nm",
                "height_nm",
                "scale",
                "image_data_b64",
                "image_format"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Decoded image placement shared by worksheet and schematic producers."
        },
        "FlashPadCircleOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "FlashPadCircle"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "diameter_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "layers": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "mask_margin_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "role": {
                    "$ref": "#/$defs/PlotterViaFlashRole"
                }
            },
            "required": [
                "kind",
                "index",
                "x",
                "y",
                "diameter_nm",
                "layers"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Circular pad flash shared by footprint and PCB producers. Footprint pad\nstate requires mask_margin_nm and forbids role. Board via state requires\nrole and forbids mask_margin_nm. The generated semantic validator enforces\nthese mutually exclusive states."
        },
        "FlashPadOvalOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "FlashPadOval"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "size_x_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "size_y_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "orient_deg": {
                    "type": "number"
                },
                "layers": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "mask_margin_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                }
            },
            "required": [
                "kind",
                "index",
                "x",
                "y",
                "size_x_nm",
                "size_y_nm",
                "orient_deg",
                "layers",
                "mask_margin_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Oval pad flash shared by footprint and PCB producers."
        },
        "FlashPadRectOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "FlashPadRect"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "size_x_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "size_y_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "orient_deg": {
                    "type": "number"
                },
                "layers": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "mask_margin_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                }
            },
            "required": [
                "kind",
                "index",
                "x",
                "y",
                "size_x_nm",
                "size_y_nm",
                "orient_deg",
                "layers",
                "mask_margin_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Rectangular pad flash shared by footprint and PCB producers."
        },
        "FlashPadRoundRectOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "FlashPadRoundRect"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "size_x_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "size_y_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "corner_radius_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "orient_deg": {
                    "type": "number"
                },
                "layers": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "mask_margin_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                }
            },
            "required": [
                "kind",
                "index",
                "x",
                "y",
                "size_x_nm",
                "size_y_nm",
                "corner_radius_nm",
                "orient_deg",
                "layers",
                "mask_margin_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Rounded-rectangle pad flash shared by footprint and PCB producers."
        },
        "FlashPadCustomOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "FlashPadCustom"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "size_x_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "size_y_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "orient_deg": {
                    "type": "number"
                },
                "polygons": {
                    "type": "array",
                    "items": {
                        "type": "array",
                        "items": {
                            "$ref": "#/$defs/PlotterPoint"
                        }
                    }
                },
                "polygon_widths_nm": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/JavaScriptSafeInteger"
                    }
                },
                "anchor_shape": {
                    "type": "string"
                },
                "layers": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "mask_margin_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                }
            },
            "required": [
                "kind",
                "index",
                "x",
                "y",
                "size_x_nm",
                "size_y_nm",
                "orient_deg",
                "polygons",
                "layers",
                "mask_margin_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Custom pad flash shared by footprint and PCB producers. Polygon coordinates\nare pad-local. A non-empty polygon_widths_nm has one entry per polygon;\ngenerated semantic validation enforces that relationship. An empty array is\nequivalent to omission for generated Rust transport bindings."
        },
        "FlashPadTrapezOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "FlashPadTrapez"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "x": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "y": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                },
                "corners": {
                    "$ref": "#/$defs/PlotterQuad"
                },
                "orient_deg": {
                    "type": "number"
                },
                "layers": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "mask_margin_nm": {
                    "$ref": "#/$defs/JavaScriptSafeInteger"
                }
            },
            "required": [
                "kind",
                "index",
                "x",
                "y",
                "corners",
                "orient_deg",
                "layers",
                "mask_margin_nm"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Trapezoid pad flash shared by footprint and PCB producers."
        },
        "RecordString": {
            "type": "object",
            "properties": {},
            "unevaluatedProperties": {
                "type": "string"
            }
        },
        "SchematicSymbolStartBlockOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "StartBlock"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "label": {
                    "type": "string"
                },
                "data_uuid": {
                    "type": "string"
                },
                "data_ref": {
                    "type": "string",
                    "const": "symbol_pin"
                },
                "object_id": {
                    "type": "string"
                },
                "extra_attrs": {
                    "$ref": "#/$defs/SchematicSymbolPinBlockAttrs"
                }
            },
            "required": [
                "kind",
                "index",
                "label",
                "data_uuid",
                "data_ref",
                "object_id",
                "extra_attrs"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Leading ownership marker for one placed-symbol pin group."
        },
        "SchematicSymbolEndBlockOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "EndBlock"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                }
            },
            "required": [
                "kind",
                "index"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Trailing ownership marker for one placed-symbol pin group."
        },
        "SchematicSheetStartBlockOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "StartBlock"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                },
                "label": {
                    "type": "string"
                },
                "data_uuid": {
                    "type": "string"
                },
                "data_ref": {
                    "type": "string",
                    "const": "sheet_pin"
                },
                "object_id": {
                    "type": "string"
                },
                "extra_attrs": {
                    "$ref": "#/$defs/SchematicSheetPinBlockAttrs"
                }
            },
            "required": [
                "kind",
                "index",
                "label",
                "data_uuid",
                "data_ref",
                "object_id",
                "extra_attrs"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Leading ownership marker for one hierarchical-sheet pin group."
        },
        "SchematicSheetEndBlockOperation": {
            "type": "object",
            "properties": {
                "kind": {
                    "type": "string",
                    "const": "EndBlock"
                },
                "index": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 4294967295
                }
            },
            "required": [
                "kind",
                "index"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Trailing ownership marker for one hierarchical-sheet pin group."
        },
        "PlotterDrillRole": {
            "type": "string",
            "enum": [
                "pad_drill",
                "npth_hole",
                "via_drill",
                "via_mask_drill"
            ],
            "description": "Semantic roles allowed on shared circle and segment drill operations."
        },
        "PlotterFill": {
            "type": "string",
            "enum": [
                "NO_FILL",
                "FILLED_SHAPE",
                "FILLED_WITH_BG_BODYCOLOR",
                "FILLED_WITH_COLOR",
                "HATCH",
                "REVERSE_HATCH",
                "CROSS_HATCH"
            ],
            "description": "Fill values shared by plotter operation producers."
        },
        "PlotterLineStyle": {
            "type": "string",
            "enum": [
                "DEFAULT",
                "SOLID",
                "DASH",
                "DOT",
                "DASH_DOT",
                "DASH_DOT_DOT"
            ],
            "description": "KiCad stroke styles carried without producer-specific decomposition."
        },
        "PlotterPoint": {
            "type": "array",
            "items": {
                "$ref": "#/$defs/JavaScriptSafeInteger"
            },
            "minItems": 2,
            "maxItems": 2,
            "description": "Plotter point encoded as an exact coordinate pair."
        },
        "PlotterTextHAlign": {
            "type": "string",
            "enum": [
                "GR_TEXT_H_ALIGN_LEFT",
                "GR_TEXT_H_ALIGN_CENTER",
                "GR_TEXT_H_ALIGN_RIGHT"
            ],
            "description": "Horizontal text alignments emitted by the board producers."
        },
        "PlotterTextVAlign": {
            "type": "string",
            "enum": [
                "GR_TEXT_V_ALIGN_TOP",
                "GR_TEXT_V_ALIGN_CENTER",
                "GR_TEXT_V_ALIGN_BOTTOM"
            ],
            "description": "Vertical text alignments emitted by the board producers."
        },
        "PlotterOperationContext": {
            "type": "object",
            "properties": {
                "hyperlink": {
                    "$ref": "#/$defs/PlotterHyperlink"
                }
            },
            "required": [
                "hyperlink"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Strict operation-local context emitted by current plotter producers."
        },
        "TextRenderCache": {
            "type": "object",
            "properties": {
                "schema": {
                    "type": "string",
                    "const": "kicad.render_cache.v1"
                },
                "unit": {
                    "type": "string",
                    "const": "nm"
                },
                "coordinate_space": {
                    "$ref": "#/$defs/PlotterTextRenderCacheCoordinateSpace"
                },
                "text": {
                    "type": "string"
                },
                "angle": {
                    "type": "number"
                },
                "source": {
                    "$ref": "#/$defs/PlotterTextRenderCacheSource"
                },
                "exact": {
                    "type": "boolean"
                },
                "polygons": {
                    "type": "array",
                    "items": {
                        "$ref": "#/$defs/TextRenderCachePolygon"
                    }
                },
                "knockout": {
                    "type": "boolean"
                }
            },
            "required": [
                "schema",
                "unit",
                "coordinate_space",
                "text",
                "angle",
                "source",
                "exact",
                "polygons"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "Typed render cache from an authored `(render_cache ...)` form, the Python\nresolver, or the deterministic native hinted outline engine. `knockout` appears when the\nknockout background restructure replaced the polygons."
        },
        "PlotterTextRenderCacheSource": {
            "type": "string",
            "enum": [
                "existing_file_cache",
                "python_generated_cache",
                "native_generated_cache"
            ],
            "description": "Provenance of one attached text render cache."
        },
        "PlotterViaFlashRole": {
            "type": "string",
            "enum": [
                "via_aperture",
                "via_mask_opening"
            ],
            "description": "Semantic roles allowed on board via flash operations."
        },
        "PlotterQuad": {
            "type": "array",
            "items": {
                "$ref": "#/$defs/PlotterPoint"
            },
            "minItems": 4,
            "maxItems": 4,
            "description": "Four pad-local trapezoid corners."
        },
        "SchematicSymbolPinBlockAttrs": {
            "type": "object",
            "properties": {},
            "unevaluatedProperties": {
                "type": "string"
            },
            "description": "Exact string metadata retained on one placed-symbol pin group."
        },
        "SchematicSheetPinBlockAttrs": {
            "type": "object",
            "properties": {},
            "unevaluatedProperties": {
                "type": "string"
            },
            "description": "Exact string metadata retained on one hierarchical-sheet pin group."
        },
        "PlotterHyperlink": {
            "type": "object",
            "properties": {
                "href": {
                    "type": "string",
                    "minLength": 1
                }
            },
            "required": [
                "href"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One exact hyperlink attached to an authored plotter text carrier."
        },
        "PlotterTextRenderCacheCoordinateSpace": {
            "type": "string",
            "enum": [
                "board",
                "footprint_local"
            ],
            "description": "Coordinate space carried by one typed text render cache."
        },
        "TextRenderCachePolygon": {
            "type": "object",
            "properties": {
                "contours": {
                    "type": "array",
                    "items": {
                        "type": "array",
                        "items": {
                            "$ref": "#/$defs/PlotterPoint"
                        }
                    }
                }
            },
            "required": [
                "contours"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One render-cache polygon as ordered contours, exterior ring first."
        }
    }
}