{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/scrapeatlas/json-schema/scrapeatlas-dribbble-profile-response-schema-schema.json",
  "title": "dribbbleProfileResponseSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/scrapeatlas-dribbble-api-openapi.yml#/components/schemas/dribbbleProfileResponseSchema",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "const": true
        },
        "status": {
          "type": "string",
          "enum": [
            "success",
            "partial"
          ]
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "sourceUrl": {
          "type": "string",
          "format": "uri"
        },
        "fetchedAt": {
          "type": "string",
          "format": "date-time"
        },
        "coverage": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string",
              "const": "public_page"
            },
            "complete": {
              "type": "boolean"
            },
            "warnings": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "metadata_unavailable",
                  "metrics_unavailable",
                  "source_page_only",
                  "pagination_unavailable",
                  "shot_limit",
                  "collection_limit",
                  "profile_item_limit",
                  "invalid_item"
                ]
              }
            }
          },
          "required": [
            "source",
            "complete",
            "warnings"
          ],
          "additionalProperties": false
        },
        "accounting": {
          "type": "object",
          "properties": {
            "upstreamRequests": {
              "type": "integer",
              "minimum": 0
            },
            "responseBytes": {
              "type": "integer",
              "minimum": 0
            },
            "durationMs": {
              "type": "number",
              "minimum": 0
            }
          },
          "required": [
            "upstreamRequests",
            "responseBytes",
            "durationMs"
          ],
          "additionalProperties": false
        },
        "profile": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "pattern": "^\\d+$"
            },
            "username": {
              "type": "string"
            },
            "url": {
              "type": "string",
              "format": "uri"
            },
            "name": {
              "type": "string",
              "minLength": 1
            },
            "avatarUrl": {
              "type": [
                "string",
                "null"
              ]
            },
            "bannerUrl": {
              "type": [
                "string",
                "null"
              ]
            },
            "bio": {
              "type": [
                "string",
                "null"
              ]
            },
            "headline": {
              "type": [
                "string",
                "null"
              ]
            },
            "location": {
              "type": [
                "string",
                "null"
              ]
            },
            "memberSince": {
              "type": [
                "string",
                "null"
              ]
            },
            "isTeam": {
              "type": "boolean"
            },
            "isPro": {
              "type": "boolean"
            },
            "followersCount": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 0
            },
            "followingCount": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 0
            },
            "shotsCount": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 0
            },
            "likesCount": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 0
            },
            "tagsCount": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 0
            },
            "website": {
              "type": [
                "string",
                "null"
              ]
            },
            "email": {
              "type": [
                "string",
                "null"
              ]
            },
            "socialLinks": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "network": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "required": [
                  "network",
                  "url"
                ],
                "additionalProperties": false
              },
              "maxItems": 100
            },
            "skills": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "maxItems": 100
            },
            "languages": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "maxItems": 100
            }
          },
          "required": [
            "id",
            "username",
            "url",
            "name",
            "avatarUrl",
            "bannerUrl",
            "bio",
            "headline",
            "location",
            "memberSince",
            "isTeam",
            "isPro",
            "followersCount",
            "followingCount",
            "shotsCount",
            "likesCount",
            "tagsCount",
            "website",
            "email",
            "socialLinks",
            "skills",
            "languages"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "success",
        "status",
        "requestId",
        "sourceUrl",
        "fetchedAt",
        "coverage",
        "accounting",
        "profile"
      ],
      "additionalProperties": false
    },
    {
      "type": "object",
      "properties": {
        "success": {
          "type": "boolean",
          "const": false
        },
        "status": {
          "type": "string",
          "enum": [
            "failed",
            "challenged"
          ]
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "accounting": {
          "type": "object",
          "properties": {
            "upstreamRequests": {
              "type": "integer",
              "minimum": 0
            },
            "responseBytes": {
              "type": "integer",
              "minimum": 0
            },
            "durationMs": {
              "type": "number",
              "minimum": 0
            }
          },
          "required": [
            "upstreamRequests",
            "responseBytes",
            "durationMs"
          ],
          "additionalProperties": false
        },
        "failure": {
          "type": "object",
          "properties": {
            "code": {
              "type": "string",
              "enum": [
                "invalid_request",
                "unauthorized",
                "not_found",
                "restricted_page",
                "upstream_challenged",
                "upstream_rate_limited",
                "upstream_error",
                "unsupported_page",
                "response_too_large",
                "unsafe_redirect",
                "request_limit",
                "timeout",
                "busy"
              ]
            },
            "message": {
              "type": "string"
            }
          },
          "required": [
            "code",
            "message"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "success",
        "status",
        "requestId",
        "accounting",
        "failure"
      ],
      "additionalProperties": false
    }
  ]
}