validateSchema

The validateSchema service validates the structure and syntax of a schema definition (type, content, and references).

Input Parameters

type (String, optional) The schema type. Currently supports "AVRO". If not specified, defaults to AVRO.
content (String, required) The schema definition/content to validate.
references (Record list, optional) Array of schema references, each containing:
name (String, required) The reference name.
subject (String, required) The subject of the referenced schema.
version (Integer, required) The version of the referenced schema.
$connectionName (String, required) Name of the Kafka connection configured with the Confluent Schema Registry.

Output Parameters

valid (Boolean, required) Returns true if the schema is syntactically valid, false otherwise.
message (String, required) The response message returned after the service execution, including validation error details if invalid.