{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fleetai-com/json-schema/fleetai-com-seed-gen-run-detail-schema.json",
  "title": "SeedGenRunDetail",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fleetai-com-seed-gen-api-openapi.yml#/components/schemas/SeedGenRunDetail",
  "properties": {
    "run": {
      "$ref": "#/$defs/SeedGenIndex"
    },
    "executions": {
      "items": {
        "$ref": "#/$defs/SeedGenIndex"
      },
      "type": "array",
      "title": "Executions"
    },
    "candidates": {
      "$ref": "#/$defs/SeedGenCandidatePage"
    },
    "current_candidate": {
      "anyOf": [
        {
          "$ref": "#/$defs/orchestrator__seed_gen__schemas__SeedGenCandidate"
        },
        {
          "type": "null"
        }
      ]
    },
    "world_revisions": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "World Revisions"
    },
    "world_revision_count": {
      "type": "integer",
      "title": "World Revision Count"
    },
    "revisions_next_cursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Revisions Next Cursor"
    },
    "revision_offset": {
      "type": "integer",
      "title": "Revision Offset"
    },
    "revision_total": {
      "type": "integer",
      "title": "Revision Total"
    },
    "revision_candidates": {
      "items": {
        "$ref": "#/$defs/orchestrator__seed_gen__schemas__SeedGenCandidate"
      },
      "type": "array",
      "title": "Revision Candidates"
    },
    "current_revision_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Current Revision Id"
    },
    "event": {
      "items": {
        "$ref": "#/$defs/SeedGenEvent"
      },
      "type": "array",
      "title": "Event"
    },
    "overall": {
      "items": {
        "$ref": "#/$defs/SeedGenEvent"
      },
      "type": "array",
      "title": "Overall"
    },
    "unproven": {
      "items": {
        "$ref": "#/$defs/SeedGenUnprovenProgress"
      },
      "type": "array",
      "title": "Unproven"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "run",
    "executions",
    "candidates",
    "current_candidate",
    "world_revisions",
    "world_revision_count",
    "revisions_next_cursor",
    "revision_offset",
    "revision_total",
    "revision_candidates",
    "current_revision_id",
    "event",
    "overall",
    "unproven"
  ],
  "$defs": {
    "SeedGenCandidatePage": {
      "properties": {
        "items": {
          "items": {
            "$ref": "#/$defs/orchestrator__seed_gen__schemas__SeedGenCandidate"
          },
          "type": "array",
          "title": "Items"
        },
        "next_cursor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Next Cursor"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "items",
        "next_cursor"
      ],
      "title": "SeedGenCandidatePage"
    },
    "SeedGenEvent": {
      "properties": {
        "execution_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Execution Name"
        },
        "event_id": {
          "type": "string",
          "format": "uuid",
          "title": "Event Id"
        },
        "seed_gen_run_id": {
          "type": "string",
          "format": "uuid",
          "title": "Seed Gen Run Id"
        },
        "candidate_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Candidate Id"
        },
        "stage": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Stage"
        },
        "event_type": {
          "type": "string",
          "title": "Event Type"
        },
        "event_time": {
          "type": "string",
          "format": "date-time",
          "title": "Event Time"
        },
        "payload": {
          "additionalProperties": true,
          "type": "object",
          "title": "Payload"
        },
        "revision_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Revision Id"
        },
        "world_candidate_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "World Candidate Id"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "event_id",
        "seed_gen_run_id",
        "event_type",
        "event_time",
        "payload"
      ],
      "title": "SeedGenEvent"
    },
    "SeedGenIndex": {
      "properties": {
        "seed_gen_run_id": {
          "type": "string",
          "format": "uuid",
          "title": "Seed Gen Run Id"
        },
        "team_id": {
          "type": "string",
          "format": "uuid",
          "title": "Team Id"
        },
        "author_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Author Id"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "matg_run_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Matg Run Id"
        },
        "root_fi_instance_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Root Fi Instance Id"
        },
        "ups_project_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ups Project Id"
        },
        "customer": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Customer"
        },
        "spec": {
          "additionalProperties": true,
          "type": "object",
          "title": "Spec"
        },
        "execution_state": {
          "type": "string",
          "title": "Execution State"
        },
        "execution_observed_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Execution Observed At"
        },
        "artifact_key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Artifact Key"
        },
        "indexed_version_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Indexed Version Id"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "started_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Started At"
        },
        "ended_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ended At"
        },
        "root_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Root Id"
        },
        "candidate_count": {
          "type": "integer",
          "title": "Candidate Count"
        },
        "checkpoint_run": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Checkpoint Run"
        },
        "mapping": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Mapping"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "seed_gen_run_id",
        "team_id",
        "title",
        "spec",
        "execution_state",
        "created_at",
        "candidate_count"
      ],
      "title": "SeedGenIndex"
    },
    "SeedGenUnprovenProgress": {
      "properties": {
        "instance_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Instance Id"
        },
        "application_key": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Application Key"
        },
        "events": {
          "type": "integer",
          "title": "Events"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "instance_id",
        "application_key",
        "events"
      ],
      "title": "SeedGenUnprovenProgress"
    },
    "orchestrator__seed_gen__schemas__SeedGenCandidate": {
      "properties": {
        "candidate_id": {
          "type": "string",
          "format": "uuid",
          "title": "Candidate Id"
        },
        "seed_gen_run_id": {
          "type": "string",
          "format": "uuid",
          "title": "Seed Gen Run Id"
        },
        "predecessor_candidate_id": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ],
          "title": "Predecessor Candidate Id"
        },
        "applications": {
          "additionalProperties": true,
          "type": "object",
          "title": "Applications"
        },
        "manifest_ref": {
          "additionalProperties": true,
          "type": "object",
          "title": "Manifest Ref"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        }
      },
      "additionalProperties": false,
      "type": "object",
      "required": [
        "candidate_id",
        "seed_gen_run_id",
        "applications",
        "manifest_ref",
        "created_at"
      ],
      "title": "SeedGenCandidate"
    }
  }
}