Skip to content

Commit

Permalink
Merge pull request #5349 from opsmill/ady-fix-typo-in-docs
Browse files Browse the repository at this point in the history
docs: fix some typos in the documentation
a-delannoy authored Jan 6, 2025
2 parents ebf95c2 + 787129a commit 430bf31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/docs/topics/schema.mdx
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ The `kind` of a model is generated by concatenating the `namespace` and the `nam
- `Number`: Standard Number
- `TextArea`: Long-form Text that can span multiple lines
- `Boolean`: Flag that can be either True or False
- `DateTime`: A Data and a Time
- `DateTime`: A Date and a Time
- `Dropdown`: A list of choices, each choice can have a color and description
- `Email`: Email address
- `Password`: A Text String that should be obfuscated
@@ -118,7 +118,7 @@ These are automatically handled by the system for managing memberships and confi

:::

To help you understand the relationship types better, here’s an example schema using a real-world model of **Car**, **Person**, **Wheel**, and **Car Group**.
To help you understand the relationship types better, here’s an example schema using a real-world model of **Car**, **Person** and **Wheel**.

```yaml
version: "1.0"
@@ -477,7 +477,7 @@ generics:
name: name
unique: true
- name: color
kind: Colo
kind: Color
relationships:
- cardinality: one
identifier: person__car
@@ -703,7 +703,7 @@ All nodes with hierarchical support will automatically have 2 new relationships:
- `parent` of cardinality one
- `children` of cardinality many

#### Specific the structure of the hierarchy
#### Specify the structure of the hierarchy

By default, any node inheriting from the main `Generic` can be a parent or a children, which might not be always desirable. It's possible to limit which type of models are valid `parent` or `children` in the schema with the attributes `parent` & `children` at the node level.

0 comments on commit 430bf31

Please sign in to comment.