Description
Select requiredFields absent from presentFields, deduplicate in first-occurrence order, and return missingFields and missingCount.
Metadata obligations and relations apply to a declared record scope. Field presence, source coverage, cardinality, and value correctness are independent properties.
Select requiredFields absent from presentFields, deduplicate in first-occurrence order, and return missingFields and missingCount.
When to use this tool
Use Metadata Obligation Missing Count when you need a narrow metadata consistency or coverage check.
How to use the tool and how it works
- Enter requiredFields, presentFields. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read missingCount, missingFields. Use the output convention below.
Select requiredFields absent from presentFields, deduplicate in first-occurrence order, and return missingFields and missingCount.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| requiredFields | Required Fields | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| presentFields | Present Fields | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| missingCount | Missing Count | Required. Safe integer. |
| missingFields | Missing Fields | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
{
"input": {
"requiredFields": [
"title",
"source"
],
"presentFields": [
"title"
]
},
"output": {
"missingCount": 1,
"missingFields": [
"source"
]
}
} Limitations and assumptions
- Literal field presence does not verify values, conditional obligations, or a complete metadata standard.
- 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
Apply the complete metadata profile and inspect field values and provenance before accepting a record.
References
Similar or alternative tools
- Metadata Field Obligation Flag
Set obligationApplies when both inScope and required are true; missingRequired additionally requires present false.
- Metadata Source Coverage Share
Deduplicate requiredKeys, count those present in sourceKeys, and count those present in both sourceKeys and verifiedKeys.