{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "urn:wavenumber:schema:kicad_monkey.schematic_plot.request:a0",
    "type": "object",
    "properties": {
        "type": {
            "type": "string",
            "const": "kicad_monkey.schematic_plot.request"
        },
        "version": {
            "type": "string",
            "const": "a0"
        },
        "source_path": {
            "type": "string"
        },
        "document_id": {
            "type": "string"
        },
        "sheet_index": {
            "type": "integer",
            "minimum": 1,
            "maximum": 4294967295
        },
        "sheet_count": {
            "type": "integer",
            "minimum": 1,
            "maximum": 4294967295
        },
        "sheet_path": {
            "type": "string"
        },
        "sheet_name": {
            "type": "string"
        },
        "worksheet_mode": {
            "$ref": "#/$defs/SchematicWorksheetMode"
        },
        "text_variables": {
            "type": "array",
            "items": {
                "$ref": "#/$defs/SchematicTextVariable"
            }
        },
        "text_offset_ratio": {
            "$ref": "#/$defs/SchematicTextOffsetRatio"
        },
        "default_line_width_nm": {
            "$ref": "#/$defs/SchematicDefaultLineWidthNm"
        }
    },
    "required": [
        "type",
        "version",
        "sheet_index",
        "sheet_count",
        "sheet_path",
        "sheet_name",
        "worksheet_mode",
        "text_offset_ratio",
        "default_line_width_nm"
    ],
    "unevaluatedProperties": {
        "not": {}
    },
    "description": "Schematic plot operation. Source bytes are out of band.",
    "title": "Schematic plot request a0",
    "$defs": {
        "SchematicWorksheetMode": {
            "type": "string",
            "enum": [
                "default",
                "provided"
            ],
            "description": "Selection of the drawing-sheet byte sidecar supplied out of band."
        },
        "SchematicTextVariable": {
            "type": "object",
            "properties": {
                "name": {
                    "type": "string"
                },
                "value": {
                    "type": "string"
                }
            },
            "required": [
                "name",
                "value"
            ],
            "unevaluatedProperties": {
                "not": {}
            },
            "description": "One exact-case project text variable supplied by the caller."
        },
        "SchematicTextOffsetRatio": {
            "type": "number",
            "minimum": 0,
            "maximum": 1.7976931348623157e+308,
            "description": "Finite nonnegative project text-offset ratio used by schematic plotting."
        },
        "SchematicDefaultLineWidthNm": {
            "type": "integer",
            "minimum": 84700,
            "maximum": 9007199254740991,
            "description": "Effective schematic plot width after KiCad's minimum-pen clamp."
        }
    }
}