{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pionra-world/json-schema/pionra-world-ai-publish-success-schema.json",
  "title": "AiPublishSuccess",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pionra-world-openapi.yml#/components/schemas/AiPublishSuccess",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "post": {
      "$ref": "#/$defs/AiPublishPost"
    }
  },
  "required": [
    "ok",
    "post"
  ],
  "$defs": {
    "AiPublishPost": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "publicId": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "PENDING_REVIEW"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "coverImageUrl": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri",
          "description": "Same-origin URL of the stored cover image, or null if none was attached."
        }
      },
      "required": [
        "id",
        "publicId",
        "status",
        "url"
      ]
    }
  }
}