{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audiomap-ai/json-schema/audiomap-ai-create-note-request-schema.json",
  "title": "CreateNoteRequest",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audiomap-ai-openapi.json#/components/schemas/CreateNoteRequest",
  "type": "object",
  "properties": {
    "audioUrl": {
      "type": "string",
      "format": "uri",
      "maxLength": 2000,
      "description": "Public link to import"
    },
    "filename": {
      "type": "string",
      "maxLength": 255,
      "description": "Direct upload: original file name"
    },
    "contentType": {
      "type": "string",
      "maxLength": 100,
      "description": "Direct upload: audio/* or video/*"
    },
    "fileSizeBytes": {
      "type": "integer",
      "minimum": 1
    },
    "title": {
      "type": "string",
      "maxLength": 200
    },
    "language": {
      "type": "string",
      "maxLength": 20,
      "description": "Force a locale (es-ES, en-US…). Default: auto-detect"
    },
    "keepAudio": {
      "type": "boolean",
      "description": "Direct upload: keep the audio beyond the retention window"
    }
  }
}