<?xml version='1.0' encoding='utf-8'?>
<!--
  FFFD1B - Resident parking permit (generation 3 demo).

  A resident parking permit of the city of Aurora (Republic of Utopia), displayed behind the
  windscreen. A parking warden scans it through the glass and compares the plate, the zone
  and the small picture of the vehicle with the car parked there.

  Ported from the BioSeal SDK test corpus (bioseal-sdk test/manifests/gen3/transport/ffd012.xml).
  What generation 3 shows:
  - a picture in the seal: ext:Image Format AVIF on a 64 x 40 drawing of the vehicle (under
    500 bytes), with the four size bounds MinWidth, MinHeight, MaxWidth and MaxHeight that
    issuance tools read to scale the picture (the SDK does not measure the image);
  - Document Validity between two fixed dates (NotBefore and NotAfter Date): every permit of
    the 2026-2027 permit year is valid from 1 July 2026 to 30 June 2027, whatever the day it
    is issued (the SDK test uses the 2026 calendar year). The seal lifetime
    (bs:VDSValidityPeriod 2 YEARS, the SDK test writes the deprecated ext: element) outlasts
    the permit, so an old permit reads as genuine but expired;
  - a zone dictionary offered as buttons, a QR code with error correction L and a fixed
    Version (V17), FieldGroups for the SDK generic view (no custom presentation view).
--><Manifest xmlns="https://gov.otentik.codes/schemas/manifest/v3" xmlns:ext="urn:vdsic:manifest:extensions:3" xmlns:bs="urn:id3:bioseal:manifest:extensions:3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1">
    <Id>FFFD1B</Id>
    <Version>1</Version>
    <Name>
        <Value xml:lang="en">Aurora resident parking permit</Value>
        <Value xml:lang="fr">Carte de stationnement résident d'Aurora</Value>
    </Name>
    <Description>
        <Value xml:lang="en">Demo: yearly resident parking permit with the plate, the zone and a small picture of the vehicle.</Value>
        <Value xml:lang="fr">Démo : carte de stationnement résident annuelle avec l'immatriculation, la zone et une petite image du véhicule.</Value>
    </Description>
    <Schema>
        <Payload>
            <Fields>
                <String name="permit_number">
                    <StringConstraints>
                        <MinLength>10</MinLength>
                        <MaxLength>10</MaxLength>
                        <Pattern>^[A-Z0-9]{10}$</Pattern>
                        <Encoding>C40</Encoding>
                    </StringConstraints>
                    <Extension xsi:type="ext:LabelExtensionType">
                        <ext:Value xml:lang="en">Permit number</ext:Value>
                        <ext:Value xml:lang="fr">Numéro de carte</ext:Value>
                    </Extension>
                    <Extension xsi:type="bs:InputHintExtensionType">
                        <bs:Placeholder xml:lang="en">e.g. RP26B00318</bs:Placeholder>
                        <bs:Placeholder xml:lang="fr">ex. RP26B00318</bs:Placeholder>
                    </Extension>
                    <Extension xsi:type="bs:DisplayHintExtensionType">
                        <bs:Emphasis>SECONDARY</bs:Emphasis>
                    </Extension>
                </String>
                <String name="holder">
                    <StringConstraints>
                        <MinLength>1</MinLength>
                        <MaxLength>40</MaxLength>
                    </StringConstraints>
                    <Extension xsi:type="ext:LabelExtensionType">
                        <ext:Value xml:lang="en">Resident</ext:Value>
                        <ext:Value xml:lang="fr">Résident</ext:Value>
                    </Extension>
                </String>
                <String name="registration">
                    <StringConstraints>
                        <MinLength>9</MinLength>
                        <MaxLength>9</MaxLength>
                        <Pattern>^[A-Z]{2}-[0-9]{3}-[A-Z]{2}$</Pattern>
                    </StringConstraints>
                    <Extension xsi:type="ext:LabelExtensionType">
                        <ext:Value xml:lang="en">Registration</ext:Value>
                        <ext:Value xml:lang="fr">Immatriculation</ext:Value>
                    </Extension>
                    <Extension xsi:type="bs:InputHintExtensionType">
                        <bs:Placeholder xml:lang="en">e.g. FK-207-LM</bs:Placeholder>
                        <bs:Placeholder xml:lang="fr">ex. FK-207-LM</bs:Placeholder>
                        <bs:ErrorText xml:lang="en">Two letters, three digits, two letters, e.g. FK-207-LM.</bs:ErrorText>
                        <bs:ErrorText xml:lang="fr">Deux lettres, trois chiffres, deux lettres, ex. FK-207-LM.</bs:ErrorText>
                    </Extension>
                    <Extension xsi:type="bs:DisplayHintExtensionType">
                        <bs:Emphasis>PRIMARY</bs:Emphasis>
                    </Extension>
                </String>
                <String name="zone">
                    <StringConstraints>
                        <MinLength>1</MinLength>
                        <MaxLength>1</MaxLength>
                        <Pattern>^[ABC]$</Pattern>
                    </StringConstraints>
                    <Extension xsi:type="ext:LabelExtensionType">
                        <ext:Value xml:lang="en">Zone</ext:Value>
                        <ext:Value xml:lang="fr">Zone</ext:Value>
                    </Extension>
                    <Extension xsi:type="ext:DictionaryLookupExtensionType">
                        <ext:Dictionary>zone</ext:Dictionary>
                    </Extension>
                    <Extension xsi:type="bs:InputHintExtensionType">
                        <bs:ChoiceStyle>BUTTONS</bs:ChoiceStyle>
                    </Extension>
                    <Extension xsi:type="bs:DisplayHintExtensionType">
                        <bs:Emphasis>PRIMARY</bs:Emphasis>
                    </Extension>
                </String>
                <Binary name="vehicle_photo">
                    <BinaryConstraints>
                        <MaxLength>600</MaxLength>
                    </BinaryConstraints>
                    <Extension xsi:type="ext:LabelExtensionType">
                        <ext:Value xml:lang="en">Vehicle</ext:Value>
                        <ext:Value xml:lang="fr">Véhicule</ext:Value>
                    </Extension>
                    <Extension xsi:type="ext:ImageExtensionType">
                        <ext:Format>AVIF</ext:Format>
                        <ext:MaxHeight>64</ext:MaxHeight>
                        <ext:MaxWidth>96</ext:MaxWidth>
                        <ext:MinHeight>32</ext:MinHeight>
                        <ext:MinWidth>48</ext:MinWidth>
                    </Extension>
                    <Extension xsi:type="bs:InputHintExtensionType">
                        <bs:HelpText xml:lang="en">A side view of the vehicle, scaled down to at most 96 x 64 pixels (under 600 bytes).</bs:HelpText>
                        <bs:HelpText xml:lang="fr">Une vue de profil du véhicule, réduite à 96 x 64 pixels au plus (moins de 600 octets).</bs:HelpText>
                    </Extension>
                </Binary>
                <!-- The issuance service that produced the seal (ext:IssuanceService): the
                     platform writes its CIN, the verifier checks it against the Scheme List.
                     Neither the issuance form (Entry PLATFORM) nor any view (NEVER) shows it. -->
                <String name="issuance_service">
                    <StringConstraints>
                        <MinLength>3</MinLength>
                        <MaxLength>3</MaxLength>
                        <Pattern>^[A-Z0-9]{3}$</Pattern>
                        <Encoding>C40</Encoding>
                    </StringConstraints>
                    <Extension xsi:type="ext:LabelExtensionType">
                        <ext:Value xml:lang="en">Issuance service</ext:Value>
                        <ext:Value xml:lang="fr">Service d'émission</ext:Value>
                    </Extension>
                    <Extension xsi:type="ext:VisibilityExtensionType">
                        <ext:Condition xsi:type="ext:ApplicationConditionType">
                            <ext:Value>NEVER</ext:Value>
                        </ext:Condition>
                    </Extension>
                    <Extension xsi:type="bs:InputHintExtensionType">
                        <bs:Entry>PLATFORM</bs:Entry>
                    </Extension>
                </String>
            </Fields>
        </Payload>
    </Schema>
    <Extensions>
        <Extension xsi:type="ext:DictionariesExtensionType">
            <ext:Dictionary name="zone">
                <ext:Entry key="A"><ext:Value xml:lang="en">A - Old town</ext:Value><ext:Value xml:lang="fr">A - Vieille ville</ext:Value></ext:Entry>
                <ext:Entry key="B"><ext:Value xml:lang="en">B - Station district</ext:Value><ext:Value xml:lang="fr">B - Quartier de la gare</ext:Value></ext:Entry>
                <ext:Entry key="C"><ext:Value xml:lang="en">C - Riverside</ext:Value><ext:Value xml:lang="fr">C - Bords de rivière</ext:Value></ext:Entry>
            </ext:Dictionary>
        </Extension>
        <Extension xsi:type="ext:PoliciesExtensionType">
            <ext:AuthorizedUsage>
                <ext:oid>1.3.6.1.4.1.51528.1.1</ext:oid>
                <ext:uuid>0945dbd91c8d425685733a4c7eee3a6a</ext:uuid>
            </ext:AuthorizedUsage>
            <!-- Longer than any permit (one permit year): an old permit reads as genuine but
                 expired before its seal expires too. -->
            <bs:VDSValidityPeriod>
                <bs:Value>2</bs:Value>
                <bs:Unit>YEARS</bs:Unit>
            </bs:VDSValidityPeriod>
            <bs:CertificateValidity>
                <bs:ExpiryDateGracePeriod><bs:Value>30</bs:Value><bs:Unit>DAYS</bs:Unit></bs:ExpiryDateGracePeriod>
                <bs:RevocationInfoGracePeriod><bs:Value>2</bs:Value><bs:Unit>DAYS</bs:Unit></bs:RevocationInfoGracePeriod>
            </bs:CertificateValidity>
        </Extension>
        <Extension xsi:type="ext:IssuanceServiceExtensionType">
            <ext:PayloadField>issuance_service</ext:PayloadField>
        </Extension>
        <Extension xsi:type="bs:IssuancePoliciesExtensionType">
            <bs:KeyProtection>
                <bs:MinimumLevel>L1</bs:MinimumLevel>
                <bs:Rationale>
                    <bs:Value xml:lang="en">Demo: signed with a software key; a production issuer declares a stronger level.</bs:Value>
                    <bs:Value xml:lang="fr">Démo : signé avec une clé logicielle ; un émetteur en production déclare un niveau supérieur.</bs:Value>
                </bs:Rationale>
            </bs:KeyProtection>
        </Extension>
        <!-- The 2026-2027 permit year, whatever the issue date. -->
        <Extension xsi:type="bs:DocumentValidityExtensionType">
            <bs:NotBefore><bs:Date>2026-07-01</bs:Date></bs:NotBefore>
            <bs:NotAfter><bs:Date>2027-06-30</bs:Date></bs:NotAfter>
        </Extension>
        <Extension xsi:type="bs:AdditionalInformationExtensionType">
            <bs:DataPrivacy>
                <bs:Value xml:lang="en">The seal carries the resident's name, the plate and a small picture of the vehicle, no address.</bs:Value>
                <bs:Value xml:lang="fr">Le cachet contient le nom du résident, l'immatriculation et une petite image du véhicule, sans adresse.</bs:Value>
            </bs:DataPrivacy>
            <bs:LegalStatement>
                <bs:Value xml:lang="en">Valid for the 2026-2027 permit year, from 1 July 2026 to 30 June 2027, in the zone shown only.</bs:Value>
                <bs:Value xml:lang="fr">Valable pour l'année 2026-2027, du 1er juillet 2026 au 30 juin 2027, dans la seule zone indiquée.</bs:Value>
            </bs:LegalStatement>
            <bs:PointOfContact>
                <bs:Value xml:lang="en">contact@id3.eu</bs:Value>
                <bs:Value xml:lang="fr">contact@id3.eu</bs:Value>
            </bs:PointOfContact>
        </Extension>
        <Extension xsi:type="bs:IssuanceParametersExtensionType">
            <bs:Encoding>BASE45</bs:Encoding>
            <bs:QuietZone>4</bs:QuietZone>
            <bs:Symbology>QRCODE</bs:Symbology>
            <bs:QrcodeParameters>
                <bs:ErrorCorrectionLevel>L</bs:ErrorCorrectionLevel>
                <bs:Version>V17</bs:Version>
            </bs:QrcodeParameters>
            <bs:Caption>
                <bs:Text>AURORA · RESIDENT</bs:Text>
                <bs:Position>BOTTOM</bs:Position>
                <bs:Color>#FFFFFF</bs:Color>
                <bs:FontFamily>SANS_SERIF</bs:FontFamily>
                <bs:Style>FRAME</bs:Style>
                <bs:FrameColor>#1D4E89</bs:FrameColor>
                <bs:CornerRadius>8</bs:CornerRadius>
                <bs:FontWeight>700</bs:FontWeight>
            </bs:Caption>
        </Extension>
        <Extension xsi:type="bs:FieldGroupsExtensionType">
            <bs:Group Name="vehicle" Scope="BOTH">
                <bs:Label xml:lang="en">Vehicle</bs:Label>
                <bs:Label xml:lang="fr">Véhicule</bs:Label>
                <bs:PayloadField>registration</bs:PayloadField>
                <bs:PayloadField>zone</bs:PayloadField>
                <bs:PayloadField>vehicle_photo</bs:PayloadField>
            </bs:Group>
            <bs:Group Name="permit" Scope="BOTH">
                <bs:Label xml:lang="en">Permit</bs:Label>
                <bs:Label xml:lang="fr">Carte</bs:Label>
                <bs:Description xml:lang="en">City of Aurora, Republic of Utopia.</bs:Description>
                <bs:Description xml:lang="fr">Ville d'Aurora, République d'Utopia.</bs:Description>
                <bs:PayloadField>holder</bs:PayloadField>
                <bs:PayloadField>permit_number</bs:PayloadField>
            </bs:Group>
        </Extension>
    </Extensions>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/><ds:Reference URI=""><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>PN0BUAUFe08oquX5LVqGKZCrDdoKUQjj7jF/2yMrXn8=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>nUgqLM80y9BjdNiR53qWJnNQ0pJVP2+pB5fQHd3k9Er6TbxiUp/GSO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