Brand Studio docs
Engineering manualSchema reference

Design System Review Response

Declared schema: schemas/design-system-review-response.schema.json

Source: schemas/design-system-review-response.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-studio.local/schemas/design-system-review-response.schema.json",
  "title": "Design System Review Response",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "review_id",
    "brand_id",
    "review_type",
    "reviewer",
    "created_at",
    "decision",
    "approval_status",
    "review_source_hash",
    "open_design_design_system_id",
    "design_md_approval",
    "token_approval",
    "component_approval",
    "provenance_approval",
    "warnings",
    "requested_changes"
  ],
  "properties": {
    "review_id": {
      "type": "string",
      "minLength": 1
    },
    "brand_id": {
      "type": "string",
      "minLength": 1
    },
    "review_type": {
      "type": "string",
      "enum": [
        "design_system"
      ]
    },
    "reviewer": {},
    "created_at": {
      "type": "string",
      "minLength": 1
    },
    "decision": {
      "type": "string",
      "enum": [
        "approve",
        "approve_with_warnings",
        "request_changes",
        "request_expansion",
        "reject"
      ]
    },
    "approval_status": {
      "type": "string",
      "enum": [
        "approved",
        "approved_with_warnings",
        "accepted_with_warnings",
        "needs_revision",
        "needs_expansion",
        "rejected",
        "blocked"
      ]
    },
    "review_source_hash": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "open_design_design_system_id": {
      "type": "string",
      "minLength": 1
    },
    "design_system_package_path": {
      "type": "string"
    },
    "design_system_package_hash": {
      "type": "string"
    },
    "design_md_approval": {
      "type": "object",
      "additionalProperties": true
    },
    "token_approval": {
      "type": "object",
      "additionalProperties": true
    },
    "component_approval": {
      "type": "object",
      "additionalProperties": true
    },
    "provenance_approval": {
      "type": "object",
      "additionalProperties": true
    },
    "ambiguity_resolutions": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "warnings": {
      "type": "array"
    },
    "requested_changes": {
      "type": "array"
    },
    "notes": {
      "type": "string"
    },
    "reviewer_notes": {
      "type": "string"
    }
  }
}