VoltPlan · Schema

AdminCatalogSaveComponentRequest

Mirrors `ComponentData` in `src/app/api/admin/save-component/route.ts`. Optional fields accept `null` because the extract response is sent verbatim. Unknown keys are ignored.

CompanyElectricalRVBoatOff-GridWiring

Properties

Name Type Description
name string
type string
voltage_in numbernull
voltage_in_type stringnull
voltage_out numbernull
voltage_out_type stringnull
watt numbernull
estd_price_euro numbernull
description stringnull
image stringnull
icon stringnull A data URI is uploaded as a PNG file; any other string is stored as-is.
duty_cycle numbernull
default_utilization_factor numbernull
usage_hours_per_day numbernull
amperage numbernull
cutoff_voltage numbernull
fuse_type stringnull
wire_gauge stringnull
brand stringnull Brand name, matched or created in `component_brands`.
affiliate_links arraynull
View JSON Schema on GitHub

JSON Schema

voltplan-app-admin-catalog-save-component-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/voltplan-app/json-schema/voltplan-app-admin-catalog-save-component-request-schema.json",
  "title": "AdminCatalogSaveComponentRequest",
  "description": "Mirrors `ComponentData` in `src/app/api/admin/save-component/route.ts`. Optional fields accept `null` because the extract response is sent verbatim. Unknown keys are ignored.",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/voltplan-app-openapi.json#/components/schemas/AdminCatalogSaveComponentRequest",
  "type": "object",
  "required": [
    "name",
    "type"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "battery",
        "charger",
        "inverter",
        "transformer",
        "power",
        "load",
        "fuse",
        "shunt",
        "switch",
        "disconnect",
        "tool"
      ]
    },
    "voltage_in": {
      "type": [
        "number",
        "null"
      ]
    },
    "voltage_in_type": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "ac",
        "dc",
        null
      ]
    },
    "voltage_out": {
      "type": [
        "number",
        "null"
      ]
    },
    "voltage_out_type": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "ac",
        "dc",
        null
      ]
    },
    "watt": {
      "type": [
        "number",
        "null"
      ]
    },
    "estd_price_euro": {
      "type": [
        "number",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "image": {
      "type": [
        "string",
        "null"
      ]
    },
    "icon": {
      "type": [
        "string",
        "null"
      ],
      "description": "A data URI is uploaded as a PNG file; any other string is stored as-is."
    },
    "duty_cycle": {
      "type": [
        "number",
        "null"
      ]
    },
    "default_utilization_factor": {
      "type": [
        "number",
        "null"
      ]
    },
    "usage_hours_per_day": {
      "type": [
        "number",
        "null"
      ]
    },
    "amperage": {
      "type": [
        "number",
        "null"
      ]
    },
    "cutoff_voltage": {
      "type": [
        "number",
        "null"
      ]
    },
    "fuse_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "wire_gauge": {
      "type": [
        "string",
        "null"
      ]
    },
    "brand": {
      "type": [
        "string",
        "null"
      ],
      "description": "Brand name, matched or created in `component_brands`."
    },
    "affiliate_links": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/AdminCatalogSaveAffiliateLink"
      }
    }
  },
  "$defs": {
    "AdminCatalogSaveAffiliateLink": {
      "type": "object",
      "description": "Other keys (e.g. `isExact`, `title`) are ignored.",
      "required": [
        "url",
        "country"
      ],
      "properties": {
        "url": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/voltplan-app-admin-catalog-save-component-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.