{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://quickiso.app/data-portability/tables/trust_brand_assets.schema.json",
  "title": "tables/trust_brand_assets.json",
  "description": "The rows of the table trust_brand_assets that belong to the workspace, one object per row, keyed by the database's column names.",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "format": "uuid"
      },
      "organization_id": {
        "type": "string",
        "format": "uuid"
      },
      "kind": {
        "type": "string",
        "enum": [
          "logo_light",
          "logo_dark",
          "favicon"
        ]
      },
      "content_type": {
        "type": "string"
      },
      "size_bytes": {
        "type": "integer"
      },
      "width": {
        "type": "integer"
      },
      "height": {
        "type": "integer"
      },
      "sha256": {
        "type": "string"
      },
      "scan_status": {
        "type": "string",
        "enum": [
          "clean",
          "not_scanned"
        ]
      },
      "created_by": {
        "type": [
          "string",
          "null"
        ],
        "format": "uuid"
      },
      "created_at": {
        "type": "string",
        "format": "date-time",
        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
      }
    },
    "required": [
      "id",
      "organization_id",
      "kind",
      "content_type",
      "size_bytes",
      "width",
      "height",
      "sha256",
      "scan_status",
      "created_by",
      "created_at"
    ],
    "additionalProperties": false
  }
}
