Description
Require nonempty personCode and queriedRole, test exact role membership in creditedRoles, and format credited or not credited in the label.
Identity and survey records can preserve a person's stated wording, display preference, source, and missing-value convention. A formatter should not infer an identity or turn a recorded label into permission for publication.
Require nonempty personCode and queriedRole, test exact role membership in creditedRoles, and format credited or not credited in the label.
When to use this tool
Use Representation Role Credit Flag when you need to organize supplied identity-related record fields while preserving their stated scope.
How to use the tool and how it works
- Enter personCode, creditedRoles, queriedRole. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read credited, label. Inspect credited before interpreting the associated values.
Require nonempty personCode and queriedRole, test exact role membership in creditedRoles, and format credited or not credited in the label.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| personCode | Person Code | Required. Text; maximum UTF-16 length 8192. |
| creditedRoles | Credited Roles | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| queriedRole | Queried Role | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| credited | Credited | Required. Boolean. |
| label | Formatted label for the supplied components under the convention above. | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"personCode": "P7",
"creditedRoles": [
"director",
"writer"
],
"queriedRole": "writer"
},
"output": {
"credited": true,
"label": "P7; writer=credited"
}
} Limitations and assumptions
- This tests supplied credit metadata; it does not infer identity, actual contribution, historical accuracy, or appropriate representation.
- 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
Confirm preferences, consent, source wording, and the purpose of collection before displaying or combining personal records.
References
Similar or alternative tools
- Credit Line Role Token
Require nonempty personDisplay and role and join role: personDisplay for credit.
- Professional Role Recusal Label
Require nonempty role and append recused or not recorded as recused according to the Boolean flag.