{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nicheangle-com/json-schema/nicheangle-com-output-response-schema.json",
  "title": "OutputResponse",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nicheangle-com-openapi.json#/components/schemas/OutputResponse",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "session_id": {
      "type": "string",
      "format": "uuid",
      "title": "Session Id"
    },
    "platform": {
      "type": "string",
      "title": "Platform"
    },
    "script": {
      "additionalProperties": true,
      "type": "object",
      "title": "Script"
    },
    "caption": {
      "type": "string",
      "title": "Caption"
    },
    "hashtags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Hashtags"
    },
    "static_urls": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Static Urls"
    },
    "video_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Video Url"
    },
    "bundle_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Bundle Url"
    },
    "published_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Published At"
    },
    "published_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Published Url"
    },
    "published_platform_post_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Published Platform Post Id"
    },
    "scheduled_for": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Scheduled For"
    },
    "verifier_blocked_reason": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Verifier Blocked Reason"
    },
    "verifier_blocked_claim": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Verifier Blocked Claim"
    },
    "source_faithfulness_score": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Faithfulness Score"
    },
    "source_claim_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Claim Count"
    },
    "source_ungrounded_claims": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Ungrounded Claims"
    },
    "surfaced_claims": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Surfaced Claims"
    },
    "resolved_claims": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Resolved Claims"
    },
    "source_diversity_passed": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Diversity Passed"
    },
    "source_recency_passed": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Recency Passed"
    },
    "source_distinct_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Distinct Count"
    },
    "source_freshest_age_days": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Freshest Age Days"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    },
    "density_warnings": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array",
      "title": "Density Warnings",
      "description": "Per-field over-density (carousel slide / image-card headline / longform\nbody) so the filing sheet flags a too-dense asset instead of silently\nshrink/clipping it (§F). Empty = within caps. Derived, not stored.",
      "readOnly": true
    },
    "pdf_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pdf Url",
      "description": "A multi-page PDF of a carousel's slides (LinkedIn document-upload\nfriendly) — one artifact for the whole asset (§G). Carousels only.",
      "readOnly": true
    },
    "contact_sheet_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Contact Sheet Url",
      "description": "A grid PNG of all carousel slides — one image previews the whole asset\n(so an agent/human doesn't assemble it slide-by-slide). Carousels only.",
      "readOnly": true
    },
    "asset_expires_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Asset Expires At",
      "description": "When the presigned static/video URLs in THIS response expire (24h from\nserialization) so a consumer knows the TTL instead of guessing (§G).",
      "readOnly": true
    }
  },
  "type": "object",
  "required": [
    "id",
    "session_id",
    "platform",
    "script",
    "caption",
    "hashtags",
    "static_urls",
    "video_url",
    "bundle_url",
    "created_at",
    "density_warnings",
    "pdf_url",
    "contact_sheet_url",
    "asset_expires_at"
  ]
}