examples/invoice/invoice.schema.yaml in kwalify-0.2.0 vs examples/invoice/invoice.schema.yaml in kwalify-0.3.0
- old
+ new
@@ -1,16 +1,16 @@
###
### Kwalify schema example for invoice
###
-### $Rev: 18 $
-### $Release: 0.2.0 $
+### $Rev: 20 $
+### $Release: 0.3.0 $
### copyright(c) 2005 kuwata-lab all rights reserved.
###
type: map
required: yes
mapping:
- "invoice": { type: int, required: yes }
+ "invoice": { type: int, required: yes, unique: yes }
"date": { type: date, required: yes }
"bill-to": &customer
type: map
required: yes
mapping: