@Override
        public XmlNamespaceTrait createTrait(ShapeId target, Node value) {
            Builder builder = builder().sourceLocation(value);
            value.expectObjectNode()
                    .expectStringMember("uri", builder::uri)
                    .getStringMember("prefix", builder::prefix);
            XmlNamespaceTrait result = builder.build();
            result.setNodeCache(value);
            return result;
        }
Builder used to create an XmlNamespace trait.
smithy-model/src/main/java/software/amazon/smithy/model/traits/XmlNamespaceTrait.java