{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/0bull-net/json-schema/0bull-net-post-api-v1-submissions-batches-response-schema.json",
  "title": "PostApiV1SubmissionsBatchesResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/0bull-net-openapi-generated.yml#/components/schemas/PostApiV1SubmissionsBatchesResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "caption": {
      "type": "string"
    },
    "youtube_title": {
      "type": "string"
    },
    "draft": {
      "type": "boolean"
    },
    "scheduled_at": {
      "type": "string"
    },
    "webhook_url": {
      "type": "string"
    },
    "running": {
      "type": "boolean"
    },
    "submissions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "platform": {
            "type": "string"
          },
          "account_id": {
            "type": "string"
          },
          "batch_id": {
            "type": "integer"
          },
          "caption": {
            "type": "string"
          },
          "draft": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "attempts": {
            "type": "integer"
          },
          "failure": {
            "type": "object",
            "properties": {
              "step": {
                "type": "string"
              },
              "message": {
                "type": "string"
              }
            }
          },
          "scheduled_at": {
            "type": "string"
          },
          "webhook_url": {
            "type": "string"
          },
          "started_at": {
            "type": "string"
          },
          "finished_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "updated_at": {
            "type": "string"
          }
        }
      }
    },
    "created_at": {
      "type": "string"
    },
    "updated_at": {
      "type": "string"
    }
  }
}