Skip to content

Commit 2777793

Browse files
authored
Refactor job vacancy fields in ojobpub-format.md
1 parent 8ef82b3 commit 2777793

File tree

1 file changed

+23
-10
lines changed

1 file changed

+23
-10
lines changed

docs/how/ojobpub-format.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ Later we find a list of open job positions, called *vacancies*. In the sample, w
4040
"industry": "Software",
4141
"url": "https://example.com"
4242
},
43-
"vacancies": [
43+
"jobs": [
4444
{
45-
"datePublished": "2025-08-30",
46-
"jobCategory": "Engineering",
47-
"jobTitle": "Software Engineer",
48-
"jobRef": "SE-2023-001",
45+
"publishedAt": "2025-08-30",
46+
"category": "Engineering",
47+
"title": "Software Engineer",
48+
"referenceId": "SE-2023-001",
4949
"applyBefore": "2026-12-31",
5050
"language": "en",
51-
"jobDescription": "Develop and maintain software applications.",
51+
"description": "Develop and maintain software applications.",
5252
"jobType": "permanent",
5353
"workType": "hybrid",
5454
"experienceLevel": "mid",
@@ -57,11 +57,24 @@ Later we find a list of open job positions, called *vacancies*. In the sample, w
5757
"maxPercentage": 100
5858
},
5959
"tags": ["python", "flask", "backend"],
60-
"location": {
61-
"city": "Amsterdam",
62-
"country": "NL"
60+
"locations":
61+
[
62+
{
63+
"city": "New York",
64+
"country": "US"
65+
},
66+
{
67+
"city": "San Francisco",
68+
"country": "US"
69+
}
70+
],
71+
"salary": {
72+
"minAmount": 70000,
73+
"maxAmount": 120000,
74+
"currency": "USD",
75+
"period": "yearly"
6376
},
64-
"jobUrl": "https://example.com/job/1"
77+
"url": "https://example.com/job/1"
6578
}
6679
]
6780
}

0 commit comments

Comments
 (0)