AboutCode · Schema
PackageAPI
Open SourceSoftware Composition AnalysisVulnerabilitiesLicensesPackage URLSBOMSecurity
Properties
| Name | Type | Description |
|---|---|---|
| url | string | |
| uuid | string | |
| filename | stringnull | File name of a Resource sometimes part of the URI properand sometimes only available through an HTTP header. |
| package_sets | array | |
| package_content | string | |
| purl | string | |
| type | string | A short code to identify the type of this package. For example: gem for a Rubygem, docker for a container, pypi for a Python Wheel or Egg, maven for a Maven Jar, deb for a Debian package, etc. |
| namespace | string | Package name prefix, such as Maven groupid, Docker image owner, GitHub user or organization, etc. |
| name | string | Name of the package. |
| version | string | Version of the package. |
| qualifiers | string | Extra qualifying data for a package such as the name of an OS, architecture, distro, etc. |
| subpath | string | Extra subpath within a package, relative to the package root. |
| primary_language | stringnull | Primary programming language. |
| description | stringnull | Description for this package. By convention the first line should be a summary when available. |
| release_date | stringnull | The date and time that the package file was created, or when it was posted to its original download source. |
| parties | array | |
| keywords | arraynull | A list of keywords. |
| homepage_url | stringnull | URL to the homepage for this package. |
| download_url | string | A direct download URL. |
| bug_tracking_url | stringnull | URL to the issue or bug tracker for this package. |
| code_view_url | stringnull | a URL where the code can be browsed online. |
| vcs_url | stringnull | A URL to the VCS repository in the SPDX form of: "git", "svn", "hg", "bzr", "cvs", https://github.com/nexb/scancode-toolkit.git@405aaa4b3 See SPDX specification "Package Download Location" at https:// |
| repository_homepage_url | stringnull | URL to the page for this package in its package repository. This is typically different from the package homepage URL proper. |
| repository_download_url | stringnull | Download URL to download the actual archive of code of this package in its package repository. This may be different from the actual download URL. |
| api_data_url | stringnull | API URL to obtain structured data for this package such as the URL to a JSON or XML api its package repository. |
| size | integernull | Size in bytes. |
| md5 | stringnull | MD5 checksum hex-encoded, as in md5sum. |
| sha1 | stringnull | SHA1 checksum hex-encoded, as in sha1sum. |
| sha256 | stringnull | SHA256 checksum hex-encoded, as in sha256sum. |
| sha512 | stringnull | SHA512 checksum hex-encoded, as in sha512sum. |
| copyright | stringnull | Copyright statements for this package. Typically one per line. |
| holder | stringnull | Holders for this package. Typically one per line. |
| declared_license_expression | stringnull | The license expression for this package typically derived from its extracted_license_statement or from some other type-specific routine or convention. |
| declared_license_expression_spdx | string | |
| license_detections | object | A list of LicenseDetection mappings typically derived from its extracted_license_statement or from some other type-specific routine or convention. |
| other_license_expression | stringnull | The license expression for this package which is different from the declared_license_expression, (i.e. not the primary license) routine or convention. |
| other_license_expression_spdx | string | |
| other_license_detections | object | A list of LicenseDetection mappings which is different from the declared_license_expression, (i.e. not the primary license) These are detections for the detection for the license expressions in other_ |
| extracted_license_statement | stringnull | The license statement mention, tag or text as found in a package manifest and extracted. This can be a string, a list or dict of strings possibly nested, as found originally in the manifest. |
| notice_text | stringnull | A notice text for this package. |
| source_packages | arraynull | A list of source package URLs (aka. "purl") for this package. For instance an SRPM is the "source package" for a binary RPM. |
| extra_data | object | Optional mapping of extra data key/values. |
| package_uid | string | |
| datasource_id | stringnull | The identifier for the datafile handler used to obtain this package. |
| file_references | object | List of file paths and details for files referenced in a package manifest. These may not actually exist on the filesystem. The exact semantics and base of these paths is specific to a package type or |
| dependencies | array | |
| resources | string | |
| history | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/aboutcode/json-schema/aboutcode-package-api-schema.json",
"title": "PackageAPI",
"x-generated": "2026-11-24",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/aboutcode-purldb-openapi.yml#/components/schemas/PackageAPI",
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"readOnly": true
},
"uuid": {
"type": "string",
"format": "uuid",
"readOnly": true
},
"filename": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "File name of a Resource sometimes part of the URI properand sometimes only available through an HTTP header."
},
"package_sets": {
"type": "array",
"items": {
"$ref": "#/$defs/PackageSetAPI"
}
},
"package_content": {
"type": "string",
"readOnly": true
},
"purl": {
"type": "string",
"readOnly": true
},
"type": {
"type": "string",
"readOnly": true,
"description": "A short code to identify the type of this package. For example: gem for a Rubygem, docker for a container, pypi for a Python Wheel or Egg, maven for a Maven Jar, deb for a Debian package, etc."
},
"namespace": {
"type": "string",
"readOnly": true,
"description": "Package name prefix, such as Maven groupid, Docker image owner, GitHub user or organization, etc."
},
"name": {
"type": "string",
"readOnly": true,
"description": "Name of the package."
},
"version": {
"type": "string",
"readOnly": true,
"description": "Version of the package."
},
"qualifiers": {
"type": "string",
"readOnly": true,
"description": "Extra qualifying data for a package such as the name of an OS, architecture, distro, etc."
},
"subpath": {
"type": "string",
"readOnly": true,
"description": "Extra subpath within a package, relative to the package root."
},
"primary_language": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "Primary programming language."
},
"description": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "Description for this package. By convention the first line should be a summary when available."
},
"release_date": {
"type": [
"string",
"null"
],
"format": "date-time",
"readOnly": true,
"description": "The date and time that the package file was created, or when it was posted to its original download source."
},
"parties": {
"type": "array",
"items": {
"$ref": "#/$defs/Party"
}
},
"keywords": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"readOnly": true,
"description": "A list of keywords."
},
"homepage_url": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "URL to the homepage for this package."
},
"download_url": {
"type": "string",
"readOnly": true,
"description": "A direct download URL."
},
"bug_tracking_url": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "URL to the issue or bug tracker for this package."
},
"code_view_url": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "a URL where the code can be browsed online."
},
"vcs_url": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "A URL to the VCS repository in the SPDX form of: \"git\", \"svn\", \"hg\", \"bzr\", \"cvs\", https://github.com/nexb/scancode-toolkit.git@405aaa4b3 See SPDX specification \"Package Download Location\" at https://spdx.org/spdx-specification-21-web-version#h.49x2ik5"
},
"repository_homepage_url": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "URL to the page for this package in its package repository. This is typically different from the package homepage URL proper."
},
"repository_download_url": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "Download URL to download the actual archive of code of this package in its package repository. This may be different from the actual download URL."
},
"api_data_url": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "API URL to obtain structured data for this package such as the URL to a JSON or XML api its package repository."
},
"size": {
"type": [
"integer",
"null"
],
"readOnly": true,
"description": "Size in bytes."
},
"md5": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "MD5 checksum hex-encoded, as in md5sum."
},
"sha1": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "SHA1 checksum hex-encoded, as in sha1sum."
},
"sha256": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "SHA256 checksum hex-encoded, as in sha256sum."
},
"sha512": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "SHA512 checksum hex-encoded, as in sha512sum."
},
"copyright": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "Copyright statements for this package. Typically one per line."
},
"holder": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "Holders for this package. Typically one per line."
},
"declared_license_expression": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "The license expression for this package typically derived from its extracted_license_statement or from some other type-specific routine or convention."
},
"declared_license_expression_spdx": {
"type": "string"
},
"license_detections": {
"readOnly": true,
"nullable": true,
"description": "A list of LicenseDetection mappings typically derived from its extracted_license_statement or from some other type-specific routine or convention."
},
"other_license_expression": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "The license expression for this package which is different from the declared_license_expression, (i.e. not the primary license) routine or convention."
},
"other_license_expression_spdx": {
"type": "string"
},
"other_license_detections": {
"readOnly": true,
"nullable": true,
"description": "A list of LicenseDetection mappings which is different from the declared_license_expression, (i.e. not the primary license) These are detections for the detection for the license expressions in other_license_expression. "
},
"extracted_license_statement": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "The license statement mention, tag or text as found in a package manifest and extracted. This can be a string, a list or dict of strings possibly nested, as found originally in the manifest."
},
"notice_text": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "A notice text for this package."
},
"source_packages": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
},
"readOnly": true,
"description": "A list of source package URLs (aka. \"purl\") for this package. For instance an SRPM is the \"source package\" for a binary RPM."
},
"extra_data": {
"readOnly": true,
"description": "Optional mapping of extra data key/values."
},
"package_uid": {
"type": "string",
"readOnly": true
},
"datasource_id": {
"type": [
"string",
"null"
],
"readOnly": true,
"description": "The identifier for the datafile handler used to obtain this package."
},
"file_references": {
"readOnly": true,
"nullable": true,
"description": "List of file paths and details for files referenced in a package manifest. These may not actually exist on the filesystem. The exact semantics and base of these paths is specific to a package type or datafile format."
},
"dependencies": {
"type": "array",
"items": {
"$ref": "#/$defs/DependentPackage"
}
},
"resources": {
"type": "string",
"format": "uri",
"readOnly": true
},
"history": {
"type": "string",
"format": "uri",
"readOnly": true
}
},
"required": [
"api_data_url",
"bug_tracking_url",
"code_view_url",
"copyright",
"datasource_id",
"declared_license_expression",
"declared_license_expression_spdx",
"dependencies",
"description",
"download_url",
"extra_data",
"extracted_license_statement",
"file_references",
"filename",
"history",
"holder",
"homepage_url",
"keywords",
"license_detections",
"md5",
"name",
"namespace",
"notice_text",
"other_license_detections",
"other_license_expression",
"other_license_expression_spdx",
"package_content",
"package_sets",
"package_uid",
"parties",
"primary_language",
"purl",
"qualifiers",
"release_date",
"repository_download_url",
"repository_homepage_url",
"resources",
"sha1",
"sha256",
"sha512",
"size",
"source_packages",
"subpath",
"type",
"url",
"uuid",
"vcs_url",
"version"
],
"$defs": {
"BlankEnum": {
"enum": [
""
]
},
"DependentPackage": {
"type": "object",
"properties": {
"purl": {
"type": [
"string",
"null"
],
"description": "A compact purl package URL",
"maxLength": 2048
},
"extracted_requirement": {
"type": [
"string",
"null"
],
"description": "A string defining version(s)requirements. Package-type specific.",
"maxLength": 200
},
"scope": {
"type": [
"string",
"null"
],
"description": "The scope of this dependency, such as runtime, install, etc. This is package-type specific and is the original scope string.",
"maxLength": 100
},
"is_runtime": {
"type": "boolean",
"description": "True if this dependency is a runtime dependency."
},
"is_optional": {
"type": "boolean",
"description": "True if this dependency is an optional dependency"
},
"is_pinned": {
"type": "boolean",
"description": "True if this dependency version requirement has been resolved and this dependency url points to an exact version."
}
}
},
"NullEnum": {
"enum": [
null
]
},
"PackageInPackageSetAPI": {
"type": "object",
"description": "Serialize Package instances within a PackageSet that is within a Package in\nthe PackageAPISerializer",
"properties": {
"uuid": {
"type": "string",
"format": "uuid",
"readOnly": true
}
},
"required": [
"uuid"
]
},
"PackageSetAPI": {
"type": "object",
"properties": {
"uuid": {
"type": "string",
"format": "uuid",
"description": "The identifier of the Package set"
},
"packages": {
"type": "array",
"items": {
"$ref": "#/$defs/PackageInPackageSetAPI"
}
}
},
"required": [
"packages"
]
},
"Party": {
"type": "object",
"properties": {
"type": {
"nullable": true,
"description": "the type of this party\n\n* `person` - person\n* `project` - project\n* `organization` - organization",
"oneOf": [
{
"$ref": "#/$defs/TypeEnum"
},
{
"$ref": "#/$defs/BlankEnum"
},
{
"$ref": "#/$defs/NullEnum"
}
]
},
"role": {
"type": [
"string",
"null"
],
"description": "A role for this party. Something such as author, maintainer, contributor, owner, packager, distributor, vendor, developer, owner, etc.",
"maxLength": 32
},
"name": {
"type": [
"string",
"null"
],
"description": "Name of this party.",
"maxLength": 1024
},
"email": {
"type": [
"string",
"null"
],
"description": "Email for this party.",
"maxLength": 1024
},
"url": {
"type": [
"string",
"null"
],
"description": "URL to a primary web page for this party.",
"maxLength": 1024
}
}
},
"TypeEnum": {
"enum": [
"person",
"project",
"organization"
],
"type": "string",
"description": "* `person` - person\n* `project` - project\n* `organization` - organization"
}
}
}
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/aboutcode-package-api"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.