InlineMediaItem
One image attached to a firearm, inlined on list-shaped responses so a client can render a gallery without a second request. `url` is absolute and directly fetchable. For the full envelope, including credits, licence, dimensions and data-URI encoding, use `/v1/firearms/{id}/media`.
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Autoincrementing image id. |
| url | string | Absolute, directly fetchable URL. |
| kind | object | |
| alt | stringnull | Alt text, where one has been written. Null otherwise, so do not render an empty string. |
| width | integernull | Pixel width, where it is known. |
| height | integernull | Pixel height, where it is known. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/gunspec-io/json-schema/gunspec-io-inline-media-item-schema.json",
"title": "InlineMediaItem",
"description": "One image attached to a firearm, inlined on list-shaped responses so a client can render a gallery without a second request. `url` is absolute and directly fetchable. For the full envelope, including credits, licence, dimensions and data-URI encoding, use `/v1/firearms/{id}/media`.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/gunspec-io-compatibility-api-openapi.yml#/components/schemas/InlineMediaItem",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Autoincrementing image id."
},
"url": {
"type": "string",
"description": "Absolute, directly fetchable URL."
},
"kind": {
"$ref": "#/$defs/MediaKind"
},
"alt": {
"type": [
"string",
"null"
],
"description": "Alt text, where one has been written. Null otherwise, so do not render an empty string."
},
"width": {
"type": [
"integer",
"null"
],
"description": "Pixel width, where it is known."
},
"height": {
"type": [
"integer",
"null"
],
"description": "Pixel height, where it is known."
}
},
"required": [
"id",
"url",
"kind"
],
"$defs": {
"MediaKind": {
"type": "string",
"enum": [
"silhouette",
"render",
"photo",
"schematic",
"model"
],
"description": "What kind of asset a media row is."
}
}
}
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
curl "https://apis.io/api/v1/json-schemas/gunspec-io-inline-media-item"
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.