Function pschema_rs::utils::examples::paper_schema
source · pub fn paper_schema() -> ShapeExpand description
This Rust function creates a composite shape for a paper schema with triple constraints and a shape literal.
Returns:
The function paper_schema() returns a Shape object that represents a
composite shape with three constraints. The first constraint requires that the
subject is an instance of the Human class. The second constraint requires that
the subject has a BirthPlace property with a value of London. The third
constraint requires that the subject has a BirthDate property with a value of
type `DateTime