cgi-fr / lino-doc Goto Github PK
View Code? Open in Web Editor NEWDocumentation de lino en français
Home Page: https://cgi-fr.github.io/lino-doc/
License: GNU General Public License v3.0
Documentation de lino en français
Home Page: https://cgi-fr.github.io/lino-doc/
License: GNU General Public License v3.0
This example from the doc :
version: "1"
seed: 42
masking:
- selector:
jsonpath: "dossier.identifiant"
mask:
regex: "[A-Z]{2}[0-9]{2}-[0-9]{2}[A-Z][0-9]{2}"
- selector:
jsonpath: "dossier.personnes"
mask:
pipe:
masking:
- selector:
jsonpath: "nom"
mask:
randomChoiceInUri: "pimo://surnameFR"
- selector:
jsonpath: "prénom"
mask:
randomChoiceInUri: "pimo://nameFR"
- selector:
jsonpath: "email"
mask:
template: "{{.nom}}.{{.prénom}}@mail.com"
Can use the transcode
mask instead of a regex
for the masking of "dossier.identifiant", it is a good illustration of when to use transcode
.
version: "1"
seed: 42
masking:
- selector:
jsonpath: "dossier.identifiant"
mask:
transcode: {}
- selector:
jsonpath: "dossier.personnes"
mask:
pipe:
masking:
- selector:
jsonpath: "nom"
mask:
randomChoiceInUri: "pimo://surnameFR"
- selector:
jsonpath: "prénom"
mask:
randomChoiceInUri: "pimo://nameFR"
- selector:
jsonpath: "email"
mask:
template: "{{.nom}}.{{.prénom}}@mail.com"
There is a small error on https://github.com/CGI-FR/lino-doc/blob/main/docs/example.md?plain=1#L98
if the person is a Female 'F', the NIR has to start with 2
if the person is a Male 'M', the NIR has to start with 1
Examples :
Create configuration folder containing Yaml files for GitHub Actions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.