{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/colourmemory-com/json-schema/colourmemory-com-palette-recipe-request-schema.json",
  "title": "PaletteRecipeRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/colourmemory-com-openapi.yml#/components/schemas/PaletteRecipeRequest",
  "properties": {
    "seed_hex": {
      "type": "string",
      "title": "Seed Hex"
    },
    "seed_role": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seed Role"
    },
    "harmony": {
      "type": "string",
      "title": "Harmony",
      "default": "auto"
    },
    "strength": {
      "type": "integer",
      "title": "Strength",
      "default": 0
    },
    "temperature": {
      "type": "integer",
      "title": "Temperature",
      "default": 0
    },
    "contrast": {
      "type": "integer",
      "title": "Contrast",
      "default": 0
    },
    "accent": {
      "type": "integer",
      "title": "Accent",
      "default": 0
    },
    "locked": {
      "additionalProperties": {
        "type": "string"
      },
      "type": "object",
      "title": "Locked",
      "default": {}
    },
    "variant": {
      "type": "integer",
      "title": "Variant",
      "default": 0
    },
    "seed_source": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seed Source"
    },
    "algorithm_version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Algorithm Version"
    },
    "include_evidence": {
      "type": "boolean",
      "title": "Include Evidence",
      "default": false
    },
    "seed_record": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seed Record"
    },
    "source_palette": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Palette"
    }
  },
  "type": "object",
  "required": [
    "seed_hex"
  ]
}