# Context input/output append = dump?indent=true # OpenAPI Documentation - JSON format (dot notation) post.responses.default.description = Enrich json file post.responses.default.content.application/json.schema.type = array post.responses.default.content.application/json.schema.items.type = object post.responses.default.content.application/json.schema.items.properties.id.type = string post.responses.default.content.application/json.schema.items.properties.value.$ref = #/components/schemas/anyValue post.summary = Transform XML/SKOS file to array of JSON Objects post.requestBody.required = true post.requestBody.required = true post.requestBody.content.application/json.schema.$ref = #/components/schemas/JSONStream # Necessary plugins [use] plugin = basics plugin = analytics # Flow configuration [JSONParse] separator = * [expand] path = value size = 1 cacheName = fix(`post-v1-expand-week-${env('loterreID')}-${env('weekNumber')}`) [expand/assign] path = value value = fix(_.deburr(String(self.value).replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/\s]/g, '').toLowerCase())) [expand/combine] path = value primer = env('primer') file = ./v1/combine.ini [expand/remove] test = get('value.value').isString() [expand/replace] path = id value = get('id') path = value value = get('value.value') ; Pour les documents sans résulat, on donne une valeur par défaut [swing] test = get('value.rdf$about').isEmpty() [swing/assign] path = value value = fix('n/a')