The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
package FieldTest;

use Elastic::Model;

#===================================
has_namespace 'foo' => {
#===================================
    string   => 'FieldTest::String',
    number   => 'FieldTest::Number',
    date     => 'FieldTest::Date',
    boolean  => 'FieldTest::Boolean',
    binary   => 'FieldTest::Binary',
    object   => 'FieldTest::Object',
    nested   => 'FieldTest::Nested',
    ip       => 'FieldTest::IP4',
    geopoint => 'FieldTest::GeoPoint'
};

no Elastic::Model;

1;