# `RDF.XSD.Datatype.Primitive`
[🔗](https://github.com/rdf-elixir/rdf-ex/blob/v3.0.1/lib/rdf/xsd/datatype/primitive.ex#L1)

Macros for the definition of primitive XSD datatypes.

# `def_applicable_facet`
*macro* 

Specifies the applicability of the given XSD `facet` on a primitive datatype.

For a facet with the name `example_facet` this requires a function

    def example_facet_conform?(example_facet_value, literal_value, lexical) do

    end

to be defined on the primitive datatype.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
