{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/outsystems/main/json-schema/outsystems-domain-paged-list-response-schema.json", "title": "DomainPagedListResponse", "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-domains-api-openapi.yml#/components/schemas/DomainPagedListResponse", "type": "object", "properties": { "page": { "allOf": [ { "$ref": "#/$defs/PageInfoWithTotals" } ], "description": "Page information.", "readOnly": true }, "results": { "type": [ "array", "null" ], "items": { "$ref": "#/$defs/Domain" }, "description": "List of results.", "readOnly": true } }, "additionalProperties": false, "$defs": { "Domain": { "type": "object", "properties": { "id": { "type": [ "string", "null" ], "description": "The domain's unique identifier." }, "name": { "type": [ "string", "null" ], "description": "The domain's name." }, "hostname": { "type": [ "string", "null" ], "description": "The hostname used to access the applications that are deployed in the environment." }, "cNameValue": { "type": [ "string", "null" ], "description": "The CName related to the domain." }, "builtIn": { "type": "boolean", "description": "Indicates if the domain is provided by OutSystems." }, "certificate": { "allOf": [ { "$ref": "#/$defs/DomainCertificate" } ], "description": "The associated certificate for the domain." }, "isDefault": { "type": "boolean", "description": "Indicates if this domain is set as the default one for applications in the environment (stage)." }, "defaultApplicationKey": { "type": [ "string", "null" ], "description": "If this domain is set as the default one for this application key in that environment", "format": "uuid" }, "redirectOption": { "allOf": [ { "$ref": "#/$defs/RedirectOption" } ], "description": "The type of redirect to use, enum of [Permanent, Temporary, None]\nDefault is Permanent (301) redirect." } }, "additionalProperties": false }, "DomainCertificate": { "type": "object", "properties": { "status": { "allOf": [ { "$ref": "#/$defs/DomainCertificateStatus" } ], "description": "Current status of the certificate" }, "cNameKey": { "type": [ "string", "null" ], "description": "Key correlating CName with certificate" }, "cNameValue": { "type": [ "string", "null" ], "description": "CName correlated to certificate" }, "renewalEligibility": { "type": "boolean", "description": "If it is renewable" }, "statusErrorCode": { "type": [ "string", "null" ], "description": "Associated error value for when the status is in Error" }, "statusErrorMessage": { "type": [ "string", "null" ], "description": "Associated error message for when the status is in Error" } }, "additionalProperties": false }, "DomainCertificateStatus": { "enum": [ "Creating", "PendingValidation", "Issued", "Failed", "Deleting", "Deleted", "Expired", "Active" ], "type": "string" }, "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", "description": "Offset of the current page of results.", "format": "int32" }, "nextPageOffset": { "type": "integer", "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." }, "RedirectOption": { "enum": [ "Permanent", "Temporary", "None" ], "type": "string", "description": "The type of redirect to use for domains." } } }