Validation constraints are the formally specified rules that data or metadata must satisfy to be considered valid against a schema, covering datatypes, cardinality, value ranges, required fields and structural relationships. Expressed through languages such as SHACL, JSON Schema or XSD, they let systems automatically verify conformance and reject malformed input. They are an integral part of metadata standards and ontology schemas.

Content

  • Constraint languages such as SHACL and JSON Schema express closed-world checks on shape, datatype and cardinality. Validators apply these rules to assert conformance, surface violations with diagnostics, and gate data ingestion or publication pipelines.