Skip to content

Commit

Permalink
Merge pull request #27 from Health-Education-England/refactor-reasons…
Browse files Browse the repository at this point in the history
…-and-discussions

refactor: LtftApplicationDetail
  • Loading branch information
john12321 authored Jan 26, 2025
2 parents 623fc55 + 37dac28 commit b27bda5
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 29 deletions.
67 changes: 41 additions & 26 deletions openapi/components/schemas/LtftApplicationDetail.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,37 +41,52 @@ properties:
type: boolean
description: Understands that LTFT approval is not guaranteed.
discussions:
type: array
items:
type: object
required:
- name
- email
- role
properties:
name:
type: string
email:
type: string
format: email
role:
type: string
example:
- name: A. N. Other
email: [email protected]
role: Training Programme Director
- name: Jo Bloggs
email: [email protected]
role: Educational Supervisor
type: object
required:
- tpdName
- tpdEmail
properties:
tpdName:
type: string
example: T. P. Dee
tpdEmail:
type: string
format: email
example: [email protected]
other:
type: array
items:
type: object
required:
- name
- email
- role
properties:
name:
type: string
example: A. N. Other
email:
type: string
format: email
example: [email protected]
role:
type: string
example: Educational Supervisor
personalDetails:
$ref: ./PersonalDetails.yml
programmeMembership:
$ref: ./CctProgrammeMembership.yml
reasons:
type: array
items:
type: string
example: ["Caring Responsibilities", "Custom Reason"]
type: object
properties:
selected:
type: array
items:
type: string
example: other reason
otherDetail:
type: string
example: my other reason
status:
type: object
readOnly: true
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tis-trainee-api",
"version": "0.0.2",
"version": "0.0.3",
"description": "OpenAPI documentation for TIS Trainee services.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b27bda5

Please sign in to comment.