Skip to content

Main content

Treaty Language Authenticity Flag Tool

Check a language code against an explicit list of authentic treaty languages without inferring authenticity from translation availability.

Loading tool…

Description

Require nonempty languageCode and test exact membership in authenticLanguageCodes.

Treaty and diplomatic records contain dates, party categories, and explicitly defined term boundaries. Arithmetic can check chronology and counts without determining the legal effect of an instrument.

Require nonempty languageCode and test exact membership in authenticLanguageCodes.

When to use this tool

Use Treaty Language Authenticity Flag when you need a source-record chronology or party-count check.

How to use the tool and how it works

  1. Enter languageCode, authenticLanguageCodes. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read authentic. Inspect authentic before interpreting the associated values.

Require nonempty languageCode and test exact membership in authenticLanguageCodes.1

Input fieldMeaning and unitsAccepted input
languageCodeLanguage CodeRequired. Text; maximum UTF-16 length 8192.
authenticLanguageCodesAuthentic Language CodesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
Output fieldInterpretationReturned shape
authenticAuthenticRequired. Boolean.
json
{
  "input": {
    "languageCode": "fr",
    "authenticLanguageCodes": [
      "en",
      "fr"
    ]
  },
  "output": {
    "authentic": true
  }
}

Limitations and assumptions

  • This reflects a supplied authentic-language list rather than verifying a treaty text, language code standard, translation, or legal authenticity.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Consult the authoritative instrument, depositary records, and qualified legal interpretation for actual status or obligations.

References

  1. Calculation and input contract: international-relations/treaty-language-authenticity-flag — tool.io

Similar or alternative tools