createSchema: include type property

This commit is contained in:
Dietmar Maurer 2015-09-18 08:51:09 +02:00
parent 58d9e664de
commit 771d18f5c7

View File

@ -68,7 +68,6 @@ sub createSchema {
};
foreach my $p (keys %$propertyList) {
next if $p eq 'type';
if (!$propertyList->{$p}->{optional}) {
$props->{$p} = $propertyList->{$p};
next;