diff --git a/community/resource_types/airtable_table.json b/community/resource_types/airtable_table.json new file mode 100644 index 0000000000..0cd58c5312 --- /dev/null +++ b/community/resource_types/airtable_table.json @@ -0,0 +1,20 @@ +{ + "workspace_id": "starter", + "name": "airtable_table", + "schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "baseId": { + "type": "string", + "description": "" + }, + "tableName": { + "type": "string", + "description": "" + } + }, + "required": [], + "type": "object" + }, + "description": "" +} diff --git a/community/resource_types/datadog.json b/community/resource_types/datadog.json new file mode 100644 index 0000000000..6e587feb5a --- /dev/null +++ b/community/resource_types/datadog.json @@ -0,0 +1,26 @@ +{ + "workspace_id": "starter", + "name": "datadog", + "schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "properties": { + "apiKey": { + "type": "string", + "description": "" + }, + "appKey": { + "type": "string", + "description": "" + }, + "apiBase": { + "type": "string", + "description": "" + } + }, + "required": [ + "apiKey" + ], + "type": "object" + }, + "description": "" +} diff --git a/community/resource_types/mongodb.json b/community/resource_types/mongodb.json index 804475d462..1be250ac97 100755 --- a/community/resource_types/mongodb.json +++ b/community/resource_types/mongodb.json @@ -2,37 +2,57 @@ "workspace_id": "starter", "name": "mongodb", "schema": { - "type": "object", "$schema": "https://json-schema.org/draft/2020-12/schema", - "required": [ - "host", - "password", - "username" - ], "properties": { + "db": { + "type": "string", + "description": "" + }, "tls": { "type": "boolean", - "description": "" + "description": "", + "default": true }, - "host": { - "type": "string", - "default": "localhost:27017", - "description": "Hostname or IP address or Unix domain socket path of a single mongod or mongos instance to connect to, or a mongodb URI" - }, - "port": { - "type": "integer", - "default": 27017, - "description": "port number on which to connect" - }, - "password": { - "type": "string", - "description": "" - }, - "username": { - "type": "string", - "description": "" + "servers": [ + { + "host": { + "type": "string", + "description": "" + }, + "port": { + "type": "integer", + "description": "", + "default": 27017 + } + } + ], + "credential": { + "username": { + "type": "string", + "description": "" + }, + "password": { + "type": "string", + "description": "" + }, + "db": { + "type": "string", + "description": "" + }, + "mechanism": { + "type": "string", + "description": "", + "default": "SCRAM-SHA-1" + } } - } + }, + "required": [ + "db", + "tls", + "servers", + "credential" + ], + "type": "object" }, - "description": "Mongodb connection infos" + "description": "MongoDb connection infos" }