import { identifierSchema } from "../identifier/index.js";
import { happeningSchema } from "../happening/index.js";
export const taskData = {
    type: "object",
    properties: {
        ...happeningSchema.happeningData.properties,
        title: {
            type: "string",
        },
        identifiers: {
            type: "array",
            items: identifierSchema.identifier
        }
    },
    required: ["identifiers", "title"],
};
export const task = {
    type: "object",
    properties: {
        taskId: {
            type: "string",
        },
        createdAt: {
            type: "string",
        },
        updatedAt: {
            type: "string",
        },
        ...taskData.properties,
    },
    required: ["taskId", "createdAt", "updatedAt", ...taskData.required],
};
//# sourceMappingURL=schema.js.map