import omit from "lodash/omit.js";
import { BaseProps, CardBase, CardLayoutProps } from "../../gravity-blocks/schema/validators/common.js";
import { ImageProps } from "../../gravity-blocks/schema/validators/components.js";
import { ContentBase } from "../Content/schema.js";
const ImageCardBlockContentProps = omit(ContentBase, ['centered', 'colSizes', 'controlPosition']);
export const ImageCard = {
    'image-card': {
        additionalProperties: false,
        required: ['image'],
        properties: {
            ...BaseProps,
            ...CardBase,
            ...CardLayoutProps,
            ...ImageCardBlockContentProps,
            image: ImageProps,
            direction: {
                type: 'string',
                enum: ['direct', 'reverse'],
            },
            margins: {
                type: 'string',
                enum: ['s', 'm'],
            },
            backgroundColor: {
                type: 'string',
            },
            url: {
                type: 'string',
            },
            urlTitle: {
                type: 'string',
            },
        },
    },
};
//# sourceMappingURL=schema.js.map
