# NAME
SemanticWeb::Schema - Moo classes for
http://schema.org/ classes
# VERSION
version v12.0.0
The version number of this distribution is based on the corresponding
version of schema classes.
# SYNOPSIS
```perl
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 distribution contains Perl classes for [
https://schema.org](
https://schema.org)
semantic markup. These can be used to generate JSON-LD
to embed in websites.
This is a base class for the `SemanticWeb::Schema` classes, which
were generated automatically from the following sources:
- [
https://schema.org/version/12.0/schemaorg-all-http.rdf](
https://schema.org/version/12.0/schemaorg-all-http.rdf)
# ATTRIBUTES
## `id`
If this is set, it adds a `@id` to the ["json\_ld\_data"](#json_ld_data).
## `context`
The context defaults to "
http://schema.org/".
# SEE ALSO
- [Moo](
https://metacpan.org/pod/Moo)
- [MooX::JSON\_LD](
https://metacpan.org/pod/MooX::JSON_LD)
- [
http://schema.org/](
http://schema.org/)
# SOURCE
The development version is on github at [
https://github.com/robrwo/SemanticWeb-Schema](
https://github.com/robrwo/SemanticWeb-Schema)
and may be cloned from [git://github.com/robrwo/SemanticWeb-Schema.git](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](
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 <
[email protected]>
# CONTRIBUTORS
- Mathias Reitinger <
[email protected]>
- Arikawa Takaya <
[email protected]>
- Mohammad S Anwar <
[email protected]>
# COPYRIGHT AND LICENSE
This software is Copyright (c) 2018-2021 by Robert Rothenberg.
This is free software, licensed under:
```
The Artistic License 2.0 (GPL Compatible)
```