const functionNamePattern = '^[a-zA-Z0-9-_]+$' const stagePattern = '^[a-zA-Z0-9-]+$' const schema = { type: 'object', properties: { /** * Org Name * Alphanumeric, lowercase only * Validation copied from Serverless Platform as of 01/2024 * Except for the min length, which was 5, but is now 2 */ org: { type: 'string', pattern: '^[a-z0-9]*$', minLength: 2, maxLength: 39, }, /** * App Name * Alphanumeric, lowercase only, hyphens allowed, * cannot start or end with hyphen, no double hyphens * Validation copied from Serverless Platform as of 01/2024 * Except for the min length, which was 5, but is now 2 */ app: { type: 'string', pattern: '^(?!-)[a-z0-9]+(?:-[a-z0-9]+)*(?