Skip to content

Commit 00216e2

Browse files
author
Andrea Spacca
authored
Update README.md
1 parent 2f5b6b3 commit 00216e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ File generated: /Users/andreaspacca/Library/Application Support/elastic-integrat
3737

3838

3939
### Config file
40-
It is possible to tweak the randomness of the generated data through a config file provivde by the `--config-file` flag
40+
It is possible to tweak the randomness of the generated data through a config file provided by the `--config-file` flag
4141

4242
##### Sample config
4343
```yaml
@@ -70,12 +70,12 @@ It is possible to tweak the randomness of the generated data through a config fi
7070
7171
#### Config entries definition
7272
The config file is a yaml file consisting of an array of config entry.
73-
For each config entry the following fileds are available
73+
For each config entry the following fields are available
7474
- `name` *mandatory*: dotted path field
7575
- `fuzziness` *optional (`long` and `double` type only)*: delta from the previous generated value for the same field
7676
- `range` *optional (`long` and `double` type only)*: value will be generated between 0 and range
7777
- `cardinality` *optional*: per-mille distribution of different values for the field
7878
- `object_keys` *optional (`object` type only)*: list of field names to generate in a object field type. if not specified a random number of field names will be generated in the object filed type.
7979
- `value` *optional*: hardcoded value to set for the field (any `cardinality` will be ignored)
8080

81-
If you have an `object` type field that you defined one or multiple `object_keys` for, you can reference them as a root level field with their own customisation. Beware that if a `cardinality` is set for the `object` type field, cardinality will be ignored for the children `object_keys` fields.
81+
If you have an `object` type field that you defined one or multiple `object_keys` for, you can reference them as a root level field with their own customisation. Beware that if a `cardinality` is set for the `object` type field, cardinality will be ignored for the children `object_keys` fields.

0 commit comments

Comments
 (0)