# zip-ai/0.0.8/lib/php-mcp-schema/src/Common/Contracts/WithJsonSchemaInterface.php

ZIP AI – AI Website Builder &amp; AI Agent (Beta), version 0.0.8. 21 lines.

- Page: https://pluginprobe.com/plugins/zip-ai/0.0.8/code/lib/php-mcp-schema/src/Common/Contracts/WithJsonSchemaInterface.php
- Raw: https://pluginprobe.com/plugins/zip-ai/0.0.8/raw/lib/php-mcp-schema/src/Common/Contracts/WithJsonSchemaInterface.php
- Modified: 2026-08-17T11:42:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/zip-ai/0.0.8/code/lib/php-mcp-schema/src/Common/Contracts/WithJsonSchemaInterface.php#L10-L20`.

```php
<?php

declare(strict_types=1);

namespace WP\McpSchema\Common\Contracts;

/**
 * Interface for objects that provide their JSON Schema definition.
 *
 * @mcp-version 2025-11-25
 */
interface WithJsonSchemaInterface
{
    /**
     * Returns the JSON Schema definition for this type.
     *
     * @return array<string, mixed> The JSON Schema definition.
     */
    public static function getJsonSchema(): array;
}

```
