<?xml version="1.0" encoding="utf-8"?>
<doctrine-mapping
    xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd"
>
    <mapped-superclass name="Webauthn\PublicKeyCredentialSource">
        <field name="publicKeyCredentialId" type="base64"/>
        <field name="type"/>
        <field name="transports" type="json"/>
        <field name="attestationType"/>
        <field name="trustPath" type="trust_path"/>
        <field name="aaguid" type="aaguid" length="36"/>
        <field name="credentialPublicKey" type="base64"/>
        <field name="userHandle"/>
        <field name="counter" type="integer"/>
        <field name="otherUI" type="json" nullable="true"/>
        <field name="backupEligible" type="boolean" nullable="true"/>
        <field name="backupStatus" type="boolean" nullable="true"/>
        <field name="uvInitialized" type="boolean" nullable="true"/>
    </mapped-superclass>
</doctrine-mapping>
