anchor.diff:  	{ok, #resource{id = ID, name = Name, description = Description,
   			version = Version, category = Category, class_type = ClassType,
   			base_type = BaseType, schema = ClassSchema, specification = S,
  -			related = [R], characteristic = [C]}} = ocs:get_resource(ID),
  -	#specification_ref{id = ResourceId, href = ResouceHref, name = ResourceName,
  -			version = Version} = S,
  +			related = [R], characteristic = CharList}} = ocs:get_resource(ID),
  +	#specification_ref{id = ResSpecId, href = ResSpecHref,
  +			name = ResSpecName} = S,
   	#resource_rel{id = ResourceRelId, href = ResourceRelHref,
   			referred_type = "contained", name = "example"} = R,
  -	#resource_char{name = CharName, class_type = CharType,
  -			schema = CharSchema, value = CharValue} = C.
  +	#resource_char{name = "prefix", value = CharPrefix}
  +			= lists:keyfind("prefix", #resource_char.name, CharList),
  +	#resource_char{name = "description", value = CharDes}
  +			= lists:keyfind("description", #resource_char.name, CharList),
  +	#resource_char{name = "rate", value = CharRate}
  +			= lists:keyfind("rate", #resource_char.name, CharList).
   
   delete_resource() ->
   	[{userdata, [{doc,"Delete resource inventory"}]}].
  
positive.code: 			++ "\t],\n"
  			++ "\t\"resourceCharacteristic\": [\n"
  			++ "\t\t{\n"
  			++ "\t\t\t\"name\": \"" ++ CharName ++ "\",\n"
  			++ "\t\t\t\"value\": \"" ++ CharValue ++ "\",\n"
  			++ "\t\t\t\"@type\": \"" ++ CharType ++ "\",\n"
  			++ "\t\t\t\"@schemaLocation\": \"" ++ CharSchema ++ "\"\n"
  			++ "\t\t}\n"
  			++ "\t]\n"
  			++ "}\n",
  
negative.code: 			++ "\t},\n"
  			++ "\t\"lifecycleState\": \"In Test\",\n"
  			++ "\t\"resourceSpecification\": {\n"
  			++ "\t\t\"id\": \"" ++ ResSpecId ++ "\",\n"
  			++ "\t\t\"href\": \"" ++ ResSpecHref ++ "\",\n"
  			++ "\t\t\"name\": \"" ++ ResSpecName ++ "\"\n"
  			++ "\t\t},\n"
  			++ "\t\"resourceRelationship\": [\n"
  			++ "\t\t{\n"
  