← Back
Editing: String_List_Schema.php
<?php /** * Class Google\Site_Kit\Core\REST_API\Schema\String_List_Schema * * @package Google\Site_Kit\Core\REST_API\Schema * @copyright 2026 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\REST_API\Schema; /** * Class for the REST schema of a list of strings. * * @since 1.193.0 * @access private * @ignore */ final class String_List_Schema { /** * Gets the REST schema of a list of strings. * * @since 1.193.0 * * @return array REST schema. */ public static function get() { return array( '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' => 'string-list', 'description' => __( 'A list of strings.', 'google-site-kit' ), 'type' => 'array', 'items' => array( 'type' => 'string', ), ); } }
Save File
Cancel