import { ImageProps } from "../../components/Image/schema.js";
import { BaseProps, ThemeProps, authorItem, quoteTypes, withTheme, } from "../../gravity-blocks/schema/validators/common.js";
export const Quote = {
    quote: {
        additionalProperties: false,
        required: ['image', 'logo'],
        properties: {
            ...BaseProps,
            text: {
                type: 'string',
                contentType: 'text',
            },
            yfmText: {
                type: 'string',
                contentType: 'text',
            },
            image: withTheme(ImageProps),
            logo: ImageProps,
            color: {
                type: 'string',
            },
            url: {
                type: 'string',
            },
            urlTitle: {
                type: 'string',
            },
            buttonText: {
                type: 'string',
            },
            theme: ThemeProps,
            author: authorItem,
            quoteType: {
                type: 'string',
                enum: quoteTypes,
            },
        },
    },
};
//# sourceMappingURL=schema.js.map
