spec/fixtures/client.json in json_schema_tools-0.0.7 vs spec/fixtures/client.json in json_schema_tools-0.0.8
- old
+ new
@@ -1,9 +1,9 @@
{"type":"object",
"title": "client",
"name": "client",
- "description": "A client as seen by SalesKing",
+ "description": "A client in SalesKing",
"properties":{
"id":{
"description":"Unique identifier - UUID",
"identity":true,
"readonly":true,
@@ -162,9 +162,11 @@
"description": "Increased on every edit, so SK can detect/prevent a concurrent edit by another user. First save wins.",
"type":"integer"
},
"cash_discount":{
"description": "Default cash discount for new invoices.",
+ "maximum": 100,
+ "minimum": 0,
"type":"number"
},
"due_days":{
"description": "Default due days for new invoices.",
"type":"integer"
\ No newline at end of file