Reply To: Import JSON doesn’t seem to work

#3921
Florian
Keymaster

Hey there,
and thanks for your comment on the forums.

Maybe you can try this:


{
    "id": "snip-global-breadcrumbs-posts",
    "context": "http://schema.org",
    "type": "BreadcrumbList",
    "itemListElement-prop-5c63f68381ee5": {
        "0": "http://schema.org/ListItem",
        "1": {
            "id": "snip-5c641556a573b",
            "context": "http://schema.org",
            "type": "ListItem",
            "name-prop-5c64155761709": {
                "0": "term_title",
                "1": null,
                "overridable": false,
                "overridable_multiple": false
            },
            "position-prop-5c6415576a168": {
                "0": "textfield_sequential_number",
                "1": "breadcrumbs_posts",
                "overridable": false,
                "overridable_multiple": false
            },
            "item-prop-5c64155778310": {
                "0": "term_url",
                "1": null,
                "overridable": false,
                "overridable_multiple": false
            },
            "loop": "taxonomy_category"
        },
        "overridable": false,
        "overridable_multiple": false
    },
    "itemListElement-prop-5c6404b73450b": {
        "0": "http://schema.org/ListItem",
        "1": {
            "id": "snip-5c6404be55fb9",
            "context": "http://schema.org",
            "type": "ListItem",
            "name-prop-5c6404be5f27d": {
                "0": "current_post_title",
                "1": null,
                "overridable": false,
                "overridable_multiple": false
            },
            "position-prop-5c6404be6c368": {
                "0": "textfield_sequential_number",
                "1": "breadcrumbs_posts",
                "overridable": false,
                "overridable_multiple": false
            },
            "item-prop-5c6404be79508": {
                "0": "current_post_url",
                "1": null,
                "overridable": false,
                "overridable_multiple": false
            }
        },
        "overridable": false,
        "overridable_multiple": false
    },
    "@id-prop-5e425e11ac690": {
        "0": "textfield",
        "1": "#breadcrumbs",
        "overridable": false,
        "overridable_multiple": false
    },
    "_is_export": true,
    "@ruleset": [
        [
            {
                "param": "post_type",
                "operator": "==",
                "value": "post"
            }
        ]
    ]
}

It seems that the importer has a problem when the @context-attribute has a prepending www. The above should work as it should be.