Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the best practice for "isAccessibleForFree" in this case #3453

Open
Crocmetoo opened this issue Jan 24, 2024 · 1 comment
Open

What is the best practice for "isAccessibleForFree" in this case #3453

Crocmetoo opened this issue Jan 24, 2024 · 1 comment
Labels
no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!).

Comments

@Crocmetoo
Copy link

Hello
We have twice the information "isAccessibleForFree" in our JSON data. Once in the first level and once in "hasPart".

We would remove one but what is the good one?
What is the best practice in this case (this is a news post from a media):

{
    "@context": "http://schema.org",
    "@graph": [
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "item": {
                        "@id": "https://www.lenouvelliste.ch/valais/",
                        "name": "valais"
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "item": {
                        "@id": "https://www.lenouvelliste.ch/valais/chablais-valaisan/",
                        "name": "chablais-valaisan"
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "item": {
                        "@id": "https://www.lenouvelliste.ch/valais/chablais-valaisan/monthey-district/",
                        "name": "monthey-district"
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "item": {
                        "@id": "https://www.lenouvelliste.ch/valais/chablais-valaisan/monthey-district/collombey-muraz-commune/",
                        "name": "collombey-muraz-commune"
                    }
                },
                {
                    "@type": "ListItem",
                    "position": 5,
                    "item": {
                        "@id": "https://www.lenouvelliste.ch/valais/chablais-valaisan/monthey-district/collombey-muraz-commune/collombey-muraz-village/",
                        "name": "collombey-muraz-village"
                    }
                }
            ]
        },
        {
            "@context": "http://schema.org",
            "@type": "NewsArticle",
            "mainEntityOfPage": {
                "@type": "WebPage",
                "@id": "https://www.lenouvelliste.ch/valais/chablais-valaisan/monthey-district/collombey-muraz-commune/collombey-muraz-village/tennis-le-collombeyroud-timeo-gaillard-est-champion-de-suisse-junior-u18-1356051"
            },
            "headline": "Tennis: le Collombeyroud Timéo Gaillard est champion de Suisse junior U18",
            "url": "https://www.lenouvelliste.ch/valais/chablais-valaisan/monthey-district/collombey-muraz-commune/collombey-muraz-village/tennis-le-collombeyroud-timeo-gaillard-est-champion-de-suisse-junior-u18-1356051",
            "thumbnailUrl": "https://www.lenouvelliste.ch/media/image/125/nf_medium_16_9/timeo-gaillard-timeo-gaillard.jpg",
            "datePublished": "2024-01-15T18:00:09+01:00",
            "articleSection": [
                "Tennis",
                "Collombey-Muraz (Village)"
            ],
            "creator": [
                "Christophe Spahr"
            ],
            "keywords": [
                "Tennis",
                "Collombey-Muraz (Village)",
                "Fidélisation"
            ],
            "dateModified": "2024-01-15T18:00:00+01:00",
            "description": "Le joueur du TC Collombey a remporté le titre dans la catégorie U18. Il s’est imposé en deux sets en finale. Quant à Stefan Djordjevic, il est vice-champion de Suisse U14.",
            "isAccessibleForFree": false,
            "author": [
                {
                    "@type": "person",
                    "name": "Christophe Spahr",
                    "url": "https://www.lenouvelliste.ch/auteurs/spahr-403510"
                }
            ],
            "publisher": {
                "@type": "NewsMediaOrganization",
                "name": "Le Nouvelliste",
                "url": "https://www.lenouvelliste.ch",
                "logo": {
                    "@type": "ImageObject",
                    "url": "https://www.lenouvelliste.ch/_nuxt/e0da2c8301a4a79541839bde0426a2f1.svg",
                    "width": 216,
                    "height": 31
                }
            },
            "image": {
                "@type": "ImageObject",
                "url": "https://www.lenouvelliste.ch/media/image/125/google_16_9/timeo-gaillard-timeo-gaillard.jpg.webp?hash=f7952a32e9f46852cfb9a42d03b6b25f",
                "caption": "Timéo Gaillard, déjà titré en double, remporte le titre U18 pour la première fois.",
                "width": 1200,
                "height": 675
            },
            "hasPart": {
                "@type": "WebPageElement",
                "cssSelector": ".component-paywall",
                "isAccessibleForFree": false
            }
        }
    ]
}
Copy link

This issue is being nudged due to inactivity.

@github-actions github-actions bot added the no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!). label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!).
Projects
None yet
Development

No branches or pull requests

1 participant