Taylor's University · Schema
Koha Patron
A library patron (borrower) record from the Taylor's Library Koha REST API.
EducationHigher EducationUniversityPrivate UniversityMalaysiaAsiaLibraryLibrary CatalogInstitutional RepositoryResearch DataOAI-PMHIdentity FederationKohaDSpace
Properties
| Name | Type | Description |
|---|---|---|
| patron_id | integer | Internal patron identifier |
| cardnumber | stringnull | Library assigned user identifier |
| category_id | string | Internal identifier for the patron's category |
| library_id | string | Internal identifier for the patron's home library |
| firstname | stringnull | Patron's first name |
| surname | stringnull | Patron's surname or last name |
| preferred_name | stringnull | Patron's preferred name |
| stringnull | Primary email address | |
| phone | stringnull | Primary phone number |
| mobile | stringnull | Mobile phone number |
| date_of_birth | stringnull | Patron's date of birth |
| date_enrolled | stringnull | Date the patron was added to Koha |
| expiry_date | stringnull | Date the patron's card expires |
| city | stringnull | City or town of primary address |
| country | stringnull | Country of primary address |
| postal_code | stringnull | Zip or postal code |
| lang | string | Language used to send notices |
| checkouts_count | integernull | Number of checkouts |
| overdues_count | integernull | Number of overdue checkouts |
| account_balance | numbernull | Balance of the patron's account |
| expired | boolean | If the patron is expired |
| restricted | boolean | If any restriction applies to the patron |
| updated_on | stringnull | Last modification date |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/taylors/main/json-schema/taylors-patron-schema.json",
"title": "Koha Patron",
"description": "A library patron (borrower) record from the Taylor's Library Koha REST API.",
"type": "object",
"additionalProperties": false,
"required": ["patron_id", "category_id", "library_id", "lang"],
"properties": {
"patron_id": { "type": "integer", "description": "Internal patron identifier" },
"cardnumber": { "type": ["string", "null"], "maxLength": 32, "description": "Library assigned user identifier" },
"category_id": { "type": "string", "maxLength": 10, "description": "Internal identifier for the patron's category" },
"library_id": { "type": "string", "maxLength": 10, "description": "Internal identifier for the patron's home library" },
"firstname": { "type": ["string", "null"], "description": "Patron's first name" },
"surname": { "type": ["string", "null"], "description": "Patron's surname or last name" },
"preferred_name": { "type": ["string", "null"], "description": "Patron's preferred name" },
"email": { "type": ["string", "null"], "description": "Primary email address" },
"phone": { "type": ["string", "null"], "description": "Primary phone number" },
"mobile": { "type": ["string", "null"], "description": "Mobile phone number" },
"date_of_birth": { "type": ["string", "null"], "format": "date", "description": "Patron's date of birth" },
"date_enrolled": { "type": ["string", "null"], "format": "date", "description": "Date the patron was added to Koha" },
"expiry_date": { "type": ["string", "null"], "format": "date", "description": "Date the patron's card expires" },
"city": { "type": ["string", "null"], "description": "City or town of primary address" },
"country": { "type": ["string", "null"], "description": "Country of primary address" },
"postal_code": { "type": ["string", "null"], "description": "Zip or postal code" },
"lang": { "type": "string", "maxLength": 25, "description": "Language used to send notices" },
"checkouts_count": { "type": ["integer", "null"], "description": "Number of checkouts" },
"overdues_count": { "type": ["integer", "null"], "description": "Number of overdue checkouts" },
"account_balance": { "type": ["number", "null"], "description": "Balance of the patron's account" },
"expired": { "type": "boolean", "readOnly": true, "description": "If the patron is expired" },
"restricted": { "type": "boolean", "readOnly": true, "description": "If any restriction applies to the patron" },
"updated_on": { "type": ["string", "null"], "format": "date-time", "description": "Last modification date" }
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/taylors-patron"
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.