Code Monkey home page Code Monkey logo

travel-rules's Introduction

Travel Rules Database

Travel rules around the world as an executable Datalog database.

This project makes no claim to the accuracy of the data. The query results cannot be taken as legal advice.

The travel rules for each nation state (in the 3 letter ISO 3166-1 alpha-3 format) is specified in its own Datalog file in the ./state_rules folder. Preferably each rule should have a referenced source that could be checked regularly for updates.

An example session:

  • Fill in your personal travel information, including passports, visas and/or residence permits you hold (see the sample files in the ./facts folder)

  • make

  • See output/can_visit_state_formatted.csv. An excerpt is included here:

person state_name basis duration conditions

trung

Afghanistan

visa exemption

?

humanitarian and tourism

trung

Albania

has_schengen_visa

90

-

trung

Andorra

through France

visa duration

-

trung

Andorra

through Spain

visa duration

-

trung

Armenia

eVisa

?

eVisa

trung

Antigua and Barbuda

has_schengen_visa

30 days

visa on arrival

trung

Antigua and Barbuda

eVisa

?

eVisa

travel-rules's People

Contributors

lewtds avatar

Watchers

 avatar

travel-rules's Issues

Safer and more discoverable enums

Many of the enum values we're using are just plain symbol. For example Visa/passport types, country code, etc. We should make them proper enum to avoid data entry errors and to facilitate building friendly UI in the future.

Implement passport requirements

Some countries require the passport expiration date to be at least N months after expected leaving date. Some require the passport to not be more than 10 years old.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.