SAM.gov · Schema

SAM.gov City

A city record from the SAM.gov Public Location Services API

Federal GovernmentProcurementContractsEntity ManagementLocation ServicesGSA

Properties

Name Type Description
cityCode string Unique city code identifier in SAM.gov
cityName string Full city name
stateCode string State or province code
stateName string Full state or province name
countyCode string County code
countyName string County name
countryCode string ISO 3166-1 alpha-2 country code (e.g. US)
countryName string Full country name
activeInd string Whether this city record is active (Y) or inactive (N)
View JSON Schema on GitHub

JSON Schema

sam-gov-city-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/sam.gov/json-schema/sam-gov-city-schema.json",
  "title": "SAM.gov City",
  "description": "A city record from the SAM.gov Public Location Services API",
  "type": "object",
  "properties": {
    "cityCode": {
      "type": "string",
      "description": "Unique city code identifier in SAM.gov"
    },
    "cityName": {
      "type": "string",
      "description": "Full city name"
    },
    "stateCode": {
      "type": "string",
      "description": "State or province code"
    },
    "stateName": {
      "type": "string",
      "description": "Full state or province name"
    },
    "countyCode": {
      "type": "string",
      "description": "County code"
    },
    "countyName": {
      "type": "string",
      "description": "County name"
    },
    "countryCode": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code (e.g. US)"
    },
    "countryName": {
      "type": "string",
      "description": "Full country name"
    },
    "activeInd": {
      "type": "string",
      "enum": ["Y", "N"],
      "description": "Whether this city record is active (Y) or inactive (N)"
    }
  },
  "required": ["cityCode", "cityName", "countryCode"],
  "additionalProperties": false
}

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/sam-gov-city"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.