From 57be86130fa753483369c47acc8f0f3704de3ba4 Mon Sep 17 00:00:00 2001 From: Sambhav Gupta Date: Sat, 20 Apr 2024 13:21:43 +0530 Subject: [PATCH] feat: add linkedin extension support --- definitions/3.0.0/infoExtensions.json | 3 +++ extensions/linkedin/0.1.0/schema.json | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 extensions/linkedin/0.1.0/schema.json diff --git a/definitions/3.0.0/infoExtensions.json b/definitions/3.0.0/infoExtensions.json index 47e71402..0c7f505f 100644 --- a/definitions/3.0.0/infoExtensions.json +++ b/definitions/3.0.0/infoExtensions.json @@ -4,6 +4,9 @@ "properties": { "x-x":{ "$ref": "http://asyncapi.com/extensions/x/0.1.0/schema.json" + }, + "x-linkedin":{ + "$ref": "http://asyncapi.com/extensions/linkedin/0.1.0/schema.json" } }, "$schema": "http://json-schema.org/draft-07/schema#", diff --git a/extensions/linkedin/0.1.0/schema.json b/extensions/linkedin/0.1.0/schema.json new file mode 100644 index 00000000..b4ffce0d --- /dev/null +++ b/extensions/linkedin/0.1.0/schema.json @@ -0,0 +1,10 @@ +{ + "type": "string", + "description": "This extension allows you to provide the Linkedin username of the account representing the team/company of the API.", + "example": [ + "sambhavgupta0705", + "asyncapi" + ], + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "http://asyncapi.com/extensions/linkedin/0.1.0/schema.json" +}