Sha256: dba3653fb9b9ce6f98bb2a86bf6de525a32051702b9196082f55ec63c43563e3
Contents?: true
Size: 812 Bytes
Versions: 1
Compression:
Stored size: 812 Bytes
Contents
## ## Kwalify schema example for address book ## ## $Release: 0.2.0 $ ## copyright(c) 2005 kuwata-lab all rights reserved. ## ## ## NOTE: 'type: str' is omitted in this example because 'str' is default type. ## type: seq required: yes sequence: - type: map required: yes mapping: "name": type: str required: yes "email": type: str pattern: /@/ "tel": type: str pattern: /^\d+-\d+-\d+$/ "birth": type: date "age": type: int "zip": type: str pattern: /^\d+-\d+$/ "addr": type: str "blood": type: str enum: - A - B - O - AB "memo": type: any
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kwalify-0.2.0 | examples/address-book/address-book.schema.yaml |