WordPress\AiClient\Common\Contracts

WithJsonSchemaInterface::getJsonSchemapublic staticWP 0.1.0

Gets the JSON schema representation of the object.

Method of the class: WithJsonSchemaInterface{}

No Hooks.

Returns

Array. mixed> The JSON schema as an associative array.

Usage

$result = WithJsonSchemaInterface::getJsonSchema(): array;

Changelog

Since 0.1.0 Introduced.

WithJsonSchemaInterface::getJsonSchema() code WP 7.0

public static function getJsonSchema(): array;