{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/johnson-controls/json-schema/johnson-controls-login-request-schema.json",
  "title": "loginRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/johnson-controls-authentication-api-openapi.yml#/components/schemas/loginRequest",
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "The user name of an account. This can either be a local Metasys\naccount, or an Active Directory account that has been granted access\nto Metasys. When using an Active Directory account, the value should\nbe in the format `{name}@{domain}` (for example,\n`jane-doe@mycorp.com`).\n\n**Note:** Only accounts with an _Access Type_ of `API` can be used to\nrequest a token from the REST API.\n"
    },
    "password": {
      "type": "string",
      "description": "The corresponding password of a Metasys account."
    }
  }
}