Brand Studio docs
Engineering manualSchema reference

Brand Studio client brand system manifest

Declared schema: schemas/client-brand-system-manifest.schema.json

Source: schemas/client-brand-system-manifest.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",
  "$id": "https://brand.mirrorfactory.ai/schemas/client-brand-system-manifest.schema.json",
  "title": "Brand Studio client brand system manifest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema_version",
    "system_version",
    "generated_at",
    "source",
    "status",
    "normalized_documents",
    "markdown_projections",
    "operational_records",
    "evidence_records",
    "social_media",
    "package_inventory",
    "presentation",
    "guarantees"
  ],
  "properties": {
    "schema_version": {
      "const": "brand-studio-client-brand-system-manifest/v1"
    },
    "system_version": {
      "const": "brand-studio-client-brand-system/v1"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time"
    },
    "source": {
      "type": "object",
      "required": [
        "authoritative_source",
        "run_id",
        "source_url",
        "normalized_at",
        "evidence_status"
      ],
      "properties": {
        "authoritative_source": {
          "const": "../result.json"
        },
        "run_id": {
          "type": "string"
        },
        "source_url": {
          "type": "string"
        },
        "captured_at": {
          "type": "string"
        },
        "normalized_at": {
          "type": "string"
        },
        "evidence_status": {
          "const": "observed_not_approved"
        }
      }
    },
    "status": {
      "enum": [
        "needs_review",
        "approved"
      ]
    },
    "normalized_documents": {
      "const": [
        "system/brand.json",
        "system/writing.json",
        "system/design.json",
        "system/rules.json"
      ]
    },
    "markdown_projections": {
      "const": [
        "system/BRAND.md",
        "system/WRITING.md",
        "system/DESIGN.md",
        "system/RULES.md"
      ]
    },
    "operational_records": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 5
    },
    "evidence_records": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "social_media": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "status",
        "accepted_platforms",
        "authentication_required_platforms",
        "accepted_records",
        "accepted_source_records",
        "complete_archive_claimed",
        "source_manifest"
      ],
      "properties": {
        "status": {
          "enum": [
            "not_collected",
            "captured",
            "partial_authentication_required"
          ]
        },
        "accepted_platforms": {
          "type": "integer",
          "minimum": 0
        },
        "authentication_required_platforms": {
          "type": "integer",
          "minimum": 0
        },
        "accepted_records": {
          "type": "integer",
          "minimum": 0
        },
        "accepted_source_records": {
          "type": "integer",
          "minimum": 0
        },
        "complete_archive_claimed": {
          "type": "boolean"
        },
        "source_manifest": {
          "type": "string"
        }
      }
    },
    "package_inventory": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "path",
        "files",
        "bytes"
      ],
      "properties": {
        "path": {
          "const": "package-file-inventory.json"
        },
        "files": {
          "type": "integer",
          "minimum": 1
        },
        "bytes": {
          "type": "integer",
          "minimum": 1
        }
      }
    },
    "presentation": {
      "type": "object",
      "required": [
        "html",
        "pdf",
        "page_images"
      ],
      "properties": {
        "html": {
          "$ref": "#/$defs/projection"
        },
        "pdf": {
          "$ref": "#/$defs/projection"
        },
        "page_images": {
          "allOf": [
            {
              "$ref": "#/$defs/projection"
            },
            {
              "type": "object",
              "properties": {
                "files": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          ]
        }
      }
    },
    "guarantees": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 4
    },
    "tier_owners": {
      "type": "object",
      "description": "Names the existing schemas that own each lineage tier (evidence, derived, render_eligible). One manifest references tier owners; no fourth standalone section schema.",
      "additionalProperties": true
    }
  },
  "$defs": {
    "projection": {
      "type": "object",
      "required": [
        "status"
      ],
      "properties": {
        "status": {
          "enum": [
            "generated",
            "omitted"
          ]
        },
        "path": {
          "type": "string"
        },
        "reason": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        }
      }
    }
  }
}