Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
8463645-6003CEM-Backend-Resit-Deferral/schemas/application.schema.js
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
40 lines (39 sloc)
1.02 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
"$schema": "http://json-schema.org/draft-04/schema#", | |
"id": "/application", | |
"title": "Application", | |
"description": "An application filled by a prospective client of the gym", | |
"type": "object", | |
"properties": { | |
"firstName": { | |
"description": "The first name of the user", | |
"type": "string" | |
}, | |
"lastName": { | |
"description": "The last name of the user", | |
"type": "string" | |
}, | |
"email": { | |
"description": "The email of the user", | |
"type": "string" | |
}, | |
"address": { | |
"description": "The address of the user", | |
"type": "string", | |
}, | |
"paymentDetails": { | |
"description": "Details about how the user is going to pay for the membership", | |
"type": "string" | |
}, | |
"fitnessGoals": { | |
"description": "The fitness goals of the user", | |
"type": "string", | |
}, | |
"medicalHistory": { | |
"description": "Relevant medical history of the user", | |
"type": "string", | |
}, | |
}, | |
"required": [], | |
"additionalProperties": false | |
} |