{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/retool/main/json-schema/retool-resource-list-response-schema.json",
  "title": "ResourceListResponse",
  "description": "List of data source resources.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/retool-resources-api-openapi.yml#/components/schemas/ResourceListResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "Array of resource objects.",
      "items": {
        "$ref": "#/$defs/Resource"
      }
    }
  },
  "$defs": {
    "Resource": {
      "type": "object",
      "description": "A Retool data source resource connection.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for the resource."
        },
        "name": {
          "type": "string",
          "description": "The name of the resource."
        },
        "type": {
          "type": "string",
          "description": "The type of resource (e.g., postgresql, mysql, restapi, mongodb, snowflake, googlesheets, etc.)."
        },
        "displayName": {
          "type": "string",
          "description": "The human-readable display name of the resource type."
        },
        "createdAt": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the resource was created."
        },
        "updatedAt": {
          "type": "string",
          "format": "date-time",
          "description": "Timestamp when the resource was last updated."
        }
      }
    }
  }
}