d d d @ ? y@ d @ U "d 0d @d Xd 2d | *!d +!d S @*!d -d ﻷKwP2d d ` d d d X d d xd d d d d d Hd d d d @ 7 2d | `d +d S @!d x2d ﻷKw2d Hd @ "d `d pd @ U PBz@ 8d d d d d @ z@ Pq d /LNs,d @ OKȷ d fw,d @ Tp M)d >(1 Y*d d d d d @ ` @ @ /7* -d t5mqQx/)d On1 @+d @ >{Xd ;N-d CQBHd $ mv }ހd , w鄪d Pd (d d d d @ y@ d @ ؾd d d @ 0 PBz@ d 0d Hd xd `d @ = @ d sd @ P !d d d d @ p y@ (d @ ` !d @d Pd @ U PBz@ d hd d d d @ @ d @ "j:U !d d d 8d @ U y@ `d @ ` !d xd d @ 7PBz@ Pd d d d d ` d (d ` d 7 1 d ވS d Ezpd ʷ|@d PBz@ ]2p1Ȫd G%0d d d 0d d d }@? @d d 7d P P 7@ U @ d @ ` (d @ U @ `d Hd xd 8d d j:U * @ U &@ d @ PBz@ d (d @ Pz@ Xd @ U xd pd d d @ U @ d d j:U d d 7U @ &@ Pd @ 7d hd xd d d P d 7U ` @ '@ d @ 8 d @ &@ 1 )d @ U X@ @ + pFz@ d d `d Hd d d `d Hd d @ @ @ xd 0d @ @ 1 (d d `d ontext ); return rest_ensure_response( $data ); } /** * Retrieves the block pattern schema, conforming to JSON Schema. * * @since 6.0.0 * * @return array Item schema data. */ public function get_item_schema() { $schema = array( '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' => 'block-pattern', 'type' => 'object', 'properties' => array( 'name' => array( 'description' => __( 'The pattern name.' ), 'type' => 'string', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), 'title' => array( 'description' => __( 'The pattern title, in human readable format.' ), 'type' => 'string', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), 'description' => array( 'description' => __( 'The pattern detailed description.' ), 'type' => 'string', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), 'viewport_width' => array( 'description' => __( 'The pattern viewport width for inserter preview.' ), 'type' => 'number', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), 'block_types' => array( 'description' => __( 'Block types that the pattern is intended to be used with.' ), 'type' => 'array', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), 'categories' => array( 'description' => __( 'The pattern category slugs.' ), 'type' => 'array', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), 'keywords' => array( 'description' => __( 'The pattern keywords.' ), 'type' => 'array', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), 'content' => array( 'description' => __( 'The pattern content.' ), 'type' => 'string', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), 'inserter' => array( 'description' => __( 'Determines whether the pattern is visible in inserter.' ), 'type' => 'boolean', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), ), ), ); return $this->add_additional_fields_schema( $schema ); } }