Rotageek · Schema

Rotageek.AspNetCore.PublicApi.Models.CreateLocationModel

Object container for location creation

CompanyWorkforce ManagementSchedulingAI InsightsHR Integration

Properties

Name Type Description
id string New unique location id (max length: 250)
name string Name of the new location (max length: 200)
region object
addressLine1 stringnull Address line 1 of the new location (max length: 200)
addressLine2 stringnull Address line 2 of the new location (max length: 200)
town stringnull Town of the new location (max length: 200)
country stringnull Country of the new location (max length: 200)
postcode stringnull Post code of the new location (max length: 10)
hierarchy objectnull A sequence (non-ordered) of cluster item specified as "tier-name": "cluster-name" Example: { "Country": "England", "City": "London", "Area": "West End" }
coordinates object
View JSON Schema on GitHub

JSON Schema

rotageek-rotageek-asp-net-core-public-api-models-create-location-model-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rotageek/json-schema/rotageek-rotageek-asp-net-core-public-api-models-create-location-model-schema.json",
  "title": "Rotageek.AspNetCore.PublicApi.Models.CreateLocationModel",
  "description": "Object container for location creation",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rotageek-locations-api-openapi.yml#/components/schemas/Rotageek.AspNetCore.PublicApi.Models.CreateLocationModel",
  "required": [
    "id",
    "name",
    "region"
  ],
  "type": "object",
  "properties": {
    "id": {
      "minLength": 1,
      "type": "string",
      "description": "New unique location id (max length: 250)"
    },
    "name": {
      "maxLength": 200,
      "minLength": 1,
      "type": "string",
      "description": "Name of the new location (max length: 200)"
    },
    "region": {
      "$ref": "#/$defs/Rotageek.AspNetCore.PublicApi.Models.LocationRegion"
    },
    "addressLine1": {
      "maxLength": 200,
      "type": [
        "string",
        "null"
      ],
      "description": "Address line 1 of the new location (max length: 200)"
    },
    "addressLine2": {
      "maxLength": 200,
      "type": [
        "string",
        "null"
      ],
      "description": "Address line 2 of the new location (max length: 200)"
    },
    "town": {
      "maxLength": 200,
      "type": [
        "string",
        "null"
      ],
      "description": "Town of the new location (max length: 200)"
    },
    "country": {
      "maxLength": 200,
      "type": [
        "string",
        "null"
      ],
      "description": "Country of the new location (max length: 200)"
    },
    "postcode": {
      "maxLength": 10,
      "type": [
        "string",
        "null"
      ],
      "description": "Post code of the new location (max length: 10)"
    },
    "hierarchy": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "A sequence (non-ordered) of cluster item specified as \"tier-name\": \"cluster-name\"\nExample:\n{\n    \"Country\": \"England\",\n    \"City\": \"London\",\n    \"Area\": \"West End\"\n}"
    },
    "coordinates": {
      "$ref": "#/$defs/Rotageek.AspNetCore.PublicApi.Models.LocationCoordinates"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Rotageek.AspNetCore.PublicApi.Models.LocationCoordinates": {
      "type": "object",
      "properties": {
        "latitude": {
          "maximum": 90,
          "minimum": -90,
          "type": "number",
          "description": "Location latitude. Valid range -90 to 90.",
          "format": "double"
        },
        "longitude": {
          "maximum": 180,
          "minimum": -180,
          "type": "number",
          "description": "Location longitude. Valid range -180 to 180.",
          "format": "double"
        }
      },
      "additionalProperties": false
    },
    "Rotageek.AspNetCore.PublicApi.Models.LocationRegion": {
      "enum": [
        "England",
        "Scotland",
        "NorthernIreland",
        "Wales",
        "AustraliaMelbourne",
        "Ireland",
        "Germany",
        "Netherlands",
        "HongKong"
      ],
      "type": "string",
      "description": "Describes available regions for the location"
    }
  }
}

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/rotageek-rotageek-asp-net-core-public-api-models-create-location-model"
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.