@cognigy/rest-api-client
Version:
Cognigy REST-Client
21 lines • 1.19 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.learningSentenceSchema = exports.learningSentenceDataSchema = void 0;
const IEntityMeta_1 = require("../IEntityMeta");
exports.learningSentenceDataSchema = {
title: "learningSentenceDataSchema",
type: "object",
additionalProperties: false,
properties: {
confirmedCount: { type: "integer", minimum: 0 },
rejectedCount: { type: "integer", minimum: 0 },
sentence: { type: "string", minLength: 1 },
}
};
exports.learningSentenceSchema = {
title: "learningSentenceSchema",
type: "object",
additionalProperties: false,
properties: Object.assign(Object.assign(Object.assign({}, exports.learningSentenceDataSchema.properties), IEntityMeta_1.entityMetaSchema.properties), { referenceId: { type: "string", format: "uuid" }, flowReferenceId: { type: "string", format: "uuid" }, localeReferenceId: { type: "string", format: "uuid" }, intentReferenceId: { type: "string", format: "uuid" }, projectReference: { type: "string", format: "mongo-id" }, organisationReference: { type: "string", format: "mongo-id" } })
};
//# sourceMappingURL=ILearningSentence.js.map