master-zapier-plan-draft/vendor/zapier-platform/packages/schema/lib/schemas/InputFieldGroupSchema.js
George Lambert b4150c8250 Milestone 0: import zappier billing, Verae middleware, and Zapier research
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.
2026-09-09 02:37:36 -04:00

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],
);