This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
franceconnect/ldap/schema/franceconnect.schema

101 lines
2.9 KiB
Plaintext

# $OpenLDAP$
#
# OIDs
#
objectIdentifier EORoot 1.3.6.1.4.1.36560
objectIdentifier EOClients EORoot:3
objectIdentifier FranceConnect EOClients:4
objectIdentifier FranceConnectOC FranceConnect:1
objectIdentifier FranceConnectAT FranceConnect:2
#
# Attributs
#
attributetype ( FranceConnectAT:1 NAME 'fcGender'
DESC 'Gender of a person: must be male or female'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{8} SINGLE-VALUE )
attributetype ( FranceConnectAT:2 NAME 'fcBirthdate'
DESC 'ISO 3601 birthdate of the user, format YYYYMMDD'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE )
attributetype ( FranceConnectAT:3 NAME 'fcBirthCountry'
DESC 'INSEE code of the birth country'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE )
attributetype ( FranceConnectAT:4 NAME 'fcBirthPlace'
DESC 'INSEE code of the birth place'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE )
attributetype ( FranceConnectAT:5 NAME 'fcUsualName'
DESC 'usual name of the person'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( FranceConnectAT:6 NAME 'fcBelongingPopulation'
DESC 'ex.: agent, prestataire, partenaire'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( FranceConnectAT:7 NAME 'fcSiren'
DESC 'agent enterprise number'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE )
attributetype ( FranceConnectAT:8 NAME 'fcSiret'
DESC 'agent enterprise etablissement number'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 SINGLE-VALUE )
attributetype ( FranceConnectAT:9 NAME 'fcPosition'
DESC 'position in the organization'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( FranceConnectAT:10 NAME 'fcJob'
DESC 'function in the organization'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
attributetype ( FranceConnectAT:11 NAME 'fcPhone'
DESC 'function in the organization'
SUP telephoneNumber )
attributetype ( FranceConnectAT:12 NAME 'fcAddress'
DESC 'function in the organization'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
#
#
# Classes
#
objectClass ( FranceConnectOC:1
NAME 'FCPerson'
DESC 'Person desription for FranceConnect'
SUP top STRUCTURAL
MUST ( uid $ givenName $ sn )
MAY ( userPassword ) )
objectClass ( FranceConnectOC:2
NAME 'FCUsager'
DESC 'Person description for FranceConnect usager'
SUP FCPerson
MUST ( fcGender $ fcBirthDate $ fcBirthCountry $ fcBirthPlace )
MAY ( mail ) )
objectClass ( FranceConnectOC:3
NAME 'FCAgent'
DESC 'Person description for FranceConnect agent'
SUP FCPerson
MUST ( mail $ fcSiren )
MAY ( fcGender $ fcUsualName $ fcBirthDate $ fcBirthCountry $ fcBirthPlace $ fcBelongingPopulation $ fcSiret $ fcPosition $ fcJob $ fcPhone $ fcAddress ) )