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