{
  "components": {
    "schemas": {
      "AdminAnnotateBody": {
        "additionalProperties": false,
        "properties": {
          "note": {
            "nullable": true,
            "type": "string"
          },
          "reviewerId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AdminDecisionBody": {
        "additionalProperties": false,
        "properties": {
          "note": {
            "nullable": true,
            "type": "string"
          },
          "reviewerId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AgentDpiaPipelineDto": {
        "additionalProperties": false,
        "properties": {
          "approvalsIssued": {
            "items": {
              "$ref": "#/components/schemas/ReviewQueueRowDto"
            },
            "nullable": true,
            "type": "array"
          },
          "awaitingSignOff": {
            "items": {
              "$ref": "#/components/schemas/ReviewQueueRowDto"
            },
            "nullable": true,
            "type": "array"
          },
          "generatedAt": {
            "nullable": true,
            "type": "string"
          },
          "overdueForReassessment": {
            "items": {
              "$ref": "#/components/schemas/ReviewQueueRowDto"
            },
            "nullable": true,
            "type": "array"
          },
          "scopeDrift": {
            "items": {
              "$ref": "#/components/schemas/ReviewQueueRowDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "AssignBody": {
        "additionalProperties": false,
        "properties": {
          "remediatorId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AttestationComponentDto": {
        "additionalProperties": false,
        "properties": {
          "licenseId": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "purl": {
            "nullable": true,
            "type": "string"
          },
          "version": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AttestationDto": {
        "additionalProperties": false,
        "properties": {
          "appVersionId": {
            "nullable": true,
            "type": "string"
          },
          "attestationId": {
            "nullable": true,
            "type": "string"
          },
          "componentCount": {
            "format": "int32",
            "type": "integer"
          },
          "componentGraphDigest": {
            "nullable": true,
            "type": "string"
          },
          "components": {
            "items": {
              "$ref": "#/components/schemas/AttestationComponentDto"
            },
            "nullable": true,
            "type": "array"
          },
          "daysUntilExpiry": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "developerId": {
            "nullable": true,
            "type": "string"
          },
          "expiresAt": {
            "nullable": true,
            "type": "string"
          },
          "freshness": {
            "nullable": true,
            "type": "string"
          },
          "lastGateFailure": {
            "nullable": true,
            "type": "string"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "mfaAssuranceRef": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "packageHash": {
            "nullable": true,
            "type": "string"
          },
          "reAttestReason": {
            "nullable": true,
            "type": "string"
          },
          "reAttestRequired": {
            "type": "boolean"
          },
          "sbomFormat": {
            "nullable": true,
            "type": "string"
          },
          "sbomHash": {
            "nullable": true,
            "type": "string"
          },
          "sbomSpecVersion": {
            "nullable": true,
            "type": "string"
          },
          "signatureVerdict": {
            "nullable": true,
            "type": "string"
          },
          "signedAt": {
            "nullable": true,
            "type": "string"
          },
          "signedBy": {
            "nullable": true,
            "type": "string"
          },
          "signerIdentity": {
            "nullable": true,
            "type": "string"
          },
          "signingScheme": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supersededByAttestationId": {
            "nullable": true,
            "type": "string"
          },
          "trustAnchor": {
            "nullable": true,
            "type": "string"
          },
          "verificationExplanation": {
            "nullable": true,
            "type": "string"
          },
          "verifiedAt": {
            "nullable": true,
            "type": "string"
          },
          "versionLabel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "AttestationPortfolioDto": {
        "additionalProperties": false,
        "properties": {
          "awaitingVerification": {
            "items": {
              "$ref": "#/components/schemas/AttestationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "criterion": {
            "$ref": "#/components/schemas/SupplyChainCriterionDto"
          },
          "expired": {
            "items": {
              "$ref": "#/components/schemas/AttestationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "expiring": {
            "items": {
              "$ref": "#/components/schemas/AttestationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "needingReAttest": {
            "items": {
              "$ref": "#/components/schemas/AttestationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "rejected": {
            "items": {
              "$ref": "#/components/schemas/AttestationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "unattested": {
            "items": {
              "$ref": "#/components/schemas/UnattestedListingDto"
            },
            "nullable": true,
            "type": "array"
          },
          "unsigned": {
            "items": {
              "$ref": "#/components/schemas/AttestationDto"
            },
            "nullable": true,
            "type": "array"
          },
          "valid": {
            "items": {
              "$ref": "#/components/schemas/AttestationDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "BulkDecisionBody": {
        "additionalProperties": false,
        "properties": {
          "decision": {
            "nullable": true,
            "type": "string"
          },
          "listingIds": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "BulkDecisionOutcomeDto": {
        "additionalProperties": false,
        "properties": {
          "dpiaVerdict": {
            "nullable": true,
            "type": "string"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "message": {
            "nullable": true,
            "type": "string"
          },
          "recorded": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "BulkResubmitBody": {
        "additionalProperties": false,
        "properties": {
          "changelog": {
            "nullable": true,
            "type": "string"
          },
          "listingIds": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "BulkResubmitOutcomeDto": {
        "additionalProperties": false,
        "properties": {
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "message": {
            "nullable": true,
            "type": "string"
          },
          "resubmitted": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "CreateMarketplaceListingCommand": {
        "additionalProperties": false,
        "properties": {
          "applicationId": {
            "nullable": true,
            "type": "string"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "developerId": {
            "nullable": true,
            "type": "string"
          },
          "longDescription": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "pricingModel": {
            "nullable": true,
            "type": "string"
          },
          "shortDescription": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "DeveloperResponseBody": {
        "additionalProperties": false,
        "properties": {
          "developerId": {
            "nullable": true,
            "type": "string"
          },
          "response": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ExpirySweepResult": {
        "additionalProperties": false,
        "properties": {
          "expired": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "FindingRollupDto": {
        "additionalProperties": false,
        "properties": {
          "affectedListingIds": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "findingKey": {
            "nullable": true,
            "type": "string"
          },
          "severity": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ForkBody": {
        "additionalProperties": false,
        "properties": {
          "developerId": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "LeaveReviewBody": {
        "additionalProperties": false,
        "properties": {
          "comment": {
            "nullable": true,
            "type": "string"
          },
          "stars": {
            "format": "int32",
            "type": "integer"
          },
          "userId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ListingAiDpiaDto": {
        "additionalProperties": false,
        "properties": {
          "approvedScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "assessmentId": {
            "nullable": true,
            "type": "string"
          },
          "clearedVersion": {
            "nullable": true,
            "type": "string"
          },
          "evaluatedAt": {
            "nullable": true,
            "type": "string"
          },
          "reassessmentRequired": {
            "type": "boolean"
          },
          "scopeWithinApprovedBoundary": {
            "type": "boolean"
          },
          "verdict": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ListingSupplyChainDto": {
        "additionalProperties": false,
        "properties": {
          "attested": {
            "type": "boolean"
          },
          "componentCount": {
            "format": "int32",
            "type": "integer"
          },
          "daysUntilExpiry": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "expiresAt": {
            "nullable": true,
            "type": "string"
          },
          "explanation": {
            "nullable": true,
            "type": "string"
          },
          "freshness": {
            "nullable": true,
            "type": "string"
          },
          "sbomFormat": {
            "nullable": true,
            "type": "string"
          },
          "sbomHash": {
            "nullable": true,
            "type": "string"
          },
          "signatureVerdict": {
            "nullable": true,
            "type": "string"
          },
          "signedAt": {
            "nullable": true,
            "type": "string"
          },
          "signerIdentity": {
            "nullable": true,
            "type": "string"
          },
          "signingScheme": {
            "nullable": true,
            "type": "string"
          },
          "trustAnchor": {
            "nullable": true,
            "type": "string"
          },
          "verifiedAt": {
            "nullable": true,
            "type": "string"
          },
          "versionLabel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ListingTrustDto": {
        "additionalProperties": false,
        "properties": {
          "attested": {
            "type": "boolean"
          },
          "componentCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "criterionMode": {
            "nullable": true,
            "type": "string"
          },
          "daysUntilExpiry": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "expiresAt": {
            "nullable": true,
            "type": "string"
          },
          "explanation": {
            "nullable": true,
            "type": "string"
          },
          "freshness": {
            "nullable": true,
            "type": "string"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "sbomFormat": {
            "nullable": true,
            "type": "string"
          },
          "sbomHash": {
            "nullable": true,
            "type": "string"
          },
          "sbomSpecVersion": {
            "nullable": true,
            "type": "string"
          },
          "signatureVerdict": {
            "nullable": true,
            "type": "string"
          },
          "signedAt": {
            "nullable": true,
            "type": "string"
          },
          "signerIdentity": {
            "nullable": true,
            "type": "string"
          },
          "signingScheme": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "trustAnchor": {
            "nullable": true,
            "type": "string"
          },
          "verifiedAt": {
            "nullable": true,
            "type": "string"
          },
          "versionLabel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "MarketplaceListingDto": {
        "additionalProperties": false,
        "properties": {
          "aiAgent": {
            "$ref": "#/components/schemas/ListingAiDpiaDto"
          },
          "applicationId": {
            "nullable": true,
            "type": "string"
          },
          "averageRating": {
            "format": "double",
            "type": "number"
          },
          "category": {
            "nullable": true,
            "type": "string"
          },
          "createdAt": {
            "nullable": true,
            "type": "string"
          },
          "description": {
            "nullable": true,
            "type": "string"
          },
          "developerId": {
            "nullable": true,
            "type": "string"
          },
          "iconUrl": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "nullable": true,
            "type": "string"
          },
          "installCount": {
            "format": "int32",
            "type": "integer"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "pricingModel": {
            "nullable": true,
            "type": "string"
          },
          "publishedAt": {
            "nullable": true,
            "type": "string"
          },
          "publisherName": {
            "nullable": true,
            "type": "string"
          },
          "rejectionReason": {
            "nullable": true,
            "type": "string"
          },
          "reviewCount": {
            "format": "int32",
            "type": "integer"
          },
          "shortDescription": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "nullable": true,
            "type": "string"
          },
          "supplyChain": {
            "$ref": "#/components/schemas/ListingSupplyChainDto"
          }
        },
        "type": "object"
      },
      "ModerateBody": {
        "additionalProperties": false,
        "properties": {
          "reviewerId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "OrgPortfolioDto": {
        "additionalProperties": false,
        "properties": {
          "findingRollup": {
            "items": {
              "$ref": "#/components/schemas/FindingRollupDto"
            },
            "nullable": true,
            "type": "array"
          },
          "metrics": {
            "$ref": "#/components/schemas/OrgTrustMetricsDto"
          },
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "rows": {
            "items": {
              "$ref": "#/components/schemas/OrgSubmissionRowDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "OrgSubmissionRowDto": {
        "additionalProperties": false,
        "properties": {
          "ageInStateHours": {
            "format": "double",
            "type": "number"
          },
          "assignedRemediatorId": {
            "nullable": true,
            "type": "string"
          },
          "attemptNumber": {
            "format": "int32",
            "type": "integer"
          },
          "canResubmit": {
            "type": "boolean"
          },
          "developerId": {
            "nullable": true,
            "type": "string"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "needsAttention": {
            "type": "boolean"
          },
          "outstandingFindingCount": {
            "format": "int32",
            "type": "integer"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "versionLabel": {
            "nullable": true,
            "type": "string"
          },
          "worstSeverity": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "OrgTrustMetricsDto": {
        "additionalProperties": false,
        "properties": {
          "decidedCount": {
            "format": "int32",
            "type": "integer"
          },
          "medianHoursInChangesRequested": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "rejectionRate": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "repeatFailListingIds": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "submissionsConsidered": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "PagedListings": {
        "additionalProperties": false,
        "properties": {
          "hasMore": {
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/MarketplaceListingDto"
            },
            "nullable": true,
            "type": "array"
          },
          "page": {
            "format": "int32",
            "type": "integer"
          },
          "pageSize": {
            "format": "int32",
            "type": "integer"
          },
          "totalCount": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "ProblemDetails": {
        "additionalProperties": {},
        "properties": {
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "instance": {
            "nullable": true,
            "type": "string"
          },
          "status": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "title": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReAttestBody": {
        "additionalProperties": false,
        "properties": {
          "listingIds": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReAttestOutcomeDto": {
        "additionalProperties": false,
        "properties": {
          "attestationId": {
            "nullable": true,
            "type": "string"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "marked": {
            "type": "boolean"
          },
          "message": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RecordDecisionBody": {
        "additionalProperties": false,
        "properties": {
          "decision": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RecordScanResultBody": {
        "additionalProperties": false,
        "properties": {
          "attemptNumber": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "criticalOverride": {
            "type": "boolean"
          },
          "findings": {
            "items": {
              "$ref": "#/components/schemas/ScanFindingInput"
            },
            "nullable": true,
            "type": "array"
          },
          "metadataSubScore": {
            "format": "int32",
            "type": "integer"
          },
          "owaspSubScore": {
            "format": "int32",
            "type": "integer"
          },
          "permissionSubScore": {
            "format": "int32",
            "type": "integer"
          },
          "route": {
            "nullable": true,
            "type": "string"
          },
          "rubricVersion": {
            "nullable": true,
            "type": "string"
          },
          "schemaSubScore": {
            "format": "int32",
            "type": "integer"
          },
          "securityScore": {
            "format": "int32",
            "type": "integer"
          }
        },
        "type": "object"
      },
      "RejectBody": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReportAbuseBody": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "reporterUserId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ResubmitBody": {
        "additionalProperties": false,
        "properties": {
          "changelog": {
            "nullable": true,
            "type": "string"
          },
          "requestedScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "versionLabel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReviewDecisionDto": {
        "additionalProperties": false,
        "properties": {
          "createdAt": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "decision": {
            "nullable": true,
            "type": "string"
          },
          "decisionId": {
            "nullable": true,
            "type": "string"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "reviewerId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReviewDto": {
        "additionalProperties": false,
        "properties": {
          "comment": {
            "nullable": true,
            "type": "string"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "reviewId": {
            "nullable": true,
            "type": "string"
          },
          "stars": {
            "format": "int32",
            "type": "integer"
          },
          "userId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReviewQueueItem": {
        "additionalProperties": false,
        "properties": {
          "developerId": {
            "nullable": true,
            "type": "string"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "submittedAt": {
            "format": "date-time",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ReviewQueueRowDto": {
        "additionalProperties": false,
        "properties": {
          "ageInStateHours": {
            "format": "double",
            "type": "number"
          },
          "attemptNumber": {
            "format": "int32",
            "type": "integer"
          },
          "attestation": {
            "$ref": "#/components/schemas/SubmissionAttestationDto"
          },
          "criticalOverride": {
            "type": "boolean"
          },
          "developerId": {
            "nullable": true,
            "type": "string"
          },
          "dpia": {
            "$ref": "#/components/schemas/SubmissionDpiaDto"
          },
          "findingCount": {
            "format": "int32",
            "type": "integer"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "requestedScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "route": {
            "nullable": true,
            "type": "string"
          },
          "securityScore": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "submittedAt": {
            "nullable": true,
            "type": "string"
          },
          "versionLabel": {
            "nullable": true,
            "type": "string"
          },
          "worstSeverity": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SbomUploadResult": {
        "additionalProperties": false,
        "properties": {
          "accepted": {
            "type": "boolean"
          },
          "attestation": {
            "$ref": "#/components/schemas/AttestationDto"
          },
          "componentCount": {
            "format": "int32",
            "type": "integer"
          },
          "componentGraphDigest": {
            "nullable": true,
            "type": "string"
          },
          "components": {
            "items": {
              "$ref": "#/components/schemas/AttestationComponentDto"
            },
            "nullable": true,
            "type": "array"
          },
          "documentHash": {
            "nullable": true,
            "type": "string"
          },
          "format": {
            "nullable": true,
            "type": "string"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "specVersion": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ScanFindingDto": {
        "additionalProperties": false,
        "properties": {
          "findingId": {
            "format": "uuid",
            "type": "string"
          },
          "findingKey": {
            "nullable": true,
            "type": "string"
          },
          "fixNote": {
            "nullable": true,
            "type": "string"
          },
          "isCriticalOverride": {
            "type": "boolean"
          },
          "location": {
            "nullable": true,
            "type": "string"
          },
          "reproContext": {
            "nullable": true,
            "type": "string"
          },
          "rubricCategory": {
            "nullable": true,
            "type": "string"
          },
          "rubricWeightPercent": {
            "format": "int32",
            "type": "integer"
          },
          "ruleId": {
            "nullable": true,
            "type": "string"
          },
          "severity": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "ScanFindingInput": {
        "additionalProperties": false,
        "properties": {
          "findingKey": {
            "nullable": true,
            "type": "string"
          },
          "fixNote": {
            "nullable": true,
            "type": "string"
          },
          "isCriticalOverride": {
            "type": "boolean"
          },
          "location": {
            "nullable": true,
            "type": "string"
          },
          "reproContext": {
            "nullable": true,
            "type": "string"
          },
          "rubricCategory": {
            "nullable": true,
            "type": "string"
          },
          "ruleId": {
            "nullable": true,
            "type": "string"
          },
          "severity": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SchemaForkDto": {
        "additionalProperties": false,
        "properties": {
          "developerId": {
            "nullable": true,
            "type": "string"
          },
          "forkId": {
            "nullable": true,
            "type": "string"
          },
          "forkedSchemaId": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "sourceSchemaId": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SchemaListingDto": {
        "additionalProperties": false,
        "properties": {
          "domain": {
            "nullable": true,
            "type": "string"
          },
          "isPremium": {
            "type": "boolean"
          },
          "schemaId": {
            "nullable": true,
            "type": "string"
          },
          "title": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SignAttestationBody": {
        "additionalProperties": false,
        "properties": {
          "envelopeDigest": {
            "nullable": true,
            "type": "string"
          },
          "packageHash": {
            "nullable": true,
            "type": "string"
          },
          "signerIdentity": {
            "nullable": true,
            "type": "string"
          },
          "signingScheme": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SubmissionAttemptDto": {
        "additionalProperties": false,
        "properties": {
          "assignedRemediatorId": {
            "nullable": true,
            "type": "string"
          },
          "attemptId": {
            "format": "uuid",
            "type": "string"
          },
          "attemptNumber": {
            "format": "int32",
            "type": "integer"
          },
          "attestation": {
            "$ref": "#/components/schemas/SubmissionAttestationDto"
          },
          "canResubmit": {
            "type": "boolean"
          },
          "changelog": {
            "nullable": true,
            "type": "string"
          },
          "criticalOverride": {
            "type": "boolean"
          },
          "decisionActor": {
            "nullable": true,
            "type": "string"
          },
          "decisionAt": {
            "nullable": true,
            "type": "string"
          },
          "decisionReason": {
            "nullable": true,
            "type": "string"
          },
          "developerId": {
            "nullable": true,
            "type": "string"
          },
          "dpia": {
            "$ref": "#/components/schemas/SubmissionDpiaDto"
          },
          "findingCount": {
            "format": "int32",
            "type": "integer"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "metadataSubScore": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "owaspSubScore": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "permissionSubScore": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "requestedScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "requiresReConsent": {
            "type": "boolean"
          },
          "route": {
            "nullable": true,
            "type": "string"
          },
          "rubricVersion": {
            "nullable": true,
            "type": "string"
          },
          "scanCompletedAt": {
            "nullable": true,
            "type": "string"
          },
          "scanStartedAt": {
            "nullable": true,
            "type": "string"
          },
          "schemaSubScore": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "securityScore": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "state": {
            "nullable": true,
            "type": "string"
          },
          "submittedAt": {
            "nullable": true,
            "type": "string"
          },
          "submittedBy": {
            "nullable": true,
            "type": "string"
          },
          "versionLabel": {
            "nullable": true,
            "type": "string"
          },
          "widenedScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "worstSeverity": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SubmissionAttestationDto": {
        "additionalProperties": false,
        "properties": {
          "appVersionId": {
            "nullable": true,
            "type": "string"
          },
          "attestationId": {
            "nullable": true,
            "type": "string"
          },
          "cleared": {
            "type": "boolean"
          },
          "evaluatedAt": {
            "nullable": true,
            "type": "string"
          },
          "explanation": {
            "nullable": true,
            "type": "string"
          },
          "failureReason": {
            "nullable": true,
            "type": "string"
          },
          "packageHash": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SubmissionDetailDto": {
        "additionalProperties": false,
        "properties": {
          "appName": {
            "nullable": true,
            "type": "string"
          },
          "current": {
            "$ref": "#/components/schemas/SubmissionAttemptDto"
          },
          "findings": {
            "items": {
              "$ref": "#/components/schemas/ScanFindingDto"
            },
            "nullable": true,
            "type": "array"
          },
          "history": {
            "items": {
              "$ref": "#/components/schemas/SubmissionAttemptDto"
            },
            "nullable": true,
            "type": "array"
          },
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "suspension": {
            "$ref": "#/components/schemas/SuspensionImpactDto"
          },
          "timeline": {
            "items": {
              "$ref": "#/components/schemas/SubmissionTimelineEntryDto"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "SubmissionDpiaDto": {
        "additionalProperties": false,
        "properties": {
          "approvedScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "assessmentId": {
            "nullable": true,
            "type": "string"
          },
          "awaitingDpia": {
            "type": "boolean"
          },
          "clearedVersion": {
            "nullable": true,
            "type": "string"
          },
          "driftedScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "evaluatedAt": {
            "nullable": true,
            "type": "string"
          },
          "explanation": {
            "nullable": true,
            "type": "string"
          },
          "reassessmentRequired": {
            "type": "boolean"
          },
          "scopeReconciliationSummary": {
            "nullable": true,
            "type": "string"
          },
          "scopeWithinApprovedBoundary": {
            "type": "boolean"
          },
          "verdict": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SubmissionTimelineEntryDto": {
        "additionalProperties": false,
        "properties": {
          "actor": {
            "nullable": true,
            "type": "string"
          },
          "attemptNumber": {
            "format": "int32",
            "type": "integer"
          },
          "detail": {
            "nullable": true,
            "type": "string"
          },
          "event": {
            "nullable": true,
            "type": "string"
          },
          "occurredAt": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SubmitAttemptBody": {
        "additionalProperties": false,
        "properties": {
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "requestedScopes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "versionLabel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SupplyChainCriterionDto": {
        "additionalProperties": false,
        "properties": {
          "acceptedSbomFormats": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "acceptedSigningSchemes": {
            "items": {
              "type": "string"
            },
            "nullable": true,
            "type": "array"
          },
          "enforcing": {
            "type": "boolean"
          },
          "evaluated": {
            "type": "boolean"
          },
          "expiryWarningDays": {
            "format": "int32",
            "type": "integer"
          },
          "freshnessWindowDays": {
            "format": "int32",
            "type": "integer"
          },
          "mode": {
            "nullable": true,
            "type": "string"
          },
          "reAttestTrigger": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "SuspensionImpactDto": {
        "additionalProperties": false,
        "properties": {
          "affectedInstallCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "reason": {
            "nullable": true,
            "type": "string"
          },
          "revokedGrantCount": {
            "format": "int32",
            "nullable": true,
            "type": "integer"
          },
          "suspendedAt": {
            "nullable": true,
            "type": "string"
          },
          "suspendedBy": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "UnattestedListingDto": {
        "additionalProperties": false,
        "properties": {
          "listingId": {
            "nullable": true,
            "type": "string"
          },
          "listingStatus": {
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "UploadSbomBody": {
        "additionalProperties": false,
        "properties": {
          "appVersionId": {
            "nullable": true,
            "type": "string"
          },
          "organizationId": {
            "nullable": true,
            "type": "string"
          },
          "sbomContent": {
            "nullable": true,
            "type": "string"
          },
          "versionLabel": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "info": {
    "description": "EPIC 25 — Marketplace REST surface (11 endpoints).",
    "title": "Essence Developer Marketplace API",
    "version": "v1"
  },
  "openapi": "3.0.1",
  "paths": {
    "/api/v1/marketplace/admin/review-moderation": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ReviewDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/admin/review-moderation/{reviewId}/dismiss": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "reviewId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ModerateBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModerateBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ModerateBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/admin/review-moderation/{reviewId}/hide": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "reviewId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ModerateBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModerateBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ModerateBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/admin/review-queue": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ReviewQueueItem"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/admin/review-queue/{listingId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/admin/review-queue/{listingId}/annotate": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AdminAnnotateBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminAnnotateBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminAnnotateBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/admin/review-queue/{listingId}/approve": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AdminDecisionBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminDecisionBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminDecisionBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketplaceListingDto"
                }
              }
            },
            "description": "OK"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/admin/review-queue/{listingId}/decisions": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ReviewDecisionDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/admin/review-queue/{listingId}/reject": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AdminDecisionBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminDecisionBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AdminDecisionBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketplaceListingDto"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Not Found"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/apps": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "category",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pricingModel",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "skip",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "take",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "type",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "certificationTier",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedListings"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceApps"
        ]
      },
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMarketplaceListingCommand"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMarketplaceListingCommand"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMarketplaceListingCommand"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketplaceListingDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceApps"
        ]
      }
    },
    "/api/v1/marketplace/apps/by-developer/{developerId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "developerId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/MarketplaceListingDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceApps"
        ]
      }
    },
    "/api/v1/marketplace/apps/featured": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/MarketplaceListingDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceApps"
        ]
      }
    },
    "/api/v1/marketplace/apps/search": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/MarketplaceListingDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceApps"
        ]
      }
    },
    "/api/v1/marketplace/apps/{listingId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketplaceListingDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceApps"
        ]
      }
    },
    "/api/v1/marketplace/apps/{listingId}/publish": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketplaceListingDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceApps"
        ]
      }
    },
    "/api/v1/marketplace/apps/{listingId}/reject": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RejectBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RejectBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RejectBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketplaceListingDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceApps"
        ]
      }
    },
    "/api/v1/marketplace/apps/{listingId}/reviews": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ReviewDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveReviewBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveReviewBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveReviewBody"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewDto"
                }
              }
            },
            "description": "Created"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/apps/{listingId}/submit-for-review": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MarketplaceListingDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceApps"
        ]
      }
    },
    "/api/v1/marketplace/categories": {
      "get": {
        "operationId": "marketplace-categories",
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "category",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pricingModel",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "skip",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "take",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "type",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "certificationTier",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedListings"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceApps"
        ]
      }
    },
    "/api/v1/marketplace/org/submissions": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "needsAttention",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgPortfolioDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "OrgSubmissions"
        ]
      }
    },
    "/api/v1/marketplace/org/submissions/bulk-resubmit": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkResubmitBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkResubmitBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkResubmitBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BulkResubmitOutcomeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "OrgSubmissions"
        ]
      }
    },
    "/api/v1/marketplace/org/submissions/findings/{findingKey}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "findingKey",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/OrgSubmissionRowDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "OrgSubmissions"
        ]
      }
    },
    "/api/v1/marketplace/org/submissions/{listingId}/assignee": {
      "put": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgSubmissionRowDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "OrgSubmissions"
        ]
      }
    },
    "/api/v1/marketplace/review-queue": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "awaitingDpia",
            "schema": {
              "default": false,
              "type": "boolean"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ReviewQueueRowDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "AppReviewQueue"
        ]
      }
    },
    "/api/v1/marketplace/review-queue/agent-dpia-pipeline": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentDpiaPipelineDto"
                }
              }
            },
            "description": "OK"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "AppReviewQueue"
        ]
      }
    },
    "/api/v1/marketplace/review-queue/bulk-decision": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDecisionBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDecisionBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDecisionBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/BulkDecisionOutcomeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Bad Request"
          },
          "403": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            },
            "description": "Forbidden"
          }
        },
        "tags": [
          "AppReviewQueue"
        ]
      }
    },
    "/api/v1/marketplace/reviews/{reviewId}": {
      "delete": {
        "parameters": [
          {
            "in": "path",
            "name": "reviewId",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "userId",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/reviews/{reviewId}/developer-response": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "reviewId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeveloperResponseBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeveloperResponseBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeveloperResponseBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReviewDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/reviews/{reviewId}/report": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "reviewId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReportAbuseBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportAbuseBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportAbuseBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceReviews"
        ]
      }
    },
    "/api/v1/marketplace/schemas": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "domain",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "premiumOnly",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SchemaListingDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SchemaMarketplace"
        ]
      }
    },
    "/api/v1/marketplace/schemas/{schemaId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "schemaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SchemaListingDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SchemaMarketplace"
        ]
      }
    },
    "/api/v1/marketplace/schemas/{schemaId}/fork": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "schemaId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ForkBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForkBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ForkBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SchemaForkDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SchemaMarketplace"
        ]
      }
    },
    "/api/v1/marketplace/search": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "q",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "category",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "pricingModel",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "skip",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "take",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "type",
            "schema": {
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "certificationTier",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagedListings"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "MarketplaceApps"
        ]
      }
    },
    "/api/v1/marketplace/submissions": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "developerId",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/SubmissionAttemptDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AppSubmissions"
        ]
      }
    },
    "/api/v1/marketplace/submissions/{listingId}": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmissionDetailDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AppSubmissions"
        ]
      },
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitAttemptBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitAttemptBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitAttemptBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmissionAttemptDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AppSubmissions"
        ]
      }
    },
    "/api/v1/marketplace/submissions/{listingId}/decision": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordDecisionBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordDecisionBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordDecisionBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmissionAttemptDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AppSubmissionIntake"
        ]
      }
    },
    "/api/v1/marketplace/submissions/{listingId}/resubmit": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ResubmitBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResubmitBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ResubmitBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmissionAttemptDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AppSubmissions"
        ]
      }
    },
    "/api/v1/marketplace/submissions/{listingId}/scan-result": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RecordScanResultBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordScanResultBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RecordScanResultBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmissionAttemptDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "AppSubmissionIntake"
        ]
      }
    },
    "/api/v1/marketplace/submissions/{listingId}/timeline.csv": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "AppSubmissions"
        ]
      }
    },
    "/api/v1/marketplace/supply-chain/attestations/{attestationId}/sign": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "attestationId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SignAttestationBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignAttestationBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SignAttestationBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttestationDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplyChainAttestations"
        ]
      }
    },
    "/api/v1/marketplace/supply-chain/criterion": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplyChainCriterionDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplyChainAttestations"
        ]
      }
    },
    "/api/v1/marketplace/supply-chain/expiry-sweep": {
      "post": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExpirySweepResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplyChainAttestations"
        ]
      }
    },
    "/api/v1/marketplace/supply-chain/listings/{listingId}/attestation": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttestationDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplyChainAttestations"
        ]
      }
    },
    "/api/v1/marketplace/supply-chain/listings/{listingId}/attestation/history": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/AttestationDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplyChainAttestations"
        ]
      }
    },
    "/api/v1/marketplace/supply-chain/listings/{listingId}/sbom": {
      "post": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UploadSbomBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadSbomBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UploadSbomBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SbomUploadResult"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplyChainAttestations"
        ]
      }
    },
    "/api/v1/marketplace/supply-chain/listings/{listingId}/trust": {
      "get": {
        "parameters": [
          {
            "in": "path",
            "name": "listingId",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListingTrustDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplyChainAttestations"
        ]
      }
    },
    "/api/v1/marketplace/supply-chain/portfolio": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "limit",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          },
          {
            "in": "query",
            "name": "offset",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttestationPortfolioDto"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplyChainAttestations"
        ]
      }
    },
    "/api/v1/marketplace/supply-chain/re-attest": {
      "post": {
        "requestBody": {
          "content": {
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReAttestBody"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReAttestBody"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReAttestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ReAttestOutcomeDto"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "tags": [
          "SupplyChainAttestations"
        ]
      }
    },
    "/api/v1/marketplace/supply-chain/trust.csv": {
      "get": {
        "parameters": [
          {
            "in": "query",
            "name": "listingIds",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "tags": [
          "SupplyChainAttestations"
        ]
      }
    }
  }
}
