diff --git a/bin/generate-schema-docs.sh b/bin/generate-schema-docs.sh index 73abb43a..e4a2c0ab 100755 --- a/bin/generate-schema-docs.sh +++ b/bin/generate-schema-docs.sh @@ -8,7 +8,7 @@ SCHEMAS=$(ls -m *.json | tr -d '[:space:]') generate-schema-doc ${SCHEMAS} ../docs # Remove fontawesome script that throws warnings in SonarCloud -sed -e 's/
Non-contribution Account (17)
"SA17"
"SA17"
+
^(?:[PC][0-9]{8}|[HS][0-9]{1}[A-Z]{2}[0-9]{5})$
Must be at least 9
characters long
Must be at most 9
characters long
"C00123456"
+
"BUSINESS_LABOR_NON_CONTRIBUTION_ACCOUNT"
"BUSINESS_LABOR_NON_CONTRIBUTION_ACCOUNT"
+
^[ -~]{0,20}$
Must be at least 0
characters long
Must be at most 20
characters long
"A56123456789-1234"
+
^[ -~]{0,20}$
"A123456789-1234"
+
^[ -~]{0,8}$
"SA17"
+
"ORG"
"ORG"
+
^[ -~]{0,200}$
Must be at least 0
characters long
Must be at most 200
characters long
"Jo Smith & Co."
+
^[ -~]{0,34}$
Must be at least 0
characters long
Must be at most 34
characters long
"123 Main Street"
+
^[ -~]{0,34}$
^[ -~]{0,30}$
Must be at least 0
characters long
Must be at most 30
characters long
"Anytown"
+
^[ -~]{0,2}$
Must be at least 0
characters long
Must be at most 2
characters long
"WA"
+
^[ -~]{0,9}$
Must be at least 0
characters long
Must be at most 9
characters long
981110123
+
^[0-9]{4}-[0-9]{2}-[0-9]{2}$
Must be at least 10
characters long
"2018-11-13"
+
Value must be greater or equal to -99999999.99
and lesser or equal to 999999999.99
250
+
Value must be greater or equal to -99999999.99
and lesser or equal to 999999999.99
1000
+
"NON_CONTRIBUTION_ACCOUNT"
"NON_CONTRIBUTION_ACCOUNT"
+
"Non-contribution Account Receipt"
"Non-contribution Account Receipt"
+
^[ -~]{0,100}$