@aws-amplify/graphql-transformer-core
Version:
A framework to transform from GraphQL SDL to AWS CloudFormation.
21 lines • 575 B
TypeScript
export type JSONSchema = {
type: string;
properties?: Record<string, JSONSchema>;
required?: string[];
items?: JSONSchema;
enum?: (string | number | boolean | null)[];
minimum?: number;
maximum?: number;
minLength?: number;
maxLength?: number;
pattern?: string;
format?: string;
description?: string;
default?: JSONLike;
additionalProperties?: boolean | JSONSchema;
};
type JSONLike = string | number | boolean | null | {
[key: string]: JSONLike;
} | JSONLike[];
export {};
//# sourceMappingURL=json-schema.d.ts.map