/**
* Retrieves the theme's schema, conforming to JSON Schema.
*
* @since 5.5.0
*
* @return array Item schema data.
*/
public function get_item_schema() { if ( $this->schema
) { return $this->
add_additional_fields_schema( $this->schema
);
} $this->schema = array
( '$schema' => 'http://json-schema.org/draft-04/schema#',
'title' => 'block-directory-item',
'type' => 'object',
'properties' => array
( 'name' => array
( 'description' =>
__( 'The block name, in namespace/block-name format.'
),
'type' => 'string',
'context' => array
( 'view'
),
),