# Grax v0.6.1 - API Reference

## Modules

- [Grax](Grax.md): The Grax API.
- [Grax.Callbacks](Grax.Callbacks.md)
- [Grax.Id.Counter](Grax.Id.Counter.md)
- [Grax.Id.Counter.Adapter](Grax.Id.Counter.Adapter.md)
- [Grax.Id.Counter.Dets](Grax.Id.Counter.Dets.md)
- [Grax.Id.Counter.Supervisor](Grax.Id.Counter.Supervisor.md)
- [Grax.Id.Counter.TextFile](Grax.Id.Counter.TextFile.md)
- [Grax.Id.Hash](Grax.Id.Hash.md)
- [Grax.Id.Namespace](Grax.Id.Namespace.md)
- [Grax.Id.Schema](Grax.Id.Schema.md)
- [Grax.Id.Schema.Extension](Grax.Id.Schema.Extension.md)
- [Grax.Id.Spec](Grax.Id.Spec.md): A DSL for the specification of identifier schemas for `Grax.Schema`s.

- [Grax.Id.UUID](Grax.Id.UUID.md)
- [Grax.Id.UrnNamespace](Grax.Id.UrnNamespace.md)
- [Grax.Schema](Grax.Schema.md): A special type of struct for graph structures whose fields are mapped to RDF properties and
the types of values can be specified.
- [Grax.Schema.Registry](Grax.Schema.Registry.md): A global registry of Grax schemas.

- [Grax.Schema.Type](Grax.Schema.Type.md)

- Exceptions
  - [Grax.InvalidIdError](Grax.InvalidIdError.md): Raised when a Grax has an invalid subject id.

  - [Grax.InvalidResourceTypeError](Grax.InvalidResourceTypeError.md): Raised when a linked resource doesn't match any of the specified classes.

  - [Grax.InvalidValueError](Grax.InvalidValueError.md): Raised when an invalid literal is encountered during decoding from RDF.

  - [Grax.RDF.Preloader.Error](Grax.RDF.Preloader.Error.md)
  - [Grax.Schema.CardinalityError](Grax.Schema.CardinalityError.md): Raised when the number of property values doesn't match the specified cardinality during decoding from RDF.

  - [Grax.Schema.DetectionError](Grax.Schema.DetectionError.md): Raised when no schema could be detected with `Grax.load/3`.

  - [Grax.Schema.InvalidPropertyError](Grax.Schema.InvalidPropertyError.md): Raised when accessing a property that is not defined on a schema.

  - [Grax.Schema.TypeError](Grax.Schema.TypeError.md): Raised when a property value doesn't match the specified type during decoding from RDF.

  - [Grax.ValidationError](Grax.ValidationError.md): Raised when the validation of a Grax fails.

