WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

ProductAttributeTerms::get_item_schema() public WC 1.0

Get the Attribute's schema, conforming to JSON Schema.

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of ProductAttributeTerms::get_item_schema() WC 5.3.0

<?php
public function get_item_schema() {
	$schema = parent::get_item_schema();
	// Custom attributes substitute slugs for numeric IDs.
	$schema['properties']['id']['type'] = array( 'integer', 'string' );

	return $schema;
}