Content verifies that the entire body content conforms to the given schema and then returns it, and/or returns diagnostics. The returned body content is valid if non-nil, regardless of whether Diagnostics are provided, but diagnostics should still be eventually shown to the user.
(schema *BodySchema)
| 48 | // are provided, but diagnostics should still be eventually shown to |
| 49 | // the user. |
| 50 | Content(schema *BodySchema) (*BodyContent, Diagnostics) |
| 51 | |
| 52 | // PartialContent is like Content except that it permits the configuration |
| 53 | // to contain additional blocks or attributes not specified in the |
no outgoing calls