Hex.pm · Schema
Hex.pm Release
Schema for a Hex.pm package release as returned by the API.
Package RegistryErlangElixirGleamBEAMOpen-SourcePackage Manager
Properties
| Name | Type | Description |
|---|---|---|
| version | string | Semantic version string. |
| checksum | string | SHA-256 checksum of the release tarball. |
| has_docs | boolean | Whether documentation has been published for this release. |
| url | string | |
| package_url | string | |
| docs_html_url | stringnull | |
| html_url | string | |
| downloads | integer | |
| meta | object | Release metadata. |
| retirement | objectnull | Retirement information, if the release is retired. |
| requirements | object | Package dependencies keyed by package name. |
| inserted_at | string | |
| updated_at | string |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/hex-pm/main/json-schema/release.json",
"title": "Hex.pm Release",
"description": "Schema for a Hex.pm package release as returned by the API.",
"type": "object",
"properties": {
"version": {
"type": "string",
"description": "Semantic version string."
},
"checksum": {
"type": "string",
"description": "SHA-256 checksum of the release tarball."
},
"has_docs": {
"type": "boolean",
"description": "Whether documentation has been published for this release."
},
"url": { "type": "string", "format": "uri" },
"package_url": { "type": "string", "format": "uri" },
"docs_html_url": { "type": ["string", "null"], "format": "uri" },
"html_url": { "type": "string", "format": "uri" },
"downloads": { "type": "integer", "minimum": 0 },
"meta": {
"type": "object",
"description": "Release metadata.",
"properties": {
"app": { "type": "string", "description": "OTP application name." },
"build_tools": {
"type": "array",
"items": { "type": "string" },
"description": "Build tools used (e.g. mix, rebar3)."
},
"elixir": { "type": "string", "description": "Required Elixir version constraint." }
}
},
"retirement": {
"type": ["object", "null"],
"description": "Retirement information, if the release is retired.",
"properties": {
"reason": {
"type": "string",
"enum": ["other", "invalid", "security", "deprecated", "renamed"]
},
"message": { "type": ["string", "null"] }
},
"required": ["reason"]
},
"requirements": {
"type": "object",
"description": "Package dependencies keyed by package name.",
"additionalProperties": {
"type": "object",
"properties": {
"requirement": { "type": "string", "description": "Version requirement constraint." },
"optional": { "type": "boolean", "default": false },
"app": { "type": "string", "description": "OTP application name override." },
"repository": { "type": "string", "description": "Repository name if not from main hex.pm." }
},
"required": ["requirement"]
}
},
"inserted_at": { "type": "string", "format": "date-time" },
"updated_at": { "type": "string", "format": "date-time" }
},
"required": ["version", "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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/release"
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.