{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pho-chat/json-schema/pho-chat-artifact-with-content-schema.json",
  "title": "ArtifactWithContent",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pho-chat-openapi.json#/components/schemas/ArtifactWithContent",
  "allOf": [
    {
      "$ref": "#/$defs/Artifact"
    },
    {
      "type": "object",
      "properties": {
        "version": {
          "type": "integer"
        },
        "content": {
          "type": "object"
        }
      }
    }
  ],
  "$defs": {
    "Artifact": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "object": {
          "const": "artifact"
        },
        "run_id": {
          "type": "string",
          "format": "uuid"
        },
        "type": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}