gunspec-io · Schema

TimelineEntry

FirearmsDatabaseSpecificationSDKMCP

Properties

Name Type Description
id string URL-safe slug identifying the firearm, e.g. `glock-g17-gen5`.
name string Display name, as the maker writes it.
manufacturerId stringnull Slug of the manufacturer that makes it. Resolve against `/v1/manufacturers/{id}`.
categoryId stringnull Slug of the category it belongs to. Resolve against `/v1/categories`.
yearIntroduced integernull Year it entered production or service. Null where the date is disputed or unknown.
yearDiscontinued integernull Year production ended, or null while it is still made.
status stringnull Production status, one of `in_production`, `discontinued`, `out_of_production`, `in_service`, `limited_production`, `prototype`. Discontinued records are kept deliberately: a rifle built in 2004 wears
countryOfOrigin stringnull ISO 3166-1 alpha-2 code of where it was designed, e.g. `AT`.
View JSON Schema on GitHub

JSON Schema

gunspec-io-timeline-entry-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gunspec-io/json-schema/gunspec-io-timeline-entry-schema.json",
  "title": "TimelineEntry",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gunspec-io-firearm-discovery-api-openapi.yml#/components/schemas/TimelineEntry",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "URL-safe slug identifying the firearm, e.g. `glock-g17-gen5`."
    },
    "name": {
      "type": "string",
      "description": "Display name, as the maker writes it."
    },
    "manufacturerId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Slug of the manufacturer that makes it. Resolve against `/v1/manufacturers/{id}`."
    },
    "categoryId": {
      "type": [
        "string",
        "null"
      ],
      "description": "Slug of the category it belongs to. Resolve against `/v1/categories`."
    },
    "yearIntroduced": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Year it entered production or service. Null where the date is disputed or unknown."
    },
    "yearDiscontinued": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Year production ended, or null while it is still made."
    },
    "status": {
      "type": [
        "string",
        "null"
      ],
      "description": "Production status, one of `in_production`, `discontinued`, `out_of_production`, `in_service`, `limited_production`, `prototype`. Discontinued records are kept deliberately: a rifle built in 2004 wears parts nobody sells today."
    },
    "countryOfOrigin": {
      "type": [
        "string",
        "null"
      ],
      "description": "ISO 3166-1 alpha-2 code of where it was designed, e.g. `AT`."
    }
  },
  "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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/gunspec-io-timeline-entry"
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.