{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/outsystems/main/json-schema/outsystems-portfolio-paged-list-response-schema.json", "title": "PortfolioPagedListResponse", "description": "Represents a response containing a paged set of results.", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/outsystems-portfolios-api-openapi.yml#/components/schemas/PortfolioPagedListResponse", "type": "object", "properties": { "page": { "allOf": [ { "$ref": "#/$defs/PageInfoWithTotals" } ], "description": "Page information.", "readOnly": true }, "results": { "type": [ "array", "null" ], "items": { "$ref": "#/$defs/Portfolio" }, "description": "List of results.", "readOnly": true } }, "additionalProperties": false, "$defs": { "PageInfoWithTotals": { "type": "object", "properties": { "count": { "type": "integer", "description": "Number of results in the current page.", "format": "int32" }, "limit": { "type": "integer", "description": "Limit of results per page.", "format": "int32" }, "offset": { "type": [ "integer", "null" ], "description": "Offset of the current page of results.", "format": "int32" }, "nextPageOffset": { "type": [ "integer", "null" ], "description": "Offset of the next page of results.", "format": "int32" }, "totalResults": { "type": "integer", "description": "Total of results.", "format": "int32" }, "totalPages": { "type": "integer", "description": "Total of result pages.", "format": "int32", "readOnly": true } }, "additionalProperties": false, "description": "Contains response page information including totals." }, "Portfolio": { "type": "object", "properties": { "key": { "type": [ "string", "null" ], "description": "The portfolio key.", "format": "uuid" }, "name": { "type": [ "string", "null" ], "description": "The portfolio name." }, "type": { "type": [ "string", "null" ], "description": "The portfolio hosting type." }, "isMainPortfolio": { "type": "boolean", "description": "Indicates whether this is the main portfolio where system assets are installed." }, "nonProductionEnvironmentCount": { "type": [ "integer", "null" ], "description": "Number of non-production environments in the portfolio. Null when not available.", "format": "int32" } }, "additionalProperties": false, "description": "Portfolio" } } }