The JSON code you've provided is not a correct JSON schema for the ZipCode entity.
The properties section in a JSON schema should define the types and descriptions of the fields,
not the actual data values. What you've shared looks more like a single data record (an instance) of
the ZipCode entity, but wrapped within a schema definition structure.
The correct JSON schema for the ZipCode entity, as it is defined in the app, is:
{
"name": "ZipCode",
"type": "object",
"properties": {
"zip_code": {
"type": "string",
"description": "The zip code (e.g., '10001')"
},
"city": {
"type": "string",
"description": "Primary city name for this zip code"
},
"state": {
"type": "string",
"description": "State abbreviation (e.g., 'NY', 'CA')"
},
"state_full": {
"type": "string",
"description": "Full state name (e.g., 'New York', 'California')"
},
"population": {
"type": "number",
"description": "Current population count for this zip code"
},
"latitude": {
"type": "number",
"description": "Latitude coordinate for this zip code center"
},
"longitude": {
"type": "number",
"description": "Longitude coordinate for this zip code center"
},
"last_updated": {
"type": "string",
"format": "date",
"description": "Date when population data was last updated"
}
},
"required": [
"zip_code",
"state",
"population"
]
}
If you intended to provide a data record for a specific zip code (an instance of the ZipCode entity), it
would look like this:
{
"zip_code": "90027",
"city": "Los Angeles",
"state": "CA",
"state_full": "California",
"population": 44645,
"latitude": 34.0969,
"longitude": -118.2636,
"last_updated": "2025-07-23"
}