Skip to main content
NEXCLARADocumentation

Schemas: identity

Schemas whose first using operation belongs to the identity family. A shared schema is described once, here, and linked from every operation that uses it.

Descriptions come from the contract, which is written in French. They are reproduced verbatim so that the contract remains the source of truth.

AcceptInvitationIn

Acceptation d'une invitation.

Type : object

PropertyTypeRequiredDescriptionConstraints
display_namestringyesminLength: 2 ; maxLength: 120
institutionstringyesminLength: 3 ; maxLength: 32
locale"fr" | "en"nodefault: "fr"
passwordstringyesminLength: 1 ; maxLength: 256
tokenstringyesminLength: 20 ; maxLength: 128
totp_codestringyespattern: "^\\s*\\d{3}\\s?\\d{3}\\s*$"

Used by : invitationAccept

CodeIn

Code du second facteur.

Type : object

PropertyTypeRequiredDescriptionConstraints
codestringyesCode TOTP a six chiffres.pattern: "^\\s*\\d{3}\\s?\\d{3}\\s*$"

Used by : authSecondFactor, authStepUp

InvitationInspectionOut

Ce que le detenteur d'un jeton valide peut savoir.

Type : object

PropertyTypeRequiredDescriptionConstraints
emailstringyes
expires_atstring (date-time)yes
institution_namestringyes
rolesarray<Role>yes
supported_localesarray<string>yes

Used by : invitationInspect

LoginIn

Premiere etape de connexion.

Type : object

PropertyTypeRequiredDescriptionConstraints
emailstringyesminLength: 3 ; maxLength: 320
institutionstringyesReference de l'institution.minLength: 3 ; maxLength: 32
passwordstringyesminLength: 1 ; maxLength: 256

Used by : authLogin

LoginOut

Session ouverte, second facteur en attente.

Type : object

PropertyTypeRequiredDescriptionConstraints
expires_atstring (date-time)yes
session_tokenstringyesJeton opaque, montre une seule fois.
state"second_factor_required"yes

Used by : authLogin

MeInstitutionOut

Institution de l'appelant.

Type : object

PropertyTypeRequiredDescriptionConstraints
base_currencystringyes
display_namestringyes
short_namestringyes
supported_localesarray<string>yes

Used by : me

MeOut

Ce que l'interface doit refleter : identite, roles, permissions effectives.

Type : object

PropertyTypeRequiredDescriptionConstraints
institutionMeInstitutionOutyes
mfa_verified_atstring (date-time) | nullyes
open_modulesarray<ModuleId>yesModules OUVERTS pour l institution (souscrits ou ouverts au pilote, ADR-0067). La permission de chaque fonction reste exigee ; l API refuse un module ferme.
permissionsarray<Permission>yes
rolesarray<Role>yes
step_up_valid_untilstring (date-time) | nullyesFin de validite de l'authentification renforcee.
userMeUserOutyes

Used by : me

MeUserOut

Compte de l'appelant.

Type : object

PropertyTypeRequiredDescriptionConstraints
display_namestringyes
emailstringyes
idstring (uuid)yes
job_titlestring | nullnoFonction (intitule de poste). Ne donne aucun droit.
localestringyes

Used by : me

ModuleId

Les onze modules du produit, sous leur identifiant de catalogue.

Type : string

Allowed values : core, clarity, link, desk, trust, admin, signal, shield, sentinel, vision, sage

Used by : me, modulesCatalogue, modulesRequestActivation, modulesWithdrawActivationRequest

SessionStateOut

Etat d'une session apres verification du second facteur.

Type : object

PropertyTypeRequiredDescriptionConstraints
idle_expires_atstring (date-time)yes
state"authenticated"yes

Used by : authSecondFactor, authStepUp