{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/atlassian/json-schema/atlassian-system-avatars-schema.json",
  "title": "SystemAvatars",
  "description": "List of system avatars.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/atlassian-avatars-api-openapi.yml#/components/schemas/SystemAvatars",
  "additionalProperties": false,
  "properties": {
    "system": {
      "description": "A list of avatar details.",
      "items": {
        "$ref": "#/$defs/Avatar"
      },
      "readOnly": true,
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "Avatar": {
      "additionalProperties": true,
      "description": "Details of an avatar.",
      "properties": {
        "fileName": {
          "description": "The file name of the avatar icon. Returned for system avatars.",
          "readOnly": true,
          "type": "string"
        },
        "id": {
          "description": "The ID of the avatar.",
          "type": "string"
        },
        "isDeletable": {
          "description": "Whether the avatar can be deleted.",
          "readOnly": true,
          "type": "boolean"
        },
        "isSelected": {
          "description": "Whether the avatar is used in Jira. For example, shown as a project's avatar.",
          "readOnly": true,
          "type": "boolean"
        },
        "isSystemAvatar": {
          "description": "Whether the avatar is a system avatar.",
          "readOnly": true,
          "type": "boolean"
        },
        "owner": {
          "description": "The owner of the avatar. For a system avatar the owner is null (and nothing is returned). For non-system avatars this is the appropriate identifier, such as the ID for a project or the account ID for a user.",
          "readOnly": true,
          "type": "string"
        },
        "urls": {
          "additionalProperties": {
            "format": "uri",
            "readOnly": true,
            "type": "string"
          },
          "description": "The list of avatar icon URLs.",
          "readOnly": true,
          "type": "object"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    }
  }
}