{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-chrome/json-schema/google-chrome-publish-item-response-schema.json",
  "title": "PublishItemResponse",
  "description": "Response message for `PublishItem`.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-chrome-chromewebstore-publishers-api-openapi.yml#/components/schemas/PublishItemResponse",
  "properties": {
    "state": {
      "description": "Output only. The current state of the submission.",
      "enum": [
        "ITEM_STATE_UNSPECIFIED",
        "PENDING_REVIEW",
        "STAGED",
        "PUBLISHED",
        "PUBLISHED_TO_TESTERS",
        "REJECTED",
        "CANCELLED"
      ],
      "readOnly": true,
      "type": "string"
    },
    "itemId": {
      "description": "Output only. The ID of the item.",
      "readOnly": true,
      "type": "string"
    },
    "warningInfo": {
      "$ref": "#/$defs/WarningsInfo",
      "description": "Output only. Non-blocking warnings encountered during the request."
    },
    "name": {
      "description": "The name of the item that was submitted",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "Warning": {
      "description": "Represents a single warning encountered during the request.",
      "type": "object",
      "properties": {
        "description": {
          "description": "A description of the warning. Developers should use this message to understand the warning and take appropriate action to resolve the issue.",
          "type": "string"
        },
        "reason": {
          "description": "The reason for the warning. This is a constant value that identifies the proximate cause of the warning.",
          "type": "string"
        }
      }
    },
    "WarningsInfo": {
      "type": "object",
      "description": "Message containing details on warnings encountered during PublishItem.",
      "properties": {
        "warnings": {
          "type": "array",
          "description": "All warnings encountered during the request.",
          "items": {
            "$ref": "#/$defs/Warning"
          }
        }
      }
    }
  }
}