Schema.org Vocabulary (HTTP)
Legacy-friendly Schema.org terms using HTTP URIs.
Same type-safe API, for systems that still require http://schema.org/.
HTTP URIs for Legacy Compatibility
Use this package when your data or integrations still rely on http://schema.org/ identifiers. The API mirrors the HTTPS package.
Most Popular Included Vocabularies
A quick snapshot of high-traffic Schema.org classes using HTTP URIs. The package includes the full vocabulary beyond this list.
HTTP Namespace
All IRIs use the legacy http://schema.org/ namespace for maximum compatibility.
Same API Surface
Identical class-specific helpers and vocabulary constants as the HTTPS package.
Class-Specific Access
Use `SchemaHttpPerson` and similar helpers to discover valid properties quickly.
Compile-Time Constants
Pure constants with no runtime overhead, even at large vocabulary size.
Getting Started
Installation
# Install Schema.org vocabulary (HTTP)
dart pub add locorda_rdf_terms_schema_http Usage Example
import 'package:locorda_rdf_core/core.dart';
import 'package:locorda_rdf_terms_schema_http/schema_http.dart';
void main() {
final personIri = IriTerm('http://example.org/person/jane');
final graph = RdfGraph.fromTriples([
Triple(personIri, SchemaHttpPerson.rdfType, SchemaHttpPerson.classIri),
Triple(personIri, SchemaHttpPerson.name, LiteralTerm.string('Jane Doe')),
Triple(
personIri,
SchemaHttpPerson.email,
LiteralTerm.string('jane@example.com'),
),
Triple(
personIri,
SchemaHttpPerson.jobTitle,
LiteralTerm.string('Data Engineer'),
),
Triple(
personIri,
SchemaHttpPerson.worksFor,
IriTerm('http://example.org/org/locorda'),
),
]);
print(turtle.encode(graph));
} π‘ When to Use HTTP
Prefer the HTTPS package for new projects. Use HTTP only when integrating with existing datasets or systems that require legacy Schema.org URIs.
Why Use This Package?
HTTP URI Parity
Use the same structure and concepts as the HTTPS package, but with http://schema.org/ IRIs for legacy datasets.
Type Safety
Maintain compile-time guarantees while staying compatible with legacy IRIs.
Cross-Vocabulary Support
Connected vocabularies remain available through class-specific helpers.
Generator-Proven
Built using `locorda_rdf_terms_generator` for consistent structure and updates.
Need HTTP Schema.org Support?
Use the legacy Schema.org HTTP package when compatibility matters.