Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement court overrides for sub-jurisdictions #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KampfCaspar
Copy link

Countries may define courts on different jurisdiction levels, e.g. courts of first and second instance must exist by federal mandate, but naming is delegated to direct sub-jurisdictions and the actual courts exist on a sub-sub-jurisdiction. The current implementation allows court information only to be defined globally or by jurisdiction - but knows no inheritance.

I propose to implement an inheritance of court information down the sub-jurisdiction path. This allows to easily implement the following scenario

  • jurisdiction level 0 (federal) mandates courts of two instances in the lower jurisdictions
  • jurisdiction level 1 (state) defines the naming of those courts
  • jurisdiction level 2 (district) has the actual courts

That's how it's implemented (more or less) in Switzerland. The federal government mandates to instances but leaves everything else to the cantons/states. The cantons define the naming of the courts, also for the district level. The districts have the courts of first instance. Now, while all districts have a court of first instance, in one canton they are called 'Kreisgericht', in another 'Bezirksgericht'. I can not define this name globally and I don't want to override it for every district.

To keep everything compatible, I suggest adapting a new keyword overrides in jurisdictions that contains the 'overridden' court definitions for that jurisdictions and all sub-jurisdictions.

@georgd
Copy link
Contributor

georgd commented Oct 31, 2021

@KampfCaspar this sounds interesting. Would you mind sharing a code snippet that shows how this would be used?

@KampfCaspar
Copy link
Author

Let's say Atlantis has a three instances court system, a first instance on district level, a second instance on state level and a third instance on federal level. The states are free to organize their districts and to name both the first and second instance courts.

Now State 1 has named their second instance court 'State Court' and all district courts are called 'District Court'.
'State 2' on the other hand, has decided to name them 'Higher Court' and 'Lower Courts'.

The result (with only one district per state) would be:
https://gist.github.com/KampfCaspar/9c454173b31ac8bb5a5dbdce2c181393

@KampfCaspar
Copy link
Author

Any other remarks? Any set up work I need to follow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants