Description
Preserve explicit metadata language and script tags.
Information records distinguish identifiers, controlled vocabularies, language fallbacks, assertion times and valid times. A supplied inverse predicate differs from an inferred semantic relation. Text offsets require an explicit code-point or code-unit basis, and a metadata count check does not validate field content or an entire schema.
Preserve explicit metadata language and script tags.
When to use this tool
Use Metadata Language Script Pair when you already have recordId, suppliedLanguage, suppliedScript and need to preserve explicit metadata language and script tags.
How to use the tool and how it works
- Enter recordId, suppliedLanguage, suppliedScript. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read token. Use the output convention below.
Enter recordId, suppliedLanguage, suppliedScript using the field constraints below. Encode these values, in exactly that order, as a JSON array and return the serialized array as text in token. String values are preserved without trimming or external terminology lookup.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| recordId | Record Id | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| suppliedLanguage | Supplied Language | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| suppliedScript | Supplied Script | Required. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| token | Token | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"recordId": "R17",
"suppliedLanguage": "en",
"suppliedScript": "Latn"
},
"output": {
"token": "[\"R17\",\"en\",\"Latn\"]"
}
} Limitations and assumptions
- The result records supplied values without detecting text or consulting a code registry. Sources and asserted relationships are not independently authenticated.
- 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
Use the actual record, vocabulary authority and complete metadata schema for semantic or conformance questions. Apply the identifier scheme's real comparison rules and the intended language/offset policy rather than inferring them from a local string operation.
References
Similar or alternative tools
- Metadata Controlled Value Source Key
Qualify a literal controlled metadata value by its supplied vocabulary source.
- Knowledge Record Validtime Assertion Pair
Preserve explicit knowledge-record assertion time and valid-time bounds.