WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API

ProductAttributes::get_item_schema() public WC 1.0

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

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of ProductAttributes::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;
}