{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/damdafa-com/json-schema/damdafa-com-generate-version-request-schema.json",
  "title": "GenerateVersionRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/damdafa-com-generating-mockups-api-openapi.yml#/components/schemas/GenerateVersionRequest",
  "properties": {
    "projectId": {
      "type": "string",
      "title": "Projectid"
    },
    "versionId": {
      "type": "string",
      "title": "Versionid"
    },
    "groupId": {
      "type": "string",
      "title": "Groupid"
    },
    "screenIds": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Screenids"
    },
    "locales": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/MockupperLocale"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Locales"
    },
    "platforms": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/Platform"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Platforms"
    },
    "batchId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Batchid"
    },
    "generationId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Generationid"
    },
    "quality": {
      "anyOf": [
        {
          "$ref": "#/$defs/GenerationQuality"
        },
        {
          "type": "null"
        }
      ],
      "default": "pro"
    },
    "translateOnlyText": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Translateonlytext",
      "description": "Translate only text"
    }
  },
  "type": "object",
  "required": [
    "projectId",
    "versionId",
    "groupId"
  ],
  "$defs": {
    "GenerationQuality": {
      "type": "string",
      "enum": [
        "draft",
        "standard",
        "pro"
      ],
      "title": "GenerationQuality"
    },
    "MockupperLocale": {
      "type": "string",
      "enum": [
        "ar-SA",
        "ca",
        "cs",
        "da",
        "de-DE",
        "el",
        "en-AU",
        "en-CA",
        "en-GB",
        "en-US",
        "es-ES",
        "es-MX",
        "fi",
        "fr-CA",
        "fr-FR",
        "he",
        "hi",
        "hr",
        "hu",
        "id",
        "it",
        "ja",
        "ko",
        "ms",
        "nl-NL",
        "no",
        "pl",
        "pt-BR",
        "pt-PT",
        "ro",
        "ru",
        "sk",
        "sv",
        "th",
        "tr",
        "uk",
        "vi",
        "zh-Hans",
        "zh-Hant"
      ],
      "title": "MockupperLocale"
    },
    "Platform": {
      "type": "string",
      "enum": [
        "iphone",
        "ipad",
        "androidPhone",
        "androidTablet"
      ],
      "title": "Platform"
    }
  }
}