lib/json_schema/schema.rb in json_schema-0.16.0 vs lib/json_schema/schema.rb in json_schema-0.16.1

- old
+ new

@@ -167,16 +167,16 @@ attr_schema :media attr_schema :path_start, :schema_name => :pathStart attr_schema :read_only, :schema_name => :readOnly # hyperschema link attributes - attr_schema :enc_type, :default => "application/json" + attr_schema :enc_type, :schema_name => :encType, :default => "application/json" attr_schema :href - attr_schema :media_type, :default => "application/json" + attr_schema :media_type, :schema_name => :mediaType, :default => "application/json" attr_schema :method attr_schema :rel attr_schema :schema - attr_schema :target_schema + attr_schema :target_schema, :schema_name => :targetSchema # allow booleans to be access with question mark alias :additional_items? :additional_items alias :expanded? :expanded alias :max_exclusive? :max_exclusive