The definition of a domain. Domains are the highest building block in RIDDL and may be nested inside each other to form a hierarchy of domains. Generally, domains follow hierarchical organization structure but other taxonomies and ontologies may be modelled with domains too.
Value parameters
applications
Application definitions for this domain
brief
A brief description (one sentence) for use in documentation
contexts
The contexts defined in the scope of the domain
description
An optional description of the domain.
domains
Nested sub-domains within this domain
epics
Story definitions for this domain
id
The name of the domain
loc
The location of the domain definition
options
Options for the domain
terms
Definition of terms pertaining to this domain that provide explanation of concepts from the domain.
types
Type definitions with a domain (nearly global) scope, with applicability to many contexts or subdomains
Compute the 'maturity' of a definition. Maturity is a score with no maximum but with scoring rules that target 100 points per definition. Maturity is broken down this way:
has a description - up to 50 points depending on # of non empty lines
has a brief description - 5 points
has options specified - 5 points
has terms defined -
has an author in or above the definition - 5 points \-
Compute the completeness of this definition. Vital definitions should have options, terms, and authors but includes are optional. Incompleteness is signalled by child definitions that are empty.