public function get_item_schema() {
		$options = $this->get_registered_options();

		$schema = array(
			'$schema'    => 'http://json-schema.org/draft-04/schema#',
			'title'      => 'settings',
			'type'       => 'object',
			'properties' => array(),
		);

		foreach ( $options as $option_name => $option ) {
			$schema['properties'][ $option_name ] = $option['schema'];
		}

		return $this->add_additional_fields_schema( $schema );
	}
public function get_item_schema() {
		$options = $this->get_registered_options();

		$schema = array(
			'$schema'    => 'http://json-schema.org/draft-04/schema#',
			'title'      => 'settings',
			'type'       => 'object',
			'properties' => array(),
		);

		foreach ( $options as $option_name => $option ) {
			$schema['properties'][ $option_name ] = $option['schema'];
		}

		return $this->add_additional_fields_schema( $schema );
	}
public function get_item_schema ( ) { $ options = $ this -> get_registered_options ( ) ; $ schema = array ( '$schema' => 'http://json-schema.org/draft-04/schema#' , 'title' => 'settings' , 'type' => 'object' , 'properties' => array ( ) , ) ; foreach ( $ options as $ option_name => $ option ) { $ schema [ 'properties' ] [ $ option_name ] = $ option [ 'schema' ] ; } return $ this -> add_additional_fields_schema ( $ schema ) ; }
Get the site setting schema, conforming to JSON Schema.

@return array
Get the site setting schema conforming to JSON Schema .