Sha256: 95f8f59c8a42cdc9beff2eeadc5738c54cddaec9cfdc077f82b68cde2176b248
Contents?: true
Size: 835 Bytes
Versions: 1
Compression:
Stored size: 835 Bytes
Contents
## ## Kwalify schema example for address book ## ## $Release: 0.5.1 $ ## 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 unique: 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.5.1 | examples/address-book/address-book.schema.yaml |