El Barto
Aarktype
•Created by El Barto on 4/4/2025 in #questions
Advices for this use case?
Hi, any advice for improving these schemas? I'm pretty new to Arktype.
{
"data": [
{
"page": {
"entry_id": null,
"id": "844d0940-3ba7f02abec7",
"permalink": "#",
"title": "Internet",
"title_only": true,
"uri": "#",
"url": "#"
},
"depth": 1,
"children": [
{
"page": {
"entry_id": null,
"icon": "arrow-trending-up",
"icon_style": {
"value": "solid",
"label": "Solid",
"key": "solid"
},
"id": "cad5e0a6-b415-c1c1b5223628",
"permalink": "http://url/exray",
"title": "Exray",
"uri": "/exray",
"url": "/exray"
},
"depth": 2,
"children": []
},
]
},
{
"page": {
"entry_id": null,
"id": "abde300e-b8aa-1d4e0f1f1f2d",
"permalink": "#",
"title": "Mobile",
"title_only": true,
"uri": "#",
"url": "#"
},
"depth": 1,
"children": [
{
"page": {
"entry_id": null,
"icon": "globe-asia",
"icon_style": {
"value": "solid",
"label": "Solid",
"key": "solid"
},
"id": "c15bbff9-1f-9689b73948d1",
"permalink": "http://url/mobilephone/coverage",
"title": "Coverage",
"uri": "/mobilephone/coverage",
"url": "/mobilephone/coverage"
},
"depth": 2,
"children": []
}
]
},
}
{
"data": [
{
"page": {
"entry_id": null,
"id": "844d0940-3ba7f02abec7",
"permalink": "#",
"title": "Internet",
"title_only": true,
"uri": "#",
"url": "#"
},
"depth": 1,
"children": [
{
"page": {
"entry_id": null,
"icon": "arrow-trending-up",
"icon_style": {
"value": "solid",
"label": "Solid",
"key": "solid"
},
"id": "cad5e0a6-b415-c1c1b5223628",
"permalink": "http://url/exray",
"title": "Exray",
"uri": "/exray",
"url": "/exray"
},
"depth": 2,
"children": []
},
]
},
{
"page": {
"entry_id": null,
"id": "abde300e-b8aa-1d4e0f1f1f2d",
"permalink": "#",
"title": "Mobile",
"title_only": true,
"uri": "#",
"url": "#"
},
"depth": 1,
"children": [
{
"page": {
"entry_id": null,
"icon": "globe-asia",
"icon_style": {
"value": "solid",
"label": "Solid",
"key": "solid"
},
"id": "c15bbff9-1f-9689b73948d1",
"permalink": "http://url/mobilephone/coverage",
"title": "Coverage",
"uri": "/mobilephone/coverage",
"url": "/mobilephone/coverage"
},
"depth": 2,
"children": []
}
]
},
}
8 replies