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
}