<?xml version="1.0" encoding="utf-8" ?>
<Manifest version="1"
	xmlns="https://pub.ants.gouv.fr/2D-DOC/V2/QLF/05_XSD/6_ISO22376/"
	xmlns:ext="https://pub.ants.gouv.fr/2D-DOC/V2/QLF/05_XSD/6_ISO22376/EXTENSIONS/"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
	xsi:schemaLocation="https://pub.ants.gouv.fr/2D-DOC/V2/QLF/05_XSD/6_ISO22376/ XSD_MANIFEST_ISO22376_ANTS.xsd
	https://pub.ants.gouv.fr/2D-DOC/V2/QLF/05_XSD/6_ISO22376/EXTENSIONS/ XSD_EXTENSIONS_ISO22376_ANTS.xsd
	http://www.w3.org/2000/09/xmldsig# http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd">
	<Id>000411</Id>
	<Version>02</Version>
	<Name>
		<Value xml:lang="fr">Permis de Conduire - Véhicule Terrestre à Moteur</Value>
	</Name>
	<Description>
		<Value xml:lang="fr">Attestation de droits</Value>
	</Description>
	<Schema>
		<Payload>
			<Fields>
			<!-- INFORMATIONS USAGER -->
				<!--   6 - R - Image Portrait. -->
				<Binary name="Image Portrait Protégée">
					<Extension xsi:type="ext:CiphertextExtensionType">
						<ext:Type>imagePortraitType</ext:Type>
					</Extension>
				</Binary>
				<!--   1 - R- Nom -->
				<String name="1.Nom">
					<StringConstraints>
						<MinLength>1</MinLength>
						<MaxLength>38</MaxLength>
					</StringConstraints>
				</String>
				<!--   2 - R - Prénoms -->
				<String name="2.Prénoms">
					<StringConstraints>
						<MinLength>1</MinLength>
						<MaxLength>32</MaxLength>
					</StringConstraints>
				</String>
				<!--   3 - R - Date de naissance -->
				<String name="3.Date de naissance">
					<StringConstraints>
						<MinLength>10</MinLength>
						<MaxLength>10</MaxLength>
					</StringConstraints>
				</String>
			<!-- INFORMATIONS TITRE -->
				<!--  4a - R - Date de délivrance du titre. -->
				<Date name="4a.Date de délivrance">
					<DateConstraints>
						<From>1900-01-01</From>
					</DateConstraints>
				</Date>
				<!--  4b - R - Date d'expiration du titre. -->
				<Date name="4b.Date d'expiration">
					<DateConstraints>
						<From>1900-01-01</From>
					</DateConstraints>
				</Date>
				<!--   5 - R - Numéro de titre. -->
				<String name="5.Numéro de titre">
					<StringConstraints>
						<MinLength>9</MinLength>
						<MaxLength>9</MaxLength>
					</StringConstraints>
				</String>
				<!--   C - V - NEPH. -->
				<String name="Numéro NEPH">
					<StringConstraints>
						<MinLength>12</MinLength>
						<MaxLength>19</MaxLength>
					</StringConstraints>
				</String>
			<!-- INFORMATIONS DROITS A CONDUIRE -->
				<!--   D - V - Tableau des droits à conduire. -->
				<ObjectArray name="Tableau des Droits à Conduire" type="droitsConduireTypeDefinition">
					<ArrayConstraints>
						<MinSize>1</MinSize>
						<MaxSize>15</MaxSize>
					</ArrayConstraints>
				</ObjectArray>
				<!-- E.1 - V - Débordements -->
				<String name="Catégorie débordement 1">
					<StringConstraints>
						<Nillable/>
						<MinLength>1</MinLength>
						<MaxLength>3</MaxLength>
					</StringConstraints>
				</String>
				<!-- E.2 - V - Débordements -->
				<String name="Mention débordement 1">
					<StringConstraints>
						<Nillable/>
						<MinLength>1</MinLength>
						<MaxLength>30</MaxLength>
					</StringConstraints>
				</String>
				<!-- F.1 - V - Débordements -->
				<String name="Catégorie débordement 2">
					<StringConstraints>
						<Nillable/>
						<MinLength>1</MinLength>
						<MaxLength>3</MaxLength>
					</StringConstraints>
				</String>
				<!-- F.2 - V - Débordements -->
				<String name="Mention débordement 2">
					<StringConstraints>
						<Nillable/>
						<MinLength>1</MinLength>
						<MaxLength>30</MaxLength>
					</StringConstraints>
				</String>
				<!--  12 - V - Restrictions applicables à l’ensemble des catégories de permis. -->
				<String name="12.Aménagements et Restrictions - Général">
					<StringConstraints>
						<Nillable/>
						<MaxLength>40</MaxLength>
					</StringConstraints>
				</String>
			<!-- INFORMATIONS TECHNIQUES -->
				<!-- GGU. -->
				<String name="CGU">
					<StringConstraints>
						<MinLength>1</MinLength>
						<MaxLength>30</MaxLength>
					</StringConstraints>
				</String>
				<!-- Profil. -->
				<String name="Profil">
					<StringConstraints>
						<MinLength>2</MinLength>
						<MaxLength>2</MaxLength>
						<Pattern>^[A-F0-9]*$</Pattern>
					</StringConstraints>
					<Extension xsi:type="ext:VisibilityExtensionType">
						<ext:Condition xsi:type="ext:ApplicationConditionType">
							<ext:Value>Never</ext:Value>
						</ext:Condition>
					</Extension>
				</String>
			</Fields>
		</Payload>
		<Types>
			<Type name="droitsConduireTypeDefinition">
				<Fields>
				<!-- D.9 - V - Colonne : Catégorie -->
					<String name="9.Catégorie">
						<StringConstraints>
							<MinLength>1</MinLength>
							<MaxLength>3</MaxLength>
						</StringConstraints>
						<Extension xsi:type="ext:AbbreviationExtensionType">
							<ext:Dictionary>CatégoriesDictionnary</ext:Dictionary>
						</Extension>
					</String>
				<!-- D.10 - V - Colonne : Date d'obtention -->
					<Date name="10.Date d'obtention">
						<DateConstraints>
							<From>1900-01-01</From>
						</DateConstraints>
					</Date>
				<!-- D.11 - V - Colonne : Date d’expiration -->
					<Date name="11.Date d'expiration">
						<DateConstraints>
							<Nillable/>
							<From>1900-01-01</From>
						</DateConstraints>
					</Date>
				<!-- D.12 - V - Colonne : Aménagements er Restrictions d’usage -->
					<String name="12.Aménagements et Restrictions - Spécifique">
						<StringConstraints>
							<Nillable/>
							<MaxLength>15</MaxLength>
						</StringConstraints>
					</String>
				</Fields>
			</Type>
			<Type name="imagePortraitType">
				<Fields>
					<Binary name="ImagePortrait">
						<BinaryConstraints>
							<MinLength>400</MinLength>
						</BinaryConstraints>
						<Extension xsi:type="ext:ImageExtensionType">
							<ext:Format>WebP</ext:Format>
							<ext:Height>95</ext:Height>
							<ext:Width>76</ext:Width>
						</Extension> 
					</Binary>
				</Fields>
			</Type>
		</Types>
	</Schema>
	<Extensions>
		<Extension xsi:type="PoliciesExtensionType">
			<AuthorizedUsage>
				<oid>1.2.250.1.200.50.1.1</oid>
				<uuid>d320bbd858924288a266c47e2d6be178</uuid>
			</AuthorizedUsage>
		</Extension>
		<Extension xsi:type="ext:DictionariesExtensionType">
			<ext:Dictionary name="CatégoriesDictionnary">
				<!-- Arrêté du 20 avril 2012 fixant les conditions d'établissement, de délivrance et de validité du permis de conduire - Annexe II -->
				<ext:Entry key="A">
					<ext:Value xml:lang="fr">Permis Moto : Moto (avec ou sans side-car), quelle que soit sa puissance et les 3 roues d'une puissance supérieure à 15 kW</ext:Value>
				</ext:Entry>
				<ext:Entry key="A1">
					<ext:Value xml:lang="fr">Permis Moto : Moto légère (avec ou sans side-car) d'une cylindrée maximale de 125 cm³, d'une puissance n'excédant pas 11 kWet dont le rapport puissance/poids ne dépasse pas 0,1 kW/kg et les trois-roues motorisés d'une puissance maximale de 15 kW</ext:Value>
				</ext:Entry>
				<ext:Entry key="A2">
					<ext:Value xml:lang="fr">Permis Moto : Moto (avec ou sans side-car) d'une puissance n'excédant pas 35 kW (47,5 ch), dont le rapport puissance/poids est inférieur ou égal à 0,2 kW/kg et les motos relevant de la catégorie A1</ext:Value>
				</ext:Entry>
				<ext:Entry key="AM">
					<ext:Value xml:lang="fr">Brevet de Sécurité Routière : Cyclomoteur ou Quadricycle léger à moteur, ayant une vitesse maximale de 45 km/h</ext:Value>
				</ext:Entry>
				<ext:Entry key="B">
					<ext:Value xml:lang="fr">Voiture, camionnette, camping-car (PTAC inférieur ou égal à 3,5 tonnes) avec ou sans remorque, deux ou trois-roues à moteur, tracteur</ext:Value>
				</ext:Entry>
				<ext:Entry key="B1">
					<ext:Value xml:lang="fr">Quadricycle lourd à moteur</ext:Value>
				</ext:Entry>
				<ext:Entry key="BE">
					<ext:Value xml:lang="fr">Voiture avec remorque (voiture + remorque > 4250 kg)</ext:Value>
				</ext:Entry>
				<ext:Entry key="C">
					<ext:Value xml:lang="fr">Véhicule affecté au transport de marchandises ou de matériel (PTAC suppérieur à 3,5 tonnes sans limitation supérieure), 9 places assises maximum (conducteur compris)</ext:Value>
				</ext:Entry>
				<ext:Entry key="C1">
					<ext:Value xml:lang="fr">Véhicule (PTAC suppérieur à 3,5 tonnes sans dépasser 7,5 tonnes), 9 places assises maximum (conducteur compris)</ext:Value>
				</ext:Entry>
				<ext:Entry key="C1E">
					<ext:Value xml:lang="fr">Véhicule dont le PTAC est supérieur à 3,5 tonnes sans dépasser 7,5 tonnes (catégorie C1), attelé d'une remorque (ou semi-remorque) dont le PTAC est supérieur à 750 kg, ou Véhicule de la catégorie B attelé d'une remorque (ou semi-remorque) dont le PTAC est supérieur à 3,5 tonnes</ext:Value>
				</ext:Entry>
				<ext:Entry key="CE">
					<ext:Value xml:lang="fr">Véhicule affecté au transport de marchandises ou de matériel (PTAC suppérieur à 3,5 tonnes sans limitation supérieure), 9 places assises maximum (conducteur compris), PTAC de la remorque supérieur à 750 kg (ou semi-remorque)</ext:Value>
				</ext:Entry>
				<ext:Entry key="D">
					<ext:Value xml:lang="fr">Véhicule affecté au transport de personnes, + de 9 places assises (conducteur compris)</ext:Value>
				</ext:Entry>
				<ext:Entry key="D1">
					<ext:Value xml:lang="fr">Véhicule affecté au transport de personnes, 17 places assises maximum (conducteur compris), Longueur de 8 mètres maximum</ext:Value>
				</ext:Entry>
				<ext:Entry key="D1E">
					<ext:Value xml:lang="fr">Véhicule affecté au transport de personnes, 17 places assises maximum (conducteur compris), Longueur de 8 mètres maximum, PTAC de la remorque supérieur à 750 kg</ext:Value>
				</ext:Entry>
				<ext:Entry key="DE">
					<ext:Value xml:lang="fr">Véhicule affecté au transport de personnes, + de 9 places assises (conducteur compris), PTAC de la remorque supérieur à 750 kg</ext:Value>
				</ext:Entry>
			</ext:Dictionary>
		</Extension>
	</Extensions>
</Manifest>