{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "vclaw-video-core/video/artifacts/publish-metadata",
  "type": "object",
  "required": ["projectSlug", "title", "visibility", "syntheticMedia", "createdAt"],
  "properties": {
    "projectSlug": { "type": "string", "minLength": 1 },
    "title": { "type": "string", "minLength": 1 },
    "description": { "type": "string" },
    "tags": { "type": "array", "items": { "type": "string" } },
    "visibility": { "type": "string", "enum": ["private", "unlisted", "public"] },
    "syntheticMedia": {
      "type": "object",
      "required": ["containsSyntheticMedia"],
      "properties": {
        "containsSyntheticMedia": { "type": "boolean" },
        "disclosureText": { "type": "string" }
      },
      "additionalProperties": true
    },
    "captionsPath": { "type": "string" },
    "thumbnailPath": { "type": "string" },
    "createdAt": { "type": "string", "format": "date-time" },
    "updatedAt": { "type": "string", "format": "date-time" }
  },
  "additionalProperties": true
}
