# Validate an Apify Actor's Input Before You Run It

**Use case:** 

Check any Apify actor's input JSON against its schema before running. Get a run, block, or review decision plus the fields that need attention.

## Input

```json
{
  "targetActorId": "ryanclinton/fred-economic-data",
  "testInput": {
    "mode": "observations",
    "seriesIds": [
      "GDP"
    ]
  },
  "testInputs": [],
  "includeSchemaQualityAudit": true,
  "includeAutoFixSuggestions": true,
  "includePatchedInputPreview": true,
  "outputProfile": "standard",
  "policyPreset": "custom",
  "baselineScope": "targetActor",
  "includeDriftTimeline": false,
  "includeReliabilityProfile": false,
  "includeReplayPackage": true,
  "proposedSchema": {},
  "saveGoldenSuite": false,
  "runGoldenSuite": false,
  "inferSchemaWhenMissing": true,
  "emitArtifacts": false,
  "artifactFormats": [],
  "webhookMode": "none"
}
```

## Output

```json
{
  "decision": {
    "label": "Decision",
    "format": "string"
  },
  "decisionReadiness": {
    "label": "Decision Readiness",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "score": {
    "label": "Score",
    "format": "integer"
  },
  "policy": {
    "label": "Policy",
    "format": "string"
  },
  "compatibilityImpact": {
    "label": "Compatibility Impact",
    "format": "string"
  },
  "verdictReasonCodes": {
    "label": "Verdict Reason Codes"
  },
  "actorName": {
    "label": "Actor Name",
    "format": "string"
  },
  "testLabel": {
    "label": "Test Label",
    "format": "string"
  },
  "summary": {
    "label": "Summary",
    "format": "string"
  },
  "validatedAt": {
    "label": "Validated At",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Actor Input Tester — Validate Actor Input JSON Before Running](https://apify.com/ryanclinton/actor-input-tester) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ryanclinton/actor-input-tester) to learn more, explore other use cases, and run it yourself.