doc archetype