{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/colourmemory-com/json-schema/colourmemory-com-compare-request-schema.json",
  "title": "CompareRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/colourmemory-com-compare-api-openapi.yml#/components/schemas/CompareRequest",
  "properties": {
    "hex_a": {
      "type": "string",
      "title": "Hex A",
      "default": ""
    },
    "hex_b": {
      "type": "string",
      "title": "Hex B",
      "default": ""
    },
    "hex": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Hex"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "query": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Query"
    },
    "n_per_archive": {
      "type": "integer",
      "title": "N Per Archive",
      "default": 2
    }
  },
  "type": "object"
}