Skip to content
POST/api/v1/analysis/validate

Validate Schedule

Validate schedule structure and dependency integrity. Errors and warnings decide validity. The response also carries advisory task-name findings (TASK_NAME_*: missing, duplicate, no leading action verb, non-printing or delimiter characters, longer than 80 characters). They never change validity and strict mode ignores them.

Request example

json
json
{
  "tasks": [
    {
      "duration_days": 5,
      "id": "T1",
      "name": "Design",
      "predecessors": []
    },
    {
      "duration_days": 10,
      "id": "T2",
      "name": "Development",
      "predecessors": [
        "T1"
      ]
    },
    {
      "duration_days": 5,
      "id": "T3",
      "name": "Testing",
      "predecessors": [
        "T2"
      ]
    }
  ]
}

Built from the request schema: field names and types, not a sample run.

Request fields from OpenAPI contract

Required fields and the optional fields that change this call are listed here. The shared task model stays on the task schema guide.

This table is generated from the endpoint schema in openapi.json.

FieldTypeRequiredDescription
start_task_idsarray<string>OptionalTask IDs that anchor the project start (PAM 200.1 §4.1). If empty, tasks with no predecessors are treated as start tasks.
finish_task_idsarray<string>OptionalTask IDs that anchor the project finish (PAM 200.1 §4.1). If empty, tasks with no successors are treated as finish tasks.
status_datestring | nullOptionalData date / status date for progress validation (ISO 8601 YYYY-MM-DD)
target_finish_datestring | nullOptionalTarget project finish date or key milestone date for CPLI calculation (ISO 8601)
baseline_approved_datestring | nullOptionalDate when baseline was approved (for governance tracking)
resource_availabilityarray<app__models__schemas__ResourceAvailability__1>OptionalPer-resource availability for over-allocation detection (Resource Analysis API).
resource_availability[].resource_namestringOptionalResource name (must match tasks[*].resources)
resource_availability[].available_fromstring | nullOptionalStart of availability window (ISO 8601). Null = project start.
resource_availability[].available_tostring | nullOptionalEnd of availability window (ISO 8601). Null = project finish.
resource_availability[].units_per_daynumberOptionalAvailable resource-units per working day (default: 1.0 = 100%)
optionsobjectOptionalOptions for POST /api/v1/analysis/validate (v0.2.0).
options.calculate_popbooleanOptionalCalculate Probability of Performance (PoP) score (v0.2.0).
options.include_pop_detailsbooleanOptionalInclude dimensional PoP breakdown in response.
options.strict_modebooleanOptionalTreat warnings as errors. Advisory findings (external links, task names) are never promoted.

Response example

json
json
{
  "status": "pass",
  "metadata": {
    "task_count": 0,
    "endpoint": "string"
  }
}

Built from the response schema: field names and types, not a sample run.

Response fields from OpenAPI contract

This table is generated from the endpoint response schema in openapi.json.

FieldTypeRequiredDescription
statusstringRequiredTop-level result status — always present in every response.
metadataobjectRequiredAudit trail and processing context — always present, never null.
metadata.task_countintegerRequiredNumber of tasks in the submitted schedule
metadata.endpointstringRequiredEndpoint path e.g. /api/v1/health/score

Schema

json-schema
{
  "$ref": "#/components/schemas/BellatorResponse_ValidationData_"
}

Authentication

  • API key required

Reference details

Operation ID
analysis_validate
Section
Analysis
Tags
Analysis
Playground link
/playground?endpoint=/api/v1/analysis/validate&method=post

Was this page helpful?

Your feedback helps us improve docs, reference pages, and Playground flows.

Topic: Validate Schedule · Page: /docs/api-reference/analysis_validate

TermsPrivacyContact

Schedule analysis guidance. Not legal advice. You remain responsible for contract and agency compliance.