{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/metricool/json-schema/metricool-json-ok-list-response-approval-task-schema.json",
  "title": "JsonOkListResponseApprovalTask",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/metricool-approval-task-api-service-api-openapi.yml#/components/schemas/JsonOkListResponseApprovalTask",
  "type": "object",
  "properties": {
    "metadata": {
      "type": "object"
    },
    "page": {
      "$ref": "#/$defs/JsonPaging"
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ApprovalTask"
      }
    }
  },
  "$defs": {
    "ApprovalTask": {
      "type": "object",
      "properties": {
        "publicationDate": {
          "$ref": "#/$defs/DateTimeInfo"
        },
        "postId": {
          "type": "integer",
          "format": "int32"
        },
        "postUuid": {
          "type": "string"
        },
        "mediaUrl": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "networks": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "status": {
          "type": "string",
          "description": "On a reviewer task, the reader's own answer. On an editor task, the state of the post they sent: pending while no answer settles it, whichever approval flavour it stores.",
          "enum": [
            "pending",
            "approved",
            "rejected"
          ]
        },
        "blogId": {
          "type": "integer",
          "format": "int32"
        },
        "blogName": {
          "type": "string"
        },
        "blogImage": {
          "type": "string",
          "description": "Public URL of the brand's image: its own picture, or the one stored from its connected networks when it has none of its own. Both are stored values — a brand with neither gets no picture resolved from its live connections here, and the field is absent."
        },
        "taskType": {
          "type": "string"
        },
        "approvalTaskUsers": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ApprovalTaskUser"
          }
        }
      }
    },
    "ApprovalTaskUser": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "mail": {
          "type": "string"
        },
        "fullName": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "profilePicture": {
          "type": "string",
          "description": "Public URL of the user's 400x400 profile picture. Absent when they have none, in which case the frontend renders its initials fallback."
        }
      }
    },
    "DateTimeInfo": {
      "required": [
        "dateTime"
      ],
      "type": "object",
      "properties": {
        "dateTime": {
          "type": "string",
          "description": "Local Date-time represented with a certain timezone "
        },
        "timezone": {
          "type": "string",
          "description": "Timezone applied to the datetime"
        }
      }
    },
    "JsonPaging": {
      "type": "object",
      "properties": {
        "next": {
          "type": "string"
        }
      }
    }
  }
}