diff --git a/loterre-resolvers/v1/P21/identify.ini b/loterre-resolvers/v1/P21/identify.ini index 3a7bd17..39a6282 100644 --- a/loterre-resolvers/v1/P21/identify.ini +++ b/loterre-resolvers/v1/P21/identify.ini @@ -1,10 +1,10 @@ # OpenAPI Documentation - JSON format (dot notation) - mimeType = application/json - post.operationId = post-v1-P21-identify - post.description = Associer des termes au vocabulaire Loterre correspondant - https://skosmos.loterre.fr/P21/fr/ - 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 +mimeType = application/json +post.operationId = post-v1-73G-identify +post.description = Associer des termes au vocabulaire Loterre correspondant - https://skosmos.loterre.fr/P21/fr/ (Littérature) +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 = absolutism post.requestBody.content.application/json.example.1.id = 2 post.requestBody.content.application/json.example.1.value = anachronism @@ -24,18 +24,18 @@ post.parameters.0.in = query post.parameters.0.name = indent post.parameters.0.schema.type = boolean - [delegate] - file = ./v1/P21.cfg - [delegate] - file = ./v1/process.cfg - [swing] - test = get('value').isObject() - [swing/replace] - path = value.about - value = get('value.rdf$about') - path = value.prefLabel@fr - value = get('value.skos$prefLabel').filter(y => (y.xml$lang === 'fr')).map(x => x.xml$t).shift() - path = value.prefLabel@en - value = get('value.skos$prefLabel').filter(y => (y.xml$lang === 'en')).map(x => x.xml$t).shift() - [delegate] - file = ./v1/send.cfg +[delegate] +file = ./v1/P21.cfg +[delegate] +file = ./v1/process.cfg +[swing] +test = get('value').isObject() +[swing/replace] +path = value.about +value = get('value.rdf$about') +path = value.prefLabel@fr +value = get('value.skos$prefLabel').filter(y => (y.xml$lang === 'fr')).map(x => x.xml$t).shift() +path = value.prefLabel@en +value = get('value.skos$prefLabel').filter(y => (y.xml$lang === 'en')).map(x => x.xml$t).shift() +[delegate] +file = ./v1/send.cfg