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

[Fiches SP] Revoir service en ligne #6376

Open
m-maillot opened this issue Dec 18, 2024 · 0 comments
Open

[Fiches SP] Revoir service en ligne #6376

m-maillot opened this issue Dec 18, 2024 · 0 comments

Comments

@m-maillot
Copy link
Contributor

Sur les fiches SP, on a des blocks ServiceEnLigne qui n'ont pas d'URL dans les attributes.

{
                  "type": "element",
                  "name": "ServiceEnLigne",
                  "attributes": {
                    "ID": "R49885",
                    "audience": "Particuliers",
                    "type": "Modèle de document"
                  },
                  "children": [
                    {
                      "type": "element",
                      "name": "Titre",
                      "children": [
                        {
                          "type": "text",
                          "text": "Modèle de lettre de prise d'acte de la rupture du contrat de travail"
                        }
                      ]
                    },
                    {
                      "type": "element",
                      "name": "Source",
                      "attributes": {
                        "ID": "R30608"
                      },
                      "children": [
                        {
                          "type": "text",
                          "text": "Direction de l'information légale et administrative (Dila) - Premier ministre"
                        }
                      ]
                    }
                  ]
                }

Cependant, on a un ID, une audience et un type. Est ce que l'on ne pourrait pas reconstruire l'URL vers la page legifrance via ces infos ?

Fiche SP : https://www.service-public.fr/particuliers/vosdroits/F24409#fiche-item-aria-4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant