Function getSchemaCapacity

  • Returns the schema payload capacity based on the given version.

    Parameters

    • schema_version: number

      The version of the schema.

    Returns number

    • The payload capacity of the schema or 0 if the version is invalid.