{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/craftstory-com/json-schema/craftstory-com-sound-effect-create-schema.json",
  "title": "SoundEffectCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/craftstory-com-sound-effects-api-openapi.yml#/components/schemas/SoundEffectCreate",
  "required": [
    "prompt"
  ],
  "type": "object",
  "properties": {
    "id": {
      "title": "Id",
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "name": {
      "title": "Name",
      "type": [
        "string",
        "null"
      ],
      "maxLength": 512
    },
    "prompt": {
      "title": "Prompt",
      "type": "string",
      "maxLength": 1000,
      "minLength": 1
    },
    "duration_s": {
      "title": "Duration s",
      "type": [
        "number",
        "null"
      ],
      "maximum": 30,
      "minimum": 0.5
    },
    "loop": {
      "title": "Loop",
      "type": "boolean",
      "default": false
    },
    "prompt_influence": {
      "title": "Prompt influence",
      "type": [
        "number",
        "null"
      ],
      "maximum": 1,
      "minimum": 0
    },
    "credits": {
      "title": "Credits",
      "type": "integer",
      "readOnly": true
    }
  }
}