{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tintin-x-com/json-schema/tintin-x-com-job-create-request-schema.json",
  "title": "JobCreateRequest",
  "description": "Frontend posts this after uploading hand images + selecting a nail-set.\n\nInputs are raw S3 keys: `nail_set_s3_key` + `hand_s3_keys`, uploaded via\n`/api/uploads/standalone-presign` under the caller's own prefix (or\npre-seeded admin nail-sets / curated-gallery keys). They're scope- +\nexistence-validated server-side before the job is accepted.\n\nDEPRECATED — direct hand upload: a hand with a `None` entry in\n`hand_template_ids` (or no `hand_template_ids` at all) is an ad-hoc,\nuser-uploaded hand that runs the full strip + SAM3 + VLM preprocess.\nThe frontend no longer offers direct hand upload — all hands now come\nfrom curated hand templates — so this is retained only for in-flight /\nlegacy jobs and is slated for removal. New callers SHOULD supply a\n`hand_template_id` per hand. (Per-finger custom directions also only\napply on the template path; the worker logs a DEPRECATED warning when a\nhand arrives without a template.)",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/tintin-x-com-api-openapi.json#/components/schemas/JobCreateRequest",
  "properties": {
    "nail_set_s3_key": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 512
        },
        {
          "type": "null"
        }
      ],
      "title": "Nail Set S3 Key"
    },
    "nail_set_label": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "Nail Set Label"
    },
    "hand_s3_keys": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 5
        },
        {
          "type": "null"
        }
      ],
      "title": "Hand S3 Keys"
    },
    "hand_template_ids": {
      "anyOf": [
        {
          "items": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": "array",
          "maxItems": 5
        },
        {
          "type": "null"
        }
      ],
      "title": "Hand Template Ids"
    },
    "harmonize_num_images": {
      "type": "integer",
      "maximum": 4.0,
      "minimum": 1.0,
      "title": "Harmonize Num Images",
      "default": 2
    },
    "nail_shape": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "almond",
            "square",
            "coffin",
            "round",
            "oval",
            "squoval",
            "stiletto"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Nail Shape"
    },
    "nail_length": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "super_short",
            "short",
            "medium",
            "long"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Nail Length"
    },
    "nail_size": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "slim",
            "full"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Nail Size"
    },
    "shape_terms": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Shape Terms"
    },
    "output_aspect": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "auto",
            "21:9",
            "16:9",
            "3:2",
            "4:3",
            "5:4",
            "1:1",
            "4:5",
            "3:4",
            "2:3",
            "9:16",
            "4:1",
            "1:4",
            "8:1",
            "1:8"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Aspect"
    },
    "output_max_kb": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 10000.0,
          "minimum": 100.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Max Kb"
    },
    "output_format": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "png",
            "jpg",
            "webp"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Format"
    },
    "output_resolution": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "2K",
            "4K"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Output Resolution"
    },
    "collection_tag": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 40
        },
        {
          "type": "null"
        }
      ],
      "title": "Collection Tag"
    }
  },
  "type": "object"
}