Reference
Data Catalog
rngo provides categorized data sets to narrow a stream's valid output beyond its JSON Schema definition.
These are accessed in value expressions via the data
method. For example:
type: object
properties:
name:
type: string
rngo:
value: data.person.fullName
By default, the random
Set method is applied, but you can be explicit:
type: object
properties:
name:
type: string
rngo:
value: data.company.name.unique
The above expression may yield values with additional data appended to ensure uniqueness.
Currently, all values are localized to EN_US where applicable.
Categories
company
Key | Type | Description | Example |
name | String | Company names. | "Wisoky Inc", "DuBuque and Ritchie and Sons" |
image
Key | Type | Description | Example |
url | String | Image URLs from Lorem Picsum | "https://picsum.photos/id/8/200/400" |
lorem
Key | Type | Description | Example |
paragraph | String | Paragraphs of lorem ipsum text, between 3 and 20 sentences long. | "quidem commodi quas placeat quae non tempora. quaerat a quisquam corrupti nam quia vero." |
sentence | String | Sentences of lorem ipsum text, between 3 and 50 sentences long. | "nihil eveniet tempora modi nulla" |
word | String | Individual lorem ipsum words. | "dolorem", "nesciunt" |
person
Key | Type | Description | Example |
fullName | String | Full names of people. | "Flossie Kutch", "Alyce Feeney" |