Brand Studio docs
Engineering manualSchema reference

Source

Declared schema: schemas/source.schema.json

Source: schemas/source.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": "Source",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "type",
    "url_or_path",
    "retrieved_at",
    "freshness",
    "owner"
  ],
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1
    },
    "type": {
      "type": "string",
      "enum": [
        "url",
        "document",
        "repo",
        "human_note"
      ]
    },
    "url_or_path": {
      "type": "string",
      "minLength": 1
    },
    "retrieved_at": {
      "type": "string",
      "minLength": 1
    },
    "freshness": {
      "type": "string",
      "enum": [
        "current",
        "snapshot",
        "unknown"
      ]
    },
    "owner": {
      "type": "string",
      "minLength": 1
    },
    "notes": {
      "type": "string"
    }
  }
}