Sources of International Law: Treaties, Custom, and Legal Principles

Last Updated May 6, 2026

International law does not emerge from a single global legislature. Instead, it develops through a recognized set of legal sources that together form the foundation of the international legal system. These sources explain how legal rules arise, how they acquire authority, and how courts, institutions, and states identify the norms that govern international conduct.

The classical point of departure remains Article 38(1) of the Statute of the International Court of Justice, which identifies the legal materials the Court applies in deciding disputes brought before it. Although drafted for the International Court of Justice rather than as a complete constitution of the international legal order, Article 38 has long been treated as the most authoritative formal statement of the sources of public international law. It identifies treaties, customary international law, and general principles of law as primary sources, while judicial decisions and the teachings of highly qualified publicists serve as subsidiary means for determining rules of law.

Editorial illustration of the sources of international law shown as a circular layered legal architecture with treaty-like documents, institutional chambers, archives, legal pathways, human figures, and outer rings representing sovereignty, custom, hierarchy, unequal power, and contested global authority.
International law develops through multiple recognized sources, including treaties, customary practice, general principles, judicial interpretation, institutional practice, and contested legal authority.

Understanding the sources of international law is foundational because the international system lacks a centralized sovereign legislature comparable to that of a state. International law therefore develops through consent, practice, legal reasoning, institutional interpretation, and sustained contestation rather than through command issued by a single superior authority. This makes the law of sources one of the most important theoretical and practical areas in the entire field. It determines how legal obligation is identified, how disputes are argued, and how norms evolve across diplomacy, armed conflict, human rights, maritime law, trade, decolonization, sanctions, and global governance.

At the same time, a serious account of the sources doctrine must avoid pretending that the classical framework emerged in a politically neutral world. The law of sources developed within an international order historically shaped by empire, unequal treaties, racial hierarchy, and selective inclusion in the category of fully recognized sovereign states. The formal language of “general practice,” “recognized principles,” and “highly qualified publicists” has often concealed disputes over whose practice counted, whose legal traditions were treated as universal, and whose voices were marginalized or excluded. A contemporary anchor article should therefore do two things at once: explain the doctrine rigorously and acknowledge that the history of international legal authority is inseparable from struggles over power, recognition, and political inequality.

Why the Sources of International Law Matter

The law of sources is not a technical side issue. It is the framework that determines how international law is recognized, argued, and applied. When a state claims that another has violated international law, when a court interprets a treaty, when a tribunal identifies a customary rule, or when institutions invoke legal obligation in response to war, sanctions, occupation, or environmental harm, the question of sources is always present in the background. The authority of the claim depends not simply on moral persuasion but on whether the relevant norm can be located within recognized structures of international legality.

This is especially important because international law is decentralized. The United Nations Charter is a foundational multilateral treaty and provides the constitutional framework of the post-1945 order, but it is not a global civil code. International law must therefore rely on a combination of treaty obligation, practice accepted as law, trans-systemic legal principles, judicial interpretation, and institutional elaboration. The sources doctrine is what gives this plural legal order its structure.

Sources also matter because they discipline legal argument. Without a sources framework, international legal claims could collapse into political preference, moral assertion, or institutional rhetoric. A legal claim needs an identifiable basis: a treaty obligation, a customary rule, a general principle, an authoritative judgment, an institutional decision, or some combination of these. The doctrine of sources therefore asks not only what the rule says, but also where the rule comes from, whom it binds, how it can be proved, and how it relates to other rules within the international legal order.

Back to top ↑

Article 38 and the Classical Doctrine of Sources

Article 38(1) of the ICJ Statute identifies three primary sources and two subsidiary means. It directs the Court to apply international conventions establishing rules expressly recognized by contesting states; international custom, as evidence of a general practice accepted as law; and the general principles of law recognized by nations. It then adds judicial decisions and the teachings of highly qualified publicists as subsidiary means for the determination of rules of law. The provision was drafted for the Court, but it has long been treated as the most durable formal map of how the discipline understands legal sources.

Primary legal excerpt

“international conventions” — “international custom” — “general principles of law”

Statute of the International Court of Justice, Article 38(1).

This short excerpt identifies the classical source categories that continue to organize public international law: treaties, custom, and general principles, supplemented by judicial decisions and scholarly writings.

The continuing authority of Article 38 lies not in the fact that it answers every jurisprudential question, but in the fact that it provides a durable and widely accepted starting framework. It does not exhaust the field. It says little explicitly about soft law, acts of international organizations, unilateral declarations, peremptory norms, the normative role of General Assembly resolutions, or the increasingly complex interaction between treaty regimes and customary law. Even so, it remains the standard doctrinal point of departure through which the field organizes its understanding of legal sources.

That said, Article 38 also reflects the intellectual and political conditions of its time. The older civilizational vocabulary historically associated with general principles is now rightly regarded as dated and normatively compromised. Contemporary legal writing and institutional work increasingly restate the category in more neutral terms, emphasizing general principles of law recognized by legal systems or formed within the international legal system itself. The underlying doctrine remains important, but the older civilizational language should not be reproduced uncritically.

Back to top ↑

Treaties

Treaties are formal agreements governed by international law and concluded between subjects capable of treaty-making. They are among the most visible and structured sources of international law because their terms are written, negotiated, authenticated, ratified or otherwise accepted, and interpreted through recognized legal rules. Treaties govern a vast range of matters, including the use of force, diplomatic relations, trade, human rights, maritime navigation, arms control, environmental protection, and institutional organization. The UN Charter, the Geneva Conventions, and the UN Convention on the Law of the Sea are among the most important examples.

The law governing treaties is codified principally in the Vienna Convention on the Law of Treaties. The Convention sets out rules on treaty formation, reservations, entry into force, interpretation, amendment, invalidity, termination, and succession of treaties on the same subject matter. It is one of the central framework instruments of public international law because it provides the procedural and interpretive architecture through which treaty obligation is stabilized.

Primary legal excerpt

“Every treaty in force is binding upon the parties”

Vienna Convention on the Law of Treaties, Article 26.

This is the core treaty-law principle of pacta sunt servanda: valid treaties bind the parties and must be performed in good faith.

Treaties matter not only because they create express obligations, but also because they can codify pre-existing custom, crystallize emerging legal norms, or help generate later customary rules through widespread acceptance, institutionalization, and repeated state practice. A treaty may bind only its parties in the strictest sense, but in practice treaty regimes often have influence beyond formal membership by shaping institutions, expectations, interpretive frameworks, and patterns of legal reasoning. This is one reason treaty law is both a source of obligation and a motor of wider normative development.

Treaty interpretation is also central to international legal practice. Courts and tribunals rarely read treaty provisions as isolated phrases. They read them in context, in light of object and purpose, alongside subsequent agreement, subsequent practice, and relevant rules of international law applicable between the parties. This interpretive architecture helps explain why treaty law is not merely textual. It is institutional, purposive, historical, and relational.

Back to top ↑

Treaty Authority, Consent, and Institutional Order

Treaties are often described as the clearest expression of state consent, but consent itself should not be romanticized. Formal consent can coexist with unequal bargaining power, economic pressure, military asymmetry, and institutional dependency. The history of international law includes unequal treaties, colonial treaty-making, protectorate arrangements, and forms of nominal agreement produced in conditions far from political equality. A serious account of treaties as a source of law must therefore distinguish between legal form and the political conditions under which consent is produced.

This does not make treaties less legally important. It makes the doctrine more honest. Treaty authority rests on consent in law, but the politics of consent have often been structured by unequal power. The law of treaties itself recognizes some of this through doctrines of invalidity, coercion, and conflict with peremptory norms. Yet the historical record makes clear that the mere existence of a treaty does not always settle deeper questions of justice, legitimacy, or equal authorship in the making of international law.

Treaty authority also depends on institutional order. Multilateral treaty regimes often create committees, courts, reporting processes, secretariats, inspection systems, conferences of parties, expert bodies, and compliance mechanisms. These institutions do not simply administer legal texts. They help shape legal meaning over time by interpreting obligations, collecting evidence, issuing guidance, coordinating implementation, and creating sites where disagreement can be converted into institutional practice. In this sense, treaties are not only written instruments; they can become legal communities.

Back to top ↑

Customary International Law

Customary international law arises from a general practice accepted as law. This dual structure — practice and opinio juris — is central to the modern understanding of custom and is reflected both in Article 38 and in the International Law Commission’s conclusions on the identification of customary international law. The ILC states that, to determine the existence and content of a rule of customary international law, it is necessary to ascertain whether there is a general practice that is accepted as law.

Primary legal excerpt

“a general practice” — “accepted as law”

International Law Commission, Draft conclusions on identification of customary international law, Conclusion 2.

This short excerpt captures the two-element approach to custom: state practice and opinio juris.

State practice can take many forms: diplomatic correspondence, legislative acts, military manuals, executive statements, national court decisions, treaty participation, voting behavior in international organizations, official legal positions, and operational conduct. It need not be perfectly uniform, but it must be sufficiently general and consistent to support the identification of a legal rule. Opinio juris, meanwhile, is what distinguishes custom from habit, courtesy, or political convenience. It indicates that states follow or defend a practice because they regard it as legally required, permitted, or otherwise legally grounded.

Custom remains indispensable because not all international law is treaty-based and not all states are parties to the same conventions. Important areas such as immunities, parts of the law of armed conflict, elements of maritime law, the prohibition on aggression, and general doctrines of state responsibility depend substantially on custom. Custom also allows the law to develop in areas where treaty-making is incomplete, politically blocked, or too slow to respond to emerging realities.

Back to top ↑

Practice and Opinio Juris

The two-element approach to custom remains the official contemporary position of the ILC. Practice asks what states do. Opinio juris asks whether they do it because they accept it as law. The relationship between the two is often complex. Practice may be public or partially tacit. The legal belief may be explicit in diplomatic protest, treaty drafting, military manuals, or official statements, or it may be inferred from the legal framing with which states defend or condemn conduct. The evidentiary task is therefore interpretive as well as descriptive.

The ILC’s work is especially important because it disciplines some of the vagueness historically associated with custom. It does not eliminate disagreement, but it clarifies that identifying custom requires a serious examination of evidence, not casual invocation of repeated behavior. The conclusions also address particular custom, the role of inaction in some contexts, the significance of resolutions and acts of international organizations, and the treatment of persistent objectors. These clarifications matter because custom is often where international law looks most indeterminate to outsiders and most vulnerable to strategic manipulation.

The practice/opinio juris distinction also helps prevent international legal argument from confusing power with law. A repeated pattern of conduct by powerful states does not automatically become law. The question is whether the practice is sufficiently general, sufficiently representative, sufficiently consistent, and accepted as legally meaningful. This distinction matters acutely in areas such as military force, sanctions, cyber operations, targeted killings, maritime conduct, and humanitarian intervention, where states may try to convert strategic behavior into legal precedent.

Back to top ↑

Contestation in Custom: Who Counts and How Custom Forms

Customary international law is one of the most contested areas in the field, not only doctrinally but politically. Questions often arise over how much practice is enough, whose practice matters most, how rapidly a custom can emerge, and how to distinguish legal acceptance from rhetorical positioning. These disputes are not signs of doctrinal collapse. They reflect the difficulty of identifying law in a decentralized system where practice, justification, and legal belief are deeply intertwined.

But there is also a deeper political question: whose practice historically counted as “general” practice? Classical customary international law often took shape in a world where colonial domination, unequal participation, and exclusions from full sovereignty distorted the apparent universality of the system. This means that the doctrine of custom cannot be treated as though it developed in a level field of equal authorship. The modern insistence on broader participation, wider evidentiary scrutiny, and careful attention to the practice of newly independent and Global South states is therefore not merely methodological. It is also corrective.

Contestation is not necessarily a weakness of customary law. It can be part of how the law changes. Protests, reservations, dissenting votes, separate opinions, regional positions, diplomatic objections, and alternative interpretations all contribute to the legal record. They reveal that international law develops not only through consensus but also through argument. The question is whether argument becomes disciplined by evidence, institutional memory, and legal method, or whether it becomes a rhetorical screen for selective power.

Back to top ↑

General Principles of Law

General principles of law constitute the third primary source identified in Article 38. Their role is often to fill gaps, prevent non liquet, and support coherence where neither treaty law nor customary law yields a sufficiently determinate answer. They may include principles such as good faith, estoppel, procedural fairness, res judicata, responsibility for wrongful acts, and the requirement that legal rights be exercised in a manner consistent with the structure of obligation.

The importance of general principles lies in the fact that international law cannot function entirely as a closed catalogue of treaty clauses and state practices. Courts and tribunals need resources of legal reasoning that can travel across systems and give normative shape to adjudication where positive rules are incomplete. These principles do not authorize unrestricted judicial creativity. Rather, they operate as recognized legal standards derived either from common features of major legal systems or, in more contemporary ILC framing, from the internal logic and requirements of the international legal system itself.

Because the category is open-textured, it has long generated debate. Some jurists treat general principles narrowly, as analogical imports from domestic systems. Others see them more broadly as trans-systemic legal principles emerging from international adjudication and institutional practice. The ILC’s work on general principles is especially important because it distinguishes principles derived from national legal systems from principles formed within the international legal system. This is one of the most important modern clarifications of the doctrine.

General principles are also where comparative legal method becomes visible. If a principle is said to be shared across legal systems, the evidentiary task should not be reduced to a narrow survey of familiar Western legal traditions. A genuinely international account should ask how principles appear across different legal cultures, how translation affects legal meaning, and how colonial histories shaped which legal systems were treated as authoritative in the first place.

Back to top ↑

Subsidiary Means for Determining Rules of Law

Article 38 identifies judicial decisions and the teachings of highly qualified publicists as subsidiary means for determining rules of law. This does not mean they are irrelevant or merely decorative. International courts, arbitral tribunals, and reasoned scholarly writing have played an enormous role in clarifying doctrine, synthesizing practice, and stabilizing interpretation. In a system without a central legislature, carefully reasoned legal analysis often becomes indispensable to the identification of obligation.

Judicial decisions do not create binding precedent in the same way as in some domestic systems, but they are highly persuasive, especially when issued by leading tribunals on recurring issues. ICJ judgments and advisory opinions, for example, are central reference points in disputes concerning jurisdiction, use of force, treaty interpretation, immunities, and state responsibility. Regional human rights courts, criminal tribunals, arbitral bodies, and national courts also contribute to the legal record, especially where they reason carefully from recognized sources.

Scholarly writings also remain unusually significant in international law because the field has historically depended on doctrinal systematization across dispersed legal materials. Yet here too one must be careful: the canon of “highly qualified publicists” has historically been dominated by European and North American scholarship. A comprehensive account should recognize that authority in writing has itself been unequally distributed. International legal scholarship is strongest when it includes Global South jurists, feminist legal theorists, postcolonial critics, Indigenous perspectives, regional scholarship, and historically marginalized legal voices alongside canonical public international law writing.

Back to top ↑

Soft Law, Institutional Practice, and Normative Development

Modern international law cannot be understood fully through Article 38 alone. Much of the normative life of the international system is carried by instruments that are not formally binding treaties yet still influence expectation, interpretation, institutional conduct, and later legal development. UN General Assembly declarations, guidelines, codes of conduct, reporting standards, conference outcomes, expert principles, and treaty-body outputs often fall into the category commonly called “soft law.”

Soft law matters because it can prepare the ground for harder legal commitments, interpret existing treaty obligations, consolidate emerging consensus, and shape the conduct of states and institutions even without strict formal binding force. In human rights, environmental governance, business and human rights, and digital governance, soft law frequently functions as an important bridge between political aspiration and juridical consolidation. Its weakness is that it may lack determinacy or enforceability; its strength is that it can move more quickly than formal treaty processes and help organize normative expectations in areas where legal development is still underway.

This does not mean soft law should be confused with primary sources in the classical sense. Rather, it should be seen as part of the broader ecology through which international norms are articulated, socialized, and sometimes transformed into treaty or customary obligation. The legal question is not simply whether an instrument is binding or non-binding. It is also how the instrument is used, whether states treat it as interpretive evidence, whether institutions rely on it, and whether it contributes over time to legal expectation.

Back to top ↑

Jus Cogens, Erga Omnes, and Hierarchy in International Law

One reason the classical doctrine of sources needs supplementation is that international law is not always a flat field of equally ranked norms. The Vienna Convention recognizes the concept of jus cogens, or peremptory norms of general international law, from which no derogation is permitted and which can be modified only by a subsequent norm of the same character. The Convention also links jus cogens to treaty validity, indicating that treaties conflicting with such norms are void.

Primary legal excerpt

“accepted and recognized by the international community of States as a whole”

Vienna Convention on the Law of Treaties, Article 53.

This language is central to the modern treaty-law definition of a peremptory norm of general international law.

Closely related is the idea of obligations erga omnes, owed to the international community as a whole. These concepts complicate any overly simple picture of international law as a mere aggregation of consensual rules. They suggest that some norms — such as the prohibitions on genocide, slavery, torture, and aggressive war — occupy a specially protected place within the legal order. Even in a decentralized system, hierarchy can emerge where the international community treats certain principles as foundational to legality itself.

Hierarchy also raises difficult questions of identification and authority. Who determines which norms are peremptory? How does the international community recognize them? What happens when states disagree about the scope of such norms? How should courts treat conflicts between treaty obligations, Security Council decisions, human rights norms, and claims of peremptory law? These questions show that hierarchy in international law is not only moral language. It is a doctrinal problem with institutional consequences.

Back to top ↑

How the Sources Interact in Practice

The sources of international law do not operate in isolation. Treaty rules may codify customary norms, accelerate the formation of custom, or coexist with background custom that continues to apply alongside them. General principles may shape the interpretation of treaty provisions or inform reasoning about custom. Judicial decisions may clarify all of these. Institutional practice may help consolidate shared understandings that later influence both custom and interpretation. The international legal order is therefore best understood not as a static hierarchy of boxes, but as a dynamic field of interacting legal forms.

This interaction is especially visible in areas such as the law of the sea, humanitarian law, and human rights. Maritime treaties may codify rules that later become broadly accepted. Humanitarian principles may rest simultaneously on treaties and customary law. Human rights norms may be elaborated through treaties, declarations, monitoring practice, and judicial interpretation. The law of sources is thus not only about classification. It is about understanding how international law actually develops through negotiation, practice, reasoning, contestation, institutional repetition, and political struggle.

The interaction of sources also matters when legal regimes overlap. A climate treaty may interact with human rights law. Maritime obligations may interact with environmental law. Trade obligations may collide with public health measures. Investment law may affect regulatory sovereignty. Armed conflict rules may overlap with human rights protections. In these moments, source analysis becomes a tool of coherence, helping lawyers and institutions ask which obligations apply, how they relate, and whether one norm has priority over another.

Back to top ↑

Source Analysis and Substantive International Law

Sources doctrine becomes most concrete when applied to substantive legal regimes. The prohibition on the use of force, for example, is expressed in the UN Charter, developed through state practice, interpreted by courts and scholars, and treated by many as having customary and peremptory dimensions. Human rights obligations often arise from treaties, declarations, customary law, monitoring bodies, and regional jurisprudence. International humanitarian law draws on treaty law, custom, military manuals, judicial decisions, and institutional interpretation.

Primary legal excerpt

“threat or use of force against the territorial integrity”

Charter of the United Nations, Article 2(4).

This short excerpt shows how a treaty provision can also become central to broader arguments about custom, peremptory norms, collective security, and the legal limits of state violence.

This is why sources analysis is not abstract. It determines how international lawyers evaluate claims about war, occupation, genocide, sanctions, refugee protection, maritime boundaries, environmental harm, cyber operations, and global public health. A rule’s source affects its scope, binding force, evidence, exceptions, enforcement mechanisms, and interpretive authority. A treaty rule may bind only parties. A customary rule may bind more broadly. A peremptory norm may limit derogation. A Security Council decision may create obligations under the Charter. A soft-law instrument may not bind directly but may still influence interpretation and institutional practice.

Source analysis also affects accountability. If a norm is poorly grounded, claims of violation may be easier to dismiss. If a norm is firmly rooted in treaty, custom, peremptory law, or authoritative institutional practice, legal argument becomes more difficult to evade. For vulnerable states and communities, disciplined source analysis can therefore be a tool of protection. It can transform moral injury into legal claim, and legal claim into a basis for advocacy, litigation, diplomacy, or institutional accountability.

Back to top ↑

Colonial Legacies, Exclusion, and the Politics of Legal Universality

A fully serious article on sources must acknowledge that the formal doctrines of treaties, custom, and legal principles were built in an international order historically structured by empire. Many peoples were denied full sovereignty when the classical doctrine of sources was taking shape. Colonial territories were often objects of legal ordering rather than equal participants in shaping it. Practices of dominant powers could be generalized as “international” while the legal traditions and interests of subordinated peoples were marginalized or ignored.

This matters especially for custom and general principles. What counts as “general” practice or a “recognized” principle has never been a purely empirical question. It has also been shaped by who was admitted as a full subject of international law, whose conduct was documented and cited, whose courts were read as authoritative, and whose jurists were treated as publicists of universal standing. A contemporary, decolonially aware sources doctrine must therefore avoid presenting classical universality as innocent. It must recognize that universality was often historically produced through unequal power.

That does not require abandoning the doctrine of sources. It requires treating it more honestly. The task is not to discard treaties, custom, or general principles, but to interpret them in a way that takes seriously broader participation, the legal agency of formerly colonized states, the plurality of legal traditions, and the long struggle to transform an unequal international order into one that can plausibly speak in universal legal terms.

This also means recognizing marginalized legal memory. Anti-colonial movements, Indigenous peoples, enslaved and formerly enslaved communities, colonized states, stateless peoples, refugees, and communities subjected to occupation or racial hierarchy have not merely been passive recipients of international law. They have argued through it, against it, and beyond it. They have used law’s universal language to expose the gap between legal promise and historical reality. The doctrine of sources is therefore not only a technical field; it is also a record of whose legal voice has been heard.

Back to top ↑

The Sources Doctrine in the Contemporary International Order

In the contemporary international order, the doctrine of sources remains indispensable but can no longer be treated as static. Treaty law remains central, custom remains vital, general principles remain necessary, and subsidiary means remain influential. But international law now develops in a far denser normative environment than the one presupposed by older accounts. International organizations, soft law instruments, human rights bodies, environmental regimes, digital governance processes, and transnational regulatory networks all contribute to the wider ecology in which legal norms emerge, consolidate, and are interpreted.

The strength of the sources doctrine lies in its ability to provide structure within this plural environment. Its weakness appears when that structure is mistaken for neutrality or completeness. The best contemporary account therefore keeps both insights in view: Article 38 still matters profoundly, but the legal world it helps organize is wider, more contested, more institutionalized, and more politically uneven than the classical doctrine alone can fully capture.

For students, researchers, lawyers, journalists, policymakers, and civic readers, the central lesson is methodological. International law should not be accepted merely because a state invokes it, nor dismissed merely because enforcement is uneven. It must be examined through sources, evidence, interpretation, institutional context, and historical power. That is what makes the law of sources foundational: it teaches how to read international legality with rigor, skepticism, and responsibility.

Back to top ↑

GitHub Repository

The International Law Research Repository supports this article with structured research infrastructure for source tracking, treaty metadata, institution records, article-roadmap planning, citation guidance, and legal-source hierarchy notes. The repository folder can hold SQL schemas, CSV metadata, documentation, and lightweight research utilities outside the main article while still making the research workflow auditable.

The following one-shot terminal command creates or updates the repository structure under articles/international-law, adds starter source metadata, SQL schema files, documentation, and a lightweight Python export utility, then commits and pushes the changes.

mkdir -p ~/Projects && cd ~/Projects && \
if [ -d international-law-research/.git ]; then \
  cd international-law-research && git pull; \
else \
  git clone [email protected]:Content-Catalyst-LLC/international-law-research.git && cd international-law-research; \
fi && \
mkdir -p articles/international-law/{docs,data,sql,python,outputs} shared/{schemas,governance,templates} && \
cat > articles/international-law/README.md <<'EOF'
# International Law

Research folder for the International Law knowledge series.

This folder stores source hierarchy notes, treaty and institution metadata, article-roadmap data, SQL schemas, citation guidance, and lightweight research utilities for maintaining the International Law series.
EOF
cat > articles/international-law/docs/source_hierarchy.md <<'EOF'
# International Law Source Hierarchy Notes

## Primary Legal Authorities

1. ICJ Statute, especially Article 38.
2. UN Charter.
3. Vienna Convention on the Law of Treaties.
4. International Law Commission draft articles, conclusions, and commentaries.
5. Treaties, court statutes, judgments, advisory opinions, treaty body materials, institutional records, and official legal documents.

## Secondary Authorities

Use leading public international law treatises, peer-reviewed scholarship, TWAIL scholarship, feminist international law, Global South perspectives, legal histories, and institutional commentaries.

## Editorial Rules

- Prefer official institutional URLs for primary legal materials.
- Use short legal excerpts only where they clarify doctrine.
- Maintain doctrinal precision while foregrounding colonial history, selective enforcement, unequal power, and marginalized legal voices.
EOF
cat > articles/international-law/sql/schema.sql <<'EOF'
-- International Law research schema

CREATE TABLE IF NOT EXISTS legal_sources (
    source_id INTEGER PRIMARY KEY,
    source_title TEXT NOT NULL,
    source_type TEXT NOT NULL,
    institution TEXT,
    year INTEGER,
    url TEXT,
    notes TEXT
);

CREATE TABLE IF NOT EXISTS article_roadmap (
    article_id INTEGER PRIMARY KEY,
    article_title TEXT NOT NULL,
    article_slug TEXT NOT NULL,
    status TEXT NOT NULL,
    domain TEXT,
    description TEXT,
    url TEXT
);

CREATE TABLE IF NOT EXISTS article_source_links (
    link_id INTEGER PRIMARY KEY,
    article_id INTEGER NOT NULL,
    source_id INTEGER NOT NULL,
    relationship_type TEXT,
    notes TEXT,
    FOREIGN KEY(article_id) REFERENCES article_roadmap(article_id),
    FOREIGN KEY(source_id) REFERENCES legal_sources(source_id)
);
EOF
cat > articles/international-law/data/legal_sources.csv <<'EOF'
source_id,source_title,source_type,institution,year,url,notes
1,Statute of the International Court of Justice,primary authority,International Court of Justice,1945,https://www.icj-cij.org/statute,Article 38 source framework
2,Charter of the United Nations,primary authority,United Nations,1945,https://www.un.org/en/about-us/un-charter/full-text,Post-1945 international legal framework
3,Vienna Convention on the Law of Treaties,treaty,United Nations,1969,https://legal.un.org/ilc/texts/instruments/english/conventions/1_1_1969.pdf,Treaty formation interpretation validity and termination
4,Draft Conclusions on Identification of Customary International Law,ILC work product,International Law Commission,2018,https://legal.un.org/ilc/texts/instruments/english/draft_articles/1_13_2018.pdf,Practice and opinio juris
5,Draft Articles on Responsibility of States for Internationally Wrongful Acts,ILC work product,International Law Commission,2001,https://legal.un.org/ilc/texts/instruments/english/draft_articles/9_6_2001.pdf,State responsibility and wrongful acts
EOF
cat > articles/international-law/python/export_sources.py <<'EOF'
"""
Export source metadata for the International Law research folder.
"""

from __future__ import annotations

import csv
from pathlib import Path


BASE_DIR = Path(__file__).resolve().parents[1]
DATA_FILE = BASE_DIR / "data" / "legal_sources.csv"
OUTPUT_FILE = BASE_DIR / "outputs" / "primary_authorities.md"


def export_primary_authorities() -> None:
    """Export primary authority metadata as a Markdown list."""
    OUTPUT_FILE.parent.mkdir(parents=True, exist_ok=True)

    with DATA_FILE.open(newline="", encoding="utf-8") as csvfile:
        reader = csv.DictReader(csvfile)
        rows = list(reader)

    lines = ["# Primary Authorities", ""]

    for row in rows:
        lines.append(
            f"- {row['institution']} ({row['year']}) "
            f"*{row['source_title']}*. Available at: {row['url']}."
        )

    OUTPUT_FILE.write_text("\n".join(lines) + "\n", encoding="utf-8")
    print(f"Wrote {OUTPUT_FILE}")


if __name__ == "__main__":
    export_primary_authorities()
EOF
python3 articles/international-law/python/export_sources.py && \
git add articles/international-law shared && \
git commit -m "Add international law research folder" && \
git push

Back to top ↑

Back to top ↑

Primary Authorities

Back to top ↑

Further Reading

Back to top ↑

References

Back to top ↑

Scroll to Top