| 1 | package Sah::SchemaR::country::code::alpha3; | ||
| 2 | |||
| 3 | 1 | our $DATE = '2020-03-08'; # DATE | |
| 4 | 1 | our $VERSION = '0.008'; # VERSION | |
| 5 | |||
| 6 | 1 | our $rschema = ["str",[{description=>"\nAccept only current (not retired) codes. Only alpha-3 codes are accepted.\n\nCode will be converted to lowercase.\n\n",examples=>[{valid=>0,value=>""},{summary=>"Only alpha-3 codes are allowed",valid=>0,value=>"ID"},{valid=>1,validated_value=>"idn",value=>"IDN"},{valid=>0,value=>"xx"},{valid=>0,value=>"xxx"}],in=>["abw","afg","ago","aia","ala","alb","and","are","arg","arm","asm","ata","atf","atg","aus","aut","aze","bdi","bel","ben","bes","bfa","bgd","bgr","bhr","bhs","bih","blm","blr","blz","bmu","bol","bra","brb","brn","btn","bvt","bwa","caf","can","cck","che","chl","chn","civ","cmr","cod","cog","cok","col","com","cpv","cri","cub","cuw","cxr","cym","cyp","cze","deu","dji","dma","dnk","dom","dza","ecu","egy","eri","esh","esp","est","eth","fin","fji","flk","fra","fro","fsm","gab","gbr","geo","ggy","gha","gib","gin","glp","gmb","gnb","gnq","grc","grd","grl","gtm","guf","gum","guy","hkg","hmd","hnd","hrv","hti","hun","idn","imn","ind","iot","irl","irn","irq","isl","isr","ita","jam","jey","jor","jpn","kaz","ken","kgz","khm","kir","kna","kor","kwt","lao","lbn","lbr","lby","lca","lie","lka","lso","ltu","lux","lva","mac","maf","mar","mco","mda","mdg","mdv","mex","mhl","mkd","mli","mlt","mmr","mne","mng","mnp","moz","mrt","msr","mtq","mus","mwi","mys","myt","nam","ncl","ner","nfk","nga","nic","niu","nld","nor","npl","nru","nzl","omn","pak","pan","pcn","per","phl","plw","png","pol","pri","prk","prt","pry","pse","pyf","qat","reu","rou","rus","rwa","sau","sdn","sen","sgp","sgs","shn","sjm","slb","sle","slv","smr","som","spm","srb","ssd","stp","sur","svk","svn","swe","swz","sxm","syc","syr","tca","tcd","tgo","tha","tjk","tkl","tkm","tls","ton","tto","tun","tur","tuv","twn","tza","uga","ukr","umi","ury","usa","uzb","vat","vct","ven","vgb","vir","vnm","vut","wlf","wsm","yem","zaf","zmb","zwe"],match=>"\\A[a-z]{3}\\z",summary=>"Country code (alpha-3)","x.perl.coerce_rules"=>["From_str::to_lower"]}],["str"]]; | |
| 7 | |||
| 8 | 1 | 1; | |
| 9 | # ABSTRACT: Country code (alpha-3) | ||
| 10 | |||
| 11 | __END__ | ||
| 12 | |||
| 13 | =pod | ||
| 14 | |||
| 15 | =encoding UTF-8 | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Sah::SchemaR::country::code::alpha3 - Country code (alpha-3) | ||
| 20 | |||
| 21 | =head1 VERSION | ||
| 22 | |||
| 23 | This document describes version 0.008 of Sah::SchemaR::country::code::alpha3 (from Perl distribution Sah-Schemas-Country), released on 2020-03-08. | ||
| 24 | |||
| 25 | =head1 DESCRIPTION | ||
| 26 | |||
| 27 | This module is automatically generated by Dist::Zilla::Plugin::Sah::Schemas during distribution build. | ||
| 28 | |||
| 29 | A Sah::SchemaR::* module is useful if a client wants to quickly lookup the base type of a schema without having to do any extra resolving. With Sah::Schema::*, one might need to do several lookups if a schema is based on another schema, and so on. Compare for example L<Sah::Schema::poseven> vs L<Sah::SchemaR::poseven>, where in Sah::SchemaR::poseven one can immediately get that the base type is C<int>. Currently L<Perinci::Sub::Complete> uses Sah::SchemaR::* instead of Sah::Schema::* for reduced startup overhead when doing tab completion. | ||
| 30 | |||
| 31 | =head1 HOMEPAGE | ||
| 32 | |||
| 33 | Please visit the project's homepage at L<https://metacpan.org/release/Sah-Schemas-Country>. | ||
| 34 | |||
| 35 | =head1 SOURCE | ||
| 36 | |||
| 37 | Source repository is at L<https://github.com/perlancar/perl-Sah-Schemas-Country>. | ||
| 38 | |||
| 39 | =head1 BUGS | ||
| 40 | |||
| 41 | Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Sah-Schemas-Country> | ||
| 42 | |||
| 43 | When submitting a bug or request, please include a test-file or a | ||
| 44 | patch to an existing test-file that illustrates the bug or desired | ||
| 45 | feature. | ||
| 46 | |||
| 47 | =head1 AUTHOR | ||
| 48 | |||
| 49 | perlancar <perlancar@cpan.org> | ||
| 50 | |||
| 51 | =head1 COPYRIGHT AND LICENSE | ||
| 52 | |||
| 53 | This software is copyright (c) 2020, 2019, 2018 by perlancar@cpan.org. | ||
| 54 | |||
| 55 | This is free software; you can redistribute it and/or modify it under | ||
| 56 | the same terms as the Perl 5 programming language system itself. | ||
| 57 | |||
| 58 | =cut |