# gutenberg/10.7.3/lib/interface-wp-theme-json-schema.php

Gutenberg, version 10.7.3. 24 lines.

- Page: https://pluginprobe.com/plugins/gutenberg/10.7.3/code/lib/interface-wp-theme-json-schema.php
- Raw: https://pluginprobe.com/plugins/gutenberg/10.7.3/raw/lib/interface-wp-theme-json-schema.php
- Modified: 2021-04-28T21:13:32+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/gutenberg/10.7.3/code/lib/interface-wp-theme-json-schema.php#L10-L20`.

```php
<?php
/**
 * Schema interface for theme.json structures.
 *
 * @package gutenberg
 */

/**
 * Schema interface for theme.json structures.
 *
 * @package gutenberg
 */
interface WP_Theme_JSON_Schema {
	/**
	 * Parses an array that follows an old theme.json schema
	 * into the latest theme.json schema.
	 *
	 * @param array $theme_json Old data to convert.
	 *
	 * @return array The data in the latest theme.json schema.
	 */
	public static function parse( $theme_json );
}

```
