<commit_before>package XML::EPP::Domain::Transfer;

use Moose;
use PRANG::Graph;

sub root_element { 'transfer' }

with
	'XML::EPP::Domain::RQ',
	'XML::EPP::Domain::Node',
	;

use XML::EPP::Domain::Info::Name;

has_element 'name' =>
	is => 'ro',
	isa => 'XML::EPP::Common::labelType',
	;

use XML::EPP::Domain::Period;
has_element 'period' =>
	is => 'ro',
	isa => 'XML::EPP::Domain::Period',
	xml_required => 0,
	;

#use XML::EPP::Domain;
#has_element 'period' =>
#	is => 'ro',
#	isa => 'XML::EPP::Domain::pLimitType',
#	xml_required => 0,
#	;

has_element 'auth_info' =>
	is => 'ro',
	isa => 'XML::EPP::Domain::AuthInfo',
	xml_required => 0,
	xml_nodeName => 'authInfo',
	;

1;
<commit_msg>rfc5731 - add XML Schema info for Transfer command<commit_after>package XML::EPP::Domain::Transfer;

use Moose;
use PRANG::Graph;

sub root_element { 'transfer' }

with
	'XML::EPP::Domain::RQ',
	'XML::EPP::Domain::Node',
	;

use XML::EPP::Domain::Info::Name;

has_element 'name' =>
	is => 'ro',
	isa => 'XML::EPP::Common::labelType',
	;

use XML::EPP::Domain::Period;
has_element 'period' =>
	is => 'ro',
	isa => 'XML::EPP::Domain::Period',
	xml_required => 0,
	;

has_element 'auth_info' =>
	is => 'ro',
	isa => 'XML::EPP::Domain::AuthInfo',
	xml_required => 0,
	xml_nodeName => 'authInfo',
	;

1;


=head2 XML Schema Definition

<!--
Child elements of the <transfer> command.
-->
<complexType name="transferType">
 <sequence>
   <element name="name" type="eppcom:labelType"/>
   <element name="period" type="domain:periodType"
    minOccurs="0"/>
   <element name="authInfo" type="domain:authInfoType"
    minOccurs="0"/>
 </sequence>
</complexType>

=cut

{'fraction_non_alphanumeric': 0.21406913280776227, 'fraction_numerical': 0.008489993935718617, 'mean_word_length': 5.4453125, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 40, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 7}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6694332', 'n_tokens_mistral': 660, 'n_tokens_neox': 647, 'n_words': 126}