isMalicious · Schema

CreateSourceRequest

`POST /surveillance/sources`, discriminated on `kind`.

CompanyThreat IntelligenceCybersecuritySTIXThreat Data
View JSON Schema on GitHub

JSON Schema

ismalicious-com-create-source-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ismalicious-com/json-schema/ismalicious-com-create-source-request-schema.json",
  "title": "CreateSourceRequest",
  "description": "`POST /surveillance/sources`, discriminated on `kind`.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ismalicious-com-openapi.json#/components/schemas/CreateSourceRequest",
  "oneOf": [
    {
      "type": "object",
      "required": [
        "domain",
        "kind"
      ],
      "properties": {
        "components": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ComponentInput"
          },
          "description": "Explicit selection from `/surveillance/analyze`; `None` = read now."
        },
        "domain": {
          "type": "string"
        },
        "kind": {
          "type": "string",
          "enum": [
            "DOMAIN"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    {
      "type": "object",
      "required": [
        "name",
        "content",
        "kind"
      ],
      "properties": {
        "components": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/$defs/ComponentInput"
          }
        },
        "content": {
          "type": "string"
        },
        "excludeDev": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "format": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/LockfileFormat"
            }
          ]
        },
        "kind": {
          "type": "string",
          "enum": [
            "LOCKFILE"
          ]
        },
        "name": {
          "type": "string"
        }
      }
    },
    {
      "type": "object",
      "required": [
        "name",
        "components",
        "kind"
      ],
      "properties": {
        "components": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ComponentInput"
          }
        },
        "kind": {
          "type": "string",
          "enum": [
            "MANUAL"
          ]
        },
        "name": {
          "type": "string"
        },
        "useDefault": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Add to the organisation's default manual stack."
        }
      }
    }
  ],
  "$defs": {
    "ComponentInput": {
      "type": "object",
      "description": "A component as a caller describes it (manual add, analyze selection,\npreview). At least one of `identityKey`, `cpe`, `cpeVendor`+`cpeProduct`,\n`ecosystem`+`packageName`, `purl` or `name` (resolved through the product\ncatalogue) must be present.",
      "properties": {
        "cpe": {
          "type": [
            "string",
            "null"
          ]
        },
        "cpeProduct": {
          "type": [
            "string",
            "null"
          ]
        },
        "cpeVendor": {
          "type": [
            "string",
            "null"
          ]
        },
        "dependencyScope": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/$defs/DependencyScope"
            }
          ]
        },
        "ecosystem": {
          "type": [
            "string",
            "null"
          ]
        },
        "identityKey": {
          "type": [
            "string",
            "null"
          ]
        },
        "monitored": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "packageName": {
          "type": [
            "string",
            "null"
          ]
        },
        "purl": {
          "type": [
            "string",
            "null"
          ]
        },
        "version": {
          "type": [
            "string",
            "null"
          ]
        },
        "versionBranch": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "DependencyScope": {
      "type": "string",
      "description": "`WatchComponent.dependencyScope`.",
      "enum": [
        "Direct",
        "Transitive",
        "Dev",
        "NotApplicable"
      ]
    },
    "LockfileFormat": {
      "type": "string",
      "description": "`WatchSource.lockfileFormat`.",
      "enum": [
        "PackageLock",
        "ComposerLock",
        "Requirements",
        "GemfileLock",
        "CargoLock",
        "CycloneDx"
      ]
    }
  }
}

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/ismalicious-com-create-source-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. See our Privacy Policy and Terms.

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