WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports\Import

Controller::get_import_public_schema() public WC 1.0

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

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

No Hooks.

Return

Array. Nothing.

Usage

$Controller = new Controller();
$Controller->get_import_public_schema();

Code of Controller::get_import_public_schema() WC 5.3.0

<?php
public function get_import_public_schema() {
	$schema = array(
		'$schema'    => 'http://json-schema.org/draft-04/schema#',
		'title'      => 'report_import',
		'type'       => 'object',
		'properties' => array(
			'status'  => array(
				'description' => __( 'Regeneration status.', 'woocommerce' ),
				'type'        => 'string',
				'context'     => array( 'view', 'edit' ),
				'readonly'    => true,
			),
			'message' => array(
				'description' => __( 'Regenerate data message.', 'woocommerce' ),
				'type'        => 'string',
				'context'     => array( 'view', 'edit' ),
				'readonly'    => true,
			),
		),
	);

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