Skip to content

Commit 06f9d2d

Browse files
committed
[WIP] Provisionally outline sections for #545
1 parent 854e4ba commit 06f9d2d

File tree

1 file changed

+7
-1
lines changed
  • website/content/tutorials/5-constraints-has-cardinality

1 file changed

+7
-1
lines changed

website/content/tutorials/5-constraints-has-cardinality/_index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: ""
77

88
## Introduction
99

10-
In the previous tutorial, we enhanced the computer model and learned how to use constraints to customize specific field and flags' values by subsetting their data types or match certain patterns with regular expressions. In previous tutorials about constraints, we have learned multiple techniques to precisely control the values of fields and flags. But how do we control the minimum and maximum number of occurrences for assemblies, fields, and flags in document instance(s) with logical conditions using their own identifiers and values? How do we do this with related assemblies, fields, and flags co-occurring these document instance(s)?
10+
In the previous tutorial, we enhanced the computer model and learned how to use constraints to customize specific fields' and flags' values by subsetting their data types or match certain patterns with regular expressions. In previous tutorials about constraints, we have learned multiple techniques to precisely control the values of fields and flags. But how do we control the minimum and maximum number of occurrences for assemblies, fields, and flags in document instance(s) with logical conditions using their own identifiers and values? How do we do this with related assemblies, fields, and flags co-occurring these document instance(s)?
1111

1212
To control the minimum and maximum occurrence of different assemblies, fields, flags and/or their respective values, we can use `has-cardinality` constraints to meet this use case.
1313

@@ -574,4 +574,10 @@ computer:
574574
{{% /tab %}}
575575
{{< /tabs >}}
576576

577+
## Using has-cardinality constraints with identifiers
578+
579+
## Using has-cardinality constraints with values
580+
581+
## Using complex has-cardinality constraints with both
582+
577583
## Conclusion

0 commit comments

Comments
 (0)