{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/clarivate/main/json-schema/clarivate-roalibrary-schema.json",
  "title": "roalibrary",
  "description": "Libray object is a singleton that contains the user limits of space in the library, and a set of URIs to manage any ENWS objects.",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clarivate-endnote-rest-api-api-openapi.yml#/components/schemas/roalibrary",
  "properties": {
    "totalSpace": {
      "format": "int64",
      "description": "Total attachment size allowed to have in User's workspace.A positive Number",
      "readOnly": true,
      "default": 0,
      "type": "integer"
    },
    "attachmentSizeTotalUri": {
      "$ref": "#/$defs/uri"
    },
    "referenceLimit": {
      "format": "int64",
      "description": "Total Amount of groups allowed to have in User's workspace.A positive Number",
      "readOnly": true,
      "default": 0,
      "type": "integer"
    },
    "unlimitedSpace": {
      "description": "As true, the user has unlimited space for attachments. ",
      "readOnly": true,
      "default": false,
      "type": "boolean"
    },
    "referenceTotalUri": {
      "$ref": "#/$defs/uri"
    },
    "reference": {
      "$ref": "#/$defs/uri"
    }
  },
  "type": "object",
  "$defs": {
    "uri": {
      "properties": {
        "system": {
          "description": "As true, POST method is not allowed",
          "readOnly": true,
          "default": false,
          "type": "boolean"
        },
        "readOnly": {
          "description": "As true, PUT method is not allowed",
          "readOnly": true,
          "default": false,
          "type": "boolean"
        },
        "idValue": {
          "description": "Unique Identifier of a pointed resource",
          "readOnly": true,
          "type": "string"
        },
        "hidden": {
          "description": "As true, GET method is not allowed",
          "readOnly": true,
          "default": false,
          "type": "boolean"
        },
        "mandatory": {
          "description": "As true, DELETE method is not allowed",
          "readOnly": true,
          "default": false,
          "type": "boolean"
        },
        "display": {
          "description": "Name of the resource to show users",
          "readOnly": true,
          "type": "string"
        },
        "uri": {
          "description": "URL pointing to a resource",
          "readOnly": true,
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}