Brand Studio docs
Engineering manualSchema reference

Asset Generation Run

Declared schema: schemas/asset-generation-run.schema.json

Source: schemas/asset-generation-run.schema.json. This is the complete declaration, including nested definitions and constraints. Its presence is not evidence that a runtime producer or consumer validates against it.

All schemas · Data structures and lineage

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Asset Generation Run",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "run_id",
    "stage_id",
    "campaign_id",
    "brand_id",
    "open_design_design_system_id",
    "brand_gate",
    "design_system_gate",
    "campaign_gate",
    "asset_types",
    "variation_count_per_asset_type",
    "total_variation_count",
    "generation_provenance_summary",
    "stage_5_started"
  ],
  "properties": {
    "run_id": {
      "type": "string",
      "minLength": 1
    },
    "stage_id": {
      "type": "string",
      "const": "stage-04-9"
    },
    "campaign_id": {
      "type": "string",
      "minLength": 1
    },
    "brand_id": {
      "type": "string",
      "minLength": 1
    },
    "open_design_design_system_id": {
      "type": "string",
      "minLength": 1
    },
    "brand_gate": {
      "type": "string",
      "enum": [
        "passed",
        "blocked"
      ]
    },
    "design_system_gate": {
      "type": "string",
      "enum": [
        "passed",
        "blocked"
      ]
    },
    "campaign_gate": {
      "type": "string",
      "enum": [
        "passed",
        "blocked"
      ]
    },
    "asset_types": {
      "type": "array",
      "minItems": 6,
      "maxItems": 6,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "asset_type_id",
          "asset_id",
          "label",
          "funnel_stage",
          "cta_id",
          "review_page_path",
          "feedback_json_path",
          "variations"
        ],
        "properties": {
          "asset_type_id": {
            "type": "string",
            "minLength": 1
          },
          "asset_id": {
            "type": "string",
            "minLength": 1
          },
          "label": {
            "type": "string",
            "minLength": 1
          },
          "funnel_stage": {
            "type": "string",
            "enum": [
              "awareness",
              "consideration",
              "conversion"
            ]
          },
          "cta_id": {
            "type": "string",
            "minLength": 1
          },
          "review_page_path": {
            "type": "string",
            "minLength": 1
          },
          "feedback_json_path": {
            "type": "string",
            "minLength": 1
          },
          "variations": {
            "type": "array",
            "minItems": 3,
            "maxItems": 3,
            "items": {
              "$ref": "asset-variation.schema.json"
            }
          }
        }
      }
    },
    "variation_count_per_asset_type": {
      "type": "integer",
      "const": 3
    },
    "total_variation_count": {
      "type": "integer",
      "const": 18
    },
    "generation_provenance_summary": {
      "type": "string",
      "minLength": 1
    },
    "stage_5_started": {
      "type": "boolean",
      "const": false
    }
  }
}