|
10 | 10 | <table class="attributes"> |
11 | 11 | <tr id="schema-name"> |
12 | 12 | <td> |
13 | | - <code>name</code><br /> |
14 | | - <span class="type"> |
15 | | - string </span> |
| 13 | + <code>name</code> |
16 | 14 | </td> |
17 | 15 | <td> |
18 | 16 | <p>The block name, in namespace/block-name format.</p> |
| 17 | + <p class="type"> |
| 18 | + JSON data type: string </p> |
19 | 19 | <p class="context">Context: <code>view</code></p> |
20 | 20 | </td> |
21 | 21 | </tr> |
22 | 22 | <tr id="schema-title"> |
23 | 23 | <td> |
24 | | - <code>title</code><br /> |
25 | | - <span class="type"> |
26 | | - string </span> |
| 24 | + <code>title</code> |
27 | 25 | </td> |
28 | 26 | <td> |
29 | 27 | <p>The block title, in human readable format.</p> |
| 28 | + <p class="type"> |
| 29 | + JSON data type: string </p> |
30 | 30 | <p class="context">Context: <code>view</code></p> |
31 | 31 | </td> |
32 | 32 | </tr> |
33 | 33 | <tr id="schema-description"> |
34 | 34 | <td> |
35 | | - <code>description</code><br /> |
36 | | - <span class="type"> |
37 | | - string </span> |
| 35 | + <code>description</code> |
38 | 36 | </td> |
39 | 37 | <td> |
40 | 38 | <p>A short description of the block, in human readable format.</p> |
| 39 | + <p class="type"> |
| 40 | + JSON data type: string </p> |
41 | 41 | <p class="context">Context: <code>view</code></p> |
42 | 42 | </td> |
43 | 43 | </tr> |
44 | 44 | <tr id="schema-id"> |
45 | 45 | <td> |
46 | | - <code>id</code><br /> |
47 | | - <span class="type"> |
48 | | - string </span> |
| 46 | + <code>id</code> |
49 | 47 | </td> |
50 | 48 | <td> |
51 | 49 | <p>The block slug.</p> |
| 50 | + <p class="type"> |
| 51 | + JSON data type: string </p> |
52 | 52 | <p class="context">Context: <code>view</code></p> |
53 | 53 | </td> |
54 | 54 | </tr> |
55 | 55 | <tr id="schema-rating"> |
56 | 56 | <td> |
57 | | - <code>rating</code><br /> |
58 | | - <span class="type"> |
59 | | - number </span> |
| 57 | + <code>rating</code> |
60 | 58 | </td> |
61 | 59 | <td> |
62 | 60 | <p>The star rating of the block.</p> |
| 61 | + <p class="type"> |
| 62 | + JSON data type: number </p> |
63 | 63 | <p class="context">Context: <code>view</code></p> |
64 | 64 | </td> |
65 | 65 | </tr> |
66 | 66 | <tr id="schema-rating_count"> |
67 | 67 | <td> |
68 | | - <code>rating_count</code><br /> |
69 | | - <span class="type"> |
70 | | - integer </span> |
| 68 | + <code>rating_count</code> |
71 | 69 | </td> |
72 | 70 | <td> |
73 | 71 | <p>The number of ratings.</p> |
| 72 | + <p class="type"> |
| 73 | + JSON data type: integer </p> |
74 | 74 | <p class="context">Context: <code>view</code></p> |
75 | 75 | </td> |
76 | 76 | </tr> |
77 | 77 | <tr id="schema-active_installs"> |
78 | 78 | <td> |
79 | | - <code>active_installs</code><br /> |
80 | | - <span class="type"> |
81 | | - integer </span> |
| 79 | + <code>active_installs</code> |
82 | 80 | </td> |
83 | 81 | <td> |
84 | 82 | <p>The number sites that have activated this block.</p> |
| 83 | + <p class="type"> |
| 84 | + JSON data type: integer </p> |
85 | 85 | <p class="context">Context: <code>view</code></p> |
86 | 86 | </td> |
87 | 87 | </tr> |
88 | 88 | <tr id="schema-author_block_rating"> |
89 | 89 | <td> |
90 | | - <code>author_block_rating</code><br /> |
91 | | - <span class="type"> |
92 | | - number </span> |
| 90 | + <code>author_block_rating</code> |
93 | 91 | </td> |
94 | 92 | <td> |
95 | 93 | <p>The average rating of blocks published by the same author.</p> |
| 94 | + <p class="type"> |
| 95 | + JSON data type: number </p> |
96 | 96 | <p class="context">Context: <code>view</code></p> |
97 | 97 | </td> |
98 | 98 | </tr> |
99 | 99 | <tr id="schema-author_block_count"> |
100 | 100 | <td> |
101 | | - <code>author_block_count</code><br /> |
102 | | - <span class="type"> |
103 | | - integer </span> |
| 101 | + <code>author_block_count</code> |
104 | 102 | </td> |
105 | 103 | <td> |
106 | 104 | <p>The number of blocks published by the same author.</p> |
| 105 | + <p class="type"> |
| 106 | + JSON data type: integer </p> |
107 | 107 | <p class="context">Context: <code>view</code></p> |
108 | 108 | </td> |
109 | 109 | </tr> |
110 | 110 | <tr id="schema-author"> |
111 | 111 | <td> |
112 | | - <code>author</code><br /> |
113 | | - <span class="type"> |
114 | | - string </span> |
| 112 | + <code>author</code> |
115 | 113 | </td> |
116 | 114 | <td> |
117 | 115 | <p>The WordPress.org username of the block author.</p> |
| 116 | + <p class="type"> |
| 117 | + JSON data type: string </p> |
118 | 118 | <p class="context">Context: <code>view</code></p> |
119 | 119 | </td> |
120 | 120 | </tr> |
121 | 121 | <tr id="schema-icon"> |
122 | 122 | <td> |
123 | | - <code>icon</code><br /> |
124 | | - <span class="type"> |
125 | | - string, |
126 | | - uri |
127 | | - </span> |
| 123 | + <code>icon</code> |
128 | 124 | </td> |
129 | 125 | <td> |
130 | 126 | <p>The block icon.</p> |
| 127 | + <p class="type"> |
| 128 | + JSON data type: string, |
| 129 | + Format: uri |
| 130 | + </p> |
131 | 131 | <p class="context">Context: <code>view</code></p> |
132 | 132 | </td> |
133 | 133 | </tr> |
134 | 134 | <tr id="schema-last_updated"> |
135 | 135 | <td> |
136 | | - <code>last_updated</code><br /> |
137 | | - <span class="type"> |
138 | | - string, |
139 | | - datetime (<a href="https://core.trac.wordpress.org/ticket/41032">details</a>) |
140 | | - </span> |
| 136 | + <code>last_updated</code> |
141 | 137 | </td> |
142 | 138 | <td> |
143 | 139 | <p>The date when the block was last updated.</p> |
| 140 | + <p class="type"> |
| 141 | + JSON data type: string, |
| 142 | + Format: datetime (<a href="https://core.trac.wordpress.org/ticket/41032">details</a>) |
| 143 | + </p> |
144 | 144 | <p class="context">Context: <code>view</code></p> |
145 | 145 | </td> |
146 | 146 | </tr> |
147 | 147 | <tr id="schema-humanized_updated"> |
148 | 148 | <td> |
149 | | - <code>humanized_updated</code><br /> |
150 | | - <span class="type"> |
151 | | - string </span> |
| 149 | + <code>humanized_updated</code> |
152 | 150 | </td> |
153 | 151 | <td> |
154 | 152 | <p>The date when the block was last updated, in fuzzy human readable format.</p> |
| 153 | + <p class="type"> |
| 154 | + JSON data type: string </p> |
155 | 155 | <p class="context">Context: <code>view</code></p> |
156 | 156 | </td> |
157 | 157 | </tr> |
|
0 commit comments