WordPress at a glance
function is not described

WC_REST_Shipping_Zone_Methods_Controller::get_item_schema() public WC 1.0

Get the settings schema, conforming to JSON Schema.

{} It's a method of the class: WC_REST_Shipping_Zone_Methods_Controller{}

No Hooks.

Return

Array. Nothing.

Usage

$WC_REST_Shipping_Zone_Methods_Controller = new WC_REST_Shipping_Zone_Methods_Controller();
$WC_REST_Shipping_Zone_Methods_Controller->get_item_schema();

Code of WC_REST_Shipping_Zone_Methods_Controller::get_item_schema() WC 5.3.0

<?php
public function get_item_schema() {
	// Get parent schema to append additional supported settings types for shipping zone method.
	$schema = parent::get_item_schema();

	// Append additional settings supported types (class, order).
	$schema['properties']['settings']['properties']['type']['enum'][] = 'class';
	$schema['properties']['settings']['properties']['type']['enum'][] = 'order';

	return $this->add_additional_fields_schema( $schema );
}