You appear to be a bot. Output may be restricted
Description
Get the Report Export's schema, conforming to JSON Schema.
Usage
$array = Controller::get_export_public_schema();
Parameters
Returns
array
Source
File name: woocommerce/packages/woocommerce-admin/src/API/Reports/Export/Controller.php
Lines:
1 to 30 of 30
public function get_export_public_schema() { $schema = array( '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' => 'report_export', 'type' => 'object', 'properties' => array( 'status' => array( 'description' => __( 'Export status.', 'woocommerce' ), 'type' => 'string', 'context' => array( 'view', 'edit' ), 'readonly' => true, ), 'message' => array( 'description' => __( 'Export status message.', 'woocommerce' ), 'type' => 'string', 'context' => array( 'view', 'edit' ), 'readonly' => true, ), 'export_id' => array( 'description' => __( 'Export ID.', 'woocommerce' ), 'type' => 'string', 'context' => array( 'view', 'edit' ), 'readonly' => true, ), ), ); return $this->add_additional_fields_schema( $schema ); }