Snyk · Schema

Image

SecurityDevSecOpsVulnerability ManagementApplication SecuritySoftware Composition AnalysisSASTContainer SecurityIaC

Properties

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

JSON Schema

snyk-image-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-image-schema.json",
  "title": "Image",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snyk-container-image-api-openapi.yml#/components/schemas/Image",
  "additionalProperties": false,
  "properties": {
    "attributes": {
      "$ref": "#/$defs/ImageAttributes"
    },
    "id": {
      "$ref": "#/$defs/ImageDigest"
    },
    "relationships": {
      "properties": {
        "image_target_refs": {
          "properties": {
            "links": {
              "$ref": "#/$defs/SelfLink"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "type": {
      "enum": [
        "container_image"
      ],
      "type": "string"
    }
  },
  "required": [
    "type",
    "id",
    "attributes"
  ],
  "type": "object",
  "$defs": {
    "ImageAttributes": {
      "properties": {
        "layers": {
          "items": {
            "$ref": "#/$defs/ImageDigest"
          },
          "minItems": 1,
          "type": "array"
        },
        "names": {
          "items": {
            "$ref": "#/$defs/ImageName"
          },
          "type": "array"
        },
        "platform": {
          "$ref": "#/$defs/Platform"
        }
      },
      "required": [
        "platform",
        "layers"
      ],
      "type": "object"
    },
    "ImageDigest": {
      "format": "uri",
      "pattern": "^sha256(:|%3A)[a-f0-9]{64}$",
      "type": "string"
    },
    "ImageName": {
      "pattern": "^((?:(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])(?:(?:\\.(?:[a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]))+)?(?::[0-9]+)?\\/)?[a-z0-9]+(?:(?:(?:[._]|__|[-]*)[a-z0-9]+)+)?(?:(?:\\/[a-z0-9]+(?:(?:(?:[._]|__|[-]*)[a-z0-9]+)+)?)+)?)(?::([\\w][\\w.-]{0,127}))?(?:@([A-Za-z][A-Za-z0-9]*(?:[-_+.][A-Za-z][A-Za-z0-9]*)*[:][A-Fa-f0-9]{32,}))?$",
      "type": "string"
    },
    "LinkProperty": {
      "oneOf": [
        {
          "description": "A string containing the link’s URL.",
          "type": "string"
        },
        {
          "additionalProperties": false,
          "properties": {
            "href": {
              "description": "A string containing the link’s URL.",
              "type": "string"
            },
            "meta": {
              "additionalProperties": true,
              "description": "Free-form object that may contain non-standard information.",
              "type": "object"
            }
          },
          "required": [
            "href"
          ],
          "type": "object"
        }
      ]
    },
    "Platform": {
      "enum": [
        "aix/ppc64",
        "android/386",
        "android/amd64",
        "android/arm",
        "android/arm/v5",
        "android/arm/v6",
        "android/arm/v7",
        "android/arm64",
        "android/arm64/v8",
        "darwin/amd64",
        "darwin/arm",
        "darwin/arm/v5",
        "darwin/arm/v6",
        "darwin/arm/v7",
        "darwin/arm64",
        "darwin/arm64/v8",
        "dragonfly/amd64",
        "freebsd/386",
        "freebsd/amd64",
        "freebsd/arm",
        "freebsd/arm/v5",
        "freebsd/arm/v6",
        "freebsd/arm/v7",
        "illumos/amd64",
        "ios/arm64",
        "ios/arm64/v8",
        "js/wasm",
        "linux/386",
        "linux/amd64",
        "linux/arm",
        "linux/arm/v5",
        "linux/arm/v6",
        "linux/arm/v7",
        "linux/arm64",
        "linux/arm64/v8",
        "linux/loong64",
        "linux/mips",
        "linux/mipsle",
        "linux/mips64",
        "linux/mips64le",
        "linux/ppc64",
        "linux/ppc64le",
        "linux/riscv64",
        "linux/s390x",
        "linux/x86_64",
        "netbsd/386",
        "netbsd/amd64",
        "netbsd/arm",
        "netbsd/arm/v5",
        "netbsd/arm/v6",
        "netbsd/arm/v7",
        "openbsd/386",
        "openbsd/amd64",
        "openbsd/arm",
        "openbsd/arm/v5",
        "openbsd/arm/v6",
        "openbsd/arm/v7",
        "openbsd/arm64",
        "openbsd/arm64/v8",
        "plan9/386",
        "plan9/amd64",
        "plan9/arm",
        "plan9/arm/v5",
        "plan9/arm/v6",
        "plan9/arm/v7",
        "solaris/amd64",
        "windows/386",
        "windows/amd64",
        "windows/arm",
        "windows/arm/v5",
        "windows/arm/v6",
        "windows/arm/v7",
        "windows/arm64",
        "windows/arm64/v8"
      ],
      "type": "string"
    },
    "SelfLink": {
      "additionalProperties": false,
      "properties": {
        "self": {
          "$ref": "#/$defs/LinkProperty"
        }
      },
      "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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/snyk-image"
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.