{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cash-app/main/json-schema/cash-app-grant-alias-request-schema.json",
  "title": "GrantAliasRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cash-app-grants-api-openapi.yml#/components/schemas/GrantAliasRequest",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "Token of the grant to create an alias for"
    },
    "duration": {
      "type": [
        "string",
        "null"
      ],
      "format": "duration",
      "description": "Duration of the grant in ISO-8601 period format"
    }
  },
  "required": [
    "token"
  ]
}