Module: Chemicalml::Convention::Dictionary
- Extended by:
- Base
- Defined in:
- lib/chemicalml/convention/dictionary.rb,
lib/chemicalml/convention/dictionary/constraints.rb,
lib/chemicalml/convention/dictionary/constraints/entry_must_have_unit_type.rb,
lib/chemicalml/convention/dictionary/constraints/entry_units_co_constraints.rb,
lib/chemicalml/convention/dictionary/constraints/entry_id_must_match_pattern.rb,
lib/chemicalml/convention/dictionary/constraints/entry_must_have_id_and_term.rb,
lib/chemicalml/convention/dictionary/constraints/entry_must_contain_definition.rb,
lib/chemicalml/convention/dictionary/constraints/dictionary_must_have_namespace.rb,
lib/chemicalml/convention/dictionary/constraints/entry_ids_unique_within_dictionary.rb,
lib/chemicalml/convention/dictionary/constraints/dictionary_namespace_should_end_with_slash_or_hash.rb
Overview
The dictionary convention. Constraints based on
http://www.xml-cml.org/convention/dictionary (archived in
reference-docs/conventions/dictionary.md).
Defined Under Namespace
Modules: Constraints
Constant Summary collapse
- QNAME =
"convention:dictionary".freeze
- NAMESPACE_URI =
"#{Chemicalml::Convention::CONVENTION_NAMESPACE}dictionary".freeze
Class Method Summary collapse
Methods included from Base
constraint_count, constraints, namespace_uri, qname, register, reset_constraints!, validate, validate_report
Class Method Details
.namespace_uri ⇒ Object
20 21 22 |
# File 'lib/chemicalml/convention/dictionary.rb', line 20 def self.namespace_uri NAMESPACE_URI end |
.qname ⇒ Object
16 17 18 |
# File 'lib/chemicalml/convention/dictionary.rb', line 16 def self.qname QNAME end |