gunspec-io · Schema
FirearmDimensions
Physical dimensions in both metric and imperial units.
FirearmsDatabaseSpecificationSDKMCP
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Slug of the firearm. |
| name | string | Display name, as the maker writes it. |
| metric | object | Every dimension in millimetres and grams. |
| imperial | object | The same measurements converted to pounds and inches. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/gunspec-io/json-schema/gunspec-io-firearm-dimensions-schema.json",
"title": "FirearmDimensions",
"description": "Physical dimensions in both metric and imperial units.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/gunspec-io-firearm-analysis-api-openapi.yml#/components/schemas/FirearmDimensions",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Slug of the firearm."
},
"name": {
"type": "string",
"description": "Display name, as the maker writes it."
},
"metric": {
"type": "object",
"properties": {
"weightEmptyG": {
"type": [
"number",
"null"
],
"description": "Unloaded weight in grams, without magazine."
},
"weightLoadedG": {
"type": [
"number",
"null"
],
"description": "Loaded weight in grams, with a full magazine."
},
"overallLengthMm": {
"type": [
"number",
"null"
],
"description": "Overall length in millimetres, stock extended where it folds or collapses."
},
"barrelLengthMm": {
"type": [
"number",
"null"
],
"description": "Barrel length in millimetres, measured from the breech face."
},
"heightMm": {
"type": [
"number",
"null"
],
"description": "Height in millimetres, including sights and a fitted magazine."
},
"widthMm": {
"type": [
"number",
"null"
],
"description": "Width in millimetres at the widest point."
},
"foldedLengthMm": {
"type": [
"number",
"null"
],
"description": "Overall length in millimetres with the stock folded or collapsed. Null where it does not."
}
},
"description": "Every dimension in millimetres and grams."
},
"imperial": {
"type": "object",
"description": "The same measurements converted to pounds and inches.",
"properties": {
"weightEmptyLbs": {
"type": [
"number",
"null"
],
"description": "Unloaded weight in pounds, without magazine. Converted from `weightEmptyG`."
},
"weightLoadedLbs": {
"type": [
"number",
"null"
],
"description": "Loaded weight in pounds, with a full magazine. Converted from `weightLoadedG`."
},
"overallLengthIn": {
"type": [
"number",
"null"
],
"description": "Overall length in inches, stock extended where it folds or collapses. Converted from `overallLengthMm`."
},
"barrelLengthIn": {
"type": [
"number",
"null"
],
"description": "Barrel length in inches, measured from the breech face. Converted from `barrelLengthMm`."
},
"heightIn": {
"type": [
"number",
"null"
],
"description": "Height in inches, including sights and a fitted magazine. Converted from `heightMm`."
},
"widthIn": {
"type": [
"number",
"null"
],
"description": "Width in inches at the widest point. Converted from `widthMm`."
},
"foldedLengthIn": {
"type": [
"number",
"null"
],
"description": "Overall length in inches with the stock folded or collapsed. Null where it does not. Converted from `foldedLengthMm`."
}
}
}
},
"required": [
"id",
"name"
]
}
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/gunspec-io-firearm-dimensions"
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.