gunspec-io · Schema

ResolvedInterface

FirearmsDatabaseSpecificationSDKMCP

Properties

Name Type Description
position string Where on the firearm the interface sits: `muzzle`, `rear`, `top`, `bottom`.
standardId string Id of the interface standard, kind-prefixed, e.g. `thread:1/2x28`. Ids are never renamed; new spellings become aliases.
name string Display name, as the maker writes it.
kind string What sort of interface it is: `thread`, `rail`, `mag`, `stock_mount`, `optic_plate`. Not a media kind: the shared registry filled this with `silhouette`/`render` until the consistency check caught it.
source object
confidence number How well evidenced this row is, 0 to 1. **A minimum, not an average**: an inferred row caps every fit computed through it, and `min_confidence` on the endpoint hides rows below a threshold.
inheritedFrom stringnull The parent firearm or platform this interface came from, or null when the firearm declares it itself.
notes stringnull Free-text notes that do not belong in a specific field.
View JSON Schema on GitHub

JSON Schema

gunspec-io-resolved-interface-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gunspec-io/json-schema/gunspec-io-resolved-interface-schema.json",
  "title": "ResolvedInterface",
  "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/ResolvedInterface",
  "type": "object",
  "properties": {
    "position": {
      "type": "string",
      "description": "Where on the firearm the interface sits: `muzzle`, `rear`, `top`, `bottom`."
    },
    "standardId": {
      "type": "string",
      "description": "Id of the interface standard, kind-prefixed, e.g. `thread:1/2x28`. Ids are never renamed; new spellings become aliases."
    },
    "name": {
      "type": "string",
      "description": "Display name, as the maker writes it."
    },
    "kind": {
      "type": "string",
      "description": "What sort of interface it is: `thread`, `rail`, `mag`, `stock_mount`, `optic_plate`. Not a media kind: the shared registry filled this with `silhouette`/`render` until the consistency check caught it."
    },
    "source": {
      "$ref": "#/$defs/InterfaceSource"
    },
    "confidence": {
      "type": "number",
      "description": "How well evidenced this row is, 0 to 1. **A minimum, not an average**: an inferred row caps every fit computed through it, and `min_confidence` on the endpoint hides rows below a threshold."
    },
    "inheritedFrom": {
      "type": [
        "string",
        "null"
      ],
      "description": "The parent firearm or platform this interface came from, or null when the firearm declares it itself."
    },
    "notes": {
      "type": [
        "string",
        "null"
      ],
      "description": "Free-text notes that do not belong in a specific field."
    }
  },
  "$defs": {
    "InterfaceSource": {
      "type": "string",
      "enum": [
        "curated",
        "inferred",
        "inherited:parent",
        "inherited:platform"
      ],
      "description": "Where an interface row on a firearm came from. `curated` is a person; `inferred` is the backfill, capped at 0.6 confidence; the inherited kinds came through the parent chain or a platform."
    }
  }
}

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-resolved-interface"
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.