IdentityResource

Fields returned by /resource.php. Which fields appear depends on the scopes the data-owning unit approved for the client under the OAuth service management policy.

EducationHigher EducationUniversityTaiwanPublic Research UniversityIdentityAuthenticationOpen DataCampusCourse CatalogResearch RepositoryLibraryIdentity Federation

Properties

Name Type Description
success boolean Whether authentication succeeded.
userid string NTHU account identifier.
otp boolean Whether the account has one-time-password enabled.
inschool boolean True for currently employed, enrolled or reinstated accounts; false for departed, graduated, withdrawn or visiting-student accounts.
name string Chinese name.
name_en string English name.
email string
lmsid string Learning-management-platform account identifier.
cid string National identification number. Personally identifiable; release is gated on approval by the data-owning unit under Taiwan's Personal Data Protection Act.
View JSON Schema on GitHub

JSON Schema

nthu-identity-resource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nthu/main/json-schema/nthu-identity-resource-schema.json",
  "title": "IdentityResource",
  "description": "Fields returned by /resource.php. Which fields appear depends on the scopes the data-owning unit approved for the client under the OAuth service management policy.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nthu-oauth-api-openapi.yml#/components/schemas/IdentityResource",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Whether authentication succeeded."
    },
    "userid": {
      "type": "string",
      "description": "NTHU account identifier."
    },
    "otp": {
      "type": "boolean",
      "description": "Whether the account has one-time-password enabled."
    },
    "inschool": {
      "type": "boolean",
      "description": "True for currently employed, enrolled or reinstated accounts; false for departed, graduated, withdrawn or visiting-student accounts."
    },
    "name": {
      "type": "string",
      "description": "Chinese name."
    },
    "name_en": {
      "type": "string",
      "description": "English name."
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "lmsid": {
      "type": "string",
      "description": "Learning-management-platform account identifier."
    },
    "cid": {
      "type": "string",
      "description": "National identification number. Personally identifiable; release is gated on approval by the data-owning unit under Taiwan's Personal Data Protection Act."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/nthu-identity-resource"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.