NAME

SemanticWeb::Schema - Moo classes for http://schema.org/ classes

VERSION

version v3.9.0

SYNOPSIS

  use aliased 'SemanticWeb::Schema::Person' => 'Person';

  my $person = Person->new(
    name        => 'James Clerk Maxwell',
    birth_date  => '1831-06-13',
    birth_place => 'Edinburgh',
  );

  print $person->json_ld;

DESCRIPTION

This is a base class for the SemanticWeb::Schema classes, which were generated automatically from the following sources:

https://schema.org/version/3.9/ext-auto.rdf
https://schema.org/version/3.9/ext-bib.rdf
https://schema.org/version/3.9/ext-health-lifesci.rdf
https://schema.org/version/3.9/ext-meta.rdf
https://schema.org/version/3.9/ext-pending.rdf
https://schema.org/version/3.9/schema.rdf

ATTRIBUTES

id

If this is set, it adds a @id to the "json_ld_data".

context

The context defaults to "http://schema.org/".

SEE ALSO

Moo
MooX::JSON_LD
http://schema.org/

SOURCE

The development version is on github at https://github.com/robrwo/SemanticWeb-Schema and may be cloned from git://github.com/robrwo/SemanticWeb-Schema.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/SemanticWeb-Schema/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

CONTRIBUTOR

Mohammad S Anwar <mohammad.anwar@yahoo.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2019 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)