Validasi Skema Rails JSON
gem 'activerecord_json_validator'
Annoying Armadillo
gem 'activerecord_json_validator'
{
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"properties": {
"city": { "type": "string" },
"country": { "type": "string" }
},
"required": ["country"]
}