diff --git a/paas.go b/paas.go index 17b0aff..1f6aa3b 100644 --- a/paas.go +++ b/paas.go @@ -295,6 +295,18 @@ type Parameter struct { // Immutable. Immutable bool `json:"immutable"` + + // Nested schema + Schema Schema `json:"schema"` +} + +// Schema represents the structure of a nested parameter. +type Schema struct { + // Type of the schema. + Type string `json:"type"` + + // If the type is "dict", this defines the schema of the dictionary fields. + Schema map[string]Parameter `json:"schema"` } // Resource represents the amount of concurrent connections for the service.