# OpenAPI Documentation - JSON format (dot notation)
mimeType = application/json
post.operationId = post-v1-JVR-identify
post.description = Associer des termes au vocabulaire Loterre correspondant - https://skosmos.loterre.fr/JVR/fr/ (MeSH)
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.value = Olfactory Bulb
post.requestBody.content.application/json.example.1.value = Frontal lobe
post.requestBody.content.application/json.example.2.value = Neuroglia
post.responses.default.content.application/json.example.0.value.id = olfactorybulb
post.responses.default.content.application/json.example.0.value.about = http://data.loterre.fr/ark:/67375/JVR-MDG0PZBW-N
post.responses.default.content.application/json.example.0.value.prefLabel@fr = Bulbe olfactif
post.responses.default.content.application/json.example.0.value.prefLabel@en = Olfactory bulb
post.responses.default.content.application/json.example.0.value.localization@en.0 = Telencephalon
post.responses.default.content.application/json.example.0.value.localization@fr.0 = Télencéphale
post.responses.default.content.application/json.example.1.value.id = frontallobe
post.responses.default.content.application/json.example.1.value.about = http://data.loterre.fr/ark:/67375/JVR-SLFCVTRT-4
post.responses.default.content.application/json.example.1.value.prefLabel@fr = Lobe frontal
post.responses.default.content.application/json.example.1.value.prefLabel@en = Frontal lobe
post.responses.default.content.application/json.example.1.value.localization@en.0 = Cerebral Cortex
post.responses.default.content.application/json.example.1.value.localization@fr.0 = Cortex cérébral
post.responses.default.content.application/json.example.2.value.id = neuroglia
post.responses.default.content.application/json.example.2.value.about = http://data.loterre.fr/ark:/67375/JVR-FSZSV6WW-5
post.responses.default.content.application/json.example.2.value.prefLabel@fr = Névroglie
post.responses.default.content.application/json.example.2.value.prefLabel@en = Neuroglia
post.responses.default.content.application/json.example.2.value.localization@en.0 = Cells
post.responses.default.content.application/json.example.2.value.localization@fr.0 = Cellules
post.responses.default.content.application/json.schema.$ref = #/components/schemas/JSONStream
post.responses.default.description = Les concept SKOS en JSON
post.parameters.0.description = Indenter le JSON résultant
post.parameters.0.in = query
post.parameters.0.name = indent
post.parameters.0.schema.type = boolean
[delegate]
file = ./v1/JVR.cfg
[delegate]
file = ./v1/process.cfg
[swing]
test = get('value').isObject()
[swing/replace]
path = id
value = get('id')
path = value.id
value = get('value.id')
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.$t).shift()
path = value.prefLabel@en
value = get('value.skos$prefLabel').filter(y => (y.xml$lang === 'en')).map(x => x.$t).shift()
path = value.localization@en
value = get('value.localization').map((x) => x.skos$prefLabel.filter(y => (y.xml$lang === 'en')).map(x => x.$t).shift())
path = value.localization@fr
value = get('value.localization').map((x) => x.skos$prefLabel.filter(y => (y.xml$lang === 'fr')).map(x => x.$t).shift())
[delegate]
file = ./v1/send.cfg