Skip to content

Instantly share code, notes, and snippets.

@schabibi1
Created February 6, 2024 17:46
Show Gist options
  • Save schabibi1/eef192ed65a849665bb45c31f2be8a23 to your computer and use it in GitHub Desktop.
Save schabibi1/eef192ed65a849665bb45c31f2be8a23 to your computer and use it in GitHub Desktop.
Astro Storyblok i18n hands-on video source: JSON schema file
{
"components": [
{
"name": "all-articles",
"display_name": null,
"created_at": "2024-02-06T12:44:13.814Z",
"updated_at": "2024-02-06T12:44:21.438Z",
"id": 5293993,
"schema": {
"headline": {
"type": "text"
}
},
"image": null,
"preview_field": null,
"is_root": false,
"preview_tmpl": null,
"is_nestable": true,
"all_presets": [],
"preset_id": null,
"real_name": "all-articles",
"component_group_uuid": null,
"color": null,
"icon": null
},
{
"name": "article",
"display_name": null,
"created_at": "2023-10-26T09:32:19.755Z",
"updated_at": "2023-10-26T09:33:24.606Z",
"id": 4788356,
"schema": {
"image": {
"type": "asset",
"filetypes": [
"images"
]
},
"title": {
"type": "text"
},
"teaser": {
"type": "textarea"
},
"content": {
"type": "richtext"
}
},
"image": null,
"preview_field": null,
"is_root": true,
"preview_tmpl": null,
"is_nestable": false,
"all_presets": [],
"preset_id": null,
"real_name": "article",
"component_group_uuid": null,
"color": null,
"icon": null
},
{
"name": "config",
"display_name": null,
"created_at": "2023-09-14T17:09:17.909Z",
"updated_at": "2023-09-14T17:13:05.848Z",
"id": 4576274,
"schema": {
"header_menu": {
"type": "bloks",
"restrict_type": "",
"restrict_components": true,
"component_whitelist": [
"menu_link"
]
}
},
"image": null,
"preview_field": null,
"is_root": true,
"preview_tmpl": null,
"is_nestable": false,
"all_presets": [],
"preset_id": null,
"real_name": "config",
"component_group_uuid": null,
"color": null,
"icon": null
},
{
"name": "feature",
"display_name": null,
"created_at": "2023-09-09T11:41:20.094Z",
"updated_at": "2023-09-14T17:28:55.005Z",
"id": 4548998,
"schema": {
"name": {
"type": "text"
},
"image": {
"type": "asset",
"filetypes": [
"images"
]
}
},
"image": null,
"preview_field": null,
"is_root": false,
"preview_tmpl": null,
"is_nestable": true,
"all_presets": [],
"preset_id": null,
"real_name": "feature",
"component_group_uuid": null,
"color": null,
"icon": null
},
{
"name": "grid",
"display_name": null,
"created_at": "2023-09-09T11:41:20.080Z",
"updated_at": "2023-09-09T11:41:20.080Z",
"id": 4548997,
"schema": {
"columns": {
"type": "bloks"
}
},
"image": null,
"preview_field": null,
"is_root": false,
"preview_tmpl": null,
"is_nestable": true,
"all_presets": [],
"preset_id": null,
"real_name": "grid",
"component_group_uuid": null,
"color": null,
"icon": null
},
{
"name": "hero",
"display_name": null,
"created_at": "2023-09-14T17:34:24.638Z",
"updated_at": "2023-09-14T17:41:54.162Z",
"id": 4576357,
"schema": {
"headline": {
"type": "text",
"pos": 0
},
"subheadline": {
"type": "text",
"pos": 1
},
"background_image": {
"type": "asset",
"pos": 2,
"filetypes": [
"images"
]
},
"layout": {
"type": "option",
"use_uuid": true,
"options": [
{
"_uid": "9da37d45-a466-43e7-85ea-437eddfe5d50",
"name": "Constrained",
"value": "constrained"
},
{
"_uid": "2c9d7992-6cd8-4cea-8ca5-8bfd098d2816",
"value": "full-width",
"name": "Full width"
}
],
"default_value": "constrained",
"pos": 3
}
},
"image": null,
"preview_field": null,
"is_root": false,
"preview_tmpl": null,
"is_nestable": true,
"all_presets": [],
"preset_id": null,
"real_name": "hero",
"component_group_uuid": null,
"color": null,
"icon": null
},
{
"name": "menu_link",
"display_name": null,
"created_at": "2023-09-14T17:10:11.803Z",
"updated_at": "2023-09-14T17:10:46.660Z",
"id": 4576275,
"schema": {
"link": {
"type": "multilink"
}
},
"image": null,
"preview_field": null,
"is_root": false,
"preview_tmpl": null,
"is_nestable": true,
"all_presets": [],
"preset_id": null,
"real_name": "menu_link",
"component_group_uuid": null,
"color": null,
"icon": null
},
{
"name": "page",
"display_name": null,
"created_at": "2023-09-09T11:41:20.053Z",
"updated_at": "2023-09-09T11:41:20.053Z",
"id": 4548995,
"schema": {
"body": {
"type": "bloks"
}
},
"image": null,
"preview_field": null,
"is_root": true,
"preview_tmpl": null,
"is_nestable": false,
"all_presets": [],
"preset_id": null,
"real_name": "page",
"component_group_uuid": null,
"color": null,
"icon": null
},
{
"name": "popular-articles",
"display_name": null,
"created_at": "2024-02-06T12:41:49.914Z",
"updated_at": "2024-02-06T12:43:13.277Z",
"id": 5293992,
"schema": {
"headline": {
"type": "text"
},
"articles": {
"type": "options",
"source": "internal_stories",
"folder_slug": "blog/",
"filter_content_type": [
"article"
],
"max_options": "3"
}
},
"image": null,
"preview_field": null,
"is_root": false,
"preview_tmpl": null,
"is_nestable": true,
"all_presets": [],
"preset_id": null,
"real_name": "popular-articles",
"component_group_uuid": null,
"color": null,
"icon": null
},
{
"name": "teaser",
"display_name": null,
"created_at": "2023-09-09T11:41:20.067Z",
"updated_at": "2023-09-09T11:41:20.067Z",
"id": 4548996,
"schema": {
"headline": {
"type": "text"
}
},
"image": null,
"preview_field": null,
"is_root": false,
"preview_tmpl": null,
"is_nestable": true,
"all_presets": [],
"preset_id": null,
"real_name": "teaser",
"component_group_uuid": null,
"color": null,
"icon": null
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment