SVG Icons · Schema

CreateExportRequest

CompanyIconsSVGOpen Source

Properties

Name Type Description
formats array
options object
View JSON Schema on GitHub

JSON Schema

svgicons-com-create-export-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/svgicons-com/json-schema/svgicons-com-create-export-request-schema.json",
  "title": "CreateExportRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/svgicons-com-openapi.yml#/components/schemas/CreateExportRequest",
  "type": "object",
  "properties": {
    "formats": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ExportFormat"
      }
    },
    "options": {
      "$ref": "#/$defs/ExportOptions"
    }
  },
  "$defs": {
    "ExportFormat": {
      "type": "string",
      "enum": [
        "svg-folder",
        "svg-sprite",
        "json-manifest",
        "license-manifest",
        "react-ts",
        "vue",
        "svelte",
        "solid",
        "blade",
        "storybook",
        "npm-package",
        "png-pack",
        "iconify-json"
      ]
    },
    "ExportOptions": {
      "type": "object",
      "properties": {
        "colorPolicy": {
          "type": "string",
          "enum": [
            "currentColor",
            "preserve",
            "strip"
          ]
        },
        "color_policy": {
          "type": "string",
          "enum": [
            "currentColor",
            "preserve",
            "strip"
          ]
        },
        "namingPolicy": {
          "type": "string",
          "enum": [
            "kebab",
            "pascal",
            "camel"
          ]
        },
        "naming_policy": {
          "type": "string",
          "enum": [
            "kebab",
            "pascal",
            "camel"
          ]
        },
        "sizeProps": {
          "type": "boolean"
        },
        "size_props": {
          "type": "boolean"
        },
        "typescript": {
          "type": "boolean"
        },
        "defaultSize": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1024,
          "default": 24,
          "description": "Default component size for framework exports when size props are enabled."
        },
        "default_size": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1024,
          "default": 24
        },
        "titleProp": {
          "type": "boolean",
          "default": true,
          "description": "Whether generated framework components expose a title prop and title element."
        },
        "title_prop": {
          "type": "boolean",
          "default": true
        },
        "decorative": {
          "type": "boolean",
          "default": true,
          "description": "Whether generated components default to decorative aria-hidden behavior when no title is provided."
        },
        "componentSuffix": {
          "type": "string",
          "pattern": "^[A-Za-z][A-Za-z0-9]{0,31}$",
          "default": "Icon",
          "description": "Safe suffix appended to generated React, Solid, Svelte, Vue, and Blade component export names where applicable."
        },
        "component_suffix": {
          "type": "string",
          "pattern": "^[A-Za-z][A-Za-z0-9]{0,31}$",
          "default": "Icon"
        },
        "packageName": {
          "type": "string",
          "maxLength": 214,
          "pattern": "^(?:@[a-z0-9][a-z0-9._-]*/[a-z0-9][a-z0-9._-]*|[a-z0-9][a-z0-9._-]*)$",
          "description": "Optional lowercase npm package name for npm-package exports. Supports scoped names such as @svgicons-com/dashboard-icons."
        },
        "package_name": {
          "type": "string",
          "maxLength": 214,
          "pattern": "^(?:@[a-z0-9][a-z0-9._-]*/[a-z0-9][a-z0-9._-]*|[a-z0-9][a-z0-9._-]*)$"
        },
        "packageVersion": {
          "type": "string",
          "maxLength": 64,
          "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z.-]+)?(?:\\+[0-9A-Za-z.-]+)?$",
          "default": "0.1.0",
          "description": "Optional semver-like version for npm-package exports."
        },
        "package_version": {
          "type": "string",
          "maxLength": 64,
          "pattern": "^\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z.-]+)?(?:\\+[0-9A-Za-z.-]+)?$",
          "default": "0.1.0"
        },
        "png": {
          "$ref": "#/$defs/PngOptions"
        }
      },
      "additionalProperties": true
    },
    "PngOptions": {
      "type": "object",
      "properties": {
        "sizes": {
          "type": "array",
          "maxItems": 6,
          "items": {
            "type": "integer",
            "enum": [
              16,
              24,
              32,
              48,
              96,
              128,
              256,
              512,
              1024
            ]
          }
        },
        "densities": {
          "type": "array",
          "maxItems": 3,
          "items": {
            "type": "integer",
            "enum": [
              1,
              2,
              3
            ]
          }
        },
        "backgroundType": {
          "type": "string",
          "enum": [
            "transparent",
            "solid"
          ]
        },
        "backgroundColor": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$"
        },
        "iconColorMode": {
          "type": "string",
          "enum": [
            "preserve",
            "black",
            "white",
            "custom"
          ]
        },
        "iconColor": {
          "type": "string",
          "pattern": "^#[0-9a-fA-F]{6}$"
        },
        "padding": {
          "type": "integer",
          "minimum": 0,
          "maximum": 256
        },
        "fit": {
          "type": "string",
          "enum": [
            "contain"
          ]
        }
      }
    }
  }
}

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/svgicons-com-create-export-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.