{
  "openapi": "3.1.1",
  "info": {
    "title": "KiCad Netlist Importer API",
    "version": "1.0.0",
    "summary": "Turn a KiCad netlist (.net) into an Ohmforge schematic you can simulate",
    "description": "Every endpoint performs the same calculation as the human page and returns inputs, result, units, assumptions, sources, warnings and computedAt. MCP endpoint: /mcp."
  },
  "servers": [
    {
      "url": "https://ohmforgekicadnetlistimport.usefulweb.app"
    }
  ],
  "paths": {
    "/api/v1/calculate": {
      "post": {
        "operationId": "calculate",
        "summary": "Turn a KiCad netlist (.net) into an Ohmforge schematic you can simulate",
        "description": "Import a KiCad S-expression netlist into an Ohmforge project: standard resistors, capacitors, inductors, diodes, LEDs, transistors, batteries, switches and 555 timers become simulation parts connected by net labels; no-connect flags and pin types come along.\n\nMethodology:\n- Reads the file with a general S-expression parser (lists, bare atoms, double-quoted strings with backslash escapes) that reports the line and column of syntax errors and limits size, nesting depth and element count, then reads the documented netlist sections: design (title), components (ref, value, footprint, libsource), libparts (pin numbers, names, types) and nets (nodes with ref, pin, pinfunction, pintype).\n- Components from Ohmforge's own export (library \"ohmforge\") map back exactly: the part kind comes from the libsource, pins from Ohmforge's pin numbers, and parameters from the value text (each candidate setting is checked by regenerating the value text). Parameters that the value text does not contain return to their defaults.\n- KiCad standard symbols map by symbol name: R, R_Small, R_US → resistor; R_POT → potentiometer (pin 2 = wiper); C, C_Polarized/CP → capacitor; L → inductor; D, D_Zener, D_Schottky, LED → diodes; Q_NPN_*, Q_PNP_*, Q_NMOS_*, Q_PMOS_* → transistors (pins matched by their B/C/E and G/D/S names); Battery, Battery_Cell, Fuse, SW_Push, SW_SPST; NE555-family timers by pin names (TR, Q, R, CV aliases) or DIP-8 numbers. Two-pin parts whose reference starts with R, C or L are accepted as a last resort. Everything else (connectors, microcontrollers, regulators …) is left out and listed; its nets stay labelled on the imported parts.\n- A pin type ending in \"+no_connect\" (KiCad's no-connect flag) becomes a no-connect flag on that pin. For Ohmforge components a node pin type that differs from the catalog type becomes a per-pin type override in the project (field erc, version 1). KiCad 10's \"NAME_NUMBER\" pin functions are understood.\n- Placement: parts in a grid; each connected pin gets a short wire and a net label with the KiCad net name, the net GND becomes ground symbols, and single-pin \"unconnected-…\" nets stay open. Exporting the imported project again reproduces the same netlist text for Ohmforge exports (verified for all built-in templates).\n\nSimulation parts are idealised library models: check every mapped part's parameters (model, voltage, value) and pin order before trusting simulation results. Hierarchical sheets are flattened by KiCad's export; KiCad's power flags are not part of netlists, so add Ohmforge power flags or sources where the board is supplied.",
        "tags": [
          "apps"
        ],
        "x-mcp-tool": "ohmforge_kicad_netlist_import",
        "x-owner-app": "ohmforge",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OhmforgeKicadNetlistImportInput"
              },
              "examples": {
                "example1": {
                  "summary": "555 blinker from KiCad (Device and Timer symbols)",
                  "value": {
                    "netlist": "(export (version \"E\")\n  (design\n    (source \"/home/you/blink/blink.kicad_sch\")\n    (tool \"Eeschema 9.0.0\")\n    (sheet (number \"1\") (name \"/\") (tstamps \"/\")\n      (title_block (title \"Blink\") (company) (rev \"A\") (date) (source \"blink.kicad_sch\"))))\n  (components\n    (comp (ref \"C1\") (value \"10uF\") (footprint \"Capacitor_THT:CP_Radial_D5.0mm_P2.00mm\")\n      (libsource (lib \"Device\") (part \"C_Polarized\") (description \"Polarized capacitor\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000001\"))\n    (comp (ref \"D1\") (value \"LED\") (footprint \"LED_THT:LED_D5.0mm\")\n      (libsource (lib \"Device\") (part \"LED\") (description \"Light emitting diode\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000002\"))\n    (comp (ref \"J1\") (value \"Conn_01x02\") (footprint \"Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical\")\n      (libsource (lib \"Connector_Generic\") (part \"Conn_01x02\") (description \"Generic connector\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000003\"))\n    (comp (ref \"R1\") (value \"1k\") (footprint \"Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal\")\n      (libsource (lib \"Device\") (part \"R\") (description \"Resistor\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000004\"))\n    (comp (ref \"R2\") (value \"4k7\") (footprint \"Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal\")\n      (libsource (lib \"Device\") (part \"R\") (description \"Resistor\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000005\"))\n    (comp (ref \"R3\") (value \"470\") (footprint \"Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal\")\n      (libsource (lib \"Device\") (part \"R\") (description \"Resistor\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000006\"))\n    (comp (ref \"U1\") (value \"NE555P\") (footprint \"Package_DIP:DIP-8_W7.62mm\")\n      (libsource (lib \"Timer\") (part \"NE555P\") (description \"Precision Timers, 555 compatible, PDIP-8\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000007\")))\n  (nets\n    (net (code \"1\") (name \"+5V\") (class \"Default\")\n      (node (ref \"J1\") (pin \"1\") (pinfunction \"Pin_1\") (pintype \"passive\"))\n      (node (ref \"R1\") (pin \"1\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"4\") (pinfunction \"R\") (pintype \"input\"))\n      (node (ref \"U1\") (pin \"8\") (pinfunction \"VCC\") (pintype \"power_in\")))\n    (net (code \"2\") (name \"GND\") (class \"Default\")\n      (node (ref \"C1\") (pin \"2\") (pintype \"passive\"))\n      (node (ref \"D1\") (pin \"1\") (pinfunction \"K\") (pintype \"passive\"))\n      (node (ref \"J1\") (pin \"2\") (pinfunction \"Pin_2\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"1\") (pinfunction \"GND\") (pintype \"power_in\")))\n    (net (code \"3\") (name \"Net-(D1-A)\") (class \"Default\")\n      (node (ref \"D1\") (pin \"2\") (pinfunction \"A\") (pintype \"passive\"))\n      (node (ref \"R3\") (pin \"2\") (pintype \"passive\")))\n    (net (code \"4\") (name \"Net-(U1-DIS)\") (class \"Default\")\n      (node (ref \"R1\") (pin \"2\") (pintype \"passive\"))\n      (node (ref \"R2\") (pin \"1\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"7\") (pinfunction \"DIS\") (pintype \"input\")))\n    (net (code \"5\") (name \"Net-(U1-Q)\") (class \"Default\")\n      (node (ref \"R3\") (pin \"1\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"3\") (pinfunction \"Q\") (pintype \"output\")))\n    (net (code \"6\") (name \"Net-(U1-THR)\") (class \"Default\")\n      (node (ref \"C1\") (pin \"1\") (pintype \"passive\"))\n      (node (ref \"R2\") (pin \"2\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"2\") (pinfunction \"TR\") (pintype \"input\"))\n      (node (ref \"U1\") (pin \"6\") (pinfunction \"THR\") (pintype \"input\")))\n    (net (code \"7\") (name \"unconnected-(U1-CV-Pad5)\") (class \"Default\")\n      (node (ref \"U1\") (pin \"5\") (pinfunction \"CV\") (pintype \"input+no_connect\")))))\n"
                  }
                },
                "example2": {
                  "summary": "Round trip of an Ohmforge export",
                  "value": {
                    "netlist": "(export (version \"E\")\n  (design\n    (source \"555 on an external supply.ohmforge.json\")\n    (tool \"Ohmforge (usefulweb.site)\")\n    (sheet (number \"1\") (name \"/\") (tstamps \"/\")\n      (title_block (title \"555 on an external supply\") (company) (rev) (date) (source \"555 on an external supply.ohmforge.json\"))))\n  (components\n    (comp (ref \"R1\")\n      (value \"10k\")\n      (description \"Resistor\")\n      (libsource (lib \"ohmforge\") (part \"resistor\") (description \"Resistor\"))\n      (sheetpath (names \"/\") (tstamps \"/\"))\n      (tstamps \"643515ac-e729-4c1e-bc7a-988f14be0e3b\"))\n    (comp (ref \"R2\")\n      (value \"1k\")\n      (description \"Resistor\")\n      (libsource (lib \"ohmforge\") (part \"resistor\") (description \"Resistor\"))\n      (sheetpath (names \"/\") (tstamps \"/\"))\n      (tstamps \"613526d5-e829-4673-bf7a-7bd113be37ce\"))\n    (comp (ref \"U1\")\n      (value \"NE555\")\n      (description \"555 timer\")\n      (libsource (lib \"ohmforge\") (part \"timer555\") (description \"555 timer\"))\n      (sheetpath (names \"/\") (tstamps \"/\"))\n      (tstamps \"826731f7-bf3d-4621-8c3d-3b1514f8556a\"))\n  )\n  (libparts\n    (libpart (lib \"ohmforge\") (part \"resistor\")\n      (description \"Resistor\")\n      (fields (field (name \"Reference\") \"R\") (field (name \"Value\") \"resistor\"))\n      (pins\n        (pin (num \"1\") (name \"~\") (type \"passive\"))\n        (pin (num \"2\") (name \"~\") (type \"passive\"))\n      ))\n    (libpart (lib \"ohmforge\") (part \"timer555\")\n      (description \"555 timer\")\n      (fields (field (name \"Reference\") \"U\") (field (name \"Value\") \"timer555\"))\n      (pins\n        (pin (num \"1\") (name \"GND\") (type \"power_in\"))\n        (pin (num \"2\") (name \"TRIG\") (type \"input\"))\n        (pin (num \"3\") (name \"OUT\") (type \"output\"))\n        (pin (num \"4\") (name \"RESET\") (type \"input\"))\n        (pin (num \"5\") (name \"CTRL\") (type \"passive\"))\n        (pin (num \"6\") (name \"THR\") (type \"input\"))\n        (pin (num \"7\") (name \"DIS\") (type \"open_collector\"))\n        (pin (num \"8\") (name \"VCC\") (type \"power_in\"))\n      ))\n  )\n  (nets\n    (net (code \"1\") (name \"GND\") (class \"Default\")\n      (node (ref \"R2\") (pin \"2\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"1\") (pinfunction \"GND\") (pintype \"power_in\")))\n    (net (code \"2\") (name \"OUT\") (class \"Default\")\n      (node (ref \"R2\") (pin \"1\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"3\") (pinfunction \"OUT\") (pintype \"output\")))\n    (net (code \"3\") (name \"TH\") (class \"Default\")\n      (node (ref \"R1\") (pin \"2\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"2\") (pinfunction \"TRIG\") (pintype \"input\"))\n      (node (ref \"U1\") (pin \"6\") (pinfunction \"THR\") (pintype \"input\"))\n      (node (ref \"U1\") (pin \"7\") (pinfunction \"DIS\") (pintype \"open_collector\")))\n    (net (code \"4\") (name \"unconnected-(U1-CTRL)\") (class \"Default\")\n      (node (ref \"U1\") (pin \"5\") (pinfunction \"CTRL\") (pintype \"passive+no_connect\")))\n    (net (code \"5\") (name \"VEXT\") (class \"Default\")\n      (node (ref \"R1\") (pin \"1\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"4\") (pinfunction \"RESET\") (pintype \"input\"))\n      (node (ref \"U1\") (pin \"8\") (pinfunction \"VCC\") (pintype \"power_in\")))\n  )\n)\n"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Calculation result envelope.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OhmforgeKicadNetlistImportResult"
                }
              }
            }
          },
          "400": {
            "description": "Malformed JSON body.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "422": {
            "description": "Invalid input (see errors[]).",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit exceeded (see Retry-After).",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tool": {
      "get": {
        "operationId": "getToolDefinition",
        "summary": "Inputs, output schema and examples for this tool",
        "responses": {
          "200": {
            "description": "Tool definition.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Problem": {
        "type": "object",
        "description": "RFC 9457 problem details. 422 responses include per-field `errors`.",
        "required": [
          "type",
          "title",
          "status",
          "detail"
        ],
        "properties": {
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "detail": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "field",
                "message"
              ],
              "properties": {
                "field": {
                  "type": "string"
                },
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "OhmforgeKicadNetlistImportInput": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "netlist": {
            "title": "KiCad netlist (.net)",
            "description": "Paste a netlist exported from KiCad (File → Export → Netlist…, format KiCad) or from Ohmforge. At most 500 components and 5000 nets.",
            "type": "string",
            "maxLength": 1000000,
            "default": "(export (version \"E\")\n  (design\n    (source \"/home/you/blink/blink.kicad_sch\")\n    (tool \"Eeschema 9.0.0\")\n    (sheet (number \"1\") (name \"/\") (tstamps \"/\")\n      (title_block (title \"Blink\") (company) (rev \"A\") (date) (source \"blink.kicad_sch\"))))\n  (components\n    (comp (ref \"C1\") (value \"10uF\") (footprint \"Capacitor_THT:CP_Radial_D5.0mm_P2.00mm\")\n      (libsource (lib \"Device\") (part \"C_Polarized\") (description \"Polarized capacitor\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000001\"))\n    (comp (ref \"D1\") (value \"LED\") (footprint \"LED_THT:LED_D5.0mm\")\n      (libsource (lib \"Device\") (part \"LED\") (description \"Light emitting diode\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000002\"))\n    (comp (ref \"J1\") (value \"Conn_01x02\") (footprint \"Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical\")\n      (libsource (lib \"Connector_Generic\") (part \"Conn_01x02\") (description \"Generic connector\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000003\"))\n    (comp (ref \"R1\") (value \"1k\") (footprint \"Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal\")\n      (libsource (lib \"Device\") (part \"R\") (description \"Resistor\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000004\"))\n    (comp (ref \"R2\") (value \"4k7\") (footprint \"Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal\")\n      (libsource (lib \"Device\") (part \"R\") (description \"Resistor\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000005\"))\n    (comp (ref \"R3\") (value \"470\") (footprint \"Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal\")\n      (libsource (lib \"Device\") (part \"R\") (description \"Resistor\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000006\"))\n    (comp (ref \"U1\") (value \"NE555P\") (footprint \"Package_DIP:DIP-8_W7.62mm\")\n      (libsource (lib \"Timer\") (part \"NE555P\") (description \"Precision Timers, 555 compatible, PDIP-8\"))\n      (sheetpath (names \"/\") (tstamps \"/\")) (tstamps \"0c3d4e5f-1111-4a2b-8c3d-000000000007\")))\n  (nets\n    (net (code \"1\") (name \"+5V\") (class \"Default\")\n      (node (ref \"J1\") (pin \"1\") (pinfunction \"Pin_1\") (pintype \"passive\"))\n      (node (ref \"R1\") (pin \"1\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"4\") (pinfunction \"R\") (pintype \"input\"))\n      (node (ref \"U1\") (pin \"8\") (pinfunction \"VCC\") (pintype \"power_in\")))\n    (net (code \"2\") (name \"GND\") (class \"Default\")\n      (node (ref \"C1\") (pin \"2\") (pintype \"passive\"))\n      (node (ref \"D1\") (pin \"1\") (pinfunction \"K\") (pintype \"passive\"))\n      (node (ref \"J1\") (pin \"2\") (pinfunction \"Pin_2\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"1\") (pinfunction \"GND\") (pintype \"power_in\")))\n    (net (code \"3\") (name \"Net-(D1-A)\") (class \"Default\")\n      (node (ref \"D1\") (pin \"2\") (pinfunction \"A\") (pintype \"passive\"))\n      (node (ref \"R3\") (pin \"2\") (pintype \"passive\")))\n    (net (code \"4\") (name \"Net-(U1-DIS)\") (class \"Default\")\n      (node (ref \"R1\") (pin \"2\") (pintype \"passive\"))\n      (node (ref \"R2\") (pin \"1\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"7\") (pinfunction \"DIS\") (pintype \"input\")))\n    (net (code \"5\") (name \"Net-(U1-Q)\") (class \"Default\")\n      (node (ref \"R3\") (pin \"1\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"3\") (pinfunction \"Q\") (pintype \"output\")))\n    (net (code \"6\") (name \"Net-(U1-THR)\") (class \"Default\")\n      (node (ref \"C1\") (pin \"1\") (pintype \"passive\"))\n      (node (ref \"R2\") (pin \"2\") (pintype \"passive\"))\n      (node (ref \"U1\") (pin \"2\") (pinfunction \"TR\") (pintype \"input\"))\n      (node (ref \"U1\") (pin \"6\") (pinfunction \"THR\") (pintype \"input\")))\n    (net (code \"7\") (name \"unconnected-(U1-CV-Pad5)\") (class \"Default\")\n      (node (ref \"U1\") (pin \"5\") (pinfunction \"CV\") (pintype \"input+no_connect\")))))\n"
          }
        },
        "required": []
      },
      "OhmforgeKicadNetlistImportResult": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "schemaVersion",
          "tool",
          "computedAt",
          "inputs",
          "summary",
          "result",
          "units",
          "assumptions",
          "sources",
          "warnings",
          "presentation",
          "links"
        ],
        "properties": {
          "schemaVersion": {
            "type": "string",
            "const": "1.0"
          },
          "tool": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "id",
              "name",
              "version"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "version": {
                "type": "string"
              }
            }
          },
          "computedAt": {
            "type": "string",
            "format": "date-time"
          },
          "inputs": {
            "type": "object",
            "description": "Normalised inputs actually used, including applied defaults."
          },
          "summary": {
            "type": "string"
          },
          "result": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "projectName",
              "componentCount",
              "importedCount",
              "skippedCount",
              "netCount",
              "noConnectPins",
              "pinTypeOverrides",
              "components",
              "warnings",
              "project"
            ],
            "properties": {
              "projectName": {
                "type": "string"
              },
              "componentCount": {
                "type": "integer",
                "minimum": 0
              },
              "importedCount": {
                "type": "integer",
                "minimum": 0
              },
              "skippedCount": {
                "type": "integer",
                "minimum": 0
              },
              "netCount": {
                "type": "integer",
                "minimum": 0
              },
              "noConnectPins": {
                "type": "integer",
                "minimum": 0
              },
              "pinTypeOverrides": {
                "type": "integer",
                "minimum": 0
              },
              "components": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "ref",
                    "symbol",
                    "value",
                    "footprint",
                    "kind",
                    "status"
                  ],
                  "properties": {
                    "ref": {
                      "type": "string"
                    },
                    "symbol": {
                      "type": "string"
                    },
                    "value": {
                      "type": "string"
                    },
                    "footprint": {
                      "type": "string"
                    },
                    "kind": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "exact",
                        "symbol",
                        "reference",
                        "skipped"
                      ]
                    },
                    "note": {
                      "type": "string"
                    }
                  }
                }
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "project": {
                "type": "string",
                "description": "The imported Ohmforge project (.ohmforge.json text)."
              }
            }
          },
          "units": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "assumptions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "title"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "publisher": {
                  "type": "string"
                },
                "retrievedAt": {
                  "type": "string"
                },
                "note": {
                  "type": "string"
                }
              }
            }
          },
          "warnings": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "presentation": {
            "type": "array",
            "items": {
              "type": "object"
            },
            "description": "Display blocks used by the human page (same data)."
          },
          "links": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "human",
              "api",
              "openapi",
              "methodology"
            ],
            "properties": {
              "human": {
                "type": "string",
                "format": "uri"
              },
              "api": {
                "type": "string",
                "format": "uri"
              },
              "openapi": {
                "type": "string",
                "format": "uri"
              },
              "methodology": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        }
      }
    }
  }
}