@cognigy/rest-api-client
Version:
Cognigy REST-Client
16 lines • 811 B
JavaScript
export const packageDataSchema = {
title: "packageDataSchema",
type: "object",
additionalProperties: false,
properties: {
name: { type: "string", format: "resource-name" },
description: { type: "string", format: "snapshot-description" },
},
};
export const packageSchema = {
title: "packageSchema",
type: "object",
additionalProperties: false,
properties: Object.assign(Object.assign({}, packageDataSchema.properties), { _id: { type: "string", format: "mongo-id" }, createdAt: { type: "integer", format: "timestamp" }, createdBy: { type: "string", format: "mongo-id" }, hash: { type: "string" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" } }),
};
//# sourceMappingURL=IPackage.js.map