Fill one field with custom list values if another field has a specific custom...
On data preview Mockaroo - Random Data Generator and API Mocking Tool | JSON / CSV / SQL / Excel, I get { "app": { "id": 10, "status": { "type": "in-progress" }, "data": { "temp": "", "temp_number": 0...
View ArticleFill one field with custom list values if another field has a specific custom...
Check it out now. Forgot I needed to do this on the app.data.temp field
View ArticleArray: do not display the field if the field has no value
Hello, i hope someone can help me with my issue. In my schema an array can contain a maximum of 4 values but it should only be filled if a value is contained in the schema. that means if no value is...
View Article"Field not found" from within array when parent and sibling have duplicate...
I have a schema which contains a datetime field “from” There is then another JSON array field called “offers” “Offers” also contains a “from” field I am trying to use the following formula...
View ArticleHow to output JSON values without quotes
I know this is an old thread but did you ever find a solution? Currently having to regex a large dataset
View ArticleNeed help with increment
Hello I’m new to Mockaroo and I need help with creating data for my database assignment Currently I’m trying to create simple code where H or num2 gets incremented whenever the sequence resets however...
View ArticleNeed help with increment
Are you expecting the output to be as follows? S1H1 … S49H1 S50H2 S1H2 … S49H2 S50H3 …
View Article"Field not found" from within array when parent and sibling have duplicate...
@LaurenceKs Can you post up your public schema link? Looks like the link you have here is your private link. At the bottom of the schema screen there is a public link you can share.
View Article"Field not found" from within array when parent and sibling have duplicate...
My bad https://www.mockaroo.com/f8010c00 I’d like _to and _from to not have underscores to match my mongoose schema, currently I have to strip them from the json with search and replace
View Article"Field not found" from within array when parent and sibling have duplicate...
I’ve tried doing what you probably have already done and am getting the same negative results until I created a hidden field to store the date inside the nest. I then referenced the hidden field to...
View ArticleSetting the "State" field with a URL param, that then generates a random...
Hello there… hope this one is easy: So I have a schema to generate a random Address limited to the US. What I am hoping I can do is pass a state in a get request like ?state=California which is then...
View ArticleAPI Additions for Listing Schema/Dataset and OpenAPI Definition
Was wondering if you would consider some additional API additions Get list of schemas. Return the listing of those Mockaroo resources. Get list of datasets. Return the listing of those Mockaroo...
View ArticleHelp for number format
Is there a way to create a sequence that starts as 000, 001, 002 up to 100? It has to have the 3 digits throughout the sequence
View ArticleHelp for number format
Here is an example that might be what you are looking to use in order to pad your output with leading zeros. 2 fields have the same Formula which should give you an idea of how you can accomplish your...
View ArticleSetting the "State" field with a URL param, that then generates a random...
It’s definitely possible. Create a schema Mockaroo - Random Data Generator and API Mocking Tool | JSON / CSV / SQL / Excel Then create an API. The Handler Script can be as simple as this: schema "GET...
View ArticleCloning schema doesn't create new URL
After cloning one schema, public URL of new schema stays the same as previous one, so I can’t download the data I need with cURL. Is that a bug or am I missing something?
View Article