Google Flutter · Schema

Pub.dev Package

Schema for a Dart/Flutter package as returned by the Pub.dev API, including metadata, versions, and pubspec information.

Cross-PlatformDartGoogleMobile DevelopmentOpen-SourceUI Framework

Properties

Name Type Description
name string The package name
latest object
versions array All published versions of the package
View JSON Schema on GitHub

JSON Schema

google-flutter-pub-package-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://pub.dev/schemas/package.json",
  "title": "Pub.dev Package",
  "description": "Schema for a Dart/Flutter package as returned by the Pub.dev API, including metadata, versions, and pubspec information.",
  "type": "object",
  "required": ["name"],
  "properties": {
    "name": {
      "type": "string",
      "description": "The package name"
    },
    "latest": {
      "$ref": "#/$defs/PackageVersion"
    },
    "versions": {
      "type": "array",
      "description": "All published versions of the package",
      "items": {
        "$ref": "#/$defs/PackageVersion"
      }
    }
  },
  "$defs": {
    "PackageVersion": {
      "type": "object",
      "description": "A specific version of a package",
      "properties": {
        "version": {
          "type": "string",
          "description": "Semantic version string"
        },
        "pubspec": {
          "$ref": "#/$defs/Pubspec"
        },
        "archive_url": {
          "type": "string",
          "format": "uri",
          "description": "URL to the version archive"
        },
        "published": {
          "type": "string",
          "format": "date-time",
          "description": "When this version was published"
        }
      }
    },
    "Pubspec": {
      "type": "object",
      "description": "The pubspec.yaml contents for a package version",
      "required": ["name", "version"],
      "properties": {
        "name": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "homepage": {
          "type": "string",
          "format": "uri"
        },
        "repository": {
          "type": "string",
          "format": "uri"
        },
        "environment": {
          "type": "object",
          "properties": {
            "sdk": {
              "type": "string",
              "description": "Dart SDK version constraint"
            },
            "flutter": {
              "type": "string",
              "description": "Flutter SDK version constraint"
            }
          }
        },
        "dependencies": {
          "type": "object",
          "additionalProperties": true,
          "description": "Package dependencies"
        },
        "dev_dependencies": {
          "type": "object",
          "additionalProperties": true,
          "description": "Development-only dependencies"
        }
      }
    }
  }
}

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/google-flutter-pub-package"
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.