Skip to content

Commit

Permalink
Update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Apr 25, 2024
1 parent 0457d81 commit 291b7a4
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
6 changes: 3 additions & 3 deletions cv.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1026,16 +1026,16 @@
"type" : "string",
"format" : "URI"
},
"Job Status" : {
"Job Search" : {
"title" : "Job search status",
"type" : [
"null",
"string"
],
"enum" : [
"active search",
"open to challenges",
"not moving"
"open to change",
"unavailable"
]
},
"Locale" : {
Expand Down
2 changes: 1 addition & 1 deletion examples/full.cv.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema" : "https://raw.githubusercontent.com/hexagontk/codecv/master/cv.schema.json",

"Job Status" : "not moving",
"Job Search" : "unavailable",

"Locale" : "en_US",
"Last Update" : "2022-01-01",
Expand Down
2 changes: 1 addition & 1 deletion examples/full.cv.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"$schema" = "https://raw.githubusercontent.com/hexagontk/codecv/master/cv.schema.json"

"Job Status" = "not moving"
"Job Search" = "unavailable"
"Last Update" = 2022-12-27

Locale = "en_US"
Expand Down
2 changes: 1 addition & 1 deletion examples/full.cv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

$schema: https://raw.githubusercontent.com/hexagontk/codecv/master/cv.schema.json

Job Status: not moving
Job Search: unavailable

Locale: en_US
Last Update: 2022-01-01
Expand Down
2 changes: 1 addition & 1 deletion examples/modular/common.cv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$schema: https://raw.githubusercontent.com/hexagontk/codecv/master/cv.schema.json

Job Status: not moving
Job Search: unavailable
Last Update: 2022-12-27
Templates: [ ../cv.html ]

Expand Down
7 changes: 4 additions & 3 deletions src/main/resources/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -860,15 +860,16 @@ components:
on some editors
type: string
format: URI
Job Status:
Job Search:
title: Job search status
description: "Job search status. By default, is 'unavailable' to change"
type:
- "null"
- string
enum:
- active search
- open to challenges
- not moving
- open to change
- unavailable
Locale:
title: Locale representing the CV's content
description: "Locale representing the CV's content. If not set, it will be `en`"
Expand Down

0 comments on commit 291b7a4

Please sign in to comment.