This package contains TypeScript type definitions and JSON Schemas for the Foxglove schemas.
npm install @foxglove/schemas
For a list of available schemas, see https://docs.foxglove.dev/docs/visualization/message-schemas/introduction
import type { CompressedImage } from '@foxglove/schemas';
import { CompressedImage } from '@foxglove/schemas/jsonschema';