{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://vclaw.dev/schemas/video/artifacts/flow-voices.schema.json",
  "title": "FlowVoicesArtifact",
  "description": "Registered Google Flow v1 reusable custom voices (base preset + dialog + performance). Written by src/video/flow-character-library.ts (vclaw video flow-register-voices). voiceRef values are used as referenceAudio_1..5 or as a character's voice.",
  "type": "object",
  "required": ["schemaVersion", "projectSlug", "generatedAt", "voices"],
  "additionalProperties": false,
  "properties": {
    "schemaVersion": { "const": 1 },
    "projectSlug": { "type": "string", "minLength": 1 },
    "generatedAt": { "type": "string", "format": "date-time" },
    "voices": {
      "type": "array",
      "items": { "$ref": "#/definitions/FlowVoice" }
    }
  },
  "definitions": {
    "FlowVoice": {
      "type": "object",
      "required": ["name", "voiceRef"],
      "additionalProperties": false,
      "properties": {
        "name": { "type": "string", "minLength": 1 },
        "voiceRef": { "type": "string", "minLength": 1 },
        "baseVoice": { "type": "string" }
      }
    }
  }
}
