NAME
Data::Schema::Schema::Schema - the DS schema of DS schema
VERSION
version 0.132
SYNOPSIS
# validate your schemas!
use Data::Schema qw(Schema::Schema);
my $ds = new Data::Schema;
my $schema = [hash => {foo => 1}];
my $res = $ds->validate($schema, 'schema');
$res->{success} or die "Schema is not valid!";
DESCRIPTION
This module contains the schema for Data::Schema schema itself. You can use it to validate your schemas.
BUGS
* Sorry for the confusing package name.
* Schema is too verbose when expressed as a single YAML, so schema is built/peaced together with Perl code. See this package's source code for more details.
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2009 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.