{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audiostack/json-schema/audiostack-create-brief-from-file-request-schema.json",
  "title": "Use an already uploaded brief",
  "description": "Creating ad from stored brief file",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audiostack-brief-api-openapi.yml#/components/schemas/CreateBriefFromFileRequest",
  "type": "object",
  "properties": {
    "audioformVersion": {
      "$ref": "#/$defs/audioformVersion"
    },
    "fileId": {
      "type": "string",
      "format": "uuid",
      "description": "A file ID of a valid uploaded brief."
    },
    "numAds": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5,
      "description": "Number of audio ads to generate.",
      "default": 3
    }
  },
  "required": [
    "fileId"
  ],
  "additionalProperties": false,
  "$defs": {
    "audioformVersion": {
      "type": "string",
      "enum": [
        "0.0.1",
        "1",
        "2"
      ],
      "description": "The version of the audioform to use in the returned audioforms.\nDefaults to `\"0.0.1\"` for backwards compatibility. We recommend \nusing lastest version to take advantage of latest features.\n",
      "default": "0.0.1"
    }
  }
}