{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hoursquare/json-schema/hoursquare-me-response-schema.json",
  "title": "MeResponse",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hoursquare-openapi.json#/components/schemas/MeResponse",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "principal": {
      "type": "string"
    },
    "id": {
      "type": "string",
      "format": "guid"
    },
    "publicId": {
      "type": [
        "string",
        "null"
      ]
    },
    "companyId": {
      "type": "string",
      "format": "guid"
    },
    "scopes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MeScope"
      }
    },
    "tokenExpiresAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "rateLimit": {
      "$ref": "#/$defs/MeRateLimit"
    },
    "dryRunHeader": {
      "type": "string"
    }
  },
  "$defs": {
    "MeRateLimit": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "requestsPerMinute": {
          "type": "integer",
          "format": "int32"
        },
        "tokenRequestsPerMinute": {
          "type": "integer",
          "format": "int32"
        }
      }
    },
    "MeScope": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "type": "string"
        },
        "permission": {
          "type": "integer",
          "format": "int32"
        },
        "label": {
          "type": "string"
        }
      }
    }
  }
}