anchor.diff:  
       if value.has_key?('example')
         example = if value['example'].is_a?(Hash) && value['example'].has_key?('oneOf')
  -                  value['example']['oneOf'].map { |e| "`#{e.to_json}`" }.join(" or ")
  -                else
  -                  "`#{value['example'].to_json}`"
  -                end
  +        value['example']['oneOf'].map { |e| "`#{e.to_json}`" }.join(" or ")
  +      else
  +        "`#{value['example'].to_json}`"
  +      end
       elsif value['type'] == ['array'] && value.has_key?('items')
         example = "`#{schema.schema_value_example(value)}`"
       elsif value['type'].include?('null')
  
positive.code:       end
      end
    end
  
  %>
  
negative.code:         end
          if value['items']['oneOf']
            value['items']['oneOf'].each_with_index do |oneof, index|
            ref,  oneof_definition = schema.dereference(oneof)
            oneof_name = ref ? ref.split('/').last : index
            nested = extract_attributes(schema, oneof_definition['properties'])
            nested.each do |attribute|
              attribute[0] = "#{key}/[#{oneof_name.upcase}].#{attribute[0]}"
            end
            attributes.concat(nested)
          end
        end
  
        # just a regular attribute
        else
          attributes << build_attribute(schema, key, value)
        end
  