{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-platform-oauths-controller-tokens-body-schema.json",
  "title": "OAuth",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hint-health-oauth-api-openapi.yml#/components/schemas/Platform.OauthsController.tokens_body",
  "type": "object",
  "properties": {
    "grant_type": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "activate": {
      "type": "boolean",
      "description": "Defaults to true. Pass false to keep the integration pending after token exchange."
    }
  },
  "required": [
    "grant_type",
    "code"
  ]
}