From bffb6eaa2f613138332606dd2b67c072b7d0698f Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Mon, 12 Jun 2023 22:51:55 +0500 Subject: [PATCH] add card to tweet --- src/openapi/schemas/tweet.yaml | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/openapi/schemas/tweet.yaml b/src/openapi/schemas/tweet.yaml index 63e2908..91186e1 100644 --- a/src/openapi/schemas/tweet.yaml +++ b/src/openapi/schemas/tweet.yaml @@ -53,6 +53,44 @@ components: pattern: "^[0-9]+$" core: $ref: "./user.yaml#/components/schemas/UserResultCore" + card: + type: object + properties: + rest_id: string + legacy: + type: object + required: + - "binding_values" + - "name" + - "url" + properties: + name: + type: string + url: + type: string + binding_values: + type: array + items: + type: object + required: + - "key" + - "value" + properties: + key: + type: string + value: + type: object + required: + - "type" + properties: + string_value: + type: string + boolean_value: + type: boolean + scribe_key: + type: string + type: + type: string unmention_data: type: object # todo edit_control: