country stringclasses 2
values | seq int64 1 6 | kind stringclasses 4
values | job_id int64 101 105 | title stringclasses 8
values | employer stringclasses 6
values | city stringclasses 6
values | region stringclasses 6
values | synthetic bool 1
class |
|---|---|---|---|---|---|---|---|---|
US | 1 | created | 101 | Software Engineer | Example Software Co | Austin | TX | true |
US | 2 | created | 102 | Registered Nurse | Example Health Co | Boston | MA | true |
US | 3 | updated | 101 | Senior Software Engineer | Example Software Co | Austin | TX | true |
US | 4 | expired | 102 | Registered Nurse | Example Health Co | Boston | MA | true |
US | 5 | created | 103 | Data Analyst | Example Analytics Co | Portland | OR | true |
US | 6 | excluded | 103 | Data Analyst | Example Analytics Co | Portland | OR | true |
CA | 1 | created | 101 | Software Developer | Example Canadian Software Co | Toronto | ON | true |
CA | 2 | created | 104 | Registered Nurse | Example Canadian Health Co | Vancouver | BC | true |
CA | 3 | updated | 101 | Senior Software Developer | Example Canadian Software Co | Toronto | ON | true |
CA | 4 | expired | 104 | Registered Nurse | Example Canadian Health Co | Vancouver | BC | true |
CA | 5 | created | 105 | Data Engineer | Example Canadian Data Co | Montreal | QC | true |
CA | 6 | updated | 105 | Senior Data Engineer | Example Canadian Data Co | Montreal | QC | true |
Job Feed Sync Test Kit: US and Canada
A small, original test dataset from The Jobs API for developers who need to keep a job database current.
Every job, employer and event is synthetic. This is not a live jobs dataset, a representative market sample or training data for hiring decisions. The schema is deliberately simplified for offline testing. It is not the exact response schema of The Jobs API or its Apify Actors.
What you can test
- Adding a new job and replacing a changed job.
- Removing an expired job.
- Removing a job excluded from a feed, without claiming it has closed.
- Replaying the same batch without duplicates or restoring a removed job.
- Rolling back both records and checkpoints if a batch fails.
- Keeping separate checkpoints for US and Canada.
- Handling the same numeric job ID in two country feeds.
12 events across two feeds leave three active synthetic records. Sequence numbers are ordered within each country. expected-active.json provides the answer for automated checks. For real integrations, use the identifier namespace documented by the provider.
Files
events.csv: flat fixture, also suitable for a spreadsheet.events.jsonl: identical fixture in JSON Lines format.expected-active.json: expected active records after replay.replay.py: runnable Python example using only the standard library.walkthrough.ipynb: notebook with the same offline example.build.py: reproducible fixture generator.
Run locally
Download the files into one folder and run:
python3 replay.py
The script uses an in-memory SQLite database for an isolated demonstration. It makes no network requests and needs no account or API key. It tests an interrupted transaction, retries, then checks the result against the expected records.
Notebook
In Kaggle, add the dataset and copy the fixture files into the notebook working directory before running the example. Alternatively, download and run walkthrough.ipynb locally with all files beside it. No paid compute or internet access is needed for the example.
Important limits
This is an educational fixture. It does not model every production condition. A real importer must also validate the provider's current schema, retention rules, ordering guarantees, pagination, authentication and retry guidance. Do not advance a checkpoint until the corresponding batch is safely applied. Do not run two writers against the same checkpoint without coordination.
excluded means a job no longer belongs in the feed. It does not prove that the employer closed the job. Missing fields should stay missing.
Looking for real job data?
The Jobs API provides US and Canadian job data with public documentation, authentication instructions and a change-feed guide. The offline test kit is free and does not require a subscription.
Provenance and license
Created by The Jobs API on October 18, 2026. All fixtures were written specifically for this test kit. No competitor dataset, employer posting or personal information was copied. Code, documentation and synthetic fixture files are provided under the MIT License in LICENSE.
- Downloads last month
- 35