@opengis/admin
Version:
This project Softpro Admin
23 lines (21 loc) • 511 B
JavaScript
const notificationSchema = {
type: 'object',
properties: {
params: {
id: { type: 'string', pattern: '^([\\d\\w]+)$' },
},
querystring: {
nocache: { type: 'string', pattern: '^(\\d+)$' },
},
},
};
const emailSchema = {
type: 'object',
properties: {
quertstring: {
to: { type: 'string', pattern: '^((?!\\.)[\\w\\-_.]*[^.])(@\\w+)(\\.\\w+(\\.\\w+)?[^.\\W])$' },
},
},
};
export default null;
export { notificationSchema, emailSchema }