Hex.pm · Schema

Hex.pm Package

Schema for a Hex.pm package as returned by the API.

Package RegistryErlangElixirGleamBEAMOpen-SourcePackage Manager

Properties

Name Type Description
name string Unique package name.
html_url string URL to the package page on hex.pm.
docs_html_url stringnull URL to package documentation on hexdocs.pm.
meta object Package metadata.
releases array All releases of this package.
owners array Package owners.
downloads object Download statistics.
inserted_at string
updated_at string
url string
View JSON Schema on GitHub

JSON Schema

package.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hex-pm/main/json-schema/package.json",
  "title": "Hex.pm Package",
  "description": "Schema for a Hex.pm package as returned by the API.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Unique package name."
    },
    "html_url": {
      "type": "string",
      "format": "uri",
      "description": "URL to the package page on hex.pm."
    },
    "docs_html_url": {
      "type": ["string", "null"],
      "format": "uri",
      "description": "URL to package documentation on hexdocs.pm."
    },
    "meta": {
      "type": "object",
      "description": "Package metadata.",
      "properties": {
        "description": { "type": "string" },
        "licenses": {
          "type": "array",
          "items": { "type": "string" }
        },
        "links": {
          "type": "object",
          "additionalProperties": { "type": "string" }
        },
        "maintainers": {
          "type": "array",
          "items": { "type": "string" }
        }
      }
    },
    "releases": {
      "type": "array",
      "description": "All releases of this package.",
      "items": {
        "type": "object",
        "properties": {
          "version": { "type": "string" },
          "url": { "type": "string", "format": "uri" },
          "inserted_at": { "type": "string", "format": "date-time" }
        },
        "required": ["version", "url"]
      }
    },
    "owners": {
      "type": "array",
      "description": "Package owners.",
      "items": {
        "type": "object",
        "properties": {
          "username": { "type": "string" },
          "email": { "type": "string", "format": "email" },
          "url": { "type": "string", "format": "uri" }
        }
      }
    },
    "downloads": {
      "type": "object",
      "description": "Download statistics.",
      "properties": {
        "all": { "type": "integer", "minimum": 0 },
        "recent": { "type": "integer", "minimum": 0 }
      }
    },
    "inserted_at": { "type": "string", "format": "date-time" },
    "updated_at": { "type": "string", "format": "date-time" },
    "url": { "type": "string", "format": "uri" }
  },
  "required": ["name", "url"]
}

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/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.