Description
Return the number of distinct scope labels shared by two consent lists.
Consent, privacy and retention records encode supplied purposes, audiences, withdrawal status and timing rules. Literal membership or a true local predicate can organize these assertions while valid informed consent, adequate de-identification and lawful processing require separate contextual assessment.
Return the number of distinct scope labels shared by two consent lists.
When to use this tool
Use Consent Scope Intersection Size when checking the stated permission, withdrawal, retention or disclosure-record convention.
How to use the tool and how it works
- Enter firstScopes, secondScopes. Follow any array-alignment requirements below. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read sharedScopeCount. Use the output convention below.
Return the number of distinct scope labels shared by two consent lists. Count their literal set intersection.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| firstScopes | First Scopes | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| secondScopes | Second Scopes | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| sharedScopeCount | Shared Scope Count | Required. Safe integer. |
{
"input": {
"firstScopes": [
"a",
"b",
"b"
],
"secondScopes": [
"b",
"c"
]
},
"output": {
"sharedScopeCount": 1
}
} Limitations and assumptions
- Literal overlap does not establish consent validity, semantic subsumption, recontact rights or lawful data use.
- 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
Review original permissions, participant choices and applicable organizational/legal requirements with the responsible professionals before actual use, disclosure or deletion.
References
Similar or alternative tools
- Consent Scope Purpose Subsumption
Check requested purposes against granted and expressly excluded labels.
- Consent Recontact Scope Flag
Check a requested recontact purpose and knowledge flags.