{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "altium-toolkit.ci.artifact-bundle.a1",
    "title": "Altium Toolkit CI Artifact Bundle A1",
    "type": "object",
    "additionalProperties": true,
    "required": [
        "schema",
        "summary",
        "designBundle",
        "documentGraph",
        "normalizedModels",
        "netlist",
        "bom",
        "pnp",
        "schematicSvgs",
        "pcbLayerSvgs",
        "statistics",
        "contractGate",
        "diagnostics"
    ],
    "properties": {
        "schema": {
            "const": "altium-toolkit.ci.artifact-bundle.a1"
        },
        "summary": {
            "type": "object",
            "additionalProperties": true
        },
        "units": {
            "type": "object",
            "additionalProperties": {
                "type": "string"
            }
        },
        "designBundle": {
            "type": "object"
        },
        "documentGraph": {
            "type": "object"
        },
        "normalizedModels": {
            "type": "array"
        },
        "netlist": {
            "type": "object",
            "required": ["json", "wirelist"],
            "properties": {
                "json": {
                    "type": "object"
                },
                "wirelist": {
                    "type": "string"
                }
            },
            "additionalProperties": true
        },
        "bom": {
            "type": "object"
        },
        "pnp": {
            "type": "object"
        },
        "schematicSvgs": {
            "type": "array"
        },
        "pcbLayerSvgs": {
            "type": "array"
        },
        "statistics": {
            "type": "object"
        },
        "contractGate": {
            "$ref": "contract_gate_a1.schema.json"
        },
        "diagnostics": {
            "type": "array"
        }
    }
}
