{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trajectory/json-schema/trajectory-aperture-xid-navigation-response-schema.json",
  "title": "ApertureXidNavigationResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trajectory-aperture-api-openapi.yml#/components/schemas/ApertureXidNavigationResponse",
  "properties": {
    "modes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Modes"
    },
    "mode_steps": {
      "additionalProperties": {
        "items": {
          "type": "integer"
        },
        "type": "array"
      },
      "type": "object",
      "title": "Mode Steps"
    },
    "training_batches": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Training Batches"
    },
    "global_steps": {
      "items": {
        "type": "integer"
      },
      "type": "array",
      "title": "Global Steps"
    },
    "default_step": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Default Step"
    },
    "total_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Total Count"
    },
    "xid_metadata": {
      "$ref": "#/$defs/ApertureXidRunMetadata"
    }
  },
  "type": "object",
  "required": [
    "modes",
    "mode_steps",
    "training_batches",
    "global_steps",
    "xid_metadata"
  ],
  "$defs": {
    "ApertureXidLaunchMetadata": {
      "properties": {
        "backend": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Backend"
        },
        "gpu_cluster": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Gpu Cluster"
        },
        "service_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Service Url"
        },
        "training_engine": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Training Engine"
        },
        "model": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Model"
        },
        "lora_rank": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Lora Rank"
        },
        "init_checkpoint": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Init Checkpoint"
        },
        "benchmark_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Benchmark Id"
        },
        "benchmark_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Benchmark Name"
        },
        "git_branch": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Git Branch"
        },
        "git_sha": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Git Sha"
        },
        "git_dirty_files": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Git Dirty Files"
        }
      },
      "type": "object",
      "title": "ApertureXidLaunchMetadata",
      "description": "Where and from what the run trains, for Dev Mode's status bar."
    },
    "ApertureXidRunMetadata": {
      "properties": {
        "user": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "User"
        },
        "experiment_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Experiment Name"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status"
        },
        "created_at": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Created At"
        },
        "wandb_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Wandb Url"
        },
        "aim_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Aim Url"
        },
        "logging_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Logging Url"
        },
        "run_limits": {
          "additionalProperties": {
            "type": "number"
          },
          "type": "object",
          "title": "Run Limits"
        },
        "launch": {
          "$ref": "#/$defs/ApertureXidLaunchMetadata"
        }
      },
      "type": "object",
      "required": [
        "run_limits",
        "launch"
      ],
      "title": "ApertureXidRunMetadata"
    }
  }
}