Skip to content

Commit

Permalink
added mandatory requirement to key fields in subojects
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgirard committed Feb 24, 2017
1 parent c9df398 commit 2982811
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 12 deletions.
3 changes: 2 additions & 1 deletion specs/schema.activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
},
"type": "date"
},
"template":"organizationDates"
"template":"organizationDates",
"requirement": "mandatory"
}
],
"people": [
Expand Down
3 changes: 2 additions & 1 deletion specs/schema.organization.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"label": {
"fr": "Code",
"en": "Code"
}
},
"requirement": "mandatory"
},
"startDate": {
"label": {
Expand Down
27 changes: 17 additions & 10 deletions specs/schema.people.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@
"fr": "Laboratoire de recherche",
"en": "Research Lab"
},
"ref": "Organization"
"ref": "Organization",
"requirement": "mandatory"
},
"startDate": {
"label": {
Expand Down Expand Up @@ -200,7 +201,8 @@
"fr": "Département d'enseignement",
"en": "Teaching departement"
},
"enum": "teachingDepartements"
"enum": "teachingDepartements",
"requirement": "mandatory"
},
"startDate": {
"label": {
Expand Down Expand Up @@ -242,7 +244,8 @@
"fr": "Tenure track, départ",
"en": "Tenure track, leave"
},
"enum": "facultyMonitoringTypes"
"enum": "facultyMonitoringTypes",
"requirement": "mandatory"
},
"comments": {
"label": {
Expand Down Expand Up @@ -270,7 +273,8 @@
"fr": "Prime",
"en": "Bonus"
},
"enum": "bonusTypes"
"enum": "bonusTypes",
"requirement": "mandatory"
},
"startDate": {
"label": {
Expand Down Expand Up @@ -305,7 +309,8 @@
"fr": "Statut",
"en": "Status"
},
"enum": "gradeStatus"
"enum": "gradeStatus",
"requirement": "mandatory"
},
"grade": {
"requirement": "recommended",
Expand Down Expand Up @@ -420,7 +425,8 @@
"fr": "Type d'activité",
"en": "Activity type"
},
"enum": "personalActivityTypes"
"enum": "personalActivityTypes",
"requirement": "mandatory"
},
"personalActivitySubtype": {
"label": {
Expand Down Expand Up @@ -487,8 +493,7 @@
"label": {
"fr": "Intitulé",
"en": "Title"
},
"requirement": "mandatory"
}
},
"template": "distinction",
"organizations": [
Expand Down Expand Up @@ -521,7 +526,8 @@
"fr": "Type de distinction",
"en": "Distinction type"
},
"enum": "distinctionTypes"
"enum": "distinctionTypes",
"requirement": "mandatory"
},
"distinctionSubtype": {
"label": {
Expand Down Expand Up @@ -678,7 +684,8 @@
"fr": "Role",
"en": "Role"
},
"enum": "isariRoles"
"enum": "isariRoles",
"requirement": "mandatory"
},
"template": "isariAuthorizedCenters"
}
Expand Down

0 comments on commit 2982811

Please sign in to comment.