Skip to content

Validates the supplied schema

Description

Validates the supplied schema. This call has no side effects, it simply validates using the supplied schema using DataFormat as the format. Since it does not take a schema set name, no compatibility checks are performed.

Usage

glue_check_schema_version_validity(DataFormat, SchemaDefinition)

Arguments

  • DataFormat

    [required] The data format of the schema definition. Currently AVRO, JSON and PROTOBUF are supported.

  • SchemaDefinition

    [required] The definition of the schema that has to be validated.

Value

A list with the following syntax:

list(
  Valid = TRUE|FALSE,
  Error = "string"
)

Request syntax

svc$check_schema_version_validity(
  DataFormat = "AVRO"|"JSON"|"PROTOBUF",
  SchemaDefinition = "string"
)