FOLIO · Schema

Tenant Schema

Tenant information

CompanyLibrariesLibrary Services PlatformOpen SourceMicroservicesEducation

Properties

Name Type Description
id string A UUID identifying this attribute
name string Tenant name
description string Tenant description
type object Tenant type
secure boolean The flag shows whether the particular tenant is secure or not
attributes array List of tenant attributes
metadata object
View JSON Schema on GitHub

JSON Schema

folio-tenant-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/folio/main/json-schema/folio-tenant-schema.json",
  "title": "Tenant Schema",
  "description": "Tenant information",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/folio-mgr-tenants-openapi.yml#/components/schemas/tenant",
  "id": "tenant.json",
  "type": "object",
  "x-implements": [
    "org.folio.tm.domain.entity.base.Identifiable"
  ],
  "properties": {
    "id": {
      "description": "A UUID identifying this attribute",
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "description": "Tenant name",
      "type": "string",
      "pattern": "[a-z][a-z0-9_]{0,29}[a-z0-9]"
    },
    "description": {
      "description": "Tenant description",
      "type": "string"
    },
    "type": {
      "description": "Tenant type",
      "$ref": "#/$defs/tenantType"
    },
    "secure": {
      "description": "The flag shows whether the particular tenant is secure or not",
      "type": "boolean"
    },
    "attributes": {
      "description": "List of tenant attributes",
      "type": "array",
      "items": {
        "$ref": "#/$defs/tenantAttribute"
      }
    },
    "metadata": {
      "$ref": "#/$defs/metadata"
    }
  },
  "additionalProperties": false,
  "required": [
    "name"
  ],
  "$defs": {
    "metadata": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "title": "Metadata Schema",
      "description": "Metadata about creation and changes to records, provided by the server (client should not provide)",
      "type": "object",
      "properties": {
        "createdDate": {
          "description": "Date and time when the record was created",
          "type": "string",
          "format": "date-time"
        },
        "createdBy": {
          "description": "ID of the user who created the record (when available)",
          "type": "string",
          "format": "uuid"
        },
        "modifiedDate": {
          "description": "Date and time when the record was last updated",
          "type": "string",
          "format": "date-time"
        },
        "modifiedBy": {
          "description": "ID of the user who last updated the record (when available)",
          "type": "string",
          "format": "uuid"
        }
      },
      "additionalProperties": false,
      "required": [
        "createdDate"
      ]
    },
    "tenantAttribute": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "id": "tenantAttribute.json",
      "title": "Tenant Attribute Schema",
      "description": "Tenant attribute",
      "type": "object",
      "x-implements": [
        "org.folio.tm.domain.entity.base.Identifiable"
      ],
      "properties": {
        "id": {
          "description": "A UUID identifying this attribute",
          "type": "string",
          "format": "uuid"
        },
        "key": {
          "description": "Key for this attribute",
          "type": "string"
        },
        "value": {
          "description": "Value for this attribute",
          "type": "string"
        },
        "metadata": {
          "$ref": "#/$defs/metadata"
        }
      },
      "additionalProperties": false,
      "required": [
        "key",
        "value"
      ]
    },
    "tenantType": {
      "$schema": "http://json-schema.org/draft-04/schema#",
      "id": "tenantType.json",
      "title": "Tenant Type Schema",
      "description": "Tenant type",
      "default": "default",
      "type": "string",
      "enum": [
        "default",
        "virtual"
      ],
      "x-enum-varnames": [
        "DEFAULT",
        "VIRTUAL"
      ]
    }
  }
}

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/folio-tenant"
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.