{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gbg/main/json-schema/gbg-password-grant-request-schema.json",
  "title": "PasswordGrantRequest",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gbg-go-v2-openapi.yml#/components/schemas/PasswordGrantRequest",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string",
      "description": "The client ID assigned to your organization."
    },
    "client_secret": {
      "type": "string",
      "description": "The client secret assigned to your organization."
    },
    "username": {
      "type": "string",
      "description": "The username for API authentication."
    },
    "password": {
      "type": "string",
      "description": "The password for API authentication."
    },
    "grant_type": {
      "type": "string",
      "enum": [
        "password"
      ],
      "description": "Must always be set to 'password'."
    }
  },
  "required": [
    "client_id",
    "client_secret",
    "username",
    "password",
    "grant_type"
  ]
}