A type: text rule is a human-readable expectation written in plain language. It is not executed by datacontract test — it documents an agreement or an expectation that cannot (yet) be automated, so it stays visible in the contract and in generated documentation.
schema:
- name: orders
properties:
- name: order_status
logicalType: string
quality:
- type: text
description: >
order_status transitions follow the lifecycle
placed → shipped → delivered, and never moves backwards.
When you are ready to enforce it automatically, promote it to a SQL or library rule.