WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\API\Reports\Export

Controller::get_export_status_public_schema() public WC 1.0

Get the Export status schema, conforming to JSON Schema.

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

No Hooks.

Return

Array. Nothing.

Usage

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

Code of Controller::get_export_status_public_schema() WC 5.3.0

<?php
public function get_export_status_public_schema() {
	$schema = array(
		'$schema'    => 'http://json-schema.org/draft-04/schema#',
		'title'      => 'report_export_status',
		'type'       => 'object',
		'properties' => array(
			'percent_complete' => array(
				'description' => __( 'Percentage complete.', 'woocommerce' ),
				'type'        => 'int',
				'context'     => array( 'view', 'edit' ),
				'readonly'    => true,
			),
			'download_url'     => array(
				'description' => __( 'Export download URL.', 'woocommerce' ),
				'type'        => 'string',
				'context'     => array( 'view', 'edit' ),
				'readonly'    => true,
			),
		),
	);

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