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.
23 lines
598 B
JavaScript
23 lines
598 B
JavaScript
'use strict';
|
|
|
|
const makeSchema = require('../utils/makeSchema');
|
|
|
|
const InputFieldGroupSchema = require('./InputFieldGroupSchema');
|
|
|
|
module.exports = makeSchema(
|
|
{
|
|
id: '/InputFieldGroupsSchema',
|
|
description: 'An array or collection of input field groups.',
|
|
type: 'array',
|
|
items: {
|
|
$ref: InputFieldGroupSchema.id,
|
|
},
|
|
examples: [[{ key: 'abc' }]],
|
|
antiExamples: [
|
|
{ example: {}, reason: 'Must be an array' },
|
|
{ example: [{ label: 'test label' }], reason: 'key is required' },
|
|
],
|
|
additionalProperties: false,
|
|
},
|
|
[InputFieldGroupSchema],
|
|
);
|