{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mahastrategies-com/json-schema/mahastrategies-com-geometric-registration-job-request-schema.json",
  "title": "GeometricRegistrationJobRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mahastrategies-com-openapi.json#/components/schemas/GeometricRegistrationJobRequest",
  "type": "object",
  "required": [
    "clientRequestId",
    "problem"
  ],
  "additionalProperties": false,
  "properties": {
    "clientRequestId": {
      "type": "string",
      "minLength": 8,
      "maxLength": 120
    },
    "problem": {
      "type": "object",
      "required": [
        "sourcePoints",
        "targetPoints"
      ],
      "additionalProperties": false,
      "properties": {
        "sourcePoints": {
          "type": "array",
          "minItems": 3,
          "maxItems": 16384,
          "items": {
            "$ref": "#/$defs/PointVector"
          }
        },
        "targetPoints": {
          "type": "array",
          "minItems": 3,
          "maxItems": 16384,
          "items": {
            "$ref": "#/$defs/PointVector"
          }
        },
        "weights": {
          "type": "array",
          "minItems": 3,
          "maxItems": 16384,
          "items": {
            "type": "number",
            "exclusiveMinimum": 0
          }
        }
      }
    },
    "solver": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "allowReflection": {
          "type": "boolean",
          "const": false,
          "default": false
        }
      }
    },
    "target": {
      "type": "string",
      "const": "gpu",
      "default": "gpu"
    },
    "timeoutSeconds": {
      "type": "integer",
      "minimum": 1,
      "maximum": 600,
      "default": 120
    }
  },
  "$defs": {
    "PointVector": {
      "type": "array",
      "minItems": 3,
      "maxItems": 3,
      "items": {
        "type": "number"
      }
    }
  }
}