public Optional<Output<CustomResourceValidationPatchArgs>> schema() {
        return Optional.ofNullable(this.schema);
    }
@return schema describes the schema used for validation and pruning of this version of the custom resource. Top-level and per-version schemas are mutually exclusive. Per-version schemas must not all be set to identical values (top-level validation schema should be used instead).
sdk/java/src/main/java/com/pulumi/kubernetes/apiextensions/v1beta1/inputs/CustomResourceDefinitionVersionPatchArgs.java