|
| 1 | +{ |
| 2 | + "$schema": "http://json-schema.org/draft-07/schema#", |
| 3 | + "type": "object", |
| 4 | + "properties": { |
| 5 | + "site": { |
| 6 | + "type": "object", |
| 7 | + "properties": { |
| 8 | + "name": { |
| 9 | + "type": "string" |
| 10 | + }, |
| 11 | + "site": { |
| 12 | + "type": "string" |
| 13 | + }, |
| 14 | + "base": { |
| 15 | + "type": "string" |
| 16 | + }, |
| 17 | + "trailingSlash": { |
| 18 | + "type": "boolean" |
| 19 | + }, |
| 20 | + "googleSiteVerificationId": { |
| 21 | + "type": "string" |
| 22 | + } |
| 23 | + }, |
| 24 | + "required": ["name", "site", "base", "trailingSlash"], |
| 25 | + "additionalProperties": false |
| 26 | + }, |
| 27 | + "metadata": { |
| 28 | + "type": "object", |
| 29 | + "properties": { |
| 30 | + "title": { |
| 31 | + "type": "object", |
| 32 | + "properties": { |
| 33 | + "default": { |
| 34 | + "type": "string" |
| 35 | + }, |
| 36 | + "template": { |
| 37 | + "type": "string" |
| 38 | + } |
| 39 | + }, |
| 40 | + "required": ["default", "template"] |
| 41 | + }, |
| 42 | + "description": { |
| 43 | + "type": "string" |
| 44 | + }, |
| 45 | + "robots": { |
| 46 | + "type": "object", |
| 47 | + "properties": { |
| 48 | + "index": { |
| 49 | + "type": "boolean" |
| 50 | + }, |
| 51 | + "follow": { |
| 52 | + "type": "boolean" |
| 53 | + } |
| 54 | + }, |
| 55 | + "required": ["index", "follow"] |
| 56 | + }, |
| 57 | + "openGraph": { |
| 58 | + "type": "object", |
| 59 | + "properties": { |
| 60 | + "site_name": { |
| 61 | + "type": "string" |
| 62 | + }, |
| 63 | + "images": { |
| 64 | + "type": "array", |
| 65 | + "items": [ |
| 66 | + { |
| 67 | + "type": "object", |
| 68 | + "properties": { |
| 69 | + "url": { |
| 70 | + "type": "string" |
| 71 | + }, |
| 72 | + "width": { |
| 73 | + "type": "integer" |
| 74 | + }, |
| 75 | + "height": { |
| 76 | + "type": "integer" |
| 77 | + } |
| 78 | + }, |
| 79 | + "required": ["url", "width", "height"] |
| 80 | + } |
| 81 | + ] |
| 82 | + }, |
| 83 | + "type": { |
| 84 | + "type": "string" |
| 85 | + } |
| 86 | + }, |
| 87 | + "required": ["site_name", "images", "type"] |
| 88 | + }, |
| 89 | + "twitter": { |
| 90 | + "type": "object", |
| 91 | + "properties": { |
| 92 | + "handle": { |
| 93 | + "type": "string" |
| 94 | + }, |
| 95 | + "site": { |
| 96 | + "type": "string" |
| 97 | + }, |
| 98 | + "cardType": { |
| 99 | + "type": "string" |
| 100 | + } |
| 101 | + }, |
| 102 | + "required": ["handle", "site", "cardType"] |
| 103 | + } |
| 104 | + }, |
| 105 | + "required": ["title", "description", "robots", "openGraph", "twitter"] |
| 106 | + }, |
| 107 | + "i18n": { |
| 108 | + "type": "object", |
| 109 | + "properties": { |
| 110 | + "language": { |
| 111 | + "type": "string" |
| 112 | + }, |
| 113 | + "textDirection": { |
| 114 | + "type": "string" |
| 115 | + } |
| 116 | + }, |
| 117 | + "required": ["language", "textDirection"] |
| 118 | + }, |
| 119 | + "apps": { |
| 120 | + "type": "object", |
| 121 | + "properties": { |
| 122 | + "blog": { |
| 123 | + "type": "object", |
| 124 | + "properties": { |
| 125 | + "isEnabled": { |
| 126 | + "type": "boolean" |
| 127 | + }, |
| 128 | + "postsPerPage": { |
| 129 | + "type": "integer" |
| 130 | + }, |
| 131 | + "isRelatedPostsEnabled": { |
| 132 | + "type": "boolean" |
| 133 | + }, |
| 134 | + "relatedPostsCount": { |
| 135 | + "type": "integer" |
| 136 | + }, |
| 137 | + "post": { |
| 138 | + "type": "object", |
| 139 | + "properties": { |
| 140 | + "isEnabled": { |
| 141 | + "type": "boolean" |
| 142 | + }, |
| 143 | + "permalink": { |
| 144 | + "type": "string" |
| 145 | + }, |
| 146 | + "robots": { |
| 147 | + "type": "object", |
| 148 | + "properties": { |
| 149 | + "index": { |
| 150 | + "type": "boolean" |
| 151 | + }, |
| 152 | + "follow": { |
| 153 | + "type": "boolean" |
| 154 | + } |
| 155 | + }, |
| 156 | + "required": ["index"] |
| 157 | + } |
| 158 | + }, |
| 159 | + "required": ["isEnabled", "permalink", "robots"] |
| 160 | + }, |
| 161 | + "list": { |
| 162 | + "type": "object", |
| 163 | + "properties": { |
| 164 | + "isEnabled": { |
| 165 | + "type": "boolean" |
| 166 | + }, |
| 167 | + "pathname": { |
| 168 | + "type": "string" |
| 169 | + }, |
| 170 | + "robots": { |
| 171 | + "type": "object", |
| 172 | + "properties": { |
| 173 | + "index": { |
| 174 | + "type": "boolean" |
| 175 | + }, |
| 176 | + "follow": { |
| 177 | + "type": "boolean" |
| 178 | + } |
| 179 | + }, |
| 180 | + "required": ["index"] |
| 181 | + } |
| 182 | + }, |
| 183 | + "required": ["isEnabled", "pathname", "robots"] |
| 184 | + }, |
| 185 | + "category": { |
| 186 | + "type": "object", |
| 187 | + "properties": { |
| 188 | + "isEnabled": { |
| 189 | + "type": "boolean" |
| 190 | + }, |
| 191 | + "pathname": { |
| 192 | + "type": "string" |
| 193 | + }, |
| 194 | + "robots": { |
| 195 | + "type": "object", |
| 196 | + "properties": { |
| 197 | + "index": { |
| 198 | + "type": "boolean" |
| 199 | + }, |
| 200 | + "follow": { |
| 201 | + "type": "boolean" |
| 202 | + } |
| 203 | + }, |
| 204 | + "required": ["index"] |
| 205 | + } |
| 206 | + }, |
| 207 | + "required": ["isEnabled", "pathname", "robots"] |
| 208 | + }, |
| 209 | + "tag": { |
| 210 | + "type": "object", |
| 211 | + "properties": { |
| 212 | + "isEnabled": { |
| 213 | + "type": "boolean" |
| 214 | + }, |
| 215 | + "pathname": { |
| 216 | + "type": "string" |
| 217 | + }, |
| 218 | + "robots": { |
| 219 | + "type": "object", |
| 220 | + "properties": { |
| 221 | + "index": { |
| 222 | + "type": "boolean" |
| 223 | + }, |
| 224 | + "follow": { |
| 225 | + "type": "boolean" |
| 226 | + } |
| 227 | + }, |
| 228 | + "required": ["index"] |
| 229 | + } |
| 230 | + }, |
| 231 | + "required": ["isEnabled", "pathname", "robots"] |
| 232 | + } |
| 233 | + }, |
| 234 | + "required": ["isEnabled", "postsPerPage", "post", "list", "category", "tag"] |
| 235 | + } |
| 236 | + }, |
| 237 | + "required": ["blog"] |
| 238 | + }, |
| 239 | + "analytics": { |
| 240 | + "type": "object", |
| 241 | + "properties": { |
| 242 | + "vendors": { |
| 243 | + "type": "object", |
| 244 | + "properties": { |
| 245 | + "googleAnalytics": { |
| 246 | + "type": "object", |
| 247 | + "properties": { |
| 248 | + "id": { |
| 249 | + "type": ["string", "null"] |
| 250 | + }, |
| 251 | + "partytown": { |
| 252 | + "type": "boolean", |
| 253 | + "default": true |
| 254 | + } |
| 255 | + }, |
| 256 | + "required": ["id"] |
| 257 | + } |
| 258 | + }, |
| 259 | + "required": ["googleAnalytics"] |
| 260 | + } |
| 261 | + }, |
| 262 | + "required": ["vendors"] |
| 263 | + }, |
| 264 | + "ui": { |
| 265 | + "type": "object", |
| 266 | + "properties": { |
| 267 | + "theme": { |
| 268 | + "type": "string" |
| 269 | + } |
| 270 | + }, |
| 271 | + "required": ["theme"] |
| 272 | + } |
| 273 | + }, |
| 274 | + "required": ["site", "metadata", "i18n", "apps", "analytics", "ui"] |
| 275 | +} |
0 commit comments