From 0155f29f060bb61f0f373225b5498a61974bfccc Mon Sep 17 00:00:00 2001 From: Fabian Weik Date: Mon, 21 Oct 2024 08:54:18 +0200 Subject: [PATCH] correct meta property in lifecycle webhook reference --- docs/contribution/5-reference/4-webhooks.mdx | 48 ++++++++++++++----- .../contribution/5-reference/4-webhooks.mdx | 48 ++++++++++++++----- 2 files changed, 72 insertions(+), 24 deletions(-) diff --git a/docs/contribution/5-reference/4-webhooks.mdx b/docs/contribution/5-reference/4-webhooks.mdx index 14fc8769..26e7e7d5 100644 --- a/docs/contribution/5-reference/4-webhooks.mdx +++ b/docs/contribution/5-reference/4-webhooks.mdx @@ -91,12 +91,20 @@ You may use the following placeholders: }, meta: { type: "object", - required: ["createdAt"], + required: [ + "extensionId", + "contributorId" + ], properties: { - createdAt: { + extensionId: { type: "string", - format: "date-time", - example: "2024-03-14T11:36:21Z", + format: "uuid", + example: "c593348d-f594-492a-8185-2b89848a4160", + }, + contributorId: { + type: "string", + format: "uuid", + example: "680ba069-7465-4932-8b23-e73914b2e051", }, }, }, @@ -204,12 +212,20 @@ You may use the following placeholders: }, meta: { type: "object", - required: ["createdAt"], + required: [ + "extensionId", + "contributorId" + ], properties: { - createdAt: { + extensionId: { type: "string", - format: "date-time", - example: "2024-03-14T11:36:21Z", + format: "uuid", + example: "c593348d-f594-492a-8185-2b89848a4160", + }, + contributorId: { + type: "string", + format: "uuid", + example: "680ba069-7465-4932-8b23-e73914b2e051", }, }, }, @@ -388,12 +404,20 @@ You may use the following placeholders: }, meta: { type: "object", - required: ["createdAt"], + required: [ + "extensionId", + "contributorId" + ], properties: { - createdAt: { + extensionId: { type: "string", - format: "date-time", - example: "2024-03-14T11:36:21Z", + format: "uuid", + example: "c593348d-f594-492a-8185-2b89848a4160", + }, + contributorId: { + type: "string", + format: "uuid", + example: "680ba069-7465-4932-8b23-e73914b2e051", }, }, }, diff --git a/i18n/de/docusaurus-plugin-content-docs/current/contribution/5-reference/4-webhooks.mdx b/i18n/de/docusaurus-plugin-content-docs/current/contribution/5-reference/4-webhooks.mdx index 537d80c4..9be53653 100644 --- a/i18n/de/docusaurus-plugin-content-docs/current/contribution/5-reference/4-webhooks.mdx +++ b/i18n/de/docusaurus-plugin-content-docs/current/contribution/5-reference/4-webhooks.mdx @@ -91,12 +91,20 @@ Folgende Platzhalter können verwendet werden: }, meta: { type: "object", - required: ["createdAt"], + required: [ + "extensionId", + "contributorId" + ], properties: { - createdAt: { + extensionId: { type: "string", - format: "date-time", - example: "2024-03-14T11:36:21Z", + format: "uuid", + example: "c593348d-f594-492a-8185-2b89848a4160", + }, + contributorId: { + type: "string", + format: "uuid", + example: "680ba069-7465-4932-8b23-e73914b2e051", }, }, }, @@ -204,12 +212,20 @@ Folgende Platzhalter können verwendet werden: }, meta: { type: "object", - required: ["createdAt"], + required: [ + "extensionId", + "contributorId" + ], properties: { - createdAt: { + extensionId: { type: "string", - format: "date-time", - example: "2024-03-14T11:36:21Z", + format: "uuid", + example: "c593348d-f594-492a-8185-2b89848a4160", + }, + contributorId: { + type: "string", + format: "uuid", + example: "680ba069-7465-4932-8b23-e73914b2e051", }, }, }, @@ -388,12 +404,20 @@ Folgende Platzhalter können verwendet werden: }, meta: { type: "object", - required: ["createdAt"], + required: [ + "extensionId", + "contributorId" + ], properties: { - createdAt: { + extensionId: { type: "string", - format: "date-time", - example: "2024-03-14T11:36:21Z", + format: "uuid", + example: "c593348d-f594-492a-8185-2b89848a4160", + }, + contributorId: { + type: "string", + format: "uuid", + example: "680ba069-7465-4932-8b23-e73914b2e051", }, }, },