Snyk · Schema
Principal20240422
SecurityDevSecOpsVulnerability ManagementApplication SecuritySoftware Composition AnalysisSASTContainer SecurityIaC
Properties
| Name | Type | Description |
|---|---|---|
| attributes | object | |
| id | string | The Snyk ID corresponding to this user, service account or app |
| type | string | Content type. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-principal20240422-schema.json",
"title": "Principal20240422",
"x-generated": "2026-10-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/snyk-users-api-openapi.yml#/components/schemas/Principal20240422",
"additionalProperties": false,
"properties": {
"attributes": {
"anyOf": [
{
"$ref": "#/$defs/User20240422"
},
{
"$ref": "#/$defs/ServiceAccount20240422"
},
{
"$ref": "#/$defs/AppInstance"
}
]
},
"id": {
"description": "The Snyk ID corresponding to this user, service account or app",
"format": "uuid",
"type": "string"
},
"type": {
"description": "Content type.",
"enum": [
"user",
"service_account",
"app_instance"
],
"type": "string"
}
},
"required": [
"type",
"id",
"attributes"
],
"type": "object",
"$defs": {
"AppInstance": {
"additionalProperties": false,
"properties": {
"default_org_context": {
"description": "ID of the default org for the service account.",
"format": "uuid",
"type": "string"
},
"name": {
"description": "The name of the service account.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"ServiceAccount20240422": {
"additionalProperties": false,
"properties": {
"default_org_context": {
"description": "ID of the default org for the service account.",
"format": "uuid",
"type": "string"
},
"name": {
"description": "The name of the service account.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"User20240422": {
"additionalProperties": false,
"properties": {
"avatar_url": {
"description": "The avatar url of the user.",
"format": "uri",
"type": "string"
},
"default_org_context": {
"description": "ID of the default org for the user.",
"format": "uuid",
"type": "string"
},
"email": {
"description": "The email of the user.",
"type": "string"
},
"name": {
"description": "The name of the user.",
"type": "string"
},
"username": {
"description": "The username of the user.",
"type": "string"
}
},
"required": [
"name",
"email",
"avatar_url"
],
"type": "object"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/snyk-principal20240422"
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.