Skip to content

Commit 92589e0

Browse files
committed
Add image filed to various sections
Fixes resumic#76
1 parent 6c92a26 commit 92589e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

schema/schema.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ type workSchema struct {
5656
Description string `json:"description,omitempty" schema:"description:companies primary activity;example:A social media company"`
5757
Position string `json:"position" schema:"description:position at the company;example:Software Engineer"`
5858
Location locationSchema `json:"location,omitempty" schema:"description:location of the company"`
59+
Image string `json:"image,omitempty" schema:"description:url or base64 of the logo;example:example.com/Abcxyz"`
5960
URL string `json:"url,omitempty" schema:"description:url of the company website;format:uri;example:http://xyz.example.com"`
6061
StartDate string `json:"startDate" schema:"description:start date;format:date;example:2017-12-29"`
6162
EndDate string `json:"endDate,omitempty" schema:"description:end date;format:date;example:2018-12-29"`
@@ -66,6 +67,7 @@ type workSchema struct {
6667
type educationSchema struct {
6768
Institution string `json:"institution" schema:"name of institute;example:XYZ Institute of Technology"`
6869
Location locationSchema `json:"location,omitempty" schema:"description:location of institution"`
70+
Image string `json:"image,omitempty" schema:"description:url or base64 of the logo;example:example.com/Abcxyz"`
6971
Area string `json:"area" schema:"description:area of study;example:Engineering"`
7072
StudyType string `json:"studyType" schema:"description:type of study;example:Bachelor"`
7173
StartDate string `json:"startDate" schema:"description:start date;format:date;example:2017-06-28"`
@@ -80,6 +82,7 @@ type volunteerSchema struct {
8082
Organization string `json:"organization" schema:"description:name of the organization;example:Xyz"`
8183
Position string `json:"position" schema:"description:type of the contribution;example:Open Source Contributor"`
8284
Location locationSchema `json:"location,omitempty" schema:"description:location of activity"`
85+
Image string `json:"image,omitempty" schema:"description:url or base64 of the logo;example:example.com/Abcxyz"`
8386
URL string `json:"url,omitempty" schema:"description:related link to support volunteer experience;format:uri;example:http://xyz.example.com"`
8487
StartDate string `json:"startDate" schema:"description:start date;format:date;example:2014-06-29"`
8588
EndDate string `json:"endDate,omitempty" schema:"description:end date;format:date;example:2017-06-29"`
@@ -92,6 +95,7 @@ type publicationSchema struct {
9295
Publisher string `json:"publisher" schema:"description:name of the publisher;example:XYZ, Computer Magazine"`
9396
PublicationDate string `json:"publicationDate,omitempty" schema:"description:date of publication;format:date;example:2015-08-01"`
9497
Resources []resourceSchema `json:"resources,omitempty" schema:"description:multiple resources with label"`
98+
Image string `json:"image,omitempty" schema:"description:url or base64 of the publication;example:example.com/Abcxyz"`
9599
URL string `json:"url,omitempty" schema:"description:url of the publication;format:uri;example:http://www.computer.org.example.com/csdl/mags/co/2015/10/rx069-abs.html"`
96100
Summary string `json:"summary,omitempty" schema:"description:short summary of the publication;example:Discussion of the advent of deep learning and artificial intelligence"`
97101
}
@@ -127,6 +131,7 @@ type awardSchema struct {
127131
type projectSchema struct {
128132
Name string `json:"name" schema:"description:name of the project;example:File Transfer application"`
129133
Location locationSchema `json:"location,omitempty" schema:"description:location of the project"`
134+
Image string `json:"image,omitempty" schema:"description:url or base64 of the logo;example:example.com/Abcxyz"`
130135
Description string `json:"description,omitempty" schema:"description:short summary of project;example:Developed a client and server based application"`
131136
Highlights []string `json:"highlights,omitempty" schema:"description:specify multiple features;items_example:used Java AWT and Swing for client side userinterface"`
132137
Keywords []string `json:"keywords,omitempty" schema:"description:specify special elements involved;items_example:Java"`

0 commit comments

Comments
 (0)