PathToShip: production readiness for AI-built apps
Independent production-readiness check for AI-built apps: security, scale and ranked fixes.
Should I use this
Quality & Safety
Findings (1)
- LOWin get_finding_detail
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"pathtoship": {
"url": "https://pathtoship.com/api/mcp"
}
}
}Remote endpoints
https://pathtoship.com/api/mcpstreamable-httpWhat it can do
Tool inventory
Tools (8)
🟢start_scan(repo_url, depth, trigger)
Check whether this app is safe to launch for real users — finds the security, scalability, and production-readiness problems that break launches. Use before launching, sharing a public link, adding payments or logins, or handling real user data. Takes the app's GitHub repository URL (the one your builder syncs to).
Input Schema
{
"type": "object",
"properties": {
"repo_url": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"description": "GitHub repository URL, e.g. https://github.com/owner/repo (a branch URL is fine)."
},
"depth": {
"description": "free = up to 50,000 lines of source (default for free accounts); full = the whole repository (paid / pilot accounts). Omit to use the account's default.",
"type": "string",
"enum": [
"free",
"full"
]
},
"trigger": {
"description": "How this call came about — for the pilot's metrics, answer honestly: user_named_pathtoship (the user asked for PathToShip by name), user_deploy_intent (the user said they are launching/deploying/going live), skill (a skill or project instruction told you to), rules_file (CLAUDE.md/AGENTS.md/rules said to), agent_initiative (your own judgment).",
"type": "string",
"enum": [
"user_named_pathtoship",
"user_deploy_intent",
"skill",
"rules_file",
"agent_initiative"
]
}
},
"required": [
"repo_url"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"scan_id": {
"type": "string"
},
"job_id": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"const": "complete"
},
"poll_after_ms": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"score": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"verdict": {
"type": "string",
"enum": [
"not_ready",
"conditional",
"ready"
]
},
"permalink": {
"type": "string",
"format": "uri"
},
"repo": {
"type": "string",
"description": "owner/repo"
},
"depth": {
"type": "string",
"enum": [
"free",
"full"
]
},
"truncated": {
"type": "boolean",
"description": "True when the repository exceeded this depth's limits and was scanned partially."
},
"files_scanned": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"files_skipped": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"cached": {
"type": "boolean",
"description": "True when an identical commit was already scanned by this scanner build."
},
"private": {
"type": "boolean",
"description": "True when the repository was read through a GitHub App installation."
},
"scanner_build": {
"description": "Fingerprint of the rule set that scored this scan.",
"type": [
"string",
"null"
]
},
"usage": {
"type": "object",
"properties": {
"scans": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"scans_limit": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"lines_scanned": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"lines_limit": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"percent_used": {
"type": "number"
},
"resets_at": {
"type": "string",
"description": "ISO timestamp when the allowance period resets."
}
},
"required": [
"scans",
"scans_limit",
"lines_scanned",
"lines_limit",
"percent_used",
"resets_at"
],
"additionalProperties": {},
"description": "The account's usage against its allowance for the current period."
}
},
"required": [
"scan_id",
"status",
"poll_after_ms",
"score",
"verdict",
"permalink",
"repo",
"depth",
"truncated",
"files_scanned",
"files_skipped",
"cached",
"private",
"scanner_build",
"usage"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_scan_status(job_id, scan_id, trigger)
Check whether a readiness check has finished.
Input Schema
{
"type": "object",
"properties": {
"job_id": {
"description": "The job_id from start_scan.",
"type": "string"
},
"scan_id": {
"type": "string",
"description": "The scan_id returned by start_scan or verify_fix."
},
"trigger": {
"description": "How this call came about — for the pilot's metrics, answer honestly: user_named_pathtoship (the user asked for PathToShip by name), user_deploy_intent (the user said they are launching/deploying/going live), skill (a skill or project instruction told you to), rules_file (CLAUDE.md/AGENTS.md/rules said to), agent_initiative (your own judgment).",
"type": "string",
"enum": [
"user_named_pathtoship",
"user_deploy_intent",
"skill",
"rules_file",
"agent_initiative"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"description": "queued | running | complete | failed"
},
"progress": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"scan_id": {
"type": [
"string",
"null"
]
},
"error": {
"type": [
"string",
"null"
]
},
"score": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"permalink": {
"type": "string",
"format": "uri"
}
},
"required": [
"status",
"progress"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_findings(scan_id, severity_min, dimension, limit, offset, ...)
List what would hurt this app in production, worst first. Compact — one line per problem; use get_finding_detail for how to fix one.
Input Schema
{
"type": "object",
"properties": {
"scan_id": {
"type": "string",
"description": "The scan_id returned by start_scan or verify_fix."
},
"severity_min": {
"description": "Only findings at or above this severity. Default: low (all).",
"type": "string",
"enum": [
"critical",
"high",
"medium",
"low"
]
},
"dimension": {
"description": "Restrict to one dimension.",
"type": "string",
"enum": [
"security",
"production_readiness",
"scalability",
"architecture",
"infrastructure",
"cost_efficiency",
"code_quality"
]
},
"limit": {
"description": "Findings per page, default 10. Keep it small; fetch detail per finding.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"offset": {
"description": "Paging offset; use next_offset from the previous page.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"trigger": {
"description": "How this call came about — for the pilot's metrics, answer honestly: user_named_pathtoship (the user asked for PathToShip by name), user_deploy_intent (the user said they are launching/deploying/going live), skill (a skill or project instruction told you to), rules_file (CLAUDE.md/AGENTS.md/rules said to), agent_initiative (your own judgment).",
"type": "string",
"enum": [
"user_named_pathtoship",
"user_deploy_intent",
"skill",
"rules_file",
"agent_initiative"
]
}
},
"required": [
"scan_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"scan_id": {
"type": "string"
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Findings matching the filter."
},
"returned": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"next_offset": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Pass as offset for the next page; null when this is the last page."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Finding id; stable for this scan, used by get_finding_detail and verify_fix."
},
"sev": {
"type": "string",
"description": "Severity, short form: crit | high | med | low | info."
},
"dim": {
"type": "string",
"enum": [
"security",
"production_readiness",
"scalability",
"architecture",
"infrastructure",
"cost_efficiency",
"code_quality"
]
},
"loc": {
"description": "path:line when known.",
"type": [
"string",
"null"
]
},
"title": {
"type": "string"
},
"fix": {
"description": "Short fix hint; full text via get_finding_detail.",
"type": [
"string",
"null"
]
},
"verify": {
"description": "Present when this is a pattern-only match a human should verify.",
"type": "boolean",
"const": true
}
},
"required": [
"id",
"sev",
"dim",
"loc",
"title",
"fix"
],
"additionalProperties": {}
}
},
"hint": {
"description": "Present when the filter matched nothing but the scan has findings.",
"type": "string"
}
},
"required": [
"scan_id",
"total",
"returned",
"next_offset",
"findings"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_finding_detail(scan_id, finding_id, trigger)
Explain one production risk and exactly how to fix it for this app's stack.
Input Schema
{
"type": "object",
"properties": {
"scan_id": {
"type": "string",
"description": "The scan_id returned by start_scan or verify_fix."
},
"finding_id": {
"type": "string",
"minLength": 2,
"maxLength": 16,
"description": "A finding id from get_findings (e.g. f3a9c2e17)."
},
"trigger": {
"description": "How this call came about — for the pilot's metrics, answer honestly: user_named_pathtoship (the user asked for PathToShip by name), user_deploy_intent (the user said they are launching/deploying/going live), skill (a skill or project instruction told you to), rules_file (CLAUDE.md/AGENTS.md/rules said to), agent_initiative (your own judgment).",
"type": "string",
"enum": [
"user_named_pathtoship",
"user_deploy_intent",
"skill",
"rules_file",
"agent_initiative"
]
}
},
"required": [
"scan_id",
"finding_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"severity": {
"type": "string",
"enum": [
"critical",
"high",
"medium",
"low",
"info"
]
},
"dimension": {
"type": "string",
"enum": [
"security",
"production_readiness",
"scalability",
"architecture",
"infrastructure",
"cost_efficiency",
"code_quality"
]
},
"category": {
"type": "string"
},
"confidence": {
"type": "string",
"enum": [
"corroborated",
"pattern_match_verify"
]
},
"location": {
"type": [
"string",
"null"
]
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"fix": {
"type": [
"string",
"null"
]
},
"permalink": {
"type": "string",
"format": "uri"
}
},
"required": [
"id",
"severity",
"dimension",
"category",
"confidence",
"location",
"title",
"description",
"fix",
"permalink"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟡verify_fix(scan_id, finding_ids, trigger)
Confirm your fixes actually resolved the problems: re-checks the repository and reports resolved, still open, and newly introduced. Run after every change is synced to GitHub.
Input Schema
{
"type": "object",
"properties": {
"scan_id": {
"type": "string",
"description": "The baseline scan_id to compare against (the scan you fixed findings from)."
},
"finding_ids": {
"description": "Only report on these finding ids (from get_findings). Omit for all.",
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 2,
"maxLength": 16
}
},
"trigger": {
"description": "How this call came about — for the pilot's metrics, answer honestly: user_named_pathtoship (the user asked for PathToShip by name), user_deploy_intent (the user said they are launching/deploying/going live), skill (a skill or project instruction told you to), rules_file (CLAUDE.md/AGENTS.md/rules said to), agent_initiative (your own judgment).",
"type": "string",
"enum": [
"user_named_pathtoship",
"user_deploy_intent",
"skill",
"rules_file",
"agent_initiative"
]
}
},
"required": [
"scan_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"baseline_scan_id": {
"type": "string"
},
"new_scan_id": {
"type": "string"
},
"unchanged": {
"type": "boolean",
"description": "True when no new commit landed since the baseline; nothing was re-evaluated."
},
"note": {
"type": "string"
},
"score_before": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"score_after": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"verdict": {
"type": "string",
"enum": [
"not_ready",
"conditional",
"ready"
]
},
"resolved": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"sev": {
"type": "string"
},
"dim": {
"type": "string",
"enum": [
"security",
"production_readiness",
"scalability",
"architecture",
"infrastructure",
"cost_efficiency",
"code_quality"
]
},
"title": {
"type": "string"
},
"loc": {
"type": [
"string",
"null"
]
},
"same_title_as": {
"description": "For a newly introduced finding that shares a title with a resolved one (moved code / partial fix).",
"type": "string"
}
},
"required": [
"id",
"sev",
"dim",
"title",
"loc"
],
"additionalProperties": {}
}
},
"still_open": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"sev": {
"type": "string"
},
"dim": {
"type": "string",
"enum": [
"security",
"production_readiness",
"scalability",
"architecture",
"infrastructure",
"cost_efficiency",
"code_quality"
]
},
"title": {
"type": "string"
},
"loc": {
"type": [
"string",
"null"
]
},
"same_title_as": {
"description": "For a newly introduced finding that shares a title with a resolved one (moved code / partial fix).",
"type": "string"
}
},
"required": [
"id",
"sev",
"dim",
"title",
"loc"
],
"additionalProperties": {}
}
},
"newly_introduced": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"sev": {
"type": "string"
},
"dim": {
"type": "string",
"enum": [
"security",
"production_readiness",
"scalability",
"architecture",
"infrastructure",
"cost_efficiency",
"code_quality"
]
},
"title": {
"type": "string"
},
"loc": {
"type": [
"string",
"null"
]
},
"same_title_as": {
"description": "For a newly introduced finding that shares a title with a resolved one (moved code / partial fix).",
"type": "string"
}
},
"required": [
"id",
"sev",
"dim",
"title",
"loc"
],
"additionalProperties": {}
}
},
"permalink": {
"type": "string",
"format": "uri"
}
},
"required": [
"baseline_scan_id",
"new_scan_id",
"unchanged",
"score_before",
"score_after",
"verdict",
"resolved",
"still_open",
"newly_introduced",
"permalink"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_score(scan_id, trigger)
Is this app ready to ship? The readiness score, the ship bar, the weakest area, and what this stack will cost at 10x users.
Input Schema
{
"type": "object",
"properties": {
"scan_id": {
"type": "string",
"description": "The scan_id returned by start_scan or verify_fix."
},
"trigger": {
"description": "How this call came about — for the pilot's metrics, answer honestly: user_named_pathtoship (the user asked for PathToShip by name), user_deploy_intent (the user said they are launching/deploying/going live), skill (a skill or project instruction told you to), rules_file (CLAUDE.md/AGENTS.md/rules said to), agent_initiative (your own judgment).",
"type": "string",
"enum": [
"user_named_pathtoship",
"user_deploy_intent",
"skill",
"rules_file",
"agent_initiative"
]
}
},
"required": [
"scan_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"scan_id": {
"type": "string"
},
"score": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"verdict": {
"type": "string",
"enum": [
"not_ready",
"conditional",
"ready"
]
},
"ship_bar": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"weakest_dimension": {
"anyOf": [
{
"type": "string",
"enum": [
"security",
"production_readiness",
"scalability",
"architecture",
"infrastructure",
"cost_efficiency",
"code_quality"
]
},
{
"type": "null"
}
]
},
"dimensions": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "object",
"properties": {
"score": {
"type": "number"
},
"findings": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"score",
"findings"
],
"additionalProperties": {}
}
},
"counts": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"description": "Findings by severity."
},
"consequence": {
"type": "object",
"properties": {},
"additionalProperties": {},
"description": "Cost at 10x users and migration complexity, as the scanner estimates them."
},
"depth": {
"type": "string",
"enum": [
"free",
"full"
]
},
"tier_depth": {
"type": "string",
"enum": [
"free",
"full"
]
},
"permalink": {
"type": "string",
"format": "uri"
},
"self_reported": {
"anyOf": [
{
"type": "object",
"properties": {
"note": {
"type": "string"
},
"answered": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"recorded_at": {
"type": [
"string",
"null"
]
},
"attestations": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string",
"enum": [
"yes",
"no",
"na"
]
}
},
"capacity": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"number"
]
}
}
},
"required": [
"note",
"answered",
"total",
"recorded_at",
"attestations",
"capacity"
],
"additionalProperties": {}
},
{
"type": "null"
}
],
"description": "The account's own prr_interview answers, beside the score and never inside it; null until any exist."
}
},
"required": [
"scan_id",
"score",
"verdict",
"ship_bar",
"weakest_dimension",
"dimensions",
"counts",
"consequence",
"depth",
"tier_depth",
"permalink",
"self_reported"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢check_connection(repo_url, trigger)
Check whether PathToShip is connected for this account and, if you name a repository, whether it can reach it — use when a check says INSTALL_REQUIRED, after the user installs or links GitHub, or when something looks stuck. Returns what is linked and the exact link to fix it.
Input Schema
{
"type": "object",
"properties": {
"repo_url": {
"description": "Optional GitHub repository URL to check access for.",
"type": "string",
"maxLength": 2048
},
"trigger": {
"description": "How this call came about — for the pilot's metrics, answer honestly: user_named_pathtoship (the user asked for PathToShip by name), user_deploy_intent (the user said they are launching/deploying/going live), skill (a skill or project instruction told you to), rules_file (CLAUDE.md/AGENTS.md/rules said to), agent_initiative (your own judgment).",
"type": "string",
"enum": [
"user_named_pathtoship",
"user_deploy_intent",
"skill",
"rules_file",
"agent_initiative"
]
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"account": {
"type": "object",
"properties": {
"tier": {
"type": "string"
},
"default_depth": {
"type": "string",
"enum": [
"free",
"full"
]
},
"unmetered": {
"type": "boolean"
}
},
"required": [
"tier",
"default_depth",
"unmetered"
],
"additionalProperties": {}
},
"github_app": {
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"linked",
"not_linked",
"unavailable"
]
},
"linked_installations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"installation_id": {
"type": "number"
},
"account_login": {
"type": [
"string",
"null"
]
},
"suspended": {
"type": "boolean"
}
},
"required": [
"installation_id",
"account_login",
"suspended"
],
"additionalProperties": {}
}
},
"link_url": {
"type": "string",
"format": "uri"
},
"install_url": {
"type": "string",
"format": "uri"
},
"note": {
"type": "string"
}
},
"required": [
"status",
"linked_installations"
],
"additionalProperties": {}
},
"repository": {
"description": "Present when a repo_url was given.",
"type": "object",
"properties": {
"repo": {
"type": "string"
},
"access": {
"type": "string",
"enum": [
"installation",
"installation_suspended",
"public",
"install_required",
"unavailable"
]
},
"note": {
"type": "string"
},
"installation_id": {
"type": "number"
},
"link_url": {
"type": "string",
"format": "uri"
},
"install_url": {
"type": "string",
"format": "uri"
}
},
"required": [
"repo",
"access",
"note"
],
"additionalProperties": {}
},
"usage": {
"type": "object",
"properties": {
"scans": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"scans_limit": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"lines_scanned": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"lines_limit": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"percent_used": {
"type": "number"
},
"resets_at": {
"type": "string",
"description": "ISO timestamp when the allowance period resets."
}
},
"required": [
"scans",
"scans_limit",
"lines_scanned",
"lines_limit",
"percent_used",
"resets_at"
],
"additionalProperties": {},
"description": "The account's usage against its allowance for the current period."
}
},
"required": [
"account",
"github_app",
"usage"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🔴prr_interview(scan_id, answers, trigger)
Record the launch facts no scanner can see — backups restored, rollback rehearsed, on-call, database tier, largest table, last month's bill — against a scan, as the user's own self-reported answers (never part of the score). Call with only scan_id to get the questions and what is already answered; call with answers to record them. Use before a launch, a client handoff, or when writing a readiness record.
Input Schema
{
"type": "object",
"properties": {
"scan_id": {
"type": "string",
"description": "The scan_id returned by start_scan or verify_fix."
},
"answers": {
"description": "Answers keyed by question id (from the questions list this tool returns when called with only scan_id). Omit to read the current state. Partial submissions merge with earlier answers.",
"type": "object",
"propertyNames": {
"type": "string",
"enum": [
"secrets_store_rotated",
"backups_restored",
"rollback_rehearsed",
"monitoring_on_call",
"staging_separate",
"health_checks_timeouts",
"edge_rate_limiting",
"load_test",
"db_tier",
"largest_table_rows",
"monthly_bill",
"autoscale_floor",
"media_egress_path"
]
},
"additionalProperties": {
"type": "object",
"properties": {
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "number"
},
{
"type": "boolean"
}
],
"description": "yes | no | na for attestations; a number for row counts and bills; short text otherwise."
},
"note": {
"description": "Optional one-line context, recorded verbatim.",
"type": "string",
"maxLength": 500
}
},
"required": [
"value"
]
}
},
"trigger": {
"description": "How this call came about — for the pilot's metrics, answer honestly: user_named_pathtoship (the user asked for PathToShip by name), user_deploy_intent (the user said they are launching/deploying/going live), skill (a skill or project instruction told you to), rules_file (CLAUDE.md/AGENTS.md/rules said to), agent_initiative (your own judgment).",
"type": "string",
"enum": [
"user_named_pathtoship",
"user_deploy_intent",
"skill",
"rules_file",
"agent_initiative"
]
}
},
"required": [
"scan_id"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output Schema
{
"type": "object",
"properties": {
"scan_id": {
"type": "string"
},
"version": {
"type": "string"
},
"answered": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"recorded_at": {
"type": [
"string",
"null"
]
},
"display": {
"description": "form: the client shows the interview as a form and the questions are omitted here; text: questions are listed.",
"type": "string",
"enum": [
"form",
"text"
]
},
"questions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"group": {
"type": "string",
"enum": [
"operations",
"capacity"
]
},
"kind": {
"type": "string",
"enum": [
"attestation",
"text",
"number"
]
},
"unit": {
"type": "string"
},
"prompt": {
"type": "string"
},
"why": {
"type": "string"
},
"answer": {
"anyOf": [
{
"type": "object",
"properties": {
"value": {
"type": [
"string",
"number"
]
},
"note": {
"type": "string"
},
"answered_at": {
"type": "string"
}
},
"required": [
"value",
"answered_at"
],
"additionalProperties": {}
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"group",
"kind",
"prompt",
"why",
"answer"
],
"additionalProperties": {}
}
},
"rejected": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"reason": {
"type": "string"
}
},
"required": [
"id",
"reason"
],
"additionalProperties": false
}
}
},
"required": [
"scan_id",
"version",
"answered",
"total",
"recorded_at"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}Community
Evidence