WordPress\AiClient\Common\Contracts
WithJsonSchemaInterface::getJsonSchema
Gets the JSON schema representation of the object.
Method of the class: WithJsonSchemaInterface{}
No Hooks.
Returns
array<string, mixed>. The JSON schema as an associative array.
Usage
$result = WithJsonSchemaInterface::getJsonSchema(): array;
Changelog
| Since 0.1.0 | Introduced. |
WithJsonSchemaInterface::getJsonSchema() WithJsonSchemaInterface::getJsonSchema code WP 7.1.2
public static function getJsonSchema(): array;