@amplitude/ampli
Version:
Amplitude CLI
69 lines (68 loc) • 1.84 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.projectLevel = exports.userLevel = exports.baseSchema = void 0;
exports.baseSchema = {
definitions: {
identifyProperty: {
type: 'object',
},
sources: {
type: 'array',
items: {
type: 'object',
},
},
company: {
type: 'object',
properties: {
id: {
type: 'string',
minLength: 1,
},
sources: {
$ref: '#/definitions/sources',
},
identifyProperties: {
items: {
$ref: '#/definitions/identifyProperty',
},
},
},
},
},
properties: {
UserId: {
type: 'string',
minLength: 1,
},
LastUser: {
type: 'object',
properties: {
id: {
type: 'string',
minLength: 1,
},
firstName: {
type: 'string',
minLength: 1,
},
lastName: {
type: 'string',
minLength: 1,
},
emailAddress: {
type: 'string',
minLength: 1,
},
company: {
$ref: '#/definitions/company',
},
},
LastEvents: {
type: 'object',
},
},
},
};
exports.userLevel = Object.assign({}, exports.baseSchema);
exports.projectLevel = Object.assign({}, exports.baseSchema);