gunspec-io · Schema

DataReport

A community-submitted data correction against a firearm.

FirearmsDatabaseSpecificationSDKMCP

Properties

Name Type Description
id string Opaque report id.
firearmId string Slug of the firearm this row belongs to.
section string Which part of the record the report is about.
issueType object
description string Prose summary of the record, where one has been written.
suggestedValue stringnull What the reporter believes the value should be.
references array Pages the reporter cited in support.
status object
createdAt string When the record was first added, `YYYY-MM-DD HH:MM:SS` in UTC.
reviewedAt stringnull When staff reviewed it, or null while it is pending.
View JSON Schema on GitHub

JSON Schema

gunspec-io-data-report-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gunspec-io/json-schema/gunspec-io-data-report-schema.json",
  "title": "DataReport",
  "description": "A community-submitted data correction against a firearm.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gunspec-io-account-api-openapi.yml#/components/schemas/DataReport",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Opaque report id."
    },
    "firearmId": {
      "type": "string",
      "description": "Slug of the firearm this row belongs to."
    },
    "section": {
      "type": "string",
      "description": "Which part of the record the report is about."
    },
    "issueType": {
      "$ref": "#/$defs/ReportIssueType"
    },
    "description": {
      "type": "string",
      "description": "Prose summary of the record, where one has been written."
    },
    "suggestedValue": {
      "type": [
        "string",
        "null"
      ],
      "description": "What the reporter believes the value should be."
    },
    "references": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Pages the reporter cited in support."
    },
    "status": {
      "$ref": "#/$defs/ReportStatus"
    },
    "createdAt": {
      "type": "string",
      "description": "When the record was first added, `YYYY-MM-DD HH:MM:SS` in UTC."
    },
    "reviewedAt": {
      "type": [
        "string",
        "null"
      ],
      "description": "When staff reviewed it, or null while it is pending."
    }
  },
  "required": [
    "id",
    "firearmId",
    "section",
    "issueType",
    "description",
    "status"
  ],
  "$defs": {
    "ReportIssueType": {
      "type": "string",
      "enum": [
        "incorrect",
        "missing",
        "outdated"
      ],
      "description": "What a data report says is wrong."
    },
    "ReportStatus": {
      "type": "string",
      "enum": [
        "pending",
        "reviewed",
        "resolved",
        "dismissed"
      ],
      "description": "Lifecycle of a data report."
    }
  }
}

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-data-report"
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.