Module constants

Module constants 

Source
Expand description

§Constants, regular expressions, and configuration values

This module contains a collection of regular expressions, configuration values, and guidelines for research activity data. This includes section character counts and line counts.

Structs§

RE_DOI
Regex that should match a Digital Object Identifier (DOI)
RE_FAKE_PHONE
Regex that should match a fake phone number (e.g. 555.555.5555)
RE_IMAGE_EXTENSION
Regex that should match an image extension (e.g. .png, .jpg, .jpeg, .svg)
RE_IP6
Regex that should match an IP6 address
RE_ISO_8601_DATE
Regex that should match an ISO 8601 date (e.g., YYYY-MM-DD)
RE_ISO_8601_YEAR
Regex that should match an ISO 8601 year from modern times, 1950 through 2029
RE_PHONE
Regex that should match a phone number (with optional country and area codes)
RE_RAID
Regex that should match a Research Activity Identifier (RAiD)
RE_ROR
Regex that should match a Research Organization Registry (ROR)

Constants§

APPLICATION
Application name
BASE_URL
Base URL for deploying ORNL data
COLOR_PRIMARY
RGB ORNL brand primary color
COLOR_TRANSPARENT
RGB color for transparency
CUSTOM_VALE_PACKAGE_NAME
Custom Vale package name
DEFAULT_AFFILIATION
Default affiliation
DEFAULT_GRAPHIC_CAPTION
Default graphic caption
DEFAULT_GRAPHIC_HREF
Default graphic content URL (href)
DEFAULT_VALE_PACKAGE_URL
URL for custom ORNL Science Vale package
DISABLED_VALE_RULES
Disabled Vale rules
DISCLAIMER
ORNL disclaimer
ENABLED_VALE_PACKAGES
Enabled Vale packages
MAX_ALLOWED_ARI
Automated Readability Index (ARI) maximum allowed value
MAX_ALLOWED_CLI
Coleman-Liau Index (CLI) maximum allowed value
MAX_ALLOWED_FKGL
Flesch-Kincaid Grade Level (FKGL) maximum allowed value
MAX_ALLOWED_FRES
Flesch Reading Ease Score (FRES) maximum allowed value
MAX_ALLOWED_GFI
Gunning Fog Index (GFI) maximum allowed value
MAX_ALLOWED_LIX
Lix Index (Lix) maximum allowed value
MAX_ALLOWED_SMOG
Simple Measure of Gobbledygook (SMOG) maximum allowed value
MAX_COUNT_APPROACH
Maxumum number of ResearchActivity approaches
MAX_COUNT_CAPABILITIES
Maxumum number of ResearchActivity capabilities
MAX_COUNT_IMPACT
Maxumum number of impact statements
MAX_COUNT_RESEARCH_AREAS
Maximum number of research areas
MAX_LENGTH_APPROACH
Maximum number of characters for an approach statement
MAX_LENGTH_CAPABILIY
Maximum number of characters for a single capability description
MAX_LENGTH_IMAGE_CAPTION
Maximum number of characters for a single image caption
MAX_LENGTH_IMPACT
Maximum number of characters for a single impact description
MAX_LENGTH_RESEARCH_AREA
Maximum number of characters for a single research area description
MAX_LENGTH_RESEARCH_FOCUS
Maximum number of characters for an single research focus description
MAX_LENGTH_SECTION_CHALLENGE
Maximum number of characters for a challenge section
MAX_LENGTH_SECTION_MISSION
Maximum number of characters for a mission section
MAX_LENGTH_SUBTITLE
Maximum number of characters for a subtitle
MAX_LENGTH_TITLE
Maximum number of characters for a title
ORGANIZATION
Organization name
QUALIFIER
Organization qualifier
VALE_RELEASES_URL
URL for Vale releases
VALE_VERSION
Version of Vale to use with ACORN