Snyk · Schema

CollectionResponse

SecurityDevSecOpsVulnerability ManagementApplication SecuritySoftware Composition AnalysisSASTContainer SecurityIaC

Properties

Name Type Description
attributes object
id string
meta object
relationships object
type object
View JSON Schema on GitHub

JSON Schema

snyk-collection-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-collection-response-schema.json",
  "title": "CollectionResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snyk-collection-api-openapi.yml#/components/schemas/CollectionResponse",
  "additionalProperties": false,
  "properties": {
    "attributes": {
      "$ref": "#/$defs/CollectionAttributes"
    },
    "id": {
      "format": "uuid",
      "type": "string"
    },
    "meta": {
      "$ref": "#/$defs/CollectionMeta"
    },
    "relationships": {
      "$ref": "#/$defs/CollectionRelationships"
    },
    "type": {
      "$ref": "#/$defs/Types"
    }
  },
  "required": [
    "id",
    "type",
    "meta",
    "attributes",
    "relationships"
  ],
  "type": "object",
  "$defs": {
    "CollectionAttributes": {
      "additionalProperties": false,
      "properties": {
        "is_generated": {
          "type": "boolean"
        },
        "name": {
          "description": "User-defined name of the collection",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "CollectionMeta": {
      "additionalProperties": false,
      "properties": {
        "issues_critical_count": {
          "description": "The sum of critical severity issues of the collection's projects",
          "type": "number"
        },
        "issues_high_count": {
          "description": "The sum of high severity issues of the collection's projects",
          "type": "number"
        },
        "issues_low_count": {
          "description": "The sum of low severity issues of the collection's projects",
          "type": "number"
        },
        "issues_medium_count": {
          "description": "The sum of medium severity issues of the collection's projects",
          "type": "number"
        },
        "projects_count": {
          "description": "The amount of projects belonging to this collection",
          "type": "number"
        }
      },
      "required": [
        "projects_count",
        "issues_critical_count",
        "issues_high_count",
        "issues_medium_count",
        "issues_low_count"
      ],
      "type": "object"
    },
    "CollectionRelationships": {
      "additionalProperties": false,
      "properties": {
        "created_by_user": {
          "properties": {
            "data": {
              "properties": {
                "id": {
                  "description": "ID of the user that created the collection. Null for auto-collections.",
                  "format": "uuid",
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type": {
                  "enum": [
                    "user"
                  ]
                }
              },
              "required": [
                "type",
                "id"
              ],
              "type": "object"
            }
          },
          "required": [
            "data"
          ],
          "type": "object"
        },
        "org": {
          "properties": {
            "data": {
              "properties": {
                "id": {
                  "description": "ID of the org that this collection belongs to",
                  "format": "uuid",
                  "type": "string"
                },
                "type": {
                  "enum": [
                    "org"
                  ]
                }
              },
              "required": [
                "type",
                "id"
              ],
              "type": "object"
            }
          },
          "required": [
            "data"
          ],
          "type": "object"
        }
      },
      "required": [
        "org",
        "created_by_user"
      ],
      "type": "object"
    },
    "Types": {
      "pattern": "^[a-z][a-z0-9]*(_[a-z][a-z0-9]*)*$",
      "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/snyk-collection-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.