Compares each DataObject's and Relationship's schema field
against the expected schema id. The expected id comes from
params.schema.id when a DataFormatSchema is supplied;
otherwise it falls back to DataModel.schema (the
model-level tag). Entities with an empty / undefined schema
field are tolerated — only an explicit mismatch fires.
The fallback path lets schema-tagging run without a full
DataFormatSchema — useful for projects that stamp the model
with a schema id but don't ship a vocabulary spec.
Opt-in via InspectDataModelParams.checkSchemaTagging.
Compares each DataObject's and Relationship's
schemafield against the expected schema id. The expected id comes fromparams.schema.idwhen a DataFormatSchema is supplied; otherwise it falls back to DataModel.schema (the model-level tag). Entities with an empty / undefined schema field are tolerated — only an explicit mismatch fires.The fallback path lets schema-tagging run without a full
DataFormatSchema— useful for projects that stamp the model with a schema id but don't ship a vocabulary spec.