Compose-ready workspace: packages/zappier (rate card, portal, Stripe), packages/verae-zapier-middleware (timestamp + NATS), packages/verae-zapier (CLI app), vendor/zapier-platform, and research/zapier vendor corpus. Gate 0 structure checks pass. Product code and research are not yet wired.
39 lines
972 B
JavaScript
39 lines
972 B
JavaScript
'use strict';
|
|
|
|
const makeSchema = require('../utils/makeSchema');
|
|
|
|
const KeySchema = require('./KeySchema');
|
|
|
|
module.exports = makeSchema(
|
|
{
|
|
id: '/InputFieldGroupSchema',
|
|
description: 'Object for visual grouping of input fields.',
|
|
type: 'object',
|
|
required: ['key'],
|
|
properties: {
|
|
key: {
|
|
description: 'The unique identifier for this group.',
|
|
$ref: KeySchema.id,
|
|
},
|
|
label: {
|
|
description: 'The human-readable name for the group.',
|
|
type: 'string',
|
|
minLength: 1,
|
|
},
|
|
emphasize: {
|
|
description:
|
|
'Whether this group should be visually emphasized in the UI.',
|
|
type: 'boolean',
|
|
},
|
|
},
|
|
examples: [
|
|
{ key: 'testGroup' },
|
|
{ key: 'testGroup', label: 'Test Group', emphasize: true },
|
|
],
|
|
antiExamples: [
|
|
{ example: { label: 'test label' }, reason: 'key is required' },
|
|
],
|
|
additionalProperties: false,
|
|
},
|
|
[KeySchema],
|
|
);
|