@cognigy/rest-api-client
Version:
Cognigy REST-Client
18 lines • 1.03 kB
JavaScript
import { entityMetaSchema } from "../IEntityMeta";
export const learningSentenceDataSchema = {
title: "learningSentenceDataSchema",
type: "object",
additionalProperties: false,
properties: {
confirmedCount: { type: "integer", minimum: 0 },
rejectedCount: { type: "integer", minimum: 0 },
sentence: { type: "string", minLength: 1 },
}
};
export const learningSentenceSchema = {
title: "learningSentenceSchema",
type: "object",
additionalProperties: false,
properties: Object.assign(Object.assign(Object.assign({}, learningSentenceDataSchema.properties), 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