botbuilder-dialogs-adaptive
Version:
Rule system for the Microsoft BotBuilder dialog system.
46 lines (45 loc) • 1.16 kB
TypeScript
/**
* @module botbuilder-dialogs-adaptive
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { PropertySchema } from './propertySchema';
/**
* Helper class for dialog schema.
*/
export declare class SchemaHelper {
/**
* Creates a new `SchemaHelper` instance.
*
* @param schema JSON schema to parse.
*/
constructor(schema: object);
/**
* JSON schema object.
*/
readonly schema: object;
/**
* Root object property for the schema.
*/
readonly property: PropertySchema;
/*
* List of required property names.
*
* @returns The list of required property names.
*/
readonly required: string[];
/**
* Returns the schema object for a given property path.
*
* @param path Path of the properties schema to return.
* @returns the schema object for a given property path.
*/
pathToSchema(path: string): PropertySchema | undefined;
/**
* @private
*/
private createProperty;
}
//# sourceMappingURL=schemaHelper.d.ts.map