Google Drive · Schema

GoogleAppsDriveLabelsV2LabelLimits

Label constraints governing the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.

Cloud StorageCollaborationDocument ManagementDrivesFileGoogleStorage

Properties

Name Type Description
maxDeletedFields integer The maximum number of published fields that can be deleted.
maxFields integer The maximum number of fields allowed within the label.
maxDescriptionLength integer The maximum number of characters allowed for the description.
maxDraftRevisions integer The maximum number of draft revisions that will be kept before deleting old drafts.
maxTitleLength integer The maximum number of characters allowed for the title.
fieldLimits object The limits for fields.
name string Resource name.
View JSON Schema on GitHub

JSON Schema

google-drive-google-apps-drive-labels-v2-label-limits-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-drive/json-schema/google-drive-google-apps-drive-labels-v2-label-limits-schema.json",
  "title": "GoogleAppsDriveLabelsV2LabelLimits",
  "description": "Label constraints governing the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-drive-drivelabels-limits-api-openapi.yml#/components/schemas/GoogleAppsDriveLabelsV2LabelLimits",
  "type": "object",
  "properties": {
    "maxDeletedFields": {
      "format": "int32",
      "type": "integer",
      "description": "The maximum number of published fields that can be deleted."
    },
    "maxFields": {
      "description": "The maximum number of fields allowed within the label.",
      "format": "int32",
      "type": "integer"
    },
    "maxDescriptionLength": {
      "format": "int32",
      "type": "integer",
      "description": "The maximum number of characters allowed for the description."
    },
    "maxDraftRevisions": {
      "description": "The maximum number of draft revisions that will be kept before deleting old drafts.",
      "format": "int32",
      "type": "integer"
    },
    "maxTitleLength": {
      "description": "The maximum number of characters allowed for the title.",
      "format": "int32",
      "type": "integer"
    },
    "fieldLimits": {
      "$ref": "#/$defs/GoogleAppsDriveLabelsV2FieldLimits",
      "description": "The limits for fields."
    },
    "name": {
      "description": "Resource name.",
      "type": "string"
    }
  },
  "$defs": {
    "GoogleAppsDriveLabelsV2DateLimits": {
      "description": "Limits for date field type.",
      "properties": {
        "maxValue": {
          "$ref": "#/$defs/GoogleTypeDate",
          "description": "Maximum value for the date field type."
        },
        "minValue": {
          "$ref": "#/$defs/GoogleTypeDate",
          "description": "Minimum value for the date field type."
        }
      },
      "type": "object"
    },
    "GoogleAppsDriveLabelsV2FieldLimits": {
      "properties": {
        "selectionLimits": {
          "$ref": "#/$defs/GoogleAppsDriveLabelsV2SelectionLimits",
          "description": "Selection field limits."
        },
        "maxIdLength": {
          "type": "integer",
          "description": "Maximum length for the id.",
          "format": "int32"
        },
        "integerLimits": {
          "$ref": "#/$defs/GoogleAppsDriveLabelsV2IntegerLimits",
          "description": "Integer field limits."
        },
        "textLimits": {
          "$ref": "#/$defs/GoogleAppsDriveLabelsV2TextLimits",
          "description": "The relevant limits for the specified Field.Type. Text field limits."
        },
        "maxDescriptionLength": {
          "format": "int32",
          "type": "integer",
          "description": "Limits for field description, also called help text."
        },
        "dateLimits": {
          "$ref": "#/$defs/GoogleAppsDriveLabelsV2DateLimits",
          "description": "Date field limits."
        },
        "maxDisplayNameLength": {
          "format": "int32",
          "type": "integer",
          "description": "Limits for field title."
        },
        "longTextLimits": {
          "$ref": "#/$defs/GoogleAppsDriveLabelsV2LongTextLimits",
          "description": "Long text field limits."
        },
        "userLimits": {
          "$ref": "#/$defs/GoogleAppsDriveLabelsV2UserLimits",
          "description": "User field limits."
        }
      },
      "description": "Field constants governing the structure of a field; such as, the maximum title length, minimum and maximum field values or length, etc.",
      "type": "object"
    },
    "GoogleAppsDriveLabelsV2IntegerLimits": {
      "properties": {
        "maxValue": {
          "format": "int64",
          "description": "Maximum value for an integer field type.",
          "type": "string"
        },
        "minValue": {
          "description": "Minimum value for an integer field type.",
          "type": "string",
          "format": "int64"
        }
      },
      "type": "object",
      "description": "Limits for integer field type."
    },
    "GoogleAppsDriveLabelsV2ListLimits": {
      "description": "Limits for list-variant of a field type.",
      "properties": {
        "maxEntries": {
          "description": "Maximum number of values allowed for the field type.",
          "type": "integer",
          "format": "int32"
        }
      },
      "type": "object"
    },
    "GoogleAppsDriveLabelsV2LongTextLimits": {
      "properties": {
        "minLength": {
          "type": "integer",
          "description": "Minimum length allowed for a long text field type.",
          "format": "int32"
        },
        "maxLength": {
          "format": "int32",
          "description": "Maximum length allowed for a long text field type.",
          "type": "integer"
        }
      },
      "type": "object",
      "description": "Limits for long text field type."
    },
    "GoogleAppsDriveLabelsV2SelectionLimits": {
      "type": "object",
      "properties": {
        "maxDisplayNameLength": {
          "description": "Maximum length for display name.",
          "type": "integer",
          "format": "int32"
        },
        "maxDeletedChoices": {
          "format": "int32",
          "description": "Maximum number of deleted choices.",
          "type": "integer"
        },
        "listLimits": {
          "$ref": "#/$defs/GoogleAppsDriveLabelsV2ListLimits",
          "description": "Limits for list-variant of a field type."
        },
        "maxIdLength": {
          "format": "int32",
          "description": "Maximum ID length for a selection option.",
          "type": "integer"
        },
        "maxChoices": {
          "description": "Maximum number of choices.",
          "type": "integer",
          "format": "int32"
        }
      },
      "description": "Limits for selection field type."
    },
    "GoogleAppsDriveLabelsV2TextLimits": {
      "description": "Limits for text field type.",
      "properties": {
        "minLength": {
          "format": "int32",
          "type": "integer",
          "description": "Minimum length allowed for a text field type."
        },
        "maxLength": {
          "format": "int32",
          "type": "integer",
          "description": "Maximum length allowed for a text field type."
        }
      },
      "type": "object"
    },
    "GoogleAppsDriveLabelsV2UserLimits": {
      "description": "Limits for Field.Type.USER.",
      "properties": {
        "listLimits": {
          "$ref": "#/$defs/GoogleAppsDriveLabelsV2ListLimits",
          "description": "Limits for list-variant of a field type."
        }
      },
      "type": "object"
    },
    "GoogleTypeDate": {
      "description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
      "type": "object",
      "properties": {
        "month": {
          "format": "int32",
          "type": "integer",
          "description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day."
        },
        "day": {
          "type": "integer",
          "format": "int32",
          "description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant."
        },
        "year": {
          "format": "int32",
          "type": "integer",
          "description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year."
        }
      }
    }
  }
}

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/google-drive-google-apps-drive-labels-v2-label-limits"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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