<?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>000300</Id>
	<Version>01</Version>
	<Name>
		<Value xml:lang="fr">Examen Civique</Value>
	</Name>
	<Description>
		<Value xml:lang="fr">Attestation de résultats</Value>
	</Description>
	<Schema>
		<Payload>
			<Fields>
				<!-- Mention -->
				<String name="Mention">
					<StringConstraints>
						<MinLength>1</MinLength>
					</StringConstraints>
				</String>
				<!-- Image Portrait. -->
				<Binary name="Image_Portrait">
					<BinaryConstraints>
						<MaxLength>5000</MaxLength>
					</BinaryConstraints>
					<Extension xsi:type="ext:ImageExtensionType">
						<ext:Format>WebP</ext:Format>
						<ext:Height>106</ext:Height>
						<ext:Width>86</ext:Width>
					</Extension>
				</Binary>
				<!-- N° AGDREF -->
				<String name="N° AGDREF">
					<StringConstraints>
						<MinLength>9</MinLength>
						<MaxLength>9</MaxLength>
					</StringConstraints>
				</String>
				<!-- Nom -->
				<String name="Nom">
					<StringConstraints>
						<MinLength>1</MinLength>
						<MaxLength>40</MaxLength>
					</StringConstraints>
				</String>
				<!-- Prénom -->
				<String name="Prénom">
					<StringConstraints>
						<MinLength>1</MinLength>
						<MaxLength>40</MaxLength>
					</StringConstraints>
				</String>
				<!-- Date de naissance -->
				<Date name="Date de naissance">
					<DateConstraints>
						<From>1900-01-01</From>
					</DateConstraints>
				</Date>
				<!-- Lieu de naissance -->
				<String name="Lieu de naissance">
					<StringConstraints>
						<MinLength>1</MinLength>
						<MaxLength>200</MaxLength>
					</StringConstraints>
				</String>
				<!-- N° Inscription -->
				<String name="N° Inscription">
					<StringConstraints>
						<MinLength>7</MinLength>
						<MaxLength>7</MaxLength>
					</StringConstraints>
				</String>
				<!-- Date de session -->
				<Date name="Date de session">
					<DateConstraints>
						<From>1900-01-01</From>
					</DateConstraints>
				</Date>
				<!-- Centre -->
				<String name="Centre">
					<StringConstraints>
						<MinLength>1</MinLength>
						<MaxLength>200</MaxLength>
					</StringConstraints>
				</String>
				<!-- Score -->
				<String name="Score">
					<StringConstraints>
						<MinLength>3</MinLength>
						<MaxLength>5</MaxLength>
					</StringConstraints>
				</String>
				<!-- Résultat -->
				<String name="Résultat">
					<StringConstraints>
						<Pattern>^(Réussite|Echec)*$</Pattern>
					</StringConstraints>
				</String>
				<!-- N° Attestation -->
				<String name="N° Attestation">
					<StringConstraints>
						<MinLength>15</MinLength>
						<MaxLength>20</MaxLength>
					</StringConstraints>
				</String>
				<!-- Date d'édition -->
				<Date name="Date d'édition">
					<DateConstraints>
						<From>1900-01-01</From>
					</DateConstraints>
				</Date>
			</Fields>
		</Payload>
		<Types>
		</Types>
	</Schema>
	<Extensions>
		<Extension xsi:type="PoliciesExtensionType">
			<AuthorizedUsage>
				<oid>1.2.250.1.200.50.1.1</oid>
				<uuid>1ed2780d91334f3bb3efc8f0641347c6</uuid>
			</AuthorizedUsage>
		</Extension>
	</Extensions>
</Manifest>