Initial commit: Angular frontend and Expressjs backend
This commit is contained in:
13
worklenz-backend/src/json_schemas/email-request-schema.ts
Normal file
13
worklenz-backend/src/json_schemas/email-request-schema.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export default {
|
||||
type: "object",
|
||||
properties: {
|
||||
to: {
|
||||
type: "array",
|
||||
items: {type: "string"},
|
||||
minItems: 1 // Optional field, at least 1 item required
|
||||
},
|
||||
subject: {type: "string"},
|
||||
html: {type: "string"}
|
||||
},
|
||||
required: ["to", "subject", "html"] // subject and html fields are required
|
||||
};
|
||||
Reference in New Issue
Block a user