diff --git a/loterre-resolvers/v1/216/identify.ini b/loterre-resolvers/v1/216/identify.ini index 153aa98..7b4b844 100644 --- a/loterre-resolvers/v1/216/identify.ini +++ b/loterre-resolvers/v1/216/identify.ini @@ -5,23 +5,29 @@ post.description = Associer des termes au vocabulaire Loterre correspondant - post.summary = verbalisation à partir d'un tableau d'objets avec à minima un champ value contenant des termes post.tags.0 = loterre-resolvers +post.requestBody.content.application/json.example.0.id = 1 post.requestBody.content.application/json.example.0.value = abstraction +post.requestBody.content.application/json.example.1.id = 2 post.requestBody.content.application/json.example.1.value = acculturation +post.requestBody.content.application/json.example.2.id = 3 post.requestBody.content.application/json.example.2.value = learning post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream post.requestBody.required = true +post.responses.default.content.application/json.example.0.id = 1 post.responses.default.content.application/json.example.0.value.id = abstraction post.responses.default.content.application/json.example.0.value.about = http://data.loterre.fr/ark:/67375/216-W8HM2TM2-R ; post.responses.default.content.application/json.example.0.value.prefLabel@fr = abstraction post.responses.default.content.application/json.example.0.value.prefLabelfr = abstraction ; post.responses.default.content.application/json.example.0.value.prefLabel@en = abstraction post.responses.default.content.application/json.example.0.value.prefLabelen = abstraction +post.responses.default.content.application/json.example.1.id = 2 post.responses.default.content.application/json.example.1.value.id = acculturation post.responses.default.content.application/json.example.1.value.about = http://data.loterre.fr/ark:/67375/216-V4MVZSND-0 ; post.responses.default.content.application/json.example.1.value.prefLabel@fr = acculturation post.responses.default.content.application/json.example.1.value.prefLabelfr = acculturation ; post.responses.default.content.application/json.example.1.value.prefLabel@en = acculturation post.responses.default.content.application/json.example.1.value.prefLabelen = acculturation +post.responses.default.content.application/json.example.2.id = 3 post.responses.default.content.application/json.example.2.value.id = learning post.responses.default.content.application/json.example.2.value.about = http://data.loterre.fr/ark:/67375/216-VJM7VMG1-F ; post.responses.default.content.application/json.example.2.value.prefLabel@fr = apprentissage @@ -42,6 +48,11 @@ [swing] test = get('value').isObject() [swing/replace] + +# id field is required in order to work with lodex +path = id +value = get('id') + path = value.about value = get('value.rdf$about') path = value.prefLabel@fr diff --git a/loterre-resolvers/v1/2XK/identify.ini b/loterre-resolvers/v1/2XK/identify.ini index 63b28e4..a0197d3 100644 --- a/loterre-resolvers/v1/2XK/identify.ini +++ b/loterre-resolvers/v1/2XK/identify.ini @@ -38,6 +38,7 @@ # Sélection de champs [swing/replace] +# id field is required in order to work with lodex path = id value = get('id') diff --git a/loterre-resolvers/v1/3JP/identify.ini b/loterre-resolvers/v1/3JP/identify.ini index e3fd13c..b592434 100644 --- a/loterre-resolvers/v1/3JP/identify.ini +++ b/loterre-resolvers/v1/3JP/identify.ini @@ -31,6 +31,11 @@ [swing] test = get('value').isObject() [swing/replace] + +# id field is required in order to work with lodex +path = id +value = get('id') + path = value.about value = get('value.rdf$about') path = value.prefLabel@fr diff --git a/loterre-resolvers/v1/73G/identify.ini b/loterre-resolvers/v1/73G/identify.ini index 20a4878..951b243 100644 --- a/loterre-resolvers/v1/73G/identify.ini +++ b/loterre-resolvers/v1/73G/identify.ini @@ -31,6 +31,11 @@ [swing] test = get('value').isObject() [swing/replace] + +# id field is required in order to work with lodex +path = id +value = get('id') + path = value.about value = get('value.rdf$about') path = value.prefLabel@fr diff --git a/loterre-resolvers/v1/9SD/identify.ini b/loterre-resolvers/v1/9SD/identify.ini index 8c69c04..e639b15 100644 --- a/loterre-resolvers/v1/9SD/identify.ini +++ b/loterre-resolvers/v1/9SD/identify.ini @@ -36,6 +36,7 @@ test = get('value').isObject() [swing/replace] +# id field is required in order to work with lodex path = id value = get('id') diff --git a/loterre-resolvers/v1/BVM/identify.ini b/loterre-resolvers/v1/BVM/identify.ini index cde601b..cc1b634 100644 --- a/loterre-resolvers/v1/BVM/identify.ini +++ b/loterre-resolvers/v1/BVM/identify.ini @@ -31,8 +31,11 @@ [swing] test = get('value').isObject() [swing/replace] + +# id field is required in order to work with lodex path = id value = get('id') + path = value.id value = get('value.id') path = value.about diff --git a/loterre-resolvers/v1/D63/identify.ini b/loterre-resolvers/v1/D63/identify.ini index a2741a8..7888d05 100644 --- a/loterre-resolvers/v1/D63/identify.ini +++ b/loterre-resolvers/v1/D63/identify.ini @@ -35,6 +35,8 @@ [swing] test = get('value').isObject() [swing/replace] + +# id field is required in order to work with lodex path = id value = get('id') diff --git a/loterre-resolvers/v1/JVR/identify.ini b/loterre-resolvers/v1/JVR/identify.ini index 3d1d99f..81a46a9 100644 --- a/loterre-resolvers/v1/JVR/identify.ini +++ b/loterre-resolvers/v1/JVR/identify.ini @@ -31,6 +31,11 @@ [swing] test = get('value').isObject() [swing/replace] + +# id field is required in order to work with lodex +path = id +value = get('id') + path = value.about value = get('value.rdf$about') path = value.prefLabel@fr diff --git a/loterre-resolvers/v1/MDL/identify.ini b/loterre-resolvers/v1/MDL/identify.ini index 72fa3c0..bdbaac3 100644 --- a/loterre-resolvers/v1/MDL/identify.ini +++ b/loterre-resolvers/v1/MDL/identify.ini @@ -35,6 +35,8 @@ [swing] test = get('value').isObject() [swing/replace] + +# id field is required in order to work with lodex path = id value = get('id') diff --git a/loterre-resolvers/v1/N9J/identify.ini b/loterre-resolvers/v1/N9J/identify.ini index 8b319a7..49872a2 100644 --- a/loterre-resolvers/v1/N9J/identify.ini +++ b/loterre-resolvers/v1/N9J/identify.ini @@ -31,6 +31,11 @@ [swing] test = get('value').isObject() [swing/replace] + +# id field is required in order to work with lodex +path = id +value = get('id') + path = value.about value = get('value.rdf$about') diff --git a/loterre-resolvers/v1/P21/identify.ini b/loterre-resolvers/v1/P21/identify.ini index 39a6282..74c9449 100644 --- a/loterre-resolvers/v1/P21/identify.ini +++ b/loterre-resolvers/v1/P21/identify.ini @@ -31,6 +31,11 @@ [swing] test = get('value').isObject() [swing/replace] + +# id field is required in order to work with lodex +path = id +value = get('id') + path = value.about value = get('value.rdf$about') path = value.prefLabel@fr diff --git a/loterre-resolvers/v1/P66/identify.ini b/loterre-resolvers/v1/P66/identify.ini index 64ce0f5..11985c8 100644 --- a/loterre-resolvers/v1/P66/identify.ini +++ b/loterre-resolvers/v1/P66/identify.ini @@ -35,6 +35,11 @@ [swing] test = get('value').isObject() [swing/replace] + +# id field is required in order to work with lodex +path = id +value = get('id') + path = value.about value = get('value.rdf$about')