Skip to content

Commit

Permalink
fix typo in the hcl spec
Browse files Browse the repository at this point in the history
Change `schemata` to `schema`
  • Loading branch information
amirhosseinab authored Dec 5, 2024
1 parent bee2dc2 commit 6bc4716
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ A _body schema_ is a description of what is expected within a particular body,
which can then be used to extract the _body content_, which then provides
access to the specific attributes and blocks requested.

A _body schema_ consists of a list of _attribute schemata_ and
_block header schemata_:
A _body schema_ consists of a list of _attribute schema_ and
_block header schema_:

- An _attribute schema_ provides the name of an attribute and whether its
presence is required.
Expand Down Expand Up @@ -102,7 +102,7 @@ pairs.

The alternative _dynamic attributes_ processing mode allows for this more
ad-hoc approach. Processing in this mode behaves as if a schema had been
constructed without any _block header schemata_ and with an attribute
constructed without any _block header schema_ and with an attribute
schema for each distinct key provided within the physical representation
of the body.

Expand Down Expand Up @@ -147,7 +147,7 @@ to be processed by different parts of the calling application.

Processing a body in two steps — first partial processing of a source body,
then exhaustive processing of the returned body — is equivalent to single-step
processing with a schema that is the union of the schemata used
processing with a schema that is the union of the schema used
across the two steps.

## Expressions
Expand Down

0 comments on commit 6bc4716

Please sign in to comment.