public Builder rootSchema(Schema rootSchema) {
            this.rootSchema = rootSchema;
            return this;
        }
Sets the root schema.

@param rootSchema Root schema of the document.
@return Returns the builder.
smithy-jsonschema/src/main/java/software/amazon/smithy/jsonschema/SchemaDocument.java