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

Adapter le champ structure du get/dataset/id #223

Open
flo7894 opened this issue Jan 22, 2025 · 0 comments
Open

Adapter le champ structure du get/dataset/id #223

flo7894 opened this issue Jan 22, 2025 · 0 comments

Comments

@flo7894
Copy link

flo7894 commented Jan 22, 2025

En lien avec le développement demandé via InseeFr/Bauhaus-Back-Office#858

Actuellement pour le prédicat insee:structure on s'attend à trouver un objet de type qb:DataStructureDefinition avec un identifiant et éventuellement un identifiant alternatif qui sort dans le json sous cette forme :

"structure": {
   "id": "dsd0405",
   "dsd": "DSD_ICA"
 }

On aura à terme en objet également des URN ou des URL. Il faudrait ajouter en plus un champ "uri" qui contiendrait cette information et ne pas sortir les champs "id" et "dsd" dans le cas où l'on est pas sur un objet de type qb:DataStructureDefinition

Avec une qb:DataStructureDefinition
exemple-dataset-avec-structure-dsd.zip
on aurait ainsi :

"structure": {
   "uri": "http://bauhaus/structuresDeDonnees/structure/dsd0405",
   "id": "dsd0405",
   "dsd": "DSD_ICA"
 }

Sinon
exemple-dataset-avec-structure-autre-que-dsd.zip
seulement :

"structure": {
    "uri": "urn:ddi:fr.insee:e129238f-485f-40b4-b52f-5702c05d5f40:3"
  }

ou

"structure": {
    "uri": "https://www.insee.fr/fr/statistiques/fichier/6544333/dictionnaire_indcvi_rp2019.pdf"
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant