Agonna · Schema

LocaleIn

What a person tells Agonna about where they are. Every field is optional.

Artificial IntelligencePlatformAgentsIntegrationCollaboration

Properties

Name Type Description
country object ISO 3166-1 alpha-2, e.g. CN, JP, US
region string
city string
lat object
lon object
timezone object IANA, e.g. Asia/Shanghai
currency object ISO 4217, e.g. CNY
languages array
work_hours object
View JSON Schema on GitHub

JSON Schema

agonna-com-locale-in-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-locale-in-schema.json",
  "title": "LocaleIn",
  "description": "What a person tells Agonna about where they are. Every field is optional.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agonna-com-cockpit-api-openapi.yml#/components/schemas/LocaleIn",
  "properties": {
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Country",
      "description": "ISO 3166-1 alpha-2, e.g. CN, JP, US"
    },
    "region": {
      "type": "string",
      "maxLength": 120,
      "title": "Region",
      "default": ""
    },
    "city": {
      "type": "string",
      "maxLength": 120,
      "title": "City",
      "default": ""
    },
    "lat": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 90.0,
          "minimum": -90.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Lat"
    },
    "lon": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 180.0,
          "minimum": -180.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Lon"
    },
    "timezone": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Timezone",
      "description": "IANA, e.g. Asia/Shanghai"
    },
    "currency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Currency",
      "description": "ISO 4217, e.g. CNY"
    },
    "languages": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 12,
      "title": "Languages"
    },
    "work_hours": {
      "anyOf": [
        {
          "$ref": "#/$defs/WorkHours"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": false,
  "type": "object",
  "$defs": {
    "WorkHours": {
      "properties": {
        "start": {
          "type": "string",
          "title": "Start",
          "description": "HH:MM, e.g. 09:00"
        },
        "end": {
          "type": "string",
          "title": "End",
          "description": "HH:MM, e.g. 18:00"
        },
        "days": {
          "items": {
            "type": "integer"
          },
          "type": "array",
          "title": "Days",
          "description": "ISO weekdays: 1 = Monday ... 7 = Sunday"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "start",
        "end"
      ],
      "title": "WorkHours",
      "description": "Usual working hours in the person's own time zone. ``end`` before ``start`` = past midnight."
    }
  }
}

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/agonna-com-locale-in"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.