14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# File 'lib/resources/address.rb', line 14
def self.schema_props
{
"id" => {"type" => "string", "identity" => true, "readonly" => true},
"address1" => {"type" => "string", "optional" => true},
"address2" => {"type" => "string", "optional" => true},
"city" => {"type" => "string"},
"country" => {"type" => "string", "optional" => true},
"state" => {"type" => "string", "optional" => true},
"zip" => {"type" => "string", "optional" => true},
"pobox" => {"type" => "string", "optional" => true},
"long" => {"type" => "string", "optional" => true},
"lat" => {"type" => "string", "optional" => true},
"address_type" => {"type" => "string", "optional" => true},
"created_at" => {"type" => "string", "format" =>"date-time", "readonly"=> true},
"updated_at" => {"type" => "string", "format" =>"date-time", "readonly"=> true},
}
end
|