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.
This commit is contained in:
commit
b4150c8250
1364 changed files with 6814366 additions and 0 deletions
29
vendor/zapier-platform/packages/schema/lib/schemas/FieldMetaSchema.js
vendored
Normal file
29
vendor/zapier-platform/packages/schema/lib/schemas/FieldMetaSchema.js
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
'use strict';
|
||||
|
||||
const makeSchema = require('../utils/makeSchema');
|
||||
|
||||
module.exports = makeSchema({
|
||||
id: '/FieldMetaSchema',
|
||||
type: 'object',
|
||||
description: 'Allows for additional metadata to be stored on the field.',
|
||||
patternProperties: {
|
||||
'[^\\s]+': {
|
||||
description: 'Only string, integer or boolean values are allowed.',
|
||||
anyOf: [{ type: 'string' }, { type: 'integer' }, { type: 'boolean' }],
|
||||
},
|
||||
},
|
||||
examples: [
|
||||
{ shouldCapitalize: true },
|
||||
{ shouldCapitalize: true, internalType: 'datetime' },
|
||||
],
|
||||
antiExamples: [
|
||||
{
|
||||
example: { databank: { primaryContact: 'abc' } },
|
||||
reason: 'No complex values allowed',
|
||||
},
|
||||
{
|
||||
example: { needsProcessing: null },
|
||||
reason: 'No null values allowed',
|
||||
},
|
||||
],
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue