Sonatype Nexus · Schema
Nexus Repository
A Sonatype Nexus Repository Manager repository for storing and managing software artifacts.
Artifact ManagementDevOpsPackage ManagementRepositoryMavennpmDockerSoftware Supply ChainDeveloper Tools
Properties
| Name | Type | Description |
|---|---|---|
| name | string | Unique name for this repository |
| format | string | Format of artifacts stored in this repository |
| type | string | Repository type: hosted (local storage), proxy (remote mirror), or group (aggregated view) |
| online | boolean | Whether the repository accepts incoming requests |
| url | string | URL to access this repository |
| storage | object | Storage configuration for the repository |
| cleanup | objectnull | Cleanup policy settings |
| proxy | objectnull | Proxy configuration (only for proxy repositories) |
| group | objectnull | Group configuration (only for group repositories) |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/sonatype-nexus/main/json-schema/sonatype-nexus-repository-schema.json",
"title": "Nexus Repository",
"description": "A Sonatype Nexus Repository Manager repository for storing and managing software artifacts.",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Unique name for this repository",
"pattern": "^[a-zA-Z0-9\\-]{1}[a-zA-Z0-9_\\-\\.]*$"
},
"format": {
"type": "string",
"description": "Format of artifacts stored in this repository",
"enum": ["maven2", "npm", "docker", "pypi", "nuget", "rubygems", "go", "cargo", "helm", "terraform", "r", "raw", "apt", "yum", "p2", "swift"]
},
"type": {
"type": "string",
"description": "Repository type: hosted (local storage), proxy (remote mirror), or group (aggregated view)",
"enum": ["hosted", "proxy", "group"]
},
"online": {
"type": "boolean",
"description": "Whether the repository accepts incoming requests"
},
"url": {
"type": "string",
"format": "uri",
"description": "URL to access this repository"
},
"storage": {
"type": "object",
"description": "Storage configuration for the repository",
"properties": {
"blobStoreName": {
"type": "string",
"description": "Name of the blob store used for storage"
},
"strictContentTypeValidation": {
"type": "boolean",
"description": "Whether to validate content types"
},
"writePolicy": {
"type": "string",
"description": "Write policy for the repository",
"enum": ["allow", "allow_once", "deny"]
}
}
},
"cleanup": {
"type": ["object", "null"],
"description": "Cleanup policy settings",
"properties": {
"policyNames": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"proxy": {
"type": ["object", "null"],
"description": "Proxy configuration (only for proxy repositories)",
"properties": {
"remoteUrl": {
"type": "string",
"format": "uri",
"description": "URL of the remote repository to proxy"
},
"contentMaxAge": {
"type": "integer",
"description": "Maximum age of cached content in minutes"
},
"metadataMaxAge": {
"type": "integer",
"description": "Maximum age of cached metadata in minutes"
}
}
},
"group": {
"type": ["object", "null"],
"description": "Group configuration (only for group repositories)",
"properties": {
"memberNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "Names of repositories that are members of this group"
}
}
}
},
"required": ["name", "format", "type", "online"]
}
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/sonatype-nexus-repository"
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.