Skip to content

Commit

Permalink
EDGPATRON-151 Adding new api contract for Post and get api of LC User…
Browse files Browse the repository at this point in the history
… registration
  • Loading branch information
Vignesh-kalyanasundaram committed Oct 11, 2024
1 parent 3414392 commit 9b1a6d7
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions ramls/staging_user.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@
"description": "Last name of the patron",
"type": "string"
}
}
},
"required": ["firstName", "lastName"],
"additionalProperties": false
},
"addressInfo": {
"type": "object",
Expand Down Expand Up @@ -65,7 +67,8 @@
"description": "Country",
"type": "string"
}
}
},
"additionalProperties": false
},
"contactInfo": {
"type": "object",
Expand All @@ -83,14 +86,16 @@
"description": "Email of the patron",
"type": "string"
}
}
},
"required": ["email"],
"additionalProperties": false
},
"preferredEmailCommunication": {
"type": "array",
"description": "Email communication info of external patron",
"description": "Preferred email communication types",
"items": {
"type": "string",
"enum": ["Support", "Programs", "Service"]
"enum": ["Support", "Programs", "Services"]
},
"maxItems": 3,
"uniqueItems": true
Expand Down

0 comments on commit 9b1a6d7

Please sign in to comment.