diff --git a/.circleci/config.yml b/.circleci/config.yml index f46bbb5f..99bc88e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,23 +8,30 @@ orbs: # See: https://circleci.com/docs/2.0/configuration-reference/#jobs jobs: - unit-test: + test: # These next lines defines a Docker executors: https://circleci.com/docs/2.0/executor-types/ # A list of available CircleCI Docker convenience images are available here: https://circleci.com/developer/images/image/cimg/python docker: - - image: cimg/python:3.8 + - image: cimg/python:3.8-node steps: - checkout + - run: + name: Create unified requirements so CircleCI can cache them + command: | + cat requirements.txt > requirements-all.txt + echo >> requirements-all.txt # blank in case new newline at end of requirements.txt + cat requirements-test.txt >> requirements-all.txt + - python/install-packages: pkg-manager: pip - pip-dependency-file: requirements-test.txt + pip-dependency-file: requirements-all.txt - run: name: Run tests, save a coverage report, and save coverage percentage command: | - pytest --cov=. --cov-report=html --cov-report=term | tee pytest.out + pytest --cov=. --cov-report=xml --cov-report=html --cov-report=term | tee pytest.out export NEW_PERCENT=$(cat pytest.out | grep TOTAL | awk '{print $4}' | grep -oE "[0-9]+" ) echo ${NEW_PERCENT} > htmlcov/total_percent.txt echo Total code coverage percentage is ${NEW_PERCENT}% @@ -44,21 +51,39 @@ jobs: fi echo Coverage is good. - lint: - docker: - - image: cimg/python:3.8 - - steps: - - checkout - - - python/install-packages: - pkg-manager: pip - pip-dependency-file: requirements-test.txt - + # Sonar cloud setup and scanning - run: - name: Run lint - command: flake8 . + name: Create sonar-scanner cache directory if it doesn't exist + command: mkdir -p /tmp/cache/scanner + - restore_cache: + keys: + - v1-sonarcloud-scanner-4.6.2.2472 + - run: + name: SonarCloud + command: | + set -e + VERSION=4.6.2.2472 + if [ -z "$SONAR_TOKEN" ]; then + echo "You must set SONAR_TOKEN environemnt variable" + exit 1 + fi + SCANNER_DIRECTORY=/tmp/cache/scanner + export SONAR_USER_HOME=$SCANNER_DIRECTORY/.sonar + OS="linux" + echo $SONAR_USER_HOME + if [[ ! -x "$SCANNER_DIRECTORY/sonar-scanner-$VERSION-$OS/bin/sonar-scanner" ]]; then + curl -Ol https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$VERSION-$OS.zip + unzip -qq -o sonar-scanner-cli-$VERSION-$OS.zip -d $SCANNER_DIRECTORY + fi + chmod +x $SCANNER_DIRECTORY/sonar-scanner-$VERSION-$OS/bin/sonar-scanner + chmod +x $SCANNER_DIRECTORY/sonar-scanner-$VERSION-$OS/jre/bin/java + $SCANNER_DIRECTORY/sonar-scanner-$VERSION-$OS/bin/sonar-scanner + environment: + SONARQUBE_SCANNER_PARAMS: '{"sonar.host.url":"https://sonarcloud.io"}' + - save_cache: + key: v1-sonarcloud-scanner-4.6.2.2472 + paths: /tmp/cache/scanner dependency-check: docker: @@ -93,8 +118,7 @@ jobs: # See: https://circleci.com/docs/2.0/configuration-reference/#workflows workflows: - sample: + test: jobs: - - unit-test - - lint + - test - dependency-check \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index e670d060..00000000 --- a/Dockerfile +++ /dev/null @@ -1,10 +0,0 @@ -FROM python:3.6 -ENV PYTHONUNBUFFERED 1 - -RUN mkdir /opt/fecfile_validate -WORKDIR /opt/fecfile_validate -ADD . /opt/fecfile_validate -RUN pip3 install -r requirements.txt - -EXPOSE 8001 -ENTRYPOINT ["gunicorn", "-w", "4", "--bind", "0.0.0.0:8001", "run:app"] diff --git a/Dockerfile-run b/Dockerfile-run deleted file mode 100644 index 33f73723..00000000 --- a/Dockerfile-run +++ /dev/null @@ -1,10 +0,0 @@ -FROM python:3.6 -ENV PYTHONUNBUFFERED 1 - -RUN mkdir /opt/fecfile_validate -WORKDIR /opt/fecfile_validate -ADD . /opt/fecfile_validate -RUN pip3 install -r requirements.txt - -EXPOSE 8080 -ENTRYPOINT ["gunicorn", "-w", "4", "--bind", "0.0.0.0:8080", "run:app"] diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 193c12b4..00000000 --- a/Jenkinsfile +++ /dev/null @@ -1,72 +0,0 @@ -pipeline { - agent any - stages { - stage('Prepare Build') { - steps { - script { - hash = sh(returnStdout: true, script: 'git rev-parse HEAD').trim() - VERSION = hash.take(7) - currentBuild.displayName = "#${BUILD_ID}-${VERSION}" - - sh("eval \$(aws ecr --region us-east-1 get-login --no-include-email)") - } - } - } - - stage('Build DataReceiver') { - steps { - script { - def validateImage = docker.build("fecfile-validate:${VERSION}", '. -f Dockerfile-run') - - docker.withRegistry('https://813218302951.dkr.ecr.us-east-1.amazonaws.com/fecfile-validate') { - validateImage.push() - } - } - } - } - stage('Deploy to dev '){ - when { branch "develop"} - steps { - deployImage("${VERSION}", "dev") - code_quality("${BUILD_ID}", "${VERSION}") - } - } - stage('Deploy to QA '){ - when { branch "release"} - steps { - deployImage("${VERSION}", "qa") - } - } - stage('Deploy to UAT '){ - when { branch "master"} - steps { - deployImage("${VERSION}", "uat") - } - } - } - post{ - success { - slackSend color: 'good', message: env.BRANCH_NAME + ": Deployed ${VERSION} of fecfile-Validate to k8s" - } - failure { - slackSend color: 'danger', message: env.BRANCH_NAME + ": Deployment of ${VERSION} failed" - } - } -} - -def deployImage(String version, String toEnv) { - sh """ - kubectl \ - --context=arn:aws:eks:us-east-1:813218302951:cluster/fecfile4 \ - --namespace=${toEnv} \ - set image deployment/fecfile-validate \ - fecfile-validate=813218302951.dkr.ecr.us-east-1.amazonaws.com/fecfile-validate:${version} - """ -} - -def code_quality(String id, String hash) { - sh """ - sh successful_test.sh "${id}" ${hash} - """ - junit '**/reports/*.xml' -} diff --git a/Makefile b/Makefile deleted file mode 100644 index 9b087fda..00000000 --- a/Makefile +++ /dev/null @@ -1,8 +0,0 @@ -.PHONY: test-flask test-integration - -TAG="\n\n\033[0;32m\#\#\# " -END=" \#\#\# \033[0m\n" - -test: - @echo $(TAG)Running tests$(END) - PYTHONPATH=. py.test -s tests.py diff --git a/README.md b/README.md index 0cccb735..26e38549 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,112 @@ +## About this project +The Federal Election Commission (FEC) is the independent regulatory agency +charged with administering and enforcing the federal campaign finance law. +The FEC has jurisdiction over the financing of campaigns for the U.S. House, +Senate, Presidency and the Vice Presidency. +This project will provide a web application for filling out FEC campaign +finance information. The project code is distributed across these repositories: +- [fecfile-web-app](https://github.com/fecgov/fecfile-web-app): this is the browser-based front-end developed in Angular +- [fecfile-web-api](https://github.com/fecgov/fecfile-web-api): RESTful endpoint supporting the front-end +- [fecfile-validate](https://github.com/fecgov/fecfile-validate): data validation rules and engine +- [fecfile-image-generator](https://github.com/fecgov/fecfile-image-generator): provides competed FEC forms in PDF format -##### Install dependencies -```bash -$ pip install -r requirements.txt -``` +The FEC validator is designed around the disemination of FEC defined data +specifications using the [JSON Schema Specification](http://json-schema.org/). -##### Run the app -```bash -$ python run.py -``` +The initial baseline spec for the definition of each form item is found in +the FEC Format MS Excel spreadsheet found in the FEC Vendor Pack. +(https://www.fec.gov/help-candidates-and-committees/filing-reports/fecfile-software/) +See bin/generate-starter-schema.py for the script that created the initial +schema definition files that were then manually curated and updated. -## Test +The data dictionary can be found in a human-freindly HTML format at: +https://fecgov.github.io/fecfile-validate/ -```bash -$ make test -``` +### Custom Validation Algorithms +JSON schema properties with a "fec_" prefix are not part of the JSON Schema Standard +but are custom validation enhancements performed by the FEC validation engine in +addition to the validation performed by the JSON Schema Standard validation tools. + +- fec_recommended: Array of properties that if the property listed in the array +is missing a value, the validation passes but with a warning issued about the missing value + +--- + +# Deployment (FEC team only) + +### Create a feature branch +* Developer creates a feature branch and pushes to `origin`: + + ``` + git checkout develop + git pull + git checkout -b feature/my-feature develop + # Work happens here + git push --set-upstream origin feature/my-feature + ``` + +* Developer creates a GitHub PR when ready to merge to `develop` branch +* Reviewer reviews and merges feature branch into `develop` via GitHub +* [auto] `develop` is deployed to `dev` + +### Create a release branch +* Developer creates a release branch and pushes to `origin`: + + ``` + git checkout develop + git pull + git checkout -b release/sprint-# develop + git push --set-upstream origin release/sprint-# + ``` + +### Create and deploy a hotfix +* Developer makes sure their local main and develop branches are up to date: + + ``` + git checkout develop + git pull + git checkout main + git pull + ``` + +* Developer creates a hotfix branch, commits changes, and **makes a PR to the `main` and `develop` branches**: + + ``` + git checkout -b hotfix/my-fix main + # Work happens here + git push --set-upstream origin hotfix/my-fix + ``` + +* Reviewer merges hotfix/my-fix branch into `develop` and `main` +* [auto] `develop` is deployed to `dev`. Make sure the build passes before deploying to `main`. +* Developer deploys hotfix/my-fix branch to main using **Deploying a release to production** instructions below + +### Deploying a release to production +* Developer creates a PR in GitHub to merge release/sprint-# branch into the `main` branch +* Reviewer approves PR and merges into `main` +* Check CircleCI for passing pipeline tests +* If tests pass, continue +* Delete release/sprint-# branch +* In GitHub, go to `Code -> tags -> releases -> Draft a new release` +* Publish a new release using tag sprint-#, be sure to Auto-generate release notes +* Deploy `sprint-#` tag to production + + +## Additional developer notes +This section covers a few topics we think might help developers after setup. + +### Git Secrets +Set up git secrets to protect oneself from committing sensitive information such as passwords to the repository. +- First install AWS git-secret utility in your PATH so it can be run at the command line: https://github.com/awslabs/git-secrets#installing-git-secrets +- Pull the script to install git-secrets globally on your local machine. This only has to be done one time as you clone the different fecfile github repositories: https://github.com/fecgov/fecfile-web-api/blob/main/install-git-secrets-hook.sh +- Once you have git-secrets installed, run the fecfile-online/install-git-secrets-hook.sh shell script in the root directory of your cloned fecfile-online repo to install the pre-commit hooks. +NOTE: The pre-commit hook is installed GLOBALLY by default so commits to all cloned repositories on your computer will be scanned for sensitive data. See the comments at the top of the script for local install options. +- See git-secrets README for more features: https://github.com/awslabs/git-secrets#readme + +### Commit local code changes to origin daily +As a best practice policy, please commit any feature code changes made during the day to origin each evening before signing off for the day. + +### Google-style inline documentation +The project is using the Google Python Style Guide as the baseline to keep code style consistent across project repositories. +See here for comment style rules: https://google.github.io/styleguide/pyguide.html#38-comments-and-docstrings diff --git a/api/rules/F99.csv b/api/rules/F99.csv deleted file mode 100644 index cd179419..00000000 --- a/api/rules/F99.csv +++ /dev/null @@ -1,16 +0,0 @@ -formType,A/N,3,error -committeeId,A/N,9,error -committeeName,A/N,200,warning -street1,A/N,34,warning -street2,A/N,34,none -city,A/N,30,warning -state,A,2,warning -zipCode,A/N,9,warning -treasurerLastName,A/N,30,error -treasurerFirstName,A/N,20,error -treasurerMiddleName,A/N,20,none -treasurerPrefix,A/N,10,none -treasurerSuffix,A/N,10,none -dateSigned,N,8,none -f99ReasonType,A/N,3,none -Text,A/N,20000,none diff --git a/api/rules/SA_COND_EARM_PAC.json b/api/rules/SA_COND_EARM_PAC.json deleted file mode 100644 index 4a65d814..00000000 --- a/api/rules/SA_COND_EARM_PAC.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAggregate": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionPurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"donorCommitteeId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"donorCommitteeName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SA_INDV_REC.json b/api/rules/SA_INDV_REC.json deleted file mode 100644 index c5c4e0ce..00000000 --- a/api/rules/SA_INDV_REC.json +++ /dev/null @@ -1,186 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorPrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAggregate": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionPurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorEmployer": {"field_type": "A/N", - "field_size": "38", - "message_type": "error", - "value_check": [], - "additional_validation_key": "contributionAggregate", - "additional_validation_value": "200", - "additional_validation_operator": ">" - }}, - {"contributorOccupation": {"field_type": "A/N", - "field_size": "38", - "message_type": "error", - "value_check": [], - "additional_validation_key": "contributionAggregate", - "additional_validation_value": "200", - "additional_validation_operator": ">" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SA_OFFSET.json b/api/rules/SA_OFFSET.json deleted file mode 100644 index 86e17262..00000000 --- a/api/rules/SA_OFFSET.json +++ /dev/null @@ -1,178 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "not in" - }}, - {"contributorLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"contributorFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"contributorMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"contributorPrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"contributorSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"contributorStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAggregate": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionPurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SA_OTH_REC.json b/api/rules/SA_OTH_REC.json deleted file mode 100644 index dfd21a17..00000000 --- a/api/rules/SA_OTH_REC.json +++ /dev/null @@ -1,194 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "not in" - }}, - {"contributorLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"contributorFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"contributorMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"contributorPrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"contributorSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"contributorStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAggregate": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionPurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorEmployer": {"field_type": "A/N", - "field_size": "38", - "message_type": "error", - "value_check": [], - "additional_validation_key": "contributionAggregate", - "additional_validation_value": "200", - "additional_validation_operator": "IND >" - }}, - {"contributorOccupation": {"field_type": "A/N", - "field_size": "38", - "message_type": "error", - "value_check": [], - "additional_validation_key": "contributionAggregate", - "additional_validation_value": "200", - "additional_validation_operator": "IND >" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SA_PAR_CON.json b/api/rules/SA_PAR_CON.json deleted file mode 100644 index 1026dc25..00000000 --- a/api/rules/SA_PAR_CON.json +++ /dev/null @@ -1,138 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAggregate": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionPurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SA_REF_FED_CAN.json b/api/rules/SA_REF_FED_CAN.json deleted file mode 100644 index a157827d..00000000 --- a/api/rules/SA_REF_FED_CAN.json +++ /dev/null @@ -1,170 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionCode": {"field_type": "A/N", - "field_size": "5", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionOtherDescription": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAggregate": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionPurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"donorCommitteeId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"donorCommitteeName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SA_REF_NFED_CAN.json b/api/rules/SA_REF_NFED_CAN.json deleted file mode 100644 index 846b8a6b..00000000 --- a/api/rules/SA_REF_NFED_CAN.json +++ /dev/null @@ -1,154 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributorZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionCode": {"field_type": "A/N", - "field_size": "5", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionOtherDescription": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAggregate": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionPurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_CONTR_CAND.json b/api/rules/SB_CONTR_CAND.json deleted file mode 100644 index 718d92fd..00000000 --- a/api/rules/SB_CONTR_CAND.json +++ /dev/null @@ -1,235 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "not in" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionCode": {"field_type": "A/N", - "field_size": "5", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionOtherDescription": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCommitteeId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCommitteeName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidatePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - - {"beneficiaryCandidateOffice": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateState": {"field_type": "A/N", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateDistrict": {"field_type": "NUM", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_EARM_OUT.json b/api/rules/SB_EARM_OUT.json deleted file mode 100644 index 69687279..00000000 --- a/api/rules/SB_EARM_OUT.json +++ /dev/null @@ -1,242 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionCode": {"field_type": "A/N", - "field_size": "5", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionOtherDescription": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "warning", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "warning", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"categoryCode": {"field_type": "A/N", - "field_size": "3", - "message_type": "none", - "value_check": ["001", "002", "003", "004", "005", "006", "007", "008", "009", "010", "011", "012", "101", "102", "103", "104", "105", "106", "107"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCommitteeId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCommitteeName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidatePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateOffice": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateState": {"field_type": "A/N", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateDistrict": {"field_type": "NUM", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_FEA_CC.json b/api/rules/SB_FEA_CC.json deleted file mode 100644 index 2db04a33..00000000 --- a/api/rules/SB_FEA_CC.json +++ /dev/null @@ -1,226 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "not in" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionCode": {"field_type": "A/N", - "field_size": "5", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionOtherDescription": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"categoryCode": {"field_type": "A/N", - "field_size": "3", - "message_type": "none", - "value_check": ["001", "002", "003", "004", "005", "006", "007", "008", "009", "010", "011", "012", "101", "102", "103", "104", "105", "106", "107"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidatePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateOffice": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateState": {"field_type": "A/N", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateDistrict": {"field_type": "NUM", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_FEA_CC_MEMO.json b/api/rules/SB_FEA_CC_MEMO.json deleted file mode 100644 index b5dc0dce..00000000 --- a/api/rules/SB_FEA_CC_MEMO.json +++ /dev/null @@ -1,266 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "not in" - }}, - {"payeeLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionCode": {"field_type": "A/N", - "field_size": "5", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionOtherDescription": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"categoryCode": {"field_type": "A/N", - "field_size": "3", - "message_type": "none", - "value_check": ["001", "002", "003", "004", "005", "006", "007", "008", "009", "010", "011", "012", "101", "102", "103", "104", "105", "106", "107"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidatePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateOffice": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateState": {"field_type": "A/N", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateDistrict": {"field_type": "NUM", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_FEA_PAY_MEMO.json b/api/rules/SB_FEA_PAY_MEMO.json deleted file mode 100644 index 7ffa1b7a..00000000 --- a/api/rules/SB_FEA_PAY_MEMO.json +++ /dev/null @@ -1,258 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionCode": {"field_type": "A/N", - "field_size": "5", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"electionOtherDescription": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"categoryCode": {"field_type": "A/N", - "field_size": "3", - "message_type": "none", - "value_check": ["001", "002", "003", "004", "005", "006", "007", "008", "009", "010", "011", "012", "101", "102", "103", "104", "105", "106", "107"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidatePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateOffice": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateState": {"field_type": "A/N", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateDistrict": {"field_type": "NUM", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_IK_OUT.json b/api/rules/SB_IK_OUT.json deleted file mode 100644 index d5458eb8..00000000 --- a/api/rules/SB_IK_OUT.json +++ /dev/null @@ -1,170 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"categoryCode": {"field_type": "A/N", - "field_size": "3", - "message_type": "none", - "value_check": ["001", "002", "003", "004", "005", "006", "007", "008", "009", "010", "011", "012", "101", "102", "103", "104", "105", "106", "107"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_IK_OUT_PTY.json b/api/rules/SB_IK_OUT_PTY.json deleted file mode 100644 index bf197b53..00000000 --- a/api/rules/SB_IK_OUT_PTY.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": [], - "additional_validation_operator": "" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"contributionAggregate": {"field_type": "AMT", - "field_size": "12", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"categoryCode": {"field_type": "A/N", - "field_size": "3", - "message_type": "none", - "value_check": ["001", "002", "003", "004", "005", "006", "007", "008", "009", "010", "011", "012", "101", "102", "103", "104", "105", "106", "107"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCommitteeId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCommitteeName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_IK_TF_OUT.json b/api/rules/SB_IK_TF_OUT.json deleted file mode 100644 index 7f62a814..00000000 --- a/api/rules/SB_IK_TF_OUT.json +++ /dev/null @@ -1,138 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": [], - "additional_validation_operator": "" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"categoryCode": {"field_type": "A/N", - "field_size": "3", - "message_type": "none", - "value_check": ["001", "002", "003", "004", "005", "006", "007", "008", "009", "010", "011", "012", "101", "102", "103", "104", "105", "106", "107"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_NONFED_PAC_RFD.json b/api/rules/SB_NONFED_PAC_RFD.json deleted file mode 100644 index 9d076d25..00000000 --- a/api/rules/SB_NONFED_PAC_RFD.json +++ /dev/null @@ -1,218 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "not in" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCommitteeId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCommitteeName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidatePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateOffice": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateState": {"field_type": "A/N", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateDistrict": {"field_type": "NUM", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_OPEX_CC.json b/api/rules/SB_OPEX_CC.json deleted file mode 100644 index 77bc7c90..00000000 --- a/api/rules/SB_OPEX_CC.json +++ /dev/null @@ -1,130 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_OPEX_TRAN.json b/api/rules/SB_OPEX_TRAN.json deleted file mode 100644 index 75ea1375..00000000 --- a/api/rules/SB_OPEX_TRAN.json +++ /dev/null @@ -1,146 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCommitteeId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCommitteeName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_OP_EXP.json b/api/rules/SB_OP_EXP.json deleted file mode 100644 index 23010934..00000000 --- a/api/rules/SB_OP_EXP.json +++ /dev/null @@ -1,170 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "not in" - }}, - {"payeeLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "in" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_PAY_MEMO.json b/api/rules/SB_PAY_MEMO.json deleted file mode 100644 index 1b9e6767..00000000 --- a/api/rules/SB_PAY_MEMO.json +++ /dev/null @@ -1,162 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/rules/SB_VOID_RFND_PAC.json b/api/rules/SB_VOID_RFND_PAC.json deleted file mode 100644 index bf44adef..00000000 --- a/api/rules/SB_VOID_RFND_PAC.json +++ /dev/null @@ -1,226 +0,0 @@ -[ - {"transactionTypeCode": {"field_type": "A/N", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"transactionId": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceTransactionIdNumber": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"backReferenceScheduleName": {"field_type": "A/N", - "field_size": "8", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"entityType": {"field_type": "A/N", - "field_size": "3", - "message_type": "error", - "value_check": ["CAN", "CCM", "COM", "IND", "ORG", "PAC", "PTY"], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeOrgName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["IND", "CAN"], - "additional_validation_operator": "not in" - }}, - {"payeeStreet1": {"field_type": "A/N", - "field_size": "34", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeStreet2": {"field_type": "A/N", - "field_size": "34", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeCity": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeState": {"field_type": "A/N", - "field_size": "2", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"payeeZipCode": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureDate": {"field_type": "DATE", - "field_size": "10", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"expenditureAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"semiAnnualRefundedBundledAmount": {"field_type": "AMT", - "field_size": "12", - "message_type": "error", - "value_check": [], - "additional_validation_key": "form_type", - "additional_validation_value": "F3L", - "additional_validation_operator": "form" - }}, - {"expenditurePurposeDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "error", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCommitteeId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCommitteeName": {"field_type": "A/N", - "field_size": "200", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "PAC", "PTY"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateId": {"field_type": "A/N", - "field_size": "9", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateLastName": {"field_type": "A/N", - "field_size": "30", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateFirstName": {"field_type": "A/N", - "field_size": "20", - "message_type": "error", - "value_check": [], - "additional_validation_key": "entityType", - "additional_validation_value": ["CCM", "CAN"], - "additional_validation_operator": "in" - }}, - {"beneficiaryCandidateMiddleName": {"field_type": "A/N", - "field_size": "20", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidatePrefix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateSuffix": {"field_type": "A/N", - "field_size": "10", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateOffice": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateState": {"field_type": "A/N", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"beneficiaryCandidateDistrict": {"field_type": "NUM", - "field_size": "2", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoCode": {"field_type": "A/N", - "field_size": "1", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }}, - {"memoDescription": {"field_type": "A/N", - "field_size": "100", - "message_type": "none", - "value_check": [], - "additional_validation_key": "", - "additional_validation_value": "", - "additional_validation_operator": "" - }} -] \ No newline at end of file diff --git a/api/tests.py b/api/tests.py deleted file mode 100644 index 238e01b2..00000000 --- a/api/tests.py +++ /dev/null @@ -1,94 +0,0 @@ -import json -import unittest - -from validate import app - - -class BaseDatabaseTestCase(unittest.TestCase): - @classmethod - def setUpClass(cls): - # app_step_3.config.update({ - # 'DATABASE_NAME': TESTING_DATABASE_NAME - # }) - # cls.db = sqlite3.connect(TESTING_DATABASE_NAME) - # cls.db.execute(CREATE_BOOK_TABLE_QUERY) - # cls.db.commit() - pass - - @classmethod - def tearDownClass(cls): - # os.remove(TESTING_DATABASE_NAME) - pass - - def setUp(self): - # self.app = self.APP.test_client() - # self.db.execute("DELETE FROM book;") - # self.db.commit() - pass - - -class Step3TestCase(BaseDatabaseTestCase): - APP = app - - # noinspection SpellCheckingInspection - def test_validate_parameters(self): - # Preconditions - resp = self.app.get('/book') - self.assertEqual(resp.status_code, 200) - self.assertEqual(resp.content_type, 'application/json') - # Precondition: no books in the DB - content = json.loads(resp.get_data(as_text=True)) - self.assertEqual(len(content), 0) - - # Test - post_data = { - 'title': 'Ulysses', - 'author_id': 2 - } - resp = self.app.post('/book', - data=json.dumps(post_data), - content_type='application/json') - - self.assertEqual(resp.status_code, 201) - self.assertEqual(resp.content_type, 'application/json') - - # Postconditions - resp = self.app.get('/book') - self.assertEqual(resp.status_code, 200) - self.assertEqual(resp.content_type, 'application/json') - # Postcondtion: 2 books - content = json.loads(resp.get_data(as_text=True)) - self.assertEqual(len(content), 1) - - # Postcondtion: Books correct ID incremented - ulysses = content[0] - - self.assertEqual(ulysses, { - 'id': 1, - 'title': 'Ulysses', - 'author_id': 2 - }) - - def test_book_creation_incorrect_parameters(self): - # Forget the title argument - post_data = { - 'author_id': 2 - } - resp = self.app.post('/book', - data=json.dumps(post_data), - content_type='application/json') - - self.assertEqual(resp.status_code, 400) - self.assertTrue('title' in resp.get_data(as_text=True)) - - def test_book_creation_incorrect_content_type(self): - # Forget the title argument - post_data = { - 'author_id': 2, - 'title': 'Ulysses' - } - resp = self.app.post('/book', - data=json.dumps(post_data)) - - self.assertEqual(resp.status_code, 400) - self.assertTrue('Content Type' in resp.get_data(as_text=True)) diff --git a/api/utils.py b/api/utils.py deleted file mode 100644 index d7da4cd9..00000000 --- a/api/utils.py +++ /dev/null @@ -1,11 +0,0 @@ -from flask import make_response - -JSON_MIME_TYPE = 'application/json' - - -def json_response(data='', status=200, headers=None): - headers = headers or {} - if 'Content-Type' not in headers: - headers['Content-Type'] = JSON_MIME_TYPE - - return make_response(data, status, headers) diff --git a/api/validate.py b/api/validate.py deleted file mode 100644 index aa303b94..00000000 --- a/api/validate.py +++ /dev/null @@ -1,621 +0,0 @@ -import copy -import csv -import json -import re -from decimal import Decimal - -from flask import Flask, request - -from .utils import json_response - -app = Flask(__name__) - -""" -************************************ GLOBAL LISTS used *********************************************************** -""" -EXCLUDED_FROM_FIELD_CHECK = ['lineNumber', 'transactionTypeIdentifier', 'child'] - -list_sa_similar_indv_rec = ["INDV_REC", "PARTN_MEMO", "IK_REC", "REATT_FROM", "REATT_MEMO", "RET_REC", "EAR_REC", - "CON_EAR_UNDEP", "CON_EAR_DEP", "IND_RECNT_REC", "IND_NP_RECNT_ACC", "IND_NP_HQ_ACC", - "IND_NP_CONVEN_ACC", - "IND_REC_NON_CONT_ACC", "JF_TRAN_IND_MEMO", "JF_TRAN_NP_RECNT_IND_MEMO", - "JF_TRAN_NP_CONVEN_IND_MEMO", - "JF_TRAN_NP_HQ_IND_MEMO", "EAR_REC_RECNT_ACC", "EAR_REC_CONVEN_ACC", "EAR_REC_HQ_ACC"] -list_sa_similar_par_con = ["PARTN_REC", "TRIB_REC", "TRIB_NP_RECNT_ACC", "TRIB_NP_HQ_ACC", "TRIB_NP_CONVEN_ACC", - "BUS_LAB_NON_CONT_ACC", "JF_TRAN_TRIB_MEMO", "JF_TRAN_NP_RECNT_TRIB_MEMO", - "JF_TRAN_NP_CONVEN_TRIB_MEMO", - "JF_TRAN_NP_HQ_TRIB_MEMO"] -list_sa_similar_cond_earm_pac = ["EAR_MEMO", "PAC_CON_EAR_UNDEP", "PAC_CON_EAR_DEP", "PAC_EAR_REC", "PAC_EAR_MEMO", - "PARTY_IK_REC", "PAC_IK_REC", "PARTY_REC", - "PAC_REC", "PAC_NON_FED_REC", "PAC_NON_FED_RET", "PAC_RET", "PARTY_RET", "TRAN", - "PARTY_RECNT_REC", "PAC_RECNT_REC", - "TRIB_RECNT_REC", "PARTY_NP_RECNT_ACC", "PAC_NP_RECNT_ACC", - "PARTY_NP_HQ_ACC", "PAC_NP_HQ_ACC", "PARTY_NP_CONVEN_ACC", "PAC_NP_CONVEN_ACC", - "OTH_CMTE_NON_CONT_ACC", "IK_TRAN", "IK_TRAN_FEA", - "JF_TRAN", "JF_TRAN_PARTY_MEMO", "JF_TRAN_PAC_MEMO", - "JF_TRAN_NP_RECNT_ACC", "JF_TRAN_NP_RECNT_PAC_MEMO", "JF_TRAN_NP_CONVEN_ACC", - "JF_TRAN_NP_CONVEN_PAC_MEMO", "JF_TRAN_NP_HQ_ACC", - "JF_TRAN_NP_HQ_PAC_MEMO", "EAR_REC_RECNT_ACC_MEMO", "EAR_REC_CONVEN_ACC_MEMO", - "EAR_REC_HQ_ACC_MEMO"] -list_sa_similar_offset = ["OFFSET_TO_OPEX"] -list_sa_similar_oth_rec = ["OTH_REC"] -list_sa_similar_ref_nfed_can = ["REF_TO_OTH_CMTE"] -list_sa_similar_ref_fed_can = ["REF_TO_FED_CAN"] - -list_sb_similar_ik_out = ["IK_OUT"] -list_sb_similar_ik_tf_out = ["IK_TRAN_OUT", "IK_TRAN_FEA_OUT"] -list_sb_similar_ear_out = ["CON_EAR_UNDEP_MEMO", "CON_EAR_DEP_MEMO", "PAC_CON_EAR_UNDEP_MEMO", "PAC_CON_EAR_DEP_OUT"] -list_sb_similar_ik_out_pty = ["PARTY_IK_OUT", "PAC_IK_OUT"] - -list_sb_similar_opex_rec = ['OPEXP', 'OPEXP_CC_PAY_MEMO', 'OPEXP_STAF_REIM', 'OPEXP_STAF_REIM_MEMO', - 'OPEXP_PMT_TO_PROL_VOID', 'OTH_DISB', - 'OTH_DISB_CC_PAY_MEMO', 'OTH_DISB_STAF_REIM', 'OTH_DISB_STAF_REIM_MEMO', - 'OPEXP_HQ_ACC_OP_EXP_NP', - 'OPEXP_CONV_ACC_OP_EXP_NP', 'OTH_DISB_NC_ACC', 'OTH_DISB_NC_ACC_CC_PAY_MEMO', - 'OTH_DISB_NC_ACC_STAF_REIM', - 'OTH_DISB_NC_ACC_STAF_REIM_MEMO', 'OTH_DISB_NC_ACC_PMT_TO_PROL_VOID'] -list_sb_similar_opex_cc = ['OPEXP_CC_PAY', 'OPEXP_PMT_TO_PROL', 'OTH_DISB_CC_PAY', 'OTH_DISB_PMT_TO_PROL', - 'OTH_DISB_RECNT', - 'OTH_DISB_NP_RECNT_ACC', 'OTH_DISB_NC_ACC_CC_PAY', 'OTH_DISB_NC_ACC_PMT_TO_PROL', - 'OPEXP_HQ_ACC_TRIB_REF', - 'OPEXP_CONV_ACC_TRIB_REF', 'OTH_DISB_NP_RECNT_TRIB_REF'] -list_sb_similar_pay_memo = ['OPEXP_PMT_TO_PROL_MEMO', 'REF_CONT_IND', 'REF_CONT_IND_VOID', 'OTH_DISB_PMT_TO_PROL_MEMO', - 'OTH_DISB_NC_ACC_PMT_TO_PROL_MEMO', 'OPEXP_HQ_ACC_IND_REF', 'OPEXP_CONV_ACC_IND_REF', - 'OTH_DISB_NP_RECNT_IND_REF'] -list_sb_similar_opex_tran = ['TRAN_TO_AFFI', 'CONT_TO_OTH_CMTE', 'REF_CONT_PARTY', 'REF_CONT_PARTY_VOID', - 'OPEXP_HQ_ACC_REG_REF', - 'OPEXP_CONV_ACC_REG_REF', 'OTH_DISB_NP_RECNT_REG_REF'] -list_sb_similar_nonfed_pac_rfd = ['REF_CONT_PAC', 'REF_CONT_NON_FED'] -list_sb_similar_contr_cand = ['CONT_TO_CAN', 'CONT_TO_OTH_CMTE_VOID'] -list_sb_similar_void_rfnd_pac = ['REF_CONT_PAC_VOID', 'REF_CONT_NON_FED_VOID'] -list_sb_similar_fea_cc = ['FEA_CC_PAY', 'FEA_PAY_TO_PROL'] -list_sb_similar_fea_cc_memo = ['FEA_CC_PAY_MEMO', 'FEA_STAF_REIM', 'FEA_STAF_REIM_MEMO', 'FEA_PAY_TO_PROL_VOID'] -list_sb_similar_fea_pay_memo = ['FEA_PAY_TO_PROL_MEMO'] - -list_f3x_total = (list_sa_similar_indv_rec + list_sa_similar_par_con + list_sb_similar_opex_rec + - list_sb_similar_ik_out + list_sb_similar_ik_tf_out) -list_f3x_total += (list_sb_similar_ear_out + list_sa_similar_cond_earm_pac + list_sb_similar_ik_out_pty + - list_sa_similar_offset + list_sa_similar_oth_rec) -list_f3x_total += (list_sa_similar_ref_nfed_can + list_sa_similar_ref_fed_can + list_sb_similar_opex_cc + - list_sb_similar_pay_memo + list_sb_similar_opex_tran) -list_f3x_total += (list_sb_similar_nonfed_pac_rfd + list_sb_similar_contr_cand + list_sb_similar_void_rfnd_pac + - list_sb_similar_fea_cc) -list_f3x_total += (list_sb_similar_fea_cc_memo + list_sb_similar_fea_pay_memo) - -list_f3x_schedules = ['SA', 'SB'] -dict_parent_child_association = { - "PARTN_REC": ["PARTN_MEMO"], "IK_REC": ["IK_OUT"], "REATT_FROM": ["REATT_MEMO"], "EAR_REC": ["EAR_MEMO"], - "CON_EAR_DEP": ["CON_EAR_DEP_MEMO"], - "CON_EAR_UNDEP": ["CON_EAR_UNDEP_MEMO"], "PARTY_IK_REC": ["PARTY_IK_OUT"], - "PAC_IK_REC": ["PAC_IK_OUT"], "PAC_CON_EAR_DEP": ["PAC_CON_EAR_DEP_OUT"], - "PAC_CON_EAR_UNDEP": ["PAC_CON_EAR_UNDEP_MEMO"], - "PAC_EAR_REC": ["PAC_EAR_MEMO"], - "JF_TRAN": ["JF_TRAN_PAC_MEMO", "JF_TRAN_IND_MEMO", "JF_TRAN_PARTY_MEMO", "JF_TRAN_TRIB_MEMO"], - "IK_TRAN": ["IK_TRAN_OUT"], "IK_TRAN_FEA": ["IK_TRAN_FEA_OUT"], - "JF_TRAN_NP_RECNT_ACC": ["JF_TRAN_NP_RECNT_TRIB_MEMO", "JF_TRAN_NP_RECNT_IND_MEMO", "JF_TRAN_NP_RECNT_PAC_MEMO"], - "JF_TRAN_NP_CONVEN_ACC": ["JF_TRAN_NP_CONVEN_TRIB_MEMO", "JF_TRAN_NP_CONVEN_PAC_MEMO", - "JF_TRAN_NP_CONVEN_IND_MEMO"], - "JF_TRAN_NP_HQ_ACC": ["JF_TRAN_NP_HQ_IND_MEMO", "JF_TRAN_NP_HQ_TRIB_MEMO", "JF_TRAN_NP_HQ_PAC_MEMO"], - "EAR_REC_RECNT_ACC": ["EAR_REC_RECNT_ACC_MEMO"], "EAR_REC_CONVEN_ACC": ["EAR_REC_CONVEN_ACC_MEMO"], - "EAR_REC_HQ_ACC": ["EAR_REC_HQ_ACC_MEMO"], "OPEXP_CC_PAY": ["OPEXP_CC_PAY_MEMO"], - "OPEXP_STAF_REIM": ["OPEXP_STAF_REIM_MEMO"], - "OPEXP_PMT_TO_PROL": ["OPEXP_PMT_TO_PROL_MEMO"], "OTH_DISB_CC_PAY": ["OTH_DISB_CC_PAY_MEMO"], - "OTH_DISB_STAF_REIM": ["OTH_DISB_STAF_REIM_MEMO"], "OTH_DISB_PMT_TO_PROL": ["OTH_DISB_PMT_TO_PROL_MEMO"], - "OTH_DISB_NC_ACC_CC_PAY": ["OTH_DISB_NC_ACC_CC_PAY_MEMO"], - "OTH_DISB_NC_ACC_STAF_REIM": ["OTH_DISB_NC_ACC_STAF_REIM_MEMO"], - "FEA_CC_PAY": ["FEA_CC_PAY_MEMO"], "FEA_STAF_REIM": ["FEA_STAF_REIM_MEMO"], - "FEA_PAY_TO_PROL": ["FEA_PAY_TO_PROL_MEMO"], -} - -""" -*************************** Functions to check if fields exist in JSON ******************************************** -""" - - -def check_null_value(check_value): - try: - if check_value in ["none", "null", " ", ""]: - return None - else: - return check_value - except Exception as e: - raise Exception('check_null_value function is throwing an error: ' + str(e)) - - -def length(value): - try: - if value in None: - return 0 - else: - return len(value) - except Exception as e: - raise Exception('length function is throwing an error: ' + str(e)) - - -""" -********************************* Functions to check the type of the field ***************************************** -""" - - -def capital_alpha_numeric(value): - try: - return not bool(re.match('^[\x20-\x60\x7B-\x7D]+$', value)) - except Exception as e: - raise Exception('capital_alpha_numeric function is throwing an error: ' + str(e)) - - -def alpha_numeric(value): - try: - return not bool(re.match('^[\x20-\x7E]+$', value)) - # if len(value) > 1: - # return not bool(re.match('^[a-zA-Z0-9]([ ]*[a-zA-Z0-9])+$', value)) - # else: - # return not bool(re.match('^[a-zA-Z0-9]+$', value)) - except Exception as e: - raise Exception('alpha_numeric function is throwing an error: ' + str(e)) - - -def alpha(value): - try: - return not bool(re.match('^[a-zA-Z]+$', value)) - except Exception as e: - raise Exception('alpha function is throwing an error: ' + str(e)) - - -def numeric(value): - try: - return not bool(re.match('^[0-9]+$', value)) - except Exception as e: - raise Exception('numeric function is throwing an error: ' + str(e)) - - -def amount(value): - try: - return not bool(re.match('^-?[0-9.]+$', str(value))) - except Exception as e: - raise Exception('amount function is throwing an error: ' + str(e)) - - -def date_check(value): - try: - return not bool(re.match('^-?[0-9/]+$', str(value))) - except Exception as e: - raise Exception('amount function is throwing an error: ' + str(e)) - - -""" -********************* Function used to find the file based on the transactionTypeIdentifier *************************** -""" - - -# TODO: This function is too complex. Requires refactoring. -# flake8 C901 (complexity limit) is disabled until this is resolved. -def json_file_name(transaction_type_identifier): # noqa: C901 - try: - error_flag = False - file_name = 'api/rules/' - if transaction_type_identifier in list_sa_similar_indv_rec: - file_name += 'SA_INDV_REC.json' - elif transaction_type_identifier in list_sa_similar_par_con: - file_name += 'SA_PAR_CON.json' - elif transaction_type_identifier in list_sa_similar_cond_earm_pac: - file_name += 'SA_COND_EARM_PAC.json' - elif transaction_type_identifier in list_sa_similar_offset: - file_name += 'SA_OFFSET.json' - elif transaction_type_identifier in list_sa_similar_oth_rec: - file_name += 'SA_OTH_REC.json' - elif transaction_type_identifier in list_sa_similar_ref_nfed_can: - file_name += 'SA_REF_NFED_CAN.json' - elif transaction_type_identifier in list_sa_similar_ref_fed_can: - file_name += 'SA_REF_FED_CAN.json' - elif transaction_type_identifier in list_sb_similar_ik_out: - file_name += 'SB_IK_OUT.json' - elif transaction_type_identifier in list_sb_similar_ik_tf_out: - file_name += 'SB_IK_TF_OUT.json' - elif transaction_type_identifier in list_sb_similar_ear_out: - file_name += 'SB_EARM_OUT.json' - elif transaction_type_identifier in list_sb_similar_ik_out_pty: - file_name += 'SB_IK_OUT_PTY.json' - elif transaction_type_identifier in list_sb_similar_opex_rec: - file_name += 'SB_OP_EXP.json' - elif transaction_type_identifier in list_sb_similar_opex_cc: - file_name += 'SB_OPEX_CC.json' - elif transaction_type_identifier in list_sb_similar_pay_memo: - file_name += 'SB_PAY_MEMO.json' - elif transaction_type_identifier in list_sb_similar_opex_tran: - file_name += 'SB_OPEX_TRAN.json' - elif transaction_type_identifier in list_sb_similar_nonfed_pac_rfd: - file_name += 'SB_NONFED_PAC_RFD.json' - elif transaction_type_identifier in list_sb_similar_contr_cand: - file_name += 'SB_CONTR_CAND.json' - elif transaction_type_identifier in list_sb_similar_void_rfnd_pac: - file_name += 'SB_VOID_RFND_PAC.json' - elif transaction_type_identifier in list_sb_similar_fea_cc: - file_name += 'SB_FEA_CC.json' - elif transaction_type_identifier in list_sb_similar_fea_cc_memo: - file_name += 'SB_FEA_CC_MEMO.json' - elif transaction_type_identifier in list_sb_similar_fea_pay_memo: - file_name += 'SB_FEA_PAY_MEMO.json' - else: - error_flag = True - error_string = ', '.join(list_f3x_total) - file_name = ('transactionTypeIdentifier should be limited to these values: [' + error_string + - ']. Input Received: ' + transaction_type_identifier) - return error_flag, file_name - except Exception as e: - raise Exception('json_file_name function is throwing an error: ' + str(e)) - - -""" -********* Function used to define the json format of the individual error/warning message ************************* -""" - - -def error_json_template(message_type, message, field_name, field_value, transaction_id): - try: - errormessage = message_type + "Message" - errornumber = message_type + "Number" - output_dict = {errormessage: message, - errornumber: "not yet implemented", - "tranId": transaction_id, - "fieldName": field_name, - "fieldValue": field_value} - return output_dict - except Exception as e: - raise Exception('error_json_template function is throwing an error: ' + str(e)) - - -""" -************** Function which validates all the rules for form F99 using csv file *********************************** -""" - - -# TODO: This function is too complex. Requires refactoring. -# flake8 C901 (complexity limit) is disabled until this is resolved. -def func_validate(field_lists, data): # noqa: C901 - try: - errors_list = [] - warnings_list = [] - str_field_not_in_json = " field is not provided" - str_field_not_in_format = " field is not in the format of " - str_field_not_length = " field should not be greater than " - - for field_list in field_lists: - temp_list = [] - if field_list[0] in data and check_null_value(data.get(field_list[0])): - if field_list[1] == 'A/N': - if alpha_numeric(data.get(field_list[0])): - str_output = field_list[0] + str_field_not_in_format + field_list[1] - temp_list.append(str_output) - if field_list[1] == 'A': - if alpha(data.get(field_list[0])): - str_output = field_list[0] + str_field_not_in_format + field_list[1] - temp_list.append(str_output) - if field_list[1] == 'NUM': - if numeric(data.get(field_list[0])): - str_output = field_list[0] + str_field_not_in_format + field_list[1] - temp_list.append(str_output) - if field_list[1] == 'AMT': - if amount(data.get(field_list[0])): - str_output = field_list[0] + str_field_not_in_format + field_list[1] - temp_list.append(str_output) - if len(data.get(field_list[0])) > int(field_list[2]): - str_output = field_list[0] + str_field_not_length + field_list[2] - temp_list.append(str_output) - else: - str_output = field_list[0] + str_field_not_in_json - temp_list.append(str_output) - - if field_list[3] == 'error': - errors_list = errors_list + temp_list - elif field_list[3] == 'warning': - warnings_list = warnings_list + temp_list - - output = {'errors': errors_list, - 'warnings': warnings_list} - return output - except Exception as e: - raise Exception('func_validate function is throwing an error: ' + str(e)) - - -""" -************* Function which validates all the rules for form F3x using json files *********************************** -""" - - -# TODO: This function is too complex. Requires refactoring. -# flake8 C901 (complexity limit) is disabled until this is resolved. -def func_json_validate(data, form_type): # noqa: C901 - try: - transaction_id = data.get('transactionId') - output = {'errors': [], 'warnings': []} - # JSON file name function gathers the file name - file_flag, file_name = json_file_name(data.get('transactionTypeIdentifier')) - if file_flag: - message = file_name - message_type = "error" - dict_temp = error_json_template(message_type, message, "transactionTypeIdentifier", - data.get('transactionTypeIdentifier'), transaction_id) - output['errors'].append(dict_temp) - else: - with open(file_name) as json_file: - load_json = json.load(json_file) - rules = copy.deepcopy(load_json) - for rule in rules: - for field_name, field_rule in rule.items(): - if field_name in data and check_null_value(data.get(field_name)): - type_error_flag = False - if field_rule.get('field_type') == 'A/N': - if field_name == 'transactionId': - if capital_alpha_numeric(data.get(field_name)): - type_error_flag = True - else: - if alpha_numeric(data.get(field_name)): - type_error_flag = True - if field_rule.get('field_type') == 'A': - if alpha(data.get(field_name)): - type_error_flag = True - if field_rule.get('field_type') == 'NUM': - if numeric(data.get(field_name)): - type_error_flag = True - if field_rule.get('field_type') == 'AMT': - if amount(data.get(field_name)): - type_error_flag = True - if field_rule.get('field_type') == 'DATE': - if date_check(data.get(field_name)): - type_error_flag = True - - if type_error_flag: - if field_name == 'transactionId': - message = (field_name + " field is not in " + - field_rule.get('field_type') + - " format. In case of alphabets, only uppercase are allowed for this field.") - else: - message = field_name + " field is not in " + field_rule.get('field_type') + " format" - message_type = "error" - dict_temp = error_json_template(message_type, message, field_name, data.get(field_name), - transaction_id) - output['errors'].append(dict_temp) - - if len(field_rule.get('value_check')) > 0: - if not data.get(field_name) in field_rule.get('value_check'): - error_string = ', '.join(field_rule.get('value_check')) - message = (field_name + - " field is not within the following acceptable values: [" + - error_string + "]") - message_type = "error" - dict_temp = error_json_template(message_type, message, field_name, data.get(field_name), - transaction_id) - output['errors'].append(dict_temp) - - if len(str(data.get(field_name))) > int(field_rule.get('field_size')): - message = field_name + " field has " + str(len(data.get( - field_name))) + " characters. Maximum expected characters are " + field_rule.get( - 'field_size') - message_type = "error" - dict_temp = error_json_template(message_type, message, field_name, data.get(field_name), - transaction_id) - output['errors'].append(dict_temp) - - else: - if field_rule.get('message_type') in ["error", "warning"]: - if not check_null_value(field_rule.get('additional_validation_key')): - validation_error_flag = True - message = field_name + " field is missing" - message_type = field_rule.get('message_type') - else: - validation_error_flag = False - key = field_rule.get('additional_validation_key') - value = field_rule.get('additional_validation_value') - operator = field_rule.get('additional_validation_operator') - if key in data and check_null_value(data.get(key)): - if operator == ">": - if Decimal(data.get(key)) > Decimal(value): - validation_error_flag = True - message = (field_name + " field is mandatory as " + - key + " " + operator + " " + value) - message_type = "error" - if operator == "IND >": - if data.get('entityType') == 'IND': - if Decimal(data.get(key)) > Decimal(value): - validation_error_flag = True - message = (field_name + " field is mandatory as " + key + " " + - operator + " " + value) - message_type = "error" - if operator == "not in": - if not data.get(key) in value: - validation_error_flag = True - error_value = ', '.join(value) - message = (field_name + " field is mandatory as " + key + " " + - operator + " [" + error_value + "]") - message_type = "error" - if operator == "in": - if data.get(key) in value: - validation_error_flag = True - error_value = ', '.join(value) - message = (field_name + " field is mandatory as " + key + " " + - operator + " [" + error_value + "]") - message_type = "error" - elif operator == "form": - if form_type == value: - validation_error_flag = True - message = field_name + " field is mandatory for " + data.get( - 'transactionTypeIdentifier') + " transaction type for " + value + " form" - message_type = "error" - else: - validation_error_flag = True - message = (key + " field is required in the data to determine if " + - field_name + " is mandatory or not") - message_type = "error" - if validation_error_flag: - dict_temp = error_json_template(message_type, message, field_name, "none", - transaction_id) - if message_type == "error": - output['errors'].append(dict_temp) - else: - output['warnings'].append(dict_temp) - # Code to check if there are any additional fields in the data apart from the - # format specs and throwing an error if there are such fields. - # This has to be uncommented once JSON builder is implemented based on this logic. - for key, value in data.items(): - check_flag = True - for rule in rules: - for field_name in rule: - if key == field_name or key in EXCLUDED_FROM_FIELD_CHECK: - check_flag = False - if not check_flag: - break - if check_flag: - message = key + " field is not expected for this transaction type code: " + data.get( - 'transactionTypeIdentifier') - message_type = "error" - field_dict_temp = error_json_template(message_type, message, key, "none", transaction_id) - output['errors'].append(field_dict_temp) - return output - except Exception as e: - raise Exception('func_json_validate function is throwing an error: ' + str(e)) - - -def child_validation(parent, list_parent, form_type): - try: - output = {"errors": [], "warnings": []} - # validating if the transactionTypeIdentifier of a transaction can be a valid parent - # based on the established parent child relationships defined in dict_parent_child_association - if parent.get('transactionTypeIdentifier') in list_parent: - for ch in parent.get('child'): - # validating if the child transactionTypeIdentifier is a part established - # parent child relationships for the respective parent transactionTypeIdentifier - if not ch.get('transactionTypeIdentifier') in dict_parent_child_association.get( - parent.get('transactionTypeIdentifier')): - child_transaction_codes_string = ', '.join( - dict_parent_child_association.get(parent.get('transactionTypeIdentifier'))) - message = (ch.get('transactionTypeIdentifier') + - " transaction type cannot be a child of " + - parent.get('transactionTypeIdentifier') + - " as per rules in dict_parent_child_association" + - " dictionary definition. Expected values are: [" - + child_transaction_codes_string + "]") - message_type = "error" - dict_temp = error_json_template(message_type, message, "transactionTypeIdentifier", - ch.get('transactionTypeIdentifier'), ch.get('transactionId')) - output['errors'].append(dict_temp) - # validating if child backReferenceTransactionIdNumber is same as parent transactionId - if ch.get('backReferenceTransactionIdNumber') != parent.get('transactionId'): - message = ("Child backReferenceTransactionIdNumber field should match parent transactionId:" + - parent.get('transactionId')) - message_type = "error" - dict_temp = error_json_template(message_type, message, "backReferenceTransactionIdNumber", - ch.get('backReferenceTransactionIdNumber'), ch.get('transactionId')) - output['errors'].append(dict_temp) - child_output = func_json_validate(ch, form_type) - output['errors'].extend(child_output.get('errors')) - output['warnings'].extend(child_output.get('warnings')) - else: - message = (parent.get('transactionTypeIdentifier') + - " transaction type cannot have a child transaction as per" + - " rules in dict_parent_child_association dictionary definition") - message_type = "error" - dict_temp = error_json_template(message_type, message, "transactionTypeIdentifier", - parent.get('transactionTypeIdentifier'), parent.get('transactionId')) - output['errors'].append(dict_temp) - return output - except Exception as e: - raise Exception('child_validation function is throwing an error: ' + str(e)) - - -""" -****************************************************************************************************************************** -VALIDATE API - SPRINT 8 - FNE 452 - BY PRAVEEN JINKA -****************************************************************************************************************************** -""" - - -# TODO: This function is too complex. Requires refactoring. -# flake8 C901 (complexity limit) is disabled until this is resolved. -@app.route('/v1/validate', methods=['POST']) -def validate(): # noqa: C901 - try: - if 'form_type' not in request.form: - raise Exception('form_type input parameter is missing in request body') - forms_list = ['F99', 'F3X'] - if not request.form.get('form_type') in forms_list: - error_string = ', '.join(forms_list) - raise Exception('form_type input parameter can only have the following values: [' - + error_string + - ']. Input Received: ' + - request.form.get('form_type')) - try: - if 'json_validate' in request.files: - json_data = request.files['json_validate'] - json_data.seek(0) - json_data = json_data.read() - else: - raise Exception('json_validate input parameter is missing in request body') - data = json.loads(json_data.decode("utf-8")) - except Exception as e: - raise Exception('Error while loading JSON file attachment on json_validate input parameter: ' + str(e)) - - errors = [] - warnings = [] - - """ - **************************** FORM 99 Validation Rules ********************************************* - """ - if request.form.get('form_type') == "F99": - with open('api/rules/F99.csv') as csvfile: - fields = [] - read_csv = csv.reader(csvfile, delimiter=',') - for row in read_csv: - fields.append(row) - output = func_validate(fields, data.get('data')) - - """ - **************************** FORM F3X Validation Rules ******************************************** - """ - if request.form.get('form_type') == "F3X": - list_parent = [] - for parent, child in dict_parent_child_association.items(): - list_parent.append(parent) - for schedule_list in list_f3x_schedules: - if 'schedules' in data.get('data') and data.get('data').get('schedules'): - if schedule_list in data.get('data').get('schedules') and data.get('data').get('schedules').get( - schedule_list): - if len(data.get('data').get('schedules').get(schedule_list)) > 0: - for sa in data.get('data').get('schedules').get(schedule_list): - output = func_json_validate(sa, request.form.get('form_type')) - errors.extend(output.get('errors')) - warnings.extend(output.get('warnings')) - if 'child' in sa and sa.get('child'): - if len(sa.get('child')) > 0: - # Child Transactions validations in function child_output function - child_output = child_validation(sa, list_parent, request.form.get('form_type')) - errors.extend(child_output.get('errors')) - warnings.extend(child_output.get('warnings')) - result = {'committeeId': data.get('data').get('committeeId'), - 'form_type': request.form.get('form_type'), - 'submissionId': 'Not yet Implemented', - 'totalErrors': len(errors), - 'totalWarnings': len(warnings)} - if len(errors) > 0: - result['status'] = "VALIDATION FAILED" - else: - result['status'] = "VALIDATION SUCCESS" - if request.form.get('form_type') == "F99": - error = json.dumps({'headers': data.get('header'), - 'errors': output.get('errors'), - 'warnings': output.get('warnings')}) - else: - error = json.dumps({'result': result, - 'errors': errors, - 'warnings': warnings}) - return json_response(error, 200) - except Exception as e: - error = json.dumps({'errors': 'validate API is throwing an error: ' + str(e)}) - return json_response(error, 400) - - -""" -****************************************************************************************************************************** -END - VALIDATE API -****************************************************************************************************************************** -""" diff --git a/bin/generate-schema-docs.sh b/bin/generate-schema-docs.sh new file mode 100755 index 00000000..b62d6b58 --- /dev/null +++ b/bin/generate-schema-docs.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# +# Utility script to create the data dictionary *.html files +# +# NOTE: Be sure to run from the fecfile-Validate/schema directory +# + +generate-schema-doc . ../docs diff --git a/bin/generate-spec-table.py b/bin/generate-spec-table.py new file mode 100644 index 00000000..708542c8 --- /dev/null +++ b/bin/generate-spec-table.py @@ -0,0 +1,48 @@ +"""Script to read in a JSON schema file and output HTML to STDOUT that +displays the current spec in table format. + +USAGE: python generate-spec-table.py MY_SCHEMA.json > MY_SPEC_TABLE.html +""" + +import argparse +import json + +parser = argparse.ArgumentParser() +parser.add_argument('filename', help='filename of JSON schema doc to convert' + ' to HTML table') +args = parser.parse_args() + +f = open(args.filename) +data = json.load(f) +f.close() + +title = args.filename.split('.')[0] + +COLUMNS = [ + "COL SEQ", + "FIELD DESCRIPTION", + "TYPE", + "REQUIRED", + "SAMPLE DATA", + "VALUE REFERENCE", + "RULE REFERENCE", + "FIELD FORM ASSOCIATION" +] + +print(f'{title}' + '' + f'') + +for c in COLUMNS: + print(f'') +print('') + +for p in data['properties']: + print('') + for s in data['properties'][p]['fec_spec']: + value = data["properties"][p]["fec_spec"][s] + if not value: + value = '' + print(f'') + print('') +print('
Specification for {title}
{c}
{value}
') diff --git a/bin/generate-starter-schema.py b/bin/generate-starter-schema.py new file mode 100644 index 00000000..13699ce7 --- /dev/null +++ b/bin/generate-starter-schema.py @@ -0,0 +1,193 @@ +"""Convert the FEC validation Excel spreadsheet into JSON schema documents. + +This is a utility script to create *starter* JSON schema document templates +from the FEC validation Excel spreadsheet found in the FEC VenPak zip file +that can be downloaded from: + +https://www.fec.gov/help-candidates-and-committees/filing-reports/fecfile-software/ + +The JSON schema standard can be found here: + +http://json-schema.org/ + +Note: Schema properties prefixed with "fec_" are not part of the JSON schema +standard and are specific to the FEC data. +""" + +from enum import Enum +import openpyxl +import json +import argparse +import os + +parser = argparse.ArgumentParser(description='Convert the FEC validation Excel' + ' spreadsheet into JSON schema documents.') +parser.add_argument('excel_filename', help='an excel filename that will be' + ' parsed to generate JSON schema docs') +parser.add_argument('--sheets-to-generate', help='a json file containing an' + ' array of sheet names to be parsed from the excel file') +parser.add_argument('--version') +args = parser.parse_args() +EXCEL_FILENAME = args.excel_filename or \ + "Form_3X_Receipts_Vendor_10.20.2020.xlsx" +SCHEMA_ID_PREFIX = ("https://github.com/fecgov/fecfile-validate/blob/" + "main/schema") +VERSION = args.version or "v0.0.0.0" +SHEETS_TO_SKIP = ['All receipts', 'Version 8.3', 'SUMMARY OF CHANGES', + "All Schedule A Transactions", "ScheduleC", "Schedule C1", + "Scedule C2"] + +# Column postions of fields in the spreadsheet row array + + +class Columns(Enum): + COL_SEQ = 0 + FIELD_DESCRIPTION = 1 + TYPE = 2 + REQUIRED = 3 + AUTO_POPULATE = 4 + SAMPLE_DATA = 5 + VALUE_REFERENCE = 6 + RULE_REFERENCE = 7 + FIELD_FORM_ASSOCIATION = 8 + + def get(self, row, has_autopopulate): + index = self.value if has_autopopulate or \ + self.value <= 3 else self.value - 1 + value = row[index] if index < len(row) else None + return value.strip() if isinstance(value, str) else value + +def convert_row_to_property(row, sheet_has_autopopulate):# noqa + """Take a row from the spreadsheet and convert it into a schema object. + + Args: + row (array): Single row from the spreadsheet + + Returns: + token (string): The token key identifier for this property in + the schema. + prop (dict): The property object to add to the schema. + """ + prop = {} + spec = {} + for col in Columns: + if col != Columns.AUTO_POPULATE or sheet_has_autopopulate: + spec[col.name] = col.get(row, sheet_has_autopopulate) + + title = spec.get(Columns.FIELD_DESCRIPTION.name) + field_type = spec.get(Columns.TYPE.name) + required = spec.get(Columns.REQUIRED.name) + sample_data = spec.get(Columns.SAMPLE_DATA.name) + rule_ref = spec.get(Columns.RULE_REFERENCE.name) + + token = title.replace("\n", "_").replace(" ", "_").replace(".", "")\ + .replace("(", "").replace(")", "").replace("/", "_")\ + .replace("__", "_").lower() + # Prepend tokens that start with a number (presumed to be a line number) + # with capital letter "L". + if token[0].isdigit(): + token = 'L' + token + prop["title"] = title + prop["description"] = "" + + if field_type.startswith("AMT-"): + prop["type"] = "number" + + if field_type.startswith("NUM-"): + prop["type"] = "integer" + + if field_type.startswith("AMT-") or field_type.startswith("NUM-"): + prop["minimum"] = 0 + prop["maximum"] = int('9' * int(field_type.split('-')[1])) + + if field_type.startswith("A/N-") or field_type.startswith("A-"): + if field_type == "A-1" and rule_ref == "Check-box": + prop["type"] = "boolean" + else: + length = field_type.split('-')[1].strip() + prop["type"] = "string" + prop["minLength"] = 0 + prop["maxLength"] = int(length) + prop["pattern"] = f'^[ A-z0-9]{{0,{length}}}$' + + if sample_data: + prop["examples"] = [sample_data] + + is_required = required and "error" in required + is_recommended = required and "warn" in required + + prop["fec_spec"] = spec + return (token, prop, is_required, is_recommended) + + +wb = openpyxl.load_workbook(EXCEL_FILENAME) +sheets_to_generate = None +if args.sheets_to_generate is not None: + with open(os.path.join(os.getcwd(), args.sheets_to_generate), 'r') as f: + sheets_to_generate = json.load(f) + +print(sheets_to_generate) +trans_type_hits = {} +for ws in wb.worksheets: + if ((sheets_to_generate is not None and ws.title not in sheets_to_generate) + or ws.title in SHEETS_TO_SKIP): + continue + + print(ws.title) + title = ws.title.replace(' ', '') + output_file = title + ".json" + + print(f'Parsing {output_file}...') + + sheet_has_autopopulate = ws.cell(3, 5).value is not None and \ + ws.cell(3, 5).value.strip() == 'Auto populate' + schema_properties = {} + required_rows = [] + recommended_rows = [] + for row in ws.iter_rows(min_row=5, max_col=8, values_only=True): + if (not Columns.COL_SEQ.get(row, sheet_has_autopopulate) + or Columns.COL_SEQ.get(row, sheet_has_autopopulate) == "--" + or not Columns.FIELD_DESCRIPTION.get(row, + sheet_has_autopopulate) + or not Columns.TYPE.get(row, sheet_has_autopopulate) + or len(row) > 10): + continue + token, prop, is_required, is_recommended = \ + convert_row_to_property(row, sheet_has_autopopulate) + if token == "transaction_type_identifier": + trans_type_id = \ + prop.get('fec_spec', {}).get(Columns.SAMPLE_DATA.name, + "") or "" + trans_type_hits[trans_type_id] = \ + (trans_type_hits.get(trans_type_id) or 0) + 1 + if (trans_type_hits[trans_type_id] > 1 or trans_type_id == ''): + output_file = trans_type_id + '-' + \ + str(trans_type_hits[trans_type_id]) + '.json' + else: + output_file = trans_type_id + '.json' + # Catch and mark token (i.e. spec property) clashes for manual fixing. + if token in schema_properties: + token = token + '-DUPLICATE' + + if is_required: + required_rows.append(token) + if is_recommended: + recommended_rows.append(token) + schema_properties[token] = prop + + schema = { + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": f'{SCHEMA_ID_PREFIX}/{output_file}', + "version": VERSION, + "title": f'FEC {ws.title}', + "description": ws.cell(1, 1).value, + "type": "object", + "required": required_rows, + "fec_recommended": recommended_rows, + "properties": schema_properties, + "additionalProperties": False + } + f = open(output_file, "w") + f.write(json.dumps(schema, indent=4)) + f.close() + print('Done') diff --git a/bin/merge-transaction-schemas.py b/bin/merge-transaction-schemas.py new file mode 100644 index 00000000..cd52c5e3 --- /dev/null +++ b/bin/merge-transaction-schemas.py @@ -0,0 +1,50 @@ +"""Process Transaction JSON Schema files to determine similar groups. + +This utility script creates a grouping of transaction JSON Schemas that are +similar so they can be turned into a single schema with rules to handle +multiple transaction types. + +The JSON schema standard can be found here: + +http://json-schema.org/ + +Note: Schema properties prefixed with "fec_" are not part of the JSON schema +standard and are specific to the FEC data. +""" + +import json +import os +import glob + +OUTPUT = "../bin/transaction-groups.json" +transaction_profiles = {} + +for schema_filename in glob.glob('*.json'): + with open(os.path.join(os.getcwd(), schema_filename), 'r') as f: + schema_json = json.load(f) + title = schema_json.get('title') + properties = schema_json.get('properties') + + transaction_type = properties.get('TRANSACTION_TYPE_IDENTIFIER') + if transaction_type is None: + continue + form_type = properties.get('FORM_TYPE') + if 'SA' not in form_type.get('fec_valueReference'): + continue + + fields_str = ''.join(properties) + similar_schemas = transaction_profiles.get(fields_str, []) + [title] + transaction_profiles[fields_str] = similar_schemas + + +for profile in sorted(list(transaction_profiles)): + print(profile) + for title in transaction_profiles[profile]: + print(" " + title) +print(f'Number of profiles: {len(transaction_profiles)}') + +f = open(os.path.join(os.getcwd(), OUTPUT), "w") +f.write(json.dumps(transaction_profiles, indent=4)) +f.close() + +print('Done') diff --git a/bin/sheets-to-generate.json b/bin/sheets-to-generate.json new file mode 100644 index 00000000..03173b71 --- /dev/null +++ b/bin/sheets-to-generate.json @@ -0,0 +1 @@ +["F3X", "SchS"] \ No newline at end of file diff --git a/bin/transaction-groups.json b/bin/transaction-groups.json new file mode 100644 index 00000000..a65ac7a5 --- /dev/null +++ b/bin/transaction-groups.json @@ -0,0 +1,99 @@ +{ + "FORM_TYPEFILER_COMMITTEE_ID_NUMBERTRANSACTION_TYPE_IDENTIFIERTRANSACTION_IDBACK_REFERENCE_TRAN_ID_NUMBERBACK_REFERENCE_SCHED_NAMEENTITY_TYPECONTRIBUTOR_ORGANIZATIONCONTRIBUTOR_STREET__1CONTRIBUTOR_STREET__2CONTRIBUTOR_CITYCONTRIBUTOR_STATECONTRIBUTOR_ZIPCONTRIBUTION_DATECONTRIBUTION_AMOUNTCONTRIBUTION_AGGREGATERECEIPT_DESCRIPTIONDONOR_COMMITTEE_FEC_IDDONOR_COMMITTEE_NAMEMEMO_CODEMEMO_TEXT/DESCRIPTION": [ + "FEC PAC - JF Recount Memo", + "FEC Party - Nat'l Party Headq.", + "FEC Party Receipt 11b", + "FEC PAC JF Memo", + "FEC PACRecountAcctPty", + "FEC PAC - JF Headq. Memo", + "FEC PAC Recount Receipt", + "FEC Transfer", + "FEC Line 12 In-Kind Transfer", + "FEC PAC - Nat'l Party Headq.", + "FEC Line 12 In-Kind Transfer FEA", + "FEC Earmark - Conv. (Memo)", + "FEC In-Kind PAC Receipt", + "FEC PAC Return or Void", + "FEC PartyRecountAcctPty", + "FEC Conduit Earmark PAC (Undeposit)", + "FEC In-Kind Party Receipt", + "FEC PAC - JF Conv. Memo", + "FEC PAC Receipt 11c", + "FEC Party Return or Void", + "FEC Earmark - Recount Memo", + "FEC Party JF Memo", + "FEC Earmark Receipt PAC (11c)", + "FEC Conduit Earmark PAC (Deposited)", + "FEC Party - Nat'l Party Convention", + "FEC PartyRecount ", + "FEC Other Committee Carey", + "FEC Earmark - Headq. (Memo)", + "FEC Earmark 11c Memo", + "FEC JF Trnsfr - Nat' Party Headq.", + "FEC PAC - Nat'l Party Convention" + ], + "FORM_TYPEFILER_COMMITTEE_ID_NUMBERTRANSACTION_TYPE_IDENTIFIERTRANSACTION_IDBACK_REFERENCE_TRAN_ID_NUMBERBACK_REFERENCE_SCHED_NAMEENTITY_TYPECONTRIBUTOR_LAST_NAMECONTRIBUTOR_FIRST_NAMECONTRIBUTOR_MIDDLE_NAMECONTRIBUTOR_PREFIXCONTRIBUTOR_SUFFIXCONTRIBUTOR_STREET__1CONTRIBUTOR_STREET__2CONTRIBUTOR_CITYCONTRIBUTOR_STATECONTRIBUTOR_ZIPCONTRIBUTION_DATECONTRIBUTION_AMOUNTCONTRIBUTION_AGGREGATERECEIPT_DESCRIPTIONCONTRIBUTOR_EMPLOYERCONTRIBUTOR_OCCUPATIONMEMO_CODEMEMO_TEXT/DESCRIPTION": [ + "FEC In-Kind Receipt", + "FEC Individual Receipt", + "FEC Ind - Nat'l Party Convention", + "FEC Individ Recount ", + "FEC Individual JF Memo", + "FEC Earmark - Recount Account ", + "FEC Partnership Memo", + "FEC Ind - JF Recount Memo", + "FEC Earmark - Nat'l Party Headq.", + "FEC Individ Carey", + "FEC Earmark - Nat'l Party Conv.", + "FEC Conduit Earmark (Deposited)", + "FEC Ind - JF Headq. Memo", + "FEC Conduit Earmark (Undeposited)", + "FEC Earmark Receipt (11a)", + "FEC Ind - Nat'l Party Headq.", + "FEC Ind - JF Conv. Memo", + "FEC ReturnedBounced Receipt", + "FEC Ind - Nat'l Party Recount" + ], + "FORM_TYPEFILER_COMMITTEE_ID_NUMBERTRANSACTION_TYPE_IDENTIFIERTRANSACTION_IDBACK_REFERENCE_TRAN_ID_NUMBERBACK_REFERENCE_SCHED_NAMEENTITY_TYPECONTRIBUTOR_ORGANIZATIONCONTRIBUTOR_STREET__1CONTRIBUTOR_STREET__2CONTRIBUTOR_CITYCONTRIBUTOR_STATECONTRIBUTOR_ZIPCONTRIBUTION_DATECONTRIBUTION_AMOUNTCONTRIBUTION_AGGREGATERECEIPT_DESCRIPTIONMEMO_CODEMEMO_TEXT/DESCRIPTION": [ + "FEC BusinessLabor Carey ", + "FEC Unregistered Rec Return or Void", + "FEC Unregistered Receipt from Perso", + "FEC Tribal - Nat'l Party Headq.", + "FEC Partnership Contribution", + "FEC Tribal JF Memo", + "FEC Tribal Receipt", + "FEC Tribal - Nat'l Party Convention", + "FEC Tribal - JF Conv. Memo", + "FEC Tribal - Nat'l Party Recount", + "FEC Tribal - JF Headq. Memo", + "FEC Tribal - JF Recount Memo" + ], + "FORM_TYPEFILER_COMMITTEE_ID_NUMBERTRANSACTION_TYPE_IDENTIFIERTRANSACTION_IDBACK_REFERENCE_TRAN_ID_NUMBERBACK_REFERENCE_SCHED_NAMEENTITY_TYPECONTRIBUTOR_ORGANIZATIONCONTRIBUTOR_LAST_NAMECONTRIBUTOR_FIRST_NAMECONTRIBUTOR_MIDDLE_NAMECONTRIBUTOR_PREFIXCONTRIBUTOR_SUFFIXCONTRIBUTOR_STREET__1CONTRIBUTOR_STREET__2CONTRIBUTOR_CITYCONTRIBUTOR_STATECONTRIBUTOR_ZIPCONTRIBUTION_DATECONTRIBUTION_AMOUNTCONTRIBUTION_AGGREGATERECEIPT_DESCRIPTIONCONTRIBUTOR_EMPLOYERCONTRIBUTOR_OCCUPATIONMEMO_CODEMEMO_TEXT/DESCRIPTION": [ + "FEC Other Receipts" + ], + "FORM_TYPEFILER_COMMITTEE_ID_NUMBERTRANSACTION_TYPE_IDENTIFIERTRANSACTION_IDBACK_REFERENCE_TRAN_ID_NUMBERBACK_REFERENCE_SCHED_NAMEENTITY_TYPECONTRIBUTOR_ORGANIZATIONCONTRIBUTOR_STREET__1CONTRIBUTOR_STREET__2CONTRIBUTOR_CITYCONTRIBUTOR_STATECONTRIBUTOR_ZIPCONTRIBUTION_DATECONTRIBUTION_AMOUNTCONTRIBUTION_AGGREGATERECEIPT_DESCRIPTIONDONOR_COMMITTEE_FEC_IDDONOR_COMMITTEE_NAMEMEMO_TEXT/DESCRIPTION": [ + "FEC JF Transfer", + "FEC JF Trnsfr - Nat'l Party Conv.", + "FEC JF Trnsfr - Nat'l Party Recount" + ], + "FORM_TYPEFILER_COMMITTEE_ID_NUMBERTRANSACTION_TYPE_IDENTIFIERTRANSACTION_IDBACK_REFERENCE_TRAN_ID_NUMBERBACK_REFERENCE_SCHED_NAMEENTITY_TYPECONTRIBUTOR_ORGANIZATIONCONTRIBUTOR_LAST_NAMECONTRIBUTOR_FIRST_NAMECONTRIBUTOR_MIDDLE_NAMECONTRIBUTOR_PREFIXCONTRIBUTOR_SUFFIXCONTRIBUTOR_STREET__1CONTRIBUTOR_STREET__2CONTRIBUTOR_CITYCONTRIBUTOR_STATECONTRIBUTOR_ZIPCONTRIBUTION_DATECONTRIBUTION_AMOUNTCONTRIBUTION_AGGREGATERECEIPT_DESCRIPTIONDONOR_COMMITTEE_FEC_IDDONOR_COMMITTEE_NAMECONTRIBUTOR_EMPLOYERCONTRIBUTOR_OCCUPATIONMEMO_CODEMEMO_TEXT/DESCRIPTIONBENEFICIARY_CANDIDATE_OFFICEBENEFICIARY_CANDIDATE_STATEBENEFICIARY_CANDIDATE_DISTRICT": [ + "FEC Earmark Receipt (11a - Memo)" + ], + "FORM_TYPEFILER_COMMITTEE_ID_NUMBERTRANSACTION_TYPE_IDENTIFIERTRANSACTION_IDBACK_REFERENCE_TRAN_ID_NUMBERBACK_REFERENCE_SCHED_NAMEENTITY_TYPECONTRIBUTOR_ORGANIZATIONCONTRIBUTOR_STREET__1CONTRIBUTOR_STREET__2CONTRIBUTOR_CITYCONTRIBUTOR_STATECONTRIBUTOR_ZIPELECTION_CODE/YEARELECTION_OTHER_DESCRIPTIONCONTRIBUTION_DATECONTRIBUTION_AMOUNTCONTRIBUTION_AGGREGATERECEIPT_DESCRIPTIONMEMO_CODEMEMO_TEXT/DESCRIPTION": [ + "FEC Refunds of Cont. to Unregistere" + ], + "FORM_TYPEFILER_COMMITTEE_ID_NUMBERTRANSACTION_TYPE_IDENTIFIERTRANSACTION_IDBACK_REFERENCE_TRAN_ID_NUMBERBACK_REFERENCE_SCHED_NAMEENTITY_TYPECONTRIBUTOR_ORGANIZATIONCONTRIBUTOR_STREET__1CONTRIBUTOR_STREET__2CONTRIBUTOR_CITYCONTRIBUTOR_STATECONTRIBUTOR_ZIPELECTION_CODE/YEARELECTION_OTHER_DESCRIPTIONCONTRIBUTION_DATECONTRIBUTION_AMOUNT_{F3L_Bundled}CONTRIBUTION_AGGREGATERECEIPT_DESCRIPTIONDONOR_COMMITTEE_FEC_IDDONOR_COMMITTEE_NAMEDONOR_CANDIDATE_FEC_IDDONOR_CANDIDATE_LAST_NAMEDONOR_CANDIDATE_FIRST_NAMEDONOR_CANDIDATE_MIDDLE_NAMEDONOR_CANDIDATE_PREFIXDONOR_CANDIDATE_SUFFIXDONOR_CANDIDATE_OFFICEDONOR_CANDIDATE_STATEDONOR_CANDIDATE_DISTRICTCONDUIT_NAMEMEMO_CODEMEMO_TEXT/DESCRIPTION": [ + "FEC Refunds of Cont. to Registered " + ], + "FORM_TYPEFILER_COMMITTEE_ID_NUMBERTRANSACTION_TYPE_IDENTIFIERTRANSACTION_IDBACK_REFERENCE_TRAN_ID_NUMBERBACK_REFERENCE_SCHED_NAMEENTITY_TYPEPAYEE_ORGANIZATION_NAMEPAYEE_STREET__1PAYEE_STREET__2PAYEE_CITYPAYEE_STATEPAYEE_ZIPELECTION_CODE/YEARELECTION_OTHER_DESCRIPTIONEXPENDITURE_DATEEXPENDITURE_AMOUNTPURPOSE_OF_DISBURSEMENTCATEGORY_CODEBENEFICIARY_COMMITTEE_FEC_IDBENEFICIARY_COMMITTEE_NAMEBENEFICIARY_CANDIDATE_FEC_IDBENEFICIARY_CANDIDATE_LAST_NAMEBENEFICIARY_CANDIDATE_FIRST_NAMEBENEFICIARY_CANDIDATE_MIDDLE_NAMEBENEFICIARY_CANDIDATE_PREFIXBENEFICIARY_CANDIDATE_SUFFIXBENEFICIARY_CANDIDATE_OFFICEBENEFICIARY_CANDIDATE_STATEBENEFICIARY_CANDIDATE_DISTRICTMEMO_CODEMEMO_TEXT/DESCRIPTION": [ + "FEC Earmark Out (23 - Non-Memo)", + "FEC Earmark Out PAC (23 - Non-Memo)", + "FEC Earmark Out PAC (Memo)", + "FEC Earmark Out (23 - Memo)" + ], + "FORM_TYPEFILER_COMMITTEE_ID_NUMBERTRANSACTION_TYPE_IDENTIFIERTRANSACTION_IDBACK_REFERENCE_TRAN_ID_NUMBERBACK_REFERENCE_SCHED_NAMEENTITY_TYPECONTRIBUTOR_ORGANIZATIONCONTRIBUTOR_STREET__1CONTRIBUTOR_STREET__2CONTRIBUTOR_CITYCONTRIBUTOR_STATECONTRIBUTOR_ZIPCONTRIBUTION_DATECONTRIBUTION_AMOUNTCONTRIBUTION_AGGREGATERECEIPT_DESCRIPTIONDONOR_COMMITTEE_NAMEMEMO_CODEMEMO_TEXT/DESCRIPTION": [ + "FEC Tribal Recount Receipt" + ], + "FORM_TYPEFILER_COMMITTEE_ID_NUMBERTRANSACTION_TYPE_IDENTIFIERTRANSACTION_IDBACK_REFERENCE_TRAN_ID_NUMBERBACK_REFERENCE_SCHED_NAMEENTITY_TYPECONTRIBUTOR_ORGANIZATIONCONTRIBUTOR_LAST_NAMECONTRIBUTOR_FIRST_NAMECONTRIBUTOR_MIDDLE_NAMECONTRIBUTOR_PREFIXCONTRIBUTOR_SUFFIXCONTRIBUTOR_STREET__1CONTRIBUTOR_STREET__2CONTRIBUTOR_CITYCONTRIBUTOR_STATECONTRIBUTOR_ZIPCONTRIBUTION_DATECONTRIBUTION_AMOUNTCONTRIBUTION_AGGREGATERECEIPT_DESCRIPTIONMEMO_CODEMEMO_TEXT/DESCRIPTION": [ + "FEC Offsets to Operating Exp" + ] +} \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 113ac6e0..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: '3' -networks: - default: - external: - name: nxg_fec_default -services: - validate: - build: . - volumes: - - ./:/opt/fecfile_validate - ports: - - "8001:8001" diff --git a/docs/F3X.html b/docs/F3X.html new file mode 100644 index 00000000..5145b0d3 --- /dev/null +++ b/docs/F3X.html @@ -0,0 +1,23 @@ + FEC F3X

FEC F3X

Type: object

FORM 3X - REPORT OF RECEIPTS AND DISBURSEMENTS FOR OTHER THAN AN AUTHORIZED COMMITTEE

No Additional Properties

Type: enum (of string)

Must be one of:

  • "F3XN"
  • "F3XA"
  • "F3XT"

Example:

"F3XN"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,9}$

Must be at least 0 characters long

Must be at most 9 characters long


Example:

"C00123456"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,200}$

Must be at least 0 characters long

Must be at most 200 characters long


Example:

"Foes of Pat"
+

Type: boolean

Example:

"X"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,34}$

Must be at least 0 characters long

Must be at most 34 characters long


Example:

"125 Sycamore St"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,34}$

Must be at least 0 characters long

Must be at most 34 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,30}$

Must be at least 0 characters long

Must be at most 30 characters long


Example:

"Anytown"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,2}$

Must be at least 0 characters long

Must be at most 2 characters long


Example:

"FL"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,9}$

Must be at least 0 characters long

Must be at most 9 characters long


Example:

33034
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,3}$

Must be at least 0 characters long

Must be at most 3 characters long


Example:

"12P"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,5}$

Must be at least 0 characters long

Must be at most 5 characters long


Example:

"P2012"
+

Type: integer

Value must be greater or equal to 0 and lesser or equal to 99999999


Example:

20120715
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,2}$

Must be at least 0 characters long

Must be at most 2 characters long


Example:

"FL"
+

Type: integer

Value must be greater or equal to 0 and lesser or equal to 99999999

Type: integer

Value must be greater or equal to 0 and lesser or equal to 99999999

Type: boolean

Example:

"X"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,30}$

Must be at least 0 characters long

Must be at most 30 characters long


Example:

"Smith"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long


Example:

"Patrick"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long


Example:

"Thomas"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,10}$

Must be at least 0 characters long

Must be at most 10 characters long


Example:

"Mr."
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,10}$

Must be at least 0 characters long

Must be at most 10 characters long


Example:

"Jr."
+

Type: integer

Value must be greater or equal to 0 and lesser or equal to 99999999


Example:

20040729
+

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999


Example:

1123123.45
+

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999


Example:

3123123.45
+

Type: integer

Value must be greater or equal to 0 and lesser or equal to 9999


Example:

2012
+

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999

\ No newline at end of file diff --git a/docs/F3X_spec.html b/docs/F3X_spec.html new file mode 100644 index 00000000..b24819cd --- /dev/null +++ b/docs/F3X_spec.html @@ -0,0 +1,1244 @@ +F3X + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Specification for F3X
COL SEQFIELD DESCRIPTIONTYPEREQUIREDSAMPLE DATAVALUE REFERENCERULE REFERENCEFIELD FORM ASSOCIATION
1FORM TYPEA/N-4X (error)F3XNF3X+[N|A|T]
2FILER COMMITTEE ID NUMBERA/N-9X (error)C00123456
3COMMITTEE NAMEA/N-200X (warning)Foes of Pat
4CHANGE OF ADDRESSA-1XX = YesCheck-box
5STREET 1A/N-34X (warning)125 Sycamore St
6STREET 2A/N-34
7CITYA/N-30X (warning)Anytown
8STATEA-2X (warning)FLEdit: ST
9ZIPA/N-9X (warning)33034
10REPORT CODEA-3X (warning)12P12C,..., TERWarning if Code is missing; +Error if Coded incorrectly. +Note: Monthly Year-End reports should be coded with 'MYE'. +Quarterly Year-End reports will continue to be coded with 'YE'.
11ELECTION CODE {was RPTPGI}A/N-5X (warn if REPORT CODE=12[?])P2012C,G,P,R,S,E[YYYY]Edit: PGI
12DATE OF ELECTIONNUM-8X (warn if REPORT CODE=[12?|30?])20120715YYYYMMDD
13STATE OF ELECTIONA-2X (warn if REPORT CODE=[12?|30?])FLEdit: St
14COVERAGE FROM DATENUM-8X (warning)
15COVERAGE THROUGH DATENUM-8X (warning)
16QUALIFIED COMMITTEEA-1XX = YesCheck-box
17TREASURER LAST NAMEA/N-30X (error)Smith
18TREASURER FIRST NAMEA/N-20X (error)Patrick
19TREASURER MIDDLE NAMEA/N-20Thomas
20TREASURER PREFIXA/N-10Mr.
21TREASURER SUFFIXA/N-10Jr.
22DATE SIGNEDNUM-8X (error)20040729
236(b) Cash on Hand beginningAMT-121123123.45
246(c) Total ReceiptsAMT-12= 19
256(d) SubtotalAMT-12= 6b + 6c
267. Total DisbursementsAMT-12= 31
278. Cash on Hand at CloseAMT-12= 6d - 7
289. Debts toAMT-12= Total on Sch C &/OR D
2910. Debts byAMT-12= Total on Sch C &/OR D
3011(a)i ItemizedAMT-12= Total on Sch A
3111(a)ii UnitemizedAMT-12
3211(a)iii TotalAMT-12= 11ai + 11aii
3311(b) Political Party CommitteesAMT-12
3411(c) Other Political Committees (PACs)AMT-12
3511(d) Total ContributionsAMT-12= 11aiii + 11b + 11c
3612. Transfers from Affiliated/Other Party CmtesAMT-12
3713. All Loans ReceivedAMT-12
3814. Loan Repayments ReceivedAMT-12
3915. Offsets to Operating Expenditures (refunds)AMT-12
4016. Refunds of Federal ContributionsAMT-12
4117. Other Federal Receipts (dividends)AMT-12
4218(a) Transfers from Nonfederal Account (H3)AMT-12= Total on Sch H3
4318(b) Transfers from Non-Federal (Levin - H5)AMT-12= Total from Sch H5
4418(c) Total Non-Federal Transfers (18a+18b)AMT-12= 18a+18b
4519. Total ReceiptsAMT-12= 11d+12+13+14+15+16+17+18c
4620. Total Federal ReceiptsAMT-12= 19 - 18c
4721(a)i Federal ShareAMT-12= Fed share from Sched H4
4821(a)ii Non-Federal ShareAMT-12= Non-Fed share from Sched H4
4921(b) Other Federal Operating ExpendituresAMT-12
5021(c) Total Operating ExpendituresAMT-12= 21ai + 21aii + 21b
5122. Transfers to Affiliated/Other Party CmtesAMT-12
5223. Contributions to Federal Candidates/CmtesAMT-12
5324. Independent ExpendituresAMT-12
5425. Coordinated Expend made by Party CmtesAMT-12= Total on Sch F
5526. Loan RepaymentsAMT-12
5627. Loans MadeAMT-12
5728(a) Individuals/PersonsAMT-12
5828(b) Political Party CommitteesAMT-12
5928(c) Other Political CommitteesAMT-12
6028(d) Total Contributions RefundsAMT-12= 28a + 28b + 28c
6129. Other DisbursementsAMT-12
6230(a)i Shared Federal Activity (H6) Fed ShareAMT-12= Fed share from Sched H6
6330(a)ii Shared Federal Activity (H6) Non-FedAMT-12= Non-Fed share from Sched H6
6430(b) Non-Allocable 100% Fed Election ActivityAMT-12
6530(c) Total Federal Election ActivityAMT-1230(a)i+30(a)ii+30(b)
6631. Total DisbursementsAMT-12= 21c + 22-27 + 28d + 29
6732. Total Federal DisbursementsAMT-12= 31 - (21aii + 30aii)
6833. Total ContributionsAMT-12= 11d
6934. Total Contribution RefundsAMT-12= 28d
7035. Net ContributionsAMT-12= 11d - 28d
7136. Total Federal Operating ExpendituresAMT-12= 21ai + 21b
7237. Offsets to Operating ExpendituresAMT-12= 15
7338. Net Operating ExpendituresAMT-12= 36 - 37 or (21ai + 21b - 15)
746(a) Cash on Hand Jan 1, 19AMT-123123123.45
75Year for AboveNUM-42012
766(c) Total ReceiptsAMT-12= 19
776(d) SubtotalAMT-12= 6a + 6c
787. Total disbursementsAMT-12= 30
798. Cash on Hand CloseAMT-12= 6d - 7
8011(a)i ItemizedAMT-12
8111(a)ii UnitemizedAMT-12
8211(a)iii TotalAMT-12= 11ai + 11aii
8311(b) Political Party committeesAMT-12
8411(c) Other Political Committees (PACs)AMT-12
8511(d) Total ContributionsAMT-12= 11aiii + 11b + 11c
8612. Transfers from Affiliated/Other Party CmtesAMT-12
8713. All Loans ReceivedAMT-12
8814. Loan Repayments ReceivedAMT-12
8915. Offsets to Operating Expenditures (refunds)AMT-12
9016. Refunds of Federal ContributionsAMT-12
9117. Other Federal Receipts (dividends)AMT-12
9218(a) Transfers from Nonfederal Account (H3)AMT-12
9318(b) Transfers from Non-Federal (Levin - H5)AMT-12
9418(c) Total Non-Federal Transfers (18a+18b)AMT-12= 18a+18b
9519. Total ReceiptsAMT-12= 11d+12+13+14+15+16+17+18c
9620. Total Federal ReceiptsAMT-12= 19 - 18c
9721(a)i Federal ShareAMT-12
9821(a)ii Non-Federal ShareAMT-12
9921(b) Other Federal Operating ExpendituresAMT-12
10021(c) Total operating ExpendituresAMT-12= 21ai + 21aii + 21b
10122. Transfers to Affiliated/Other Party CmtesAMT-12
10223. Contributions to Federal Candidates/CmtesAMT-12
10324. Independent ExpendituresAMT-12
10425. Coordinated Expend made by Party CmtesAMT-12
10526. Loan Repayments MadeAMT-12
10627. Loans MadeAMT-12
10728(a) Individuals/PersonsAMT-12
10828(b) Political Party CommitteesAMT-12
10928(c) Other Political CommitteesAMT-12
11028(d) Total contributions RefundsAMT-12= 28a + 28b + 28c
11129. Other DisbursementsAMT-12
11230(a)i Shared Federal Activity (H6) Fed ShareAMT-12= Federal share from Sched H6
11330(a)ii Shared Federal Activity (H6) Non-FedAMT-12= Non-Fed share from Sched H6
11430(b) Non-Allocable 100% Fed Election ActivityAMT-12
11530(c) Total Federal Election ActivityAMT-1230(a)i+30(a)ii+30(b)
11631. Total DisbursementsAMT-12= 21c + 22-27 + 28d + 29
11732. Total Federal DisbursementsAMT-12= 31 - (21aii + 30aii)
11833. Total ContributionsAMT-12= 11d
11934. Total Contribution RefundsAMT-12= 28d
12035. Net contributionsAMT-12= 11d - 28d
12136. Total Federal Operating ExpendituresAMT-12= 21ai + 21b
12237. Offsets to Operating ExpendituresAMT-12= 15
12338. Net Operating ExpendituresAMT-12= 36 - 37 or (21ai + 21b - 15)
diff --git a/docs/INDV_REC.html b/docs/INDV_REC.html new file mode 100644 index 00000000..b806c1eb --- /dev/null +++ b/docs/INDV_REC.html @@ -0,0 +1,22 @@ + FEC Individual Receipt

FEC Individual Receipt

Type: object

Individual Receipt (11a)

No Additional Properties

Type: string
Must match regular expression: ^[ A-z0-9]{0,8}$

Must be at least 0 characters long

Must be at most 8 characters long


Example:

"SA11AI"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,9}$

Must be at least 0 characters long

Must be at most 9 characters long


Example:

"C00123456"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,12}$

Must be at least 0 characters long

Must be at most 12 characters long


Example:

"INDV_REC"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long


Example:

"A56123456789-1234"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long


Example:

"A123456789-1234"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,8}$

Must be at least 0 characters long

Must be at most 8 characters long


Example:

"SA11AI"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,3}$

Must be at least 0 characters long

Must be at most 3 characters long


Example:

"IND"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,30}$

Must be at least 0 characters long

Must be at most 30 characters long


Example:

"Smith"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long


Example:

"John"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long


Example:

"W"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,10}$

Must be at least 0 characters long

Must be at most 10 characters long


Example:

"Dr"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,10}$

Must be at least 0 characters long

Must be at most 10 characters long


Example:

"Jr"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,34}$

Must be at least 0 characters long

Must be at most 34 characters long


Example:

"123 Main Street"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,34}$

Must be at least 0 characters long

Must be at most 34 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,30}$

Must be at least 0 characters long

Must be at most 30 characters long


Example:

"Anytown"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,2}$

Must be at least 0 characters long

Must be at most 2 characters long


Example:

"WA"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,9}$

Must be at least 0 characters long

Must be at most 9 characters long


Example:

981110123
+

Type: integer

Value must be greater or equal to 0 and lesser or equal to 99999999


Example:

20120615
+

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999


Example:

250
+

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999


Example:

1000
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,100}$

Must be at least 0 characters long

Must be at most 100 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,38}$

Must be at least 0 characters long

Must be at most 38 characters long


Example:

"XYZ Company"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,38}$

Must be at least 0 characters long

Must be at most 38 characters long


Example:

"QC Inspector"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,1}$

Must be at least 0 characters long

Must be at most 1 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,100}$

Must be at least 0 characters long

Must be at most 100 characters long

\ No newline at end of file diff --git a/docs/INDV_REC_spec.html b/docs/INDV_REC_spec.html new file mode 100644 index 00000000..e7e4ce00 --- /dev/null +++ b/docs/INDV_REC_spec.html @@ -0,0 +1,262 @@ +INDV_REC + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Specification for INDV_REC
COL SEQFIELD DESCRIPTIONTYPEREQUIREDSAMPLE DATAVALUE REFERENCERULE REFERENCEFIELD FORM ASSOCIATION
1FORM TYPEA/N-8X (error)SA11AISA[line# ref]
2FILER COMMITTEE ID NUMBERA/N-9X (error)C00123456
3TRANSACTION TYPE IDENTIFIERA/N-12X (error)INDV_REC
4TRANSACTION IDA/N-20X (error)A56123456789-1234must be unique and UPPER CASE for the life of the report (original + all amendments)
5BACK REFERENCE TRAN ID NUMBERA/N-20A123456789-1234Reference to the Tran ID of a Related Record
6BACK REFERENCE SCHED NAMEA/N-8SA11AISA[line# ref]Ref to the Schedule that has the Related Record. SA3L must be used +with the F3L
7ENTITY TYPEA/N-3X (error)INDCAN - Candidate, CCM - Candidate Committee, COM - Committee, IND - Individual (a person), ORG - Organization (not a committee and not a person), PAC - Political Action Committee, PTY - Party Organization
9CONTRIBUTOR LAST NAMEA/N-30X (error)Smith
10CONTRIBUTOR FIRST NAMEA/N-20X (error)John
11CONTRIBUTOR MIDDLE NAMEA/N-20W
12CONTRIBUTOR PREFIXA/N-10Dr
13CONTRIBUTOR SUFFIXA/N-10Jr
14CONTRIBUTOR STREET 1A/N-34X (error)123 Main Street
15CONTRIBUTOR STREET 2A/N-34
16CONTRIBUTOR CITYA/N-30X (error)Anytown
17CONTRIBUTOR STATEA/N-2X (error)WAEdit: ST
18CONTRIBUTOR ZIPA/N-9X (error)981110123
21CONTRIBUTION DATENUM-8X (error)20120615
22CONTRIBUTION AMOUNTAMT-12X (error)250
23CONTRIBUTION AGGREGATEAMT-12X (error)1000YTD
24RECEIPT DESCRIPTIONA/N-100
25CONTRIBUTOR EMPLOYERA/N-38X (error)XYZ CompanyReq if Donor aggregate >$200
26CONTRIBUTOR OCCUPATIONA/N-38X (error)QC InspectorReq if Donor aggregate >$200
44MEMO CODEA/N-1XX = True
45MEMO TEXT/DESCRIPTIONA/N-100
diff --git a/docs/SchA.html b/docs/SchA.html new file mode 100644 index 00000000..7d9721b8 --- /dev/null +++ b/docs/SchA.html @@ -0,0 +1,34 @@ + FEC Sch A

FEC Sch A

Type: object

SCHEDULE A - ITEMIZED RECEIPTS

No Additional Properties

Type: string
Must match regular expression: ^[ A-z0-9]{0,8}$

Must be at least 0 characters long

Must be at most 8 characters long


Example:

"SA11AI"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,9}$

Must be at least 0 characters long

Must be at most 9 characters long


Example:

"C00123456"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long


Example:

"A56123456789-1234"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long


Example:

"A123456789-1234"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,8}$

Must be at least 0 characters long

Must be at most 8 characters long


Example:

"SA11AI"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,3}$

Must be at least 0 characters long

Must be at most 3 characters long


Example:

"IND"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,200}$

Must be at least 0 characters long

Must be at most 200 characters long


Example:

"John Smith & Co."
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,30}$

Must be at least 0 characters long

Must be at most 30 characters long


Example:

"Smith"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long


Example:

"John"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long


Example:

"W"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,10}$

Must be at least 0 characters long

Must be at most 10 characters long


Example:

"Dr"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,10}$

Must be at least 0 characters long

Must be at most 10 characters long


Example:

"Jr"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,34}$

Must be at least 0 characters long

Must be at most 34 characters long


Example:

"123 Main Street"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,34}$

Must be at least 0 characters long

Must be at most 34 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,30}$

Must be at least 0 characters long

Must be at most 30 characters long


Example:

"Anytown"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,2}$

Must be at least 0 characters long

Must be at most 2 characters long


Example:

"WA"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,9}$

Must be at least 0 characters long

Must be at most 9 characters long


Example:

981110123
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,5}$

Must be at least 0 characters long

Must be at most 5 characters long


Example:

"P2012"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long

Type: integer

Value must be greater or equal to 0 and lesser or equal to 99999999


Example:

20120615
+

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999


Example:

250
+

Type: number

Value must be greater or equal to 0 and lesser or equal to 999999999999


Example:

1000
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,100}$

Must be at least 0 characters long

Must be at most 100 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,38}$

Must be at least 0 characters long

Must be at most 38 characters long


Example:

"XYZ Company"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,38}$

Must be at least 0 characters long

Must be at most 38 characters long


Example:

"QC Inspector"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,9}$

Must be at least 0 characters long

Must be at most 9 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,200}$

Must be at least 0 characters long

Must be at most 200 characters long


Example:

"Action PAC"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,9}$

Must be at least 0 characters long

Must be at most 9 characters long


Example:

"H98765431"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,30}$

Must be at least 0 characters long

Must be at most 30 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,20}$

Must be at least 0 characters long

Must be at most 20 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,10}$

Must be at least 0 characters long

Must be at most 10 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,10}$

Must be at least 0 characters long

Must be at most 10 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,1}$

Must be at least 0 characters long

Must be at most 1 characters long


Example:

"H"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,2}$

Must be at least 0 characters long

Must be at most 2 characters long


Example:

"FL"
+

Type: integer

Value must be greater or equal to 0 and lesser or equal to 99


Example:

35
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,200}$

Must be at least 0 characters long

Must be at most 200 characters long


Example:

"Middle Organization"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,34}$

Must be at least 0 characters long

Must be at most 34 characters long


Example:

"45 E Street"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,34}$

Must be at least 0 characters long

Must be at most 34 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,30}$

Must be at least 0 characters long

Must be at most 30 characters long


Example:

"Springfield"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,2}$

Must be at least 0 characters long

Must be at most 2 characters long


Example:

"MA"
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,9}$

Must be at least 0 characters long

Must be at most 9 characters long


Example:

10111
+

Type: string
Must match regular expression: ^[ A-z0-9]{0,1}$

Must be at least 0 characters long

Must be at most 1 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,100}$

Must be at least 0 characters long

Must be at most 100 characters long

Type: string
Must match regular expression: ^[ A-z0-9]{0,9}$

Must be at least 0 characters long

Must be at most 9 characters long


Example:

"123xyzABC"
+
\ No newline at end of file diff --git a/docs/SchA_spec.html b/docs/SchA_spec.html new file mode 100644 index 00000000..f998e982 --- /dev/null +++ b/docs/SchA_spec.html @@ -0,0 +1,466 @@ +SchA + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Specification for SchA
COL SEQFIELD DESCRIPTIONTYPEREQUIREDSAMPLE DATAVALUE REFERENCERULE REFERENCEFIELD FORM ASSOCIATION
1FORM TYPEA/N-8X (error)SA11AISA[line# ref]Appendix C. SA3L must be used +with the F3LF3 | F3X | F3P | F3L
2FILER COMMITTEE ID NUMBERA/N-9X (error)C00123456F3 | F3X | F3P | F3L
3TRANSACTION IDA/N-20X (error)A56123456789-1234must be unique and UPPER CASE for the life of the report (original + all amendments)F3 | F3X | F3P | F3L
4BACK REFERENCE TRAN ID NUMBERA/N-20A123456789-1234Reference to the Tran ID of a Related RecordF3 | F3X | F3P | F3L
5BACK REFERENCE SCHED NAMEA/N-8SA11AISA[line# ref]Ref to the Schedule that has the Related Record. SA3L must be used +with the F3LF3 | F3X | F3P | F3L
6ENTITY TYPEA/N-3X (error)INDCAN,CCM,...[CAN|CCM|COM|IND|ORG|PAC|PTY]F3 | F3X | F3P | F3L
7CONTRIBUTOR ORGANIZATION NAMEA/N-200X (error)John Smith & Co.Required if NOT [IND|CAN]F3 | F3X | F3P | F3L
8CONTRIBUTOR LAST NAMEA/N-30X (error)SmithRequired if [IND|CAN]F3 | F3X | F3P | F3L
9CONTRIBUTOR FIRST NAMEA/N-20X (error)JohnRequired if [IND|CAN]F3 | F3X | F3P | F3L
10CONTRIBUTOR MIDDLE NAMEA/N-20WOptional if [IND|CAN]F3 | F3X | F3P | F3L
11CONTRIBUTOR PREFIXA/N-10DrOptional if [IND|CAN]F3 | F3X | F3P | F3L
12CONTRIBUTOR SUFFIXA/N-10JrOptional if [IND|CAN]F3 | F3X | F3P | F3L
13CONTRIBUTOR STREET 1A/N-34X (warning)123 Main StreetF3 | F3X | F3P | F3L
14CONTRIBUTOR STREET 2A/N-34F3 | F3X | F3P | F3L
15CONTRIBUTOR CITYA/N-30X (warning)AnytownF3 | F3X | F3P | F3L
16CONTRIBUTOR STATEA/N-2X (warning)WAAK,AL,...,ZZEdit: STF3 | F3X | F3P | F3L
17CONTRIBUTOR ZIPA/N-9X (warning)981110123F3 | F3X | F3P | F3L
18ELECTION CODEA/N-5P2012G,P,O[YYYY]Values: [G|P|R|S|C|E|O]+Year{YYYY}F3 | F3X | F3P
19ELECTION OTHER DESCRIPTIONA/N-20Req if Item Election Code = "OYYYY"F3 | F3X | F3P
20CONTRIBUTION DATENUM-8X (warning)20120615YYYYMMDDF3 | F3X | F3P
21CONTRIBUTION AMOUNT {F3L Bundled}AMT-12X (warning)250Contribution (F3L Bundled) AmountF3 | F3X | F3P | F3L
22CONTRIBUTION AGGREGATE +{F3L Semi-annual Bundled}AMT-121000F3 | F3P - Cycle to Date; F3X - YTD; +F3L - Semi-annual Bundled TotalF3 | F3X | F3P | F3L
23CONTRIBUTION PURPOSE DESCRIPA/N-100F3 | F3X | F3P
24CONTRIBUTOR EMPLOYERA/N-38XYZ CompanyReq if Donor aggregate >$200F3 | F3X | F3P | F3L
25CONTRIBUTOR OCCUPATIONA/N-38QC InspectorReq if Donor aggregate >$200F3 | F3X | F3P
26DONOR COMMITTEE FEC IDA/N-9Conditional WarningUsed if CCM, PAC or PTYF3 | F3X | F3P | F3L
27DONOR COMMITTEE NAMEA/N-200Conditional WarningAction PACUsed if CCM, PAC or PTYF3 | F3X | F3P | F3L
28DONOR CANDIDATE FEC IDA/N-9Conditional WarningH98765431Used if CAN or CCMF3 | F3X | F3P | F3L
29DONOR CANDIDATE LAST NAMEA/N-30Conditional WarningUsed if CAN or CCMF3 | F3X | F3P | F3L
30DONOR CANDIDATE FIRST NAMEA/N-20Conditional WarningIf either Last or First name coded; +both Last & First names required.F3 | F3X | F3P | F3L
31DONOR CANDIDATE MIDDLE NAMEA/N-20F3 | F3X | F3P | F3L
32DONOR CANDIDATE PREFIXA/N-10F3 | F3X | F3P | F3L
33DONOR CANDIDATE SUFFIXA/N-10F3 | F3X | F3P | F3L
34DONOR CANDIDATE OFFICEA/N-1Conditional WarningHH,S,PUsed if CAN or CCMF3 | F3X | F3P | F3L
35DONOR CANDIDATE STATEA/N-2Conditional WarningFLAK,AL,...Req if Office = Sen or HouseF3 | F3X | F3P | F3L
36DONOR CANDIDATE DISTRICTNUM-2Conditional Warning3501 ... 99Req if Office = HouseF3 | F3X | F3P | F3L
37CONDUIT NAMEA/N-200Middle OrganizationIf ConduitF3 | F3X | F3P
38CONDUIT STREET1A/N-3445 E StreetF3 | F3X | F3P
39CONDUIT STREET2A/N-34F3 | F3X | F3P
40CONDUIT CITYA/N-30SpringfieldF3 | F3X | F3P
41CONDUIT STATEA/N-2MAF3 | F3X | F3P
42CONDUIT ZIPA/N-910111F3 | F3X | F3P
43MEMO CODEA/N-1XX = TrueF3 | F3X | F3P | F3L
44MEMO TEXT/DESCRIPTIONA/N-100F3 | F3X | F3P | F3L
45Reference to SI or SL system code that identifies the AccountA/N-9123xyzABCMust contain a valid system code used in a Schedule I or L.F3 | F3X | F3P
diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..f4d67ea6 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,65 @@ + + + + + + + + + + + + + FEC Form Data Dictionaries + + + +

FEC Form Data Dictionaries

+

Click on link to view form data dictionary.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
List of forms with links to schema and specification
FormDescriptionSchemaSpecification
Form 3XForm 3X summary and detailed summary pages. (pages 1-5) + + + +
Schedule A + + + +
Individual Receipts (INDV_REC) + + + +
+ + + + \ No newline at end of file diff --git a/docs/schema_doc.css b/docs/schema_doc.css new file mode 100644 index 00000000..83897d89 --- /dev/null +++ b/docs/schema_doc.css @@ -0,0 +1,180 @@ +body { + font: 16px/1.5em "Overpass", "Open Sans", Helvetica, sans-serif; + color: #333; + font-weight: 300; + padding: 40px; +} + +.btn.btn-link { + font-size: 18px; +} + +.jsfh-animated-property { + animation: eclair; + animation-iteration-count: 1; + animation-fill-mode: forwards; + animation-duration: .75s; + +} + +@keyframes eclair { + 0%,100% { + transform: scale(1); + } + 50% { + transform: scale(1.03); + } +} + +.btn.btn-primary { + margin: 10px; +} + +.btn.example-show.collapsed:before { + content: "show" +} + +.btn.example-show:before { + content: "hide" +} + +.description.collapse:not(.show) { + max-height: 100px !important; + overflow: hidden; + + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; +} + +.description.collapsing { + min-height: 100px !important; +} + +.collapse-description-link.collapsed:after { + content: '+ Read More'; +} + +.collapse-description-link:not(.collapsed):after { + content: '- Read Less'; +} + +.badge { + font-size: 100%; + margin-bottom: 0.5rem; + margin-top: 0.5rem; +} + +.badge.value-type { + font-size: 120%; + margin-right: 5px; + margin-bottom: 10px; +} + + +.badge.default-value { + font-size: 120%; + margin-left: 5px; + margin-bottom: 10px; +} + +.badge.restriction { + display: inline-block; +} + +.badge.required-property,.badge.deprecated-property,.badge.pattern-property,.badge.no-additional { + font-size: 100%; + margin-left: 10px; +} + +.accordion div.card:only-child { + border-bottom: 1px solid rgba(0, 0, 0, 0.125); +} + +.examples { + padding: 1rem !important; +} + +.examples pre { + margin-bottom: 0; +} + +.highlight.jumbotron { + padding: 1rem !important; +} + +.generated-by-footer { + margin-top: 1em; + text-align: right; +} + +/* From https://github.com/richleland/pygments-css/blob/master/friendly.css, see https://github.com/trentm/python-markdown2/wiki/fenced-code-blocks */ +.highlight { background: #e9ecef; } /* Changed from #f0f0f0 in the original style to be the same as bootstrap's jumbotron */ +.highlight .hll { background-color: #ffffcc } +.highlight .c { color: #60a0b0; font-style: italic } /* Comment */ +.highlight .err { border: 1px solid #FF0000 } /* Error */ +.highlight .k { color: #007020; font-weight: bold } /* Keyword */ +.highlight .o { color: #666666 } /* Operator */ +.highlight .ch { color: #60a0b0; font-style: italic } /* Comment.Hashbang */ +.highlight .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #007020 } /* Comment.Preproc */ +.highlight .cpf { color: #60a0b0; font-style: italic } /* Comment.PreprocFile */ +.highlight .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */ +.highlight .gd { color: #A00000 } /* Generic.Deleted */ +.highlight .ge { font-style: italic } /* Generic.Emph */ +.highlight .gr { color: #FF0000 } /* Generic.Error */ +.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.highlight .gi { color: #00A000 } /* Generic.Inserted */ +.highlight .go { color: #888888 } /* Generic.Output */ +.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ +.highlight .gs { font-weight: bold } /* Generic.Strong */ +.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.highlight .gt { color: #0044DD } /* Generic.Traceback */ +.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ +.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ +.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ +.highlight .kp { color: #007020 } /* Keyword.Pseudo */ +.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ +.highlight .kt { color: #902000 } /* Keyword.Type */ +.highlight .m { color: #40a070 } /* Literal.Number */ +.highlight .s { color: #4070a0 } /* Literal.String */ +.highlight .na { color: #4070a0 } /* Name.Attribute */ +.highlight .nb { color: #007020 } /* Name.Builtin */ +.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ +.highlight .no { color: #60add5 } /* Name.Constant */ +.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */ +.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */ +.highlight .ne { color: #007020 } /* Name.Exception */ +.highlight .nf { color: #06287e } /* Name.Function */ +.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */ +.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ +.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */ +.highlight .nv { color: #bb60d5 } /* Name.Variable */ +.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */ +.highlight .w { color: #bbbbbb } /* Text.Whitespace */ +.highlight .mb { color: #40a070 } /* Literal.Number.Bin */ +.highlight .mf { color: #40a070 } /* Literal.Number.Float */ +.highlight .mh { color: #40a070 } /* Literal.Number.Hex */ +.highlight .mi { color: #40a070 } /* Literal.Number.Integer */ +.highlight .mo { color: #40a070 } /* Literal.Number.Oct */ +.highlight .sa { color: #4070a0 } /* Literal.String.Affix */ +.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */ +.highlight .sc { color: #4070a0 } /* Literal.String.Char */ +.highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */ +.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ +.highlight .s2 { color: #4070a0 } /* Literal.String.Double */ +.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ +.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */ +.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ +.highlight .sx { color: #c65d09 } /* Literal.String.Other */ +.highlight .sr { color: #235388 } /* Literal.String.Regex */ +.highlight .s1 { color: #4070a0 } /* Literal.String.Single */ +.highlight .ss { color: #517918 } /* Literal.String.Symbol */ +.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */ +.highlight .fm { color: #06287e } /* Name.Function.Magic */ +.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */ +.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */ +.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */ +.highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */ +.highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */ \ No newline at end of file diff --git a/docs/schema_doc.min.js b/docs/schema_doc.min.js new file mode 100644 index 00000000..0d9c7882 --- /dev/null +++ b/docs/schema_doc.min.js @@ -0,0 +1 @@ +function flashElement(t){myElement=document.getElementById(t),myElement.classList.add("jsfh-animated-property"),setTimeout(function(){myElement.classList.remove("jsfh-animated-property")},1e3)}function setAnchor(t){history.pushState({},"",t)}function anchorOnLoad(){let t=window.location.hash.split("?")[0].split("&")[0];"#"===t[0]&&(t=t.substr(1)),t.length>0&&anchorLink(t)}function anchorLink(t){$("#"+t).parents().addBack().filter(".collapse:not(.show), .tab-pane, [role='tab']").each(function(t){if($(this).hasClass("collapse"))$(this).collapse("show");else if($(this).hasClass("tab-pane")){const t=$("a[href='#"+$(this).attr("id")+"']");t&&t.tab("show")}else"tab"===$(this).attr("role")&&$(this).tab("show")}),setTimeout(function(){let e=document.getElementById(t);e&&(e.scrollIntoView({block:"center",behavior:"smooth"}),setTimeout(function(){flashElement(t)},500))},1e3)}$(document).on("click",'a[href^="#"]',function(t){t.preventDefault(),history.pushState({},"",this.href)}); \ No newline at end of file diff --git a/docs/spec_table.css b/docs/spec_table.css new file mode 100644 index 00000000..b217756b --- /dev/null +++ b/docs/spec_table.css @@ -0,0 +1,7 @@ +table { + border-collapse: collapse; +} + +td, th { + border: 1px solid black; +} \ No newline at end of file diff --git a/api/__init__.py b/fecfile_validate/__init__.py similarity index 100% rename from api/__init__.py rename to fecfile_validate/__init__.py diff --git a/fecfile_validate/form3x.py b/fecfile_validate/form3x.py new file mode 100644 index 00000000..657fed84 --- /dev/null +++ b/fecfile_validate/form3x.py @@ -0,0 +1,21 @@ +"""Validate instances of FEC form data against validation schema""" + +import os +import json +from jsonschema import Draft7Validator + + +def get_schema(): + """Return form schema as JSON object""" + with open( + os.path.join(os.path.dirname(__file__), '../schema/F3X.json') + ) as fp: + form_schema = json.load(fp) + return form_schema + + +def validate(form_data): + """Wrapper function around jsonschema validator""" + form_schema = get_schema() + validator = Draft7Validator(form_schema) + return sorted(validator.iter_errors(form_data), key=lambda e: e.path) diff --git a/requirements-test.txt b/requirements-test.txt index d1f22af0..746112ad 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,10 +1,6 @@ -Flask==1.0.0 -Flask-RESTful==0.3.5 +jsonschema==3.2.0 pytest pytest-cov -psycopg2-binary==2.8.2 -retrying==1.3.3 -gunicorn==19.9.0 flake8 pep8-naming safety \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index d01464d2..a353d100 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,8 @@ -Flask==1.0.0 -Flask-RESTful==0.3.5 -psycopg2-binary==2.8.2 -retrying==1.3.3 -gunicorn==19.9.0 +Sphinx==4.3.1 +pytest +coverage==6.2 +pytest-cov +pylint==2.12.2 +jsonschema==3.2.0 +json-schema-for-humans==0.39.1 +openpyxl==3.0.9 diff --git a/run.py b/run.py deleted file mode 100644 index 997786b7..00000000 --- a/run.py +++ /dev/null @@ -1,10 +0,0 @@ -import settings - -from api.validate import app - - -if __name__ == '__main__': - app.debug = True - host = settings.API_URL - port = settings.API_PORT - app.run(host=host, port=port) diff --git a/schema/F3X.json b/schema/F3X.json new file mode 100644 index 00000000..cc2f6106 --- /dev/null +++ b/schema/F3X.json @@ -0,0 +1,2198 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3X.json", + "version": "8.3.0.1", + "title": "FEC F3X", + "description": "FORM 3X - REPORT OF RECEIPTS AND DISBURSEMENTS FOR OTHER THAN AN AUTHORIZED COMMITTEE", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "treasurer_last_name", + "treasurer_first_name", + "date_signed" + ], + "fec_recommended": [ + "committee_name", + "street_1", + "city", + "state", + "zip", + "report_code", + "election_code_{was_rptpgi}", + "date_of_election", + "state_of_election", + "coverage_from_date", + "coverage_through_date" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "enum": ["F3XN", "F3XA", "F3XT"], + "examples": [ + "F3XN" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F3XN", + "VALUE_REFERENCE": "F3X+[N|A|T]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Foes of Pat" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Foes of Pat", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_address": { + "title": "CHANGE OF ADDRESS", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "CHANGE OF ADDRESS", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "125 Sycamore St" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "125 Sycamore St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "report_code": { + "title": "REPORT CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "12P" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "REPORT CODE", + "TYPE": "A-3", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "12P", + "VALUE_REFERENCE": "12C,..., TER", + "RULE_REFERENCE": "Warning if Code is missing;\nError if Coded incorrectly.\nNote: Monthly Year-End reports should be coded with 'MYE'.\nQuarterly Year-End reports will continue to be coded with 'YE'.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code_{was_rptpgi}": { + "title": "ELECTION CODE {was RPTPGI}", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "ELECTION CODE {was RPTPGI}", + "TYPE": "A/N-5", + "REQUIRED": "X (warn if REPORT CODE=12[?])", + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "C,G,P,R,S,E[YYYY]", + "RULE_REFERENCE": "Edit: PGI", + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_of_election": { + "title": "DATE OF ELECTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120715 + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "DATE OF ELECTION", + "TYPE": "NUM-8", + "REQUIRED": "X (warn if REPORT CODE=[12?|30?])", + "SAMPLE_DATA": 20120715, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state_of_election": { + "title": "STATE OF ELECTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "STATE OF ELECTION", + "TYPE": "A-2", + "REQUIRED": "X (warn if REPORT CODE=[12?|30?])", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: St", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "qualified_committee": { + "title": "QUALIFIED COMMITTEE", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "QUALIFIED COMMITTEE", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_last_name": { + "title": "TREASURER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "TREASURER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_first_name": { + "title": "TREASURER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "TREASURER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_middle_name": { + "title": "TREASURER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "TREASURER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_prefix": { + "title": "TREASURER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "TREASURER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_suffix": { + "title": "TREASURER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "TREASURER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20040729 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20040729, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6b_cash_on_hand_beginning": { + "title": "6(b) Cash on Hand beginning", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1123123.45 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "6(b) Cash on Hand beginning", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1123123.45, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6c_total_receipts": { + "title": "6(c) Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "6(c) Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6d_subtotal": { + "title": "6(d) Subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "6(d) Subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6b + 6c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_total_disbursements": { + "title": "7. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "7. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 31", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_cash_on_hand_at_close": { + "title": "8. Cash on Hand at Close", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "8. Cash on Hand at Close", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6d - 7", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_debts_to": { + "title": "9. Debts to", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "9. Debts to", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total on Sch C &/OR D", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_debts_by": { + "title": "10. Debts by", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "10. Debts by", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total on Sch C &/OR D", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11ai_itemized": { + "title": "11(a)i Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "11(a)i Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total on Sch A", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aii_unitemized": { + "title": "11(a)ii Unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "11(a)ii Unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aiii_total": { + "title": "11(a)iii Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "11(a)iii Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11ai + 11aii", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11b_political_party_committees": { + "title": "11(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "11(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11c_other_political_committees_pacs": { + "title": "11(c) Other Political Committees (PACs)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "11(c) Other Political Committees (PACs)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11d_total_contributions": { + "title": "11(d) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "11(d) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11aiii + 11b + 11c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_transfers_from_affiliated_other_party_cmtes": { + "title": "12. Transfers from Affiliated/Other Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "12. Transfers from Affiliated/Other Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13_all_loans_received": { + "title": "13. All Loans Received", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "13. All Loans Received", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_loan_repayments_received": { + "title": "14. Loan Repayments Received", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "14. Loan Repayments Received", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_offsets_to_operating_expenditures_refunds": { + "title": "15. Offsets to Operating Expenditures (refunds)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "15. Offsets to Operating Expenditures (refunds)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_refunds_of_federal_contributions": { + "title": "16. Refunds of Federal Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "16. Refunds of Federal Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17_other_federal_receipts_dividends": { + "title": "17. Other Federal Receipts (dividends)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "17. Other Federal Receipts (dividends)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18a_transfers_from_nonfederal_account_h3": { + "title": "18(a) Transfers from Nonfederal Account (H3)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "18(a) Transfers from Nonfederal Account (H3)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total on Sch H3", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18b_transfers_from_non-federal_levin_-_h5": { + "title": "18(b) Transfers from Non-Federal (Levin - H5)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "18(b) Transfers from Non-Federal (Levin - H5)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total from Sch H5", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18c_total_non-federal_transfers_18a+18b": { + "title": "18(c) Total Non-Federal Transfers (18a+18b)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "18(c) Total Non-Federal Transfers (18a+18b)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 18a+18b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19_total_receipts": { + "title": "19. Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "19. Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d+12+13+14+15+16+17+18c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20_total_federal_receipts": { + "title": "20. Total Federal Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 46, + "FIELD_DESCRIPTION": "20. Total Federal Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19 - 18c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21ai_federal_share": { + "title": "21(a)i Federal Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "21(a)i Federal Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Fed share from Sched H4", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21aii_non-federal_share": { + "title": "21(a)ii Non-Federal Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 48, + "FIELD_DESCRIPTION": "21(a)ii Non-Federal Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Non-Fed share from Sched H4", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21b_other_federal_operating_expenditures": { + "title": "21(b) Other Federal Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 49, + "FIELD_DESCRIPTION": "21(b) Other Federal Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21c_total_operating_expenditures": { + "title": "21(c) Total Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 50, + "FIELD_DESCRIPTION": "21(c) Total Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21ai + 21aii + 21b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_transfers_to_affiliated_other_party_cmtes": { + "title": "22. Transfers to Affiliated/Other Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 51, + "FIELD_DESCRIPTION": "22. Transfers to Affiliated/Other Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_contributions_to_federal_candidates_cmtes": { + "title": "23. Contributions to Federal Candidates/Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 52, + "FIELD_DESCRIPTION": "23. Contributions to Federal Candidates/Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24_independent_expenditures": { + "title": "24. Independent Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 53, + "FIELD_DESCRIPTION": "24. Independent Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_coordinated_expend_made_by_party_cmtes": { + "title": "25. Coordinated Expend made by Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 54, + "FIELD_DESCRIPTION": "25. Coordinated Expend made by Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total on Sch F", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L26_loan_repayments": { + "title": "26. Loan Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 55, + "FIELD_DESCRIPTION": "26. Loan Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27_loans_made": { + "title": "27. Loans Made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 56, + "FIELD_DESCRIPTION": "27. Loans Made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28a_individuals_persons": { + "title": "28(a) Individuals/Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 57, + "FIELD_DESCRIPTION": "28(a) Individuals/Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28b_political_party_committees": { + "title": "28(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 58, + "FIELD_DESCRIPTION": "28(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28c_other_political_committees": { + "title": "28(c) Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 59, + "FIELD_DESCRIPTION": "28(c) Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28d_total_contributions_refunds": { + "title": "28(d) Total Contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 60, + "FIELD_DESCRIPTION": "28(d) Total Contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 28a + 28b + 28c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L29_other_disbursements": { + "title": "29. Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 61, + "FIELD_DESCRIPTION": "29. Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30ai_shared_federal_activity_h6_fed_share": { + "title": "30(a)i Shared Federal Activity (H6) Fed Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 62, + "FIELD_DESCRIPTION": "30(a)i Shared Federal Activity (H6) Fed Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Fed share from Sched H6", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30aii_shared_federal_activity_h6_non-fed": { + "title": "30(a)ii Shared Federal Activity (H6) Non-Fed", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 63, + "FIELD_DESCRIPTION": "30(a)ii Shared Federal Activity (H6) Non-Fed", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Non-Fed share from Sched H6", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30b_non-allocable_100%_fed_election_activity": { + "title": "30(b) Non-Allocable 100% Fed Election Activity", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 64, + "FIELD_DESCRIPTION": "30(b) Non-Allocable 100% Fed Election Activity", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30c_total_federal_election_activity": { + "title": "30(c) Total Federal Election Activity", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 65, + "FIELD_DESCRIPTION": "30(c) Total Federal Election Activity", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "30(a)i+30(a)ii+30(b)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L31_total_disbursements": { + "title": "31. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 66, + "FIELD_DESCRIPTION": "31. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21c + 22-27 + 28d + 29", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L32_total_federal_disbursements": { + "title": "32. Total Federal Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 67, + "FIELD_DESCRIPTION": "32. Total Federal Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 31 - (21aii + 30aii)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L33_total_contributions": { + "title": "33. Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 68, + "FIELD_DESCRIPTION": "33. Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L34_total_contribution_refunds": { + "title": "34. Total Contribution Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 69, + "FIELD_DESCRIPTION": "34. Total Contribution Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 28d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L35_net_contributions": { + "title": "35. Net Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 70, + "FIELD_DESCRIPTION": "35. Net Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d - 28d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L36_total_federal_operating_expenditures": { + "title": "36. Total Federal Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 71, + "FIELD_DESCRIPTION": "36. Total Federal Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21ai + 21b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L37_offsets_to_operating_expenditures": { + "title": "37. Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 72, + "FIELD_DESCRIPTION": "37. Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 15", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L38_net_operating_expenditures": { + "title": "38. Net Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 73, + "FIELD_DESCRIPTION": "38. Net Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 36 - 37 or (21ai + 21b - 15)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6a_cash_on_hand_jan_1,_19": { + "title": "6(a) Cash on Hand Jan 1, 19", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 3123123.45 + ], + "fec_spec": { + "COL_SEQ": 74, + "FIELD_DESCRIPTION": "6(a) Cash on Hand Jan 1, 19", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 3123123.45, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "year_for_above": { + "title": "Year for Above", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 9999, + "examples": [ + 2012 + ], + "fec_spec": { + "COL_SEQ": 75, + "FIELD_DESCRIPTION": "Year for Above", + "TYPE": "NUM-4", + "REQUIRED": null, + "SAMPLE_DATA": 2012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6c_total_receipts-DUPLICATE": { + "title": "6(c) Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 76, + "FIELD_DESCRIPTION": "6(c) Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6d_subtotal-DUPLICATE": { + "title": "6(d) Subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 77, + "FIELD_DESCRIPTION": "6(d) Subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6a + 6c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_total_disbursements-DUPLICATE": { + "title": "7. Total disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 78, + "FIELD_DESCRIPTION": "7. Total disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 30", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_cash_on_hand_close": { + "title": "8. Cash on Hand Close", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 79, + "FIELD_DESCRIPTION": "8. Cash on Hand Close", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6d - 7", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11ai_itemized-DUPLICATE": { + "title": "11(a)i Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 80, + "FIELD_DESCRIPTION": "11(a)i Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aii_unitemized-DUPLICATE": { + "title": "11(a)ii Unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 81, + "FIELD_DESCRIPTION": "11(a)ii Unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aiii_total-DUPLICATE": { + "title": "11(a)iii Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 82, + "FIELD_DESCRIPTION": "11(a)iii Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11ai + 11aii", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11b_political_party_committees-DUPLICATE": { + "title": "11(b) Political Party committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 83, + "FIELD_DESCRIPTION": "11(b) Political Party committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11c_other_political_committees_pacs-DUPLICATE": { + "title": "11(c) Other Political Committees (PACs)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 84, + "FIELD_DESCRIPTION": "11(c) Other Political Committees (PACs)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11d_total_contributions-DUPLICATE": { + "title": "11(d) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 85, + "FIELD_DESCRIPTION": "11(d) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11aiii + 11b + 11c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_transfers_from_affiliated_other_party_cmtes-DUPLICATE": { + "title": "12. Transfers from Affiliated/Other Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 86, + "FIELD_DESCRIPTION": "12. Transfers from Affiliated/Other Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13_all_loans_received-DUPLICATE": { + "title": "13. All Loans Received", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 87, + "FIELD_DESCRIPTION": "13. All Loans Received", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_loan_repayments_received-DUPLICATE": { + "title": "14. Loan Repayments Received", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 88, + "FIELD_DESCRIPTION": "14. Loan Repayments Received", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_offsets_to_operating_expenditures_refunds-DUPLICATE": { + "title": "15. Offsets to Operating Expenditures (refunds)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 89, + "FIELD_DESCRIPTION": "15. Offsets to Operating Expenditures (refunds)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_refunds_of_federal_contributions-DUPLICATE": { + "title": "16. Refunds of Federal Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 90, + "FIELD_DESCRIPTION": "16. Refunds of Federal Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17_other_federal_receipts_dividends-DUPLICATE": { + "title": "17. Other Federal Receipts (dividends)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 91, + "FIELD_DESCRIPTION": "17. Other Federal Receipts (dividends)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18a_transfers_from_nonfederal_account_h3-DUPLICATE": { + "title": "18(a) Transfers from Nonfederal Account (H3)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 92, + "FIELD_DESCRIPTION": "18(a) Transfers from Nonfederal Account (H3)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18b_transfers_from_non-federal_levin_-_h5-DUPLICATE": { + "title": "18(b) Transfers from Non-Federal (Levin - H5)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 93, + "FIELD_DESCRIPTION": "18(b) Transfers from Non-Federal (Levin - H5)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18c_total_non-federal_transfers_18a+18b-DUPLICATE": { + "title": "18(c) Total Non-Federal Transfers (18a+18b)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 94, + "FIELD_DESCRIPTION": "18(c) Total Non-Federal Transfers (18a+18b)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 18a+18b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19_total_receipts-DUPLICATE": { + "title": "19. Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 95, + "FIELD_DESCRIPTION": "19. Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d+12+13+14+15+16+17+18c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20_total_federal_receipts-DUPLICATE": { + "title": "20. Total Federal Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 96, + "FIELD_DESCRIPTION": "20. Total Federal Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19 - 18c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21ai_federal_share-DUPLICATE": { + "title": "21(a)i Federal Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 97, + "FIELD_DESCRIPTION": "21(a)i Federal Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21aii_non-federal_share-DUPLICATE": { + "title": "21(a)ii Non-Federal Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 98, + "FIELD_DESCRIPTION": "21(a)ii Non-Federal Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21b_other_federal_operating_expenditures-DUPLICATE": { + "title": "21(b) Other Federal Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 99, + "FIELD_DESCRIPTION": "21(b) Other Federal Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21c_total_operating_expenditures-DUPLICATE": { + "title": "21(c) Total operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 100, + "FIELD_DESCRIPTION": "21(c) Total operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21ai + 21aii + 21b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_transfers_to_affiliated_other_party_cmtes-DUPLICATE": { + "title": "22. Transfers to Affiliated/Other Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 101, + "FIELD_DESCRIPTION": "22. Transfers to Affiliated/Other Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_contributions_to_federal_candidates_cmtes-DUPLICATE": { + "title": "23. Contributions to Federal Candidates/Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 102, + "FIELD_DESCRIPTION": "23. Contributions to Federal Candidates/Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24_independent_expenditures-DUPLICATE": { + "title": "24. Independent Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 103, + "FIELD_DESCRIPTION": "24. Independent Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_coordinated_expend_made_by_party_cmtes-DUPLICATE": { + "title": "25. Coordinated Expend made by Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 104, + "FIELD_DESCRIPTION": "25. Coordinated Expend made by Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L26_loan_repayments_made": { + "title": "26. Loan Repayments Made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 105, + "FIELD_DESCRIPTION": "26. Loan Repayments Made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27_loans_made-DUPLICATE": { + "title": "27. Loans Made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 106, + "FIELD_DESCRIPTION": "27. Loans Made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28a_individuals_persons-DUPLICATE": { + "title": "28(a) Individuals/Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 107, + "FIELD_DESCRIPTION": "28(a) Individuals/Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28b_political_party_committees-DUPLICATE": { + "title": "28(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 108, + "FIELD_DESCRIPTION": "28(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28c_other_political_committees-DUPLICATE": { + "title": "28(c) Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 109, + "FIELD_DESCRIPTION": "28(c) Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28d_total_contributions_refunds-DUPLICATE": { + "title": "28(d) Total contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 110, + "FIELD_DESCRIPTION": "28(d) Total contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 28a + 28b + 28c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L29_other_disbursements-DUPLICATE": { + "title": "29. Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 111, + "FIELD_DESCRIPTION": "29. Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30ai_shared_federal_activity_h6_fed_share-DUPLICATE": { + "title": "30(a)i Shared Federal Activity (H6) Fed Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 112, + "FIELD_DESCRIPTION": "30(a)i Shared Federal Activity (H6) Fed Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Federal share from Sched H6", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30aii_shared_federal_activity_h6_non-fed-DUPLICATE": { + "title": "30(a)ii Shared Federal Activity (H6) Non-Fed", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 113, + "FIELD_DESCRIPTION": "30(a)ii Shared Federal Activity (H6) Non-Fed", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Non-Fed share from Sched H6", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30b_non-allocable_100%_fed_election_activity-DUPLICATE": { + "title": "30(b) Non-Allocable 100% Fed Election Activity", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 114, + "FIELD_DESCRIPTION": "30(b) Non-Allocable 100% Fed Election Activity", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30c_total_federal_election_activity-DUPLICATE": { + "title": "30(c) Total Federal Election Activity", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 115, + "FIELD_DESCRIPTION": "30(c) Total Federal Election Activity", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "30(a)i+30(a)ii+30(b)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L31_total_disbursements-DUPLICATE": { + "title": "31. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 116, + "FIELD_DESCRIPTION": "31. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21c + 22-27 + 28d + 29", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L32_total_federal_disbursements-DUPLICATE": { + "title": "32. Total Federal Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 117, + "FIELD_DESCRIPTION": "32. Total Federal Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 31 - (21aii + 30aii)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L33_total_contributions-DUPLICATE": { + "title": "33. Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 118, + "FIELD_DESCRIPTION": "33. Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L34_total_contribution_refunds-DUPLICATE": { + "title": "34. Total Contribution Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 119, + "FIELD_DESCRIPTION": "34. Total Contribution Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 28d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L35_net_contributions-DUPLICATE": { + "title": "35. Net contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 120, + "FIELD_DESCRIPTION": "35. Net contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d - 28d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L36_total_federal_operating_expenditures-DUPLICATE": { + "title": "36. Total Federal Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 121, + "FIELD_DESCRIPTION": "36. Total Federal Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21ai + 21b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L37_offsets_to_operating_expenditures-DUPLICATE": { + "title": "37. Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 122, + "FIELD_DESCRIPTION": "37. Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 15", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L38_net_operating_expenditures-DUPLICATE": { + "title": "38. Net Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 123, + "FIELD_DESCRIPTION": "38. Net Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 36 - 37 or (21ai + 21b - 15)", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/INDV_REC.json b/schema/INDV_REC.json new file mode 100644 index 00000000..c06538c7 --- /dev/null +++ b/schema/INDV_REC.json @@ -0,0 +1,540 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/INDV_REC.json", + "version": "v0.0.0.0", + "title": "FEC Individual Receipt", + "description": "Individual Receipt (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "INDV_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "INDV_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN - Candidate, CCM - Candidate Committee, COM - Committee, IND - Individual (a person), ORG - Organization (not a committee and not a person), PAC - Political Action Committee, PTY - Party Organization", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/README.md b/schema/README.md new file mode 100644 index 00000000..b00d0000 --- /dev/null +++ b/schema/README.md @@ -0,0 +1,31 @@ +### Schema Files + +This directory contains the canonical copies of the JSON Standard schema files +defining the validation and business rules of the FEC forms, schedules, and +transaction types. + +In addition to the JSON Schema keyword attributes, several custom FEC-specific +attributes were added to the schema for more complex validation rules that +can not be captured using the standard, legacy spec information, and descriptive +meta-data. + +**Custom Property Attributes** +- fec_spec: Contains the property spec information captured in the original spec FEC spreadsheets +- fec_recommended: Fields that are not required and will prohibit submission of a form but are recommended, raising a warning if missing + +### Schema Backlog + +This directory contains the original output of the bin/generate-starter-schema.py +script. The output *.json files in this directory are parsed from the following +files also contained in this directory: + +- FEC_Format_v8.3.0.1.xlsx +- Form_3X_Receipts_Vendor_10.20.2020.xlsx + +The listed spreadsheets are the result of previous spec work that is now being +ported and into the JSON Schema Standard format. + +During the process of curating these original output files, each file is copied +up to the ../schema directory where it is vetted and manually modified as +needed. The original copy of each file is left in this directory for future +reference. \ No newline at end of file diff --git a/schema/SchA.json b/schema/SchA.json new file mode 100644 index 00000000..0c41e507 --- /dev/null +++ b/schema/SchA.json @@ -0,0 +1,933 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchA.json", + "version": "8.3.0.1", + "title": "FEC Sch A", + "description": "SCHEDULE A - ITEMIZED RECEIPTS", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_organization_name", + "contributor_last_name", + "contributor_first_name" + ], + "fec_recommended": [ + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Appendix C. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "election_code": { + "title": "ELECTION CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "ELECTION CODE", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[YYYY]", + "RULE_REFERENCE": "Values: [G|P|R|S|C|E|O]+Year{YYYY}", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Item Election Code = \"OYYYY\"", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT {F3L Bundled}", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT {F3L Bundled}", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Contribution (F3L Bundled) Amount", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE\n{F3L Semi-annual Bundled}", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE\n{F3L Semi-annual Bundled}", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "F3 | F3P - Cycle to Date; F3X - YTD;\nF3L - Semi-annual Bundled Total", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_fec_id": { + "title": "DONOR CANDIDATE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR CANDIDATE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_last_name": { + "title": "DONOR CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "DONOR CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_first_name": { + "title": "DONOR CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "DONOR CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;\nboth Last & First names required.", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_middle_name": { + "title": "DONOR CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "DONOR CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_prefix": { + "title": "DONOR CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "DONOR CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_suffix": { + "title": "DONOR CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "DONOR CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_office": { + "title": "DONOR CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "DONOR CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_state": { + "title": "DONOR CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "DONOR CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": "Req if Office = Sen or House", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_district": { + "title": "DONOR CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "DONOR CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": "Req if Office = House", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "conduit_name": { + "title": "CONDUIT NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Middle Organization" + ], + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "CONDUIT NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": "Middle Organization", + "VALUE_REFERENCE": "If Conduit", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_street1": { + "title": "CONDUIT STREET1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "45 E Street" + ], + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "CONDUIT STREET1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "45 E Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_street2": { + "title": "CONDUIT STREET2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "CONDUIT STREET2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_city": { + "title": "CONDUIT CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "CONDUIT CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_state": { + "title": "CONDUIT STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "CONDUIT STATE", + "TYPE": "A/N-2", + "REQUIRED": null, + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_zip": { + "title": "CONDUIT ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 10111 + ], + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "CONDUIT ZIP", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": 10111, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "reference_to_si_or_sl_system_code_that_identifies_the_account": { + "title": "Reference to SI or SL system code that identifies the Account", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "123xyzABC" + ], + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "Reference to SI or SL system code that identifies the Account", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "123xyzABC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Must contain a valid system code used in a Schedule I or L.", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/-1.json b/schema/backlog/-1.json new file mode 100644 index 00000000..36764a83 --- /dev/null +++ b/schema/backlog/-1.json @@ -0,0 +1,677 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/-1.json", + "version": "v0.0.0.0", + "title": "FEC Earmark Out (23 - Non-Memo)", + "description": "Earmark Receipt-Disbursement (23)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "payee_organization_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount", + "purpose_of_disbursement", + "beneficiary_committee_fec_id", + "beneficiary_committee_name", + "beneficiary_candidate_fec_id", + "beneficiary_candidate_last_name", + "beneficiary_candidate_first_name", + "beneficiary_candidate_office", + "beneficiary_candidate_state", + "beneficiary_candidate_district" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code": { + "title": "ELECTION CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ELECTION CODE", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[YYYY]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "purpose_of_disbursement": { + "title": "PURPOSE OF DISBURSEMENT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PURPOSE OF DISBURSEMENT", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Earmark from XX (Individual)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": "001, 002, ... 012;\nand\n101 - 107", + "RULE_REFERENCE": "Codes 001-012 are for use by, and only by, non-Presidential Committees.\nCodes 101-107 are used only by Presidential Committees", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_fec_id": { + "title": "BENEFICIARY COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00654323" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00654323", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_name": { + "title": "BENEFICIARY COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_fec_id": { + "title": "BENEFICIARY CANDIDATE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_last_name": { + "title": "BENEFICIARY CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_first_name": { + "title": "BENEFICIARY CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;\nboth Last & First names required.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_middle_name": { + "title": "BENEFICIARY CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_prefix": { + "title": "BENEFICIARY CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_suffix": { + "title": "BENEFICIARY CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_office": { + "title": "BENEFICIARY CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_state": { + "title": "BENEFICIARY CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_district": { + "title": "BENEFICIARY CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/-2.json b/schema/backlog/-2.json new file mode 100644 index 00000000..7d1f8182 --- /dev/null +++ b/schema/backlog/-2.json @@ -0,0 +1,678 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/-2.json", + "version": "v0.0.0.0", + "title": "FEC Earmark Out (23 - Memo)", + "description": "Earmark Receipt-Disbursement (23)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "payee_organization_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount", + "purpose_of_disbursement", + "beneficiary_committee_fec_id", + "beneficiary_committee_name", + "beneficiary_candidate_fec_id", + "beneficiary_candidate_last_name", + "beneficiary_candidate_first_name", + "beneficiary_candidate_office", + "beneficiary_candidate_state", + "beneficiary_candidate_district", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code": { + "title": "ELECTION CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ELECTION CODE", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[YYYY]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "purpose_of_disbursement": { + "title": "PURPOSE OF DISBURSEMENT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PURPOSE OF DISBURSEMENT", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Earmark from", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": "001, 002, ... 012;\nand\n101 - 107", + "RULE_REFERENCE": "Codes 001-012 are for use by, and only by, non-Presidential Committees.\nCodes 101-107 are used only by Presidential Committees", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_fec_id": { + "title": "BENEFICIARY COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00654323" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00654323", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_name": { + "title": "BENEFICIARY COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_fec_id": { + "title": "BENEFICIARY CANDIDATE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_last_name": { + "title": "BENEFICIARY CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_first_name": { + "title": "BENEFICIARY CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;\nboth Last & First names required.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_middle_name": { + "title": "BENEFICIARY CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_prefix": { + "title": "BENEFICIARY CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_suffix": { + "title": "BENEFICIARY CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_office": { + "title": "BENEFICIARY CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_state": { + "title": "BENEFICIARY CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_district": { + "title": "BENEFICIARY CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/BC_PREV-2.json b/schema/backlog/BC_PREV-2.json new file mode 100644 index 00000000..eed9b4e8 --- /dev/null +++ b/schema/backlog/BC_PREV-2.json @@ -0,0 +1,564 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/BC_PREV-2.json", + "version": "v0.0.0.0", + "title": "FEC Bitcoin previously disclose unk", + "description": "Bitcoin previously disclosed, now sold to Unknown (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contributor_employer", + "contributor_occupation", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "# Bitcoins sold via # - purchaser unknown", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "BC_PREV" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "BC_PREV", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/BC_PREV.json b/schema/backlog/BC_PREV.json new file mode 100644 index 00000000..d5e8dbca --- /dev/null +++ b/schema/backlog/BC_PREV.json @@ -0,0 +1,564 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/BC_PREV.json", + "version": "v0.0.0.0", + "title": "FEC Bitcoin previously disclosed", + "description": "Bitcoin previously disclosed, now sold to Individual (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contributor_employer", + "contributor_occupation", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "# Bitcoins, contribution previously disclosed", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "BC_PREV" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "BC_PREV", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/BC_TO_IND-2.json b/schema/backlog/BC_TO_IND-2.json new file mode 100644 index 00000000..786431dd --- /dev/null +++ b/schema/backlog/BC_TO_IND-2.json @@ -0,0 +1,475 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/BC_TO_IND-2.json", + "version": "v0.0.0.0", + "title": "FEC Bitcoin sold to unknown", + "description": "Bitcoin sold to unknown purchaser", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_organization_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contributor_employer", + "contributor_occupation", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "ORG" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "ORG", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "# Bitcoins sold via # - purchaser unknown", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "BC_TO_IND" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "BC_TO_IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/BC_TO_IND.json b/schema/backlog/BC_TO_IND.json new file mode 100644 index 00000000..5324a751 --- /dev/null +++ b/schema/backlog/BC_TO_IND.json @@ -0,0 +1,564 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/BC_TO_IND.json", + "version": "v0.0.0.0", + "title": "FEC Bitcoin sold to individual", + "description": "Bitcoin sold to Individual (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contributor_employer", + "contributor_occupation", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Purchase of # Bitcoins", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "BC_TO_IND" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "BC_TO_IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/BUS_LAB_CAREY.json b/schema/backlog/BUS_LAB_CAREY.json new file mode 100644 index 00000000..61857ed4 --- /dev/null +++ b/schema/backlog/BUS_LAB_CAREY.json @@ -0,0 +1,412 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/BUS_LAB_CAREY.json", + "version": "v0.0.0.0", + "title": "FEC BusinessLabor Carey ", + "description": "Business/Labor Org. NonContribution Account Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "BUS_LAB_CAREY" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "BUS_LAB_CAREY", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Non-contribution Account Receipt", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EARMARK_REC-2.json b/schema/backlog/EARMARK_REC-2.json new file mode 100644 index 00000000..bfdbd6e9 --- /dev/null +++ b/schema/backlog/EARMARK_REC-2.json @@ -0,0 +1,542 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EARMARK_REC-2.json", + "version": "v0.0.0.0", + "title": "FEC Conduit Earmark (Undeposited)", + "description": "Earmark Receipt (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EARMARK_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EARMARK_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Earmarked for XX", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EARMARK_REC.json b/schema/backlog/EARMARK_REC.json new file mode 100644 index 00000000..7baaa03b --- /dev/null +++ b/schema/backlog/EARMARK_REC.json @@ -0,0 +1,541 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EARMARK_REC.json", + "version": "v0.0.0.0", + "title": "FEC Conduit Earmark (Deposited)", + "description": "Earmark Receipt (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EARMARK_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EARMARK_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Earmarked for XX (Candidate)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EAR_MEM-2.json b/schema/backlog/EAR_MEM-2.json new file mode 100644 index 00000000..9ccacb68 --- /dev/null +++ b/schema/backlog/EAR_MEM-2.json @@ -0,0 +1,724 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EAR_MEM-2.json", + "version": "v0.0.0.0", + "title": "FEC Earmark Receipt (11a - Memo)", + "description": "Earmark Receipt-Memo (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "receipt_description", + "donor_committee_fec_id", + "donor_committee_name", + "contributor_employer", + "contributor_occupation", + "transaction_type_identifier-DUPLICATE", + "memo_code-DUPLICATE" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 15, + "pattern": "^[ A-z0-9]{0,15}$", + "examples": [ + "EAR_MEM_23" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-15", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EAR_MEM_23", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": 8 + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Auto populate the same amount as the Earmark Receipt", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total earmarked through conduit.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": 28 + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier-DUPLICATE": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EAR_MEM" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EAR_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_office": { + "title": "BENEFICIARY CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_state": { + "title": "BENEFICIARY CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": null, + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_district": { + "title": "BENEFICIARY CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": null, + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code-DUPLICATE": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description-DUPLICATE": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EAR_MEM.json b/schema/backlog/EAR_MEM.json new file mode 100644 index 00000000..039b0b64 --- /dev/null +++ b/schema/backlog/EAR_MEM.json @@ -0,0 +1,541 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EAR_MEM.json", + "version": "v0.0.0.0", + "title": "FEC Earmark Receipt (11a)", + "description": "Earmark Receipt-Memo (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EAR_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EAR_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Earmarked through XX (Committee)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EAR_PAC_REC-2.json b/schema/backlog/EAR_PAC_REC-2.json new file mode 100644 index 00000000..deca7534 --- /dev/null +++ b/schema/backlog/EAR_PAC_REC-2.json @@ -0,0 +1,452 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EAR_PAC_REC-2.json", + "version": "v0.0.0.0", + "title": "FEC Earmark - Recount Memo", + "description": "Earmark PAC Receipt (17) Memo-corresponds to earmark receipt on Line 17 Recount", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EAR_PAC_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EAR_PAC_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Recount Account Earmarked Through", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EAR_PAC_REC-3.json b/schema/backlog/EAR_PAC_REC-3.json new file mode 100644 index 00000000..a2026b06 --- /dev/null +++ b/schema/backlog/EAR_PAC_REC-3.json @@ -0,0 +1,452 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EAR_PAC_REC-3.json", + "version": "v0.0.0.0", + "title": "FEC Earmark - Conv. (Memo)", + "description": "Earmark PAC Receipt (17) Memo-corresponds to earmark receipt on Line 17 convention", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EAR_PAC_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EAR_PAC_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total earmarked through conduit.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EAR_PAC_REC-4.json b/schema/backlog/EAR_PAC_REC-4.json new file mode 100644 index 00000000..ea2cee5e --- /dev/null +++ b/schema/backlog/EAR_PAC_REC-4.json @@ -0,0 +1,452 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EAR_PAC_REC-4.json", + "version": "v0.0.0.0", + "title": "FEC Earmark - Headq. (Memo)", + "description": "Earmark PAC Receipt (17) Memo-corresponds to earmark receipt on Line 17 HQ Account", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EAR_PAC_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EAR_PAC_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total earmarked through conduit.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EAR_PAC_REC.json b/schema/backlog/EAR_PAC_REC.json new file mode 100644 index 00000000..10f17040 --- /dev/null +++ b/schema/backlog/EAR_PAC_REC.json @@ -0,0 +1,453 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EAR_PAC_REC.json", + "version": "v0.0.0.0", + "title": "FEC Conduit Earmark PAC (Deposited)", + "description": "Earmark PAC Receipt (11c)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "donor_committee_fec_id", + "donor_committee_name" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EAR_PAC_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EAR_PAC_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Earmarked for XX (Candidate)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EAR_REC_23-2.json b/schema/backlog/EAR_REC_23-2.json new file mode 100644 index 00000000..557544a5 --- /dev/null +++ b/schema/backlog/EAR_REC_23-2.json @@ -0,0 +1,681 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EAR_REC_23-2.json", + "version": "v0.0.0.0", + "title": "FEC Earmark Out PAC (Memo)", + "description": "Earmark Receipt-Disbursement (23)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "payee_organization_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount", + "purpose_of_disbursement", + "beneficiary_committee_fec_id", + "beneficiary_committee_name", + "beneficiary_candidate_fec_id", + "beneficiary_candidate_last_name", + "beneficiary_candidate_first_name", + "beneficiary_candidate_office", + "beneficiary_candidate_state", + "beneficiary_candidate_district", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EAR_REC_23" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EAR_REC_23", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code_year": { + "title": "ELECTION CODE/YEAR", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ELECTION CODE/YEAR", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[YYYY]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "purpose_of_disbursement": { + "title": "PURPOSE OF DISBURSEMENT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PURPOSE OF DISBURSEMENT", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Earmark from", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": "001, 002, ... 012;\nand\n101 - 107", + "RULE_REFERENCE": "Codes 001-012 are for use by, and only by, non-Presidential Committees.\nCodes 101-107 are used only by Presidential Committees", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_fec_id": { + "title": "BENEFICIARY COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00654323" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00654323", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_name": { + "title": "BENEFICIARY COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_fec_id": { + "title": "BENEFICIARY CANDIDATE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_last_name": { + "title": "BENEFICIARY CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_first_name": { + "title": "BENEFICIARY CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;\nboth Last & First names required.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_middle_name": { + "title": "BENEFICIARY CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_prefix": { + "title": "BENEFICIARY CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_suffix": { + "title": "BENEFICIARY CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_office": { + "title": "BENEFICIARY CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_state": { + "title": "BENEFICIARY CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_district": { + "title": "BENEFICIARY CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EAR_REC_23.json b/schema/backlog/EAR_REC_23.json new file mode 100644 index 00000000..3fa6ea6b --- /dev/null +++ b/schema/backlog/EAR_REC_23.json @@ -0,0 +1,680 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EAR_REC_23.json", + "version": "v0.0.0.0", + "title": "FEC Earmark Out PAC (23 - Non-Memo)", + "description": "Earmark Receipt-Disbursement (23)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "payee_organization_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount", + "purpose_of_disbursement", + "beneficiary_committee_fec_id", + "beneficiary_committee_name", + "beneficiary_candidate_fec_id", + "beneficiary_candidate_last_name", + "beneficiary_candidate_first_name", + "beneficiary_candidate_office", + "beneficiary_candidate_state", + "beneficiary_candidate_district" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EAR_REC_23" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EAR_REC_23", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code_year": { + "title": "ELECTION CODE/YEAR", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ELECTION CODE/YEAR", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[YYYY]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "purpose_of_disbursement": { + "title": "PURPOSE OF DISBURSEMENT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PURPOSE OF DISBURSEMENT", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Earmark from xx", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": "001, 002, ... 012;\nand\n101 - 107", + "RULE_REFERENCE": "Codes 001-012 are for use by, and only by, non-Presidential Committees.\nCodes 101-107 are used only by Presidential Committees", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_fec_id": { + "title": "BENEFICIARY COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00654323" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00654323", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_name": { + "title": "BENEFICIARY COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_fec_id": { + "title": "BENEFICIARY CANDIDATE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_last_name": { + "title": "BENEFICIARY CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_first_name": { + "title": "BENEFICIARY CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;\nboth Last & First names required.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_middle_name": { + "title": "BENEFICIARY CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_prefix": { + "title": "BENEFICIARY CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_suffix": { + "title": "BENEFICIARY CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_office": { + "title": "BENEFICIARY CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_state": { + "title": "BENEFICIARY CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_candidate_district": { + "title": "BENEFICIARY CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EAR_REC_MEM-2.json b/schema/backlog/EAR_REC_MEM-2.json new file mode 100644 index 00000000..f7956d08 --- /dev/null +++ b/schema/backlog/EAR_REC_MEM-2.json @@ -0,0 +1,453 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EAR_REC_MEM-2.json", + "version": "v0.0.0.0", + "title": "FEC Earmark 11c Memo", + "description": "Earmark Receipt-Memo (11c)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "receipt_description", + "donor_committee_fec_id", + "donor_committee_name", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EAR_REC_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EAR_REC_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total earmarked through conduit.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/EAR_REC_MEM.json b/schema/backlog/EAR_REC_MEM.json new file mode 100644 index 00000000..4dc6aedc --- /dev/null +++ b/schema/backlog/EAR_REC_MEM.json @@ -0,0 +1,453 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/EAR_REC_MEM.json", + "version": "v0.0.0.0", + "title": "FEC Earmark Receipt PAC (11c)", + "description": "Earmark Receipt-Memo (11c)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "donor_committee_fec_id", + "donor_committee_name" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "EAR_REC_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "EAR_REC_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Earmarked through", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F1.json b/schema/backlog/F1.json new file mode 100644 index 00000000..c093cdfe --- /dev/null +++ b/schema/backlog/F1.json @@ -0,0 +1,1994 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F1.json", + "version": "8.3.0.1", + "title": "FEC F1", + "description": "FORM 1 - STATEMENT OF ORGANIZATION", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "committee_name", + "street_1", + "city", + "state", + "zip", + "committee_email", + "signature_last_name", + "signature_first_name", + "date_signed", + "L5_candidate_office", + "L5_candidate_state", + "L5_candidate_district", + "L5_party_code", + "L7_custodian_last_name", + "L7_custodian_first_name", + "L7_custodian_street_1", + "L7_custodian_city", + "L7_custodian_state", + "L7_custodian_zip", + "L7_custodian_title", + "L8_treasurer_last_name", + "L8_treasurer_first_name", + "L8_treasurer_street_1", + "L8_treasurer_city", + "L8_treasurer_state", + "L8_treasurer_zip", + "L9_a_bank_name" + ], + "fec_recommended": [ + "effective_date", + "L5_committee_type", + "L5_candidate_id_number", + "L5_candidate_last_name", + "L5_candidate_first_name", + "L5_party_type", + "L5_e_organization_type", + "L8_treasurer_title", + "L8_treasurer_telephone", + "L9_a_bank_street_1", + "L9_a_bank_city", + "L9_a_bank_state", + "L9_a_bank_zip" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "F1N" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F1N", + "VALUE_REFERENCE": "F1+[N|A]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_committee_name": { + "title": "CHANGE OF COMMITTEE NAME", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "CHANGE OF COMMITTEE NAME", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Friends of Pat" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Friends of Pat", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_address": { + "title": "CHANGE OF ADDRESS", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "CHANGE OF ADDRESS", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Sycamore St" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Sycamore St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_committee_email": { + "title": "CHANGE OF COMMITTEE EMAIL", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CHANGE OF COMMITTEE EMAIL", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_email": { + "title": "COMMITTEE EMAIL", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "examples": [ + "JSmith@xyz.com;Gsmith@xyz.com" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "COMMITTEE EMAIL", + "TYPE": "A/N-90", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "JSmith@xyz.com;Gsmith@xyz.com", + "VALUE_REFERENCE": "email1;email2 or\nemail1,email2", + "RULE_REFERENCE": "Maximum two emails permitted. If two emails are supplied, they must be delimited by a semi-colon or a comma and in standard email format.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_committee_web_url": { + "title": "CHANGE OF COMMITTEE WEB URL", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CHANGE OF COMMITTEE WEB URL", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_web_url": { + "title": "COMMITTEE WEB URL", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "examples": [ + "www.xyz.com" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "COMMITTEE WEB URL", + "TYPE": "A/N-90", + "REQUIRED": null, + "SAMPLE_DATA": "www.xyz.com", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req. if available", + "FIELD_FORM_ASSOCIATION": null + } + }, + "effective_date": { + "title": "EFFECTIVE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120607 + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "EFFECTIVE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120607, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "signature_last_name": { + "title": "SIGNATURE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "SIGNATURE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error) If New Orig.", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "signature_first_name": { + "title": "SIGNATURE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "SIGNATURE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error) If New Orig.", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "signature_middle_name": { + "title": "SIGNATURE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "SIGNATURE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "signature_prefix": { + "title": "SIGNATURE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "SIGNATURE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "signature_suffix": { + "title": "SIGNATURE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "SIGNATURE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120607 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error) If New Orig.", + "SAMPLE_DATA": 20120607, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_committee_type": { + "title": "5. COMMITTEE TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "A, B, C, D, E, F,G,H" + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "5. COMMITTEE TYPE", + "TYPE": "A-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "A, B, C, D, E, F,G,H", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "A - Principal Campaign Committee\nB - Authorized Committee\nC - Support/Oppose One Candidate\n (Not Authorized Committee)\nD - National, State, or Subordinate\n Party Committee\nE - Separate Segregated Fund\nF - Support/Oppose more than One\n Federal Cand & Not Segregated\n Fund/Party\nG - Joint Fundraising Representative\n {At least one is authorized}\nH - Joint Fundraising Representative\n {None are authorized}", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_candidate_id_number": { + "title": "5. CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H04MA3210" + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "5. CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (warn if Cmte=B)", + "SAMPLE_DATA": "H04MA3210", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_candidate_last_name": { + "title": "5. CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "5. CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (warn if Cmte=B)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_candidate_first_name": { + "title": "5. CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "5. CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (warn if Cmte=B)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_candidate_middle_name": { + "title": "5. CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "5. CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_candidate_prefix": { + "title": "5. CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "5. CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_candidate_suffix": { + "title": "5. CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "5. CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_candidate_office": { + "title": "5. CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "5. CANDIDATE OFFICE", + "TYPE": "A-1", + "REQUIRED": "X (error if Cmte=A or B)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_candidate_state": { + "title": "5. CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "5. CANDIDATE STATE", + "TYPE": "A-2", + "REQUIRED": "X (error if Cmte=A or B)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST (if Office = Sen or House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_candidate_district": { + "title": "5. CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 70 + ], + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "5. CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": "X (error if Cmte=A or B and Cand Office=H)", + "SAMPLE_DATA": 70, + "VALUE_REFERENCE": "01, ..., 99", + "RULE_REFERENCE": "(if Office = House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_party_code": { + "title": "5. PARTY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "5. PARTY CODE", + "TYPE": "A-3", + "REQUIRED": "X (error if Cmte=A/B/D)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "AIC,AIP,...", + "RULE_REFERENCE": "Edit: PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_party_type": { + "title": "5. PARTY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "NAT" + ], + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "5. PARTY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (warn if Cmte=D)", + "SAMPLE_DATA": "NAT", + "VALUE_REFERENCE": "NAT,STA,SUB", + "RULE_REFERENCE": "Edit: PTY-TYP", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_e_organization_type": { + "title": "5 (e). ORGANIZATION TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "C" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "5 (e). ORGANIZATION TYPE", + "TYPE": "A/N-1", + "REQUIRED": "X (warn if Cmte=E)", + "SAMPLE_DATA": "C", + "VALUE_REFERENCE": "C,T,L,M,V,W", + "RULE_REFERENCE": "C - Corporation\n T -Trade Association\n L - Labor Organization\n M - Membership Organization\n V - Cooperative\n W - Corporation w/o capital stock", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_e_lobbyist_registrant_pac": { + "title": "5 (e). LOBBYIST/REGISTRANT PAC", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "5 (e). LOBBYIST/REGISTRANT PAC", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=Yes", + "RULE_REFERENCE": "X - Cmttee is a Lobbyist/Registrant PAC", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_f_lobbyist_registrant_pac": { + "title": "5 (f). LOBBYIST/REGISTRANT PAC", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "5 (f). LOBBYIST/REGISTRANT PAC", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=Yes", + "RULE_REFERENCE": "X - Cmttee is a Lobbyist/Registrant PAC", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_f_leadership_pac": { + "title": "5 (f). LEADERSHIP PAC", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "5 (f). LEADERSHIP PAC", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=Yes", + "RULE_REFERENCE": "X - Committee is a Leadership PAC", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_cmtte_id_num": { + "title": "6. AFFILIATED CMTTE ID NUM", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "6. AFFILIATED CMTTE ID NUM", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Use F1S for more Affiliated Committees", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_cmtte_name": { + "title": "6. AFFILIATED CMTTE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "6. AFFILIATED CMTTE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (Warning if Cmtte Type field #22 = 'E' or ('F' and Leadership PAC (field #37) = 'X')\nand Affiliated Person Name not Given", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_candidate_id_num": { + "title": "6. AFFILIATED CANDIDATE ID NUM", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "6. AFFILIATED CANDIDATE ID NUM", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_last_name": { + "title": "6. AFFILIATED LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "6. AFFILIATED LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (Warning if Cmtte Type field #22 = 'E' or ('F' and Leadership PAC (field #37) = 'X')\nand Affiliated CMTTE Name not Given", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_first_name": { + "title": "6. AFFILIATED FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "6. AFFILIATED FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (Warning if Cmtte Type field #22 = 'E' or ('F' and Leadership PAC (field #37) = 'X')\nand Affiliated CMTTE Name not Given", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_middle_name": { + "title": "6. AFFILIATED MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "6. AFFILIATED MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_prefix": { + "title": "6. AFFILIATED PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "6. AFFILIATED PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_suffix": { + "title": "6. AFFILIATED SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "6. AFFILIATED SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_street_1": { + "title": "6. AFFILIATED STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 46, + "FIELD_DESCRIPTION": "6. AFFILIATED STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (Warning if Cmtte Type field #22 = 'E' or ('F' and Leadership PAC (field #37) = 'X')", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_street_2": { + "title": "6. AFFILIATED STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "6. AFFILIATED STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_city": { + "title": "6. AFFILIATED CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 48, + "FIELD_DESCRIPTION": "6. AFFILIATED CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (Warning if Cmtte Type field #22 = 'E' or ('F' and Leadership PAC (field #37) = 'X')", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_state": { + "title": "6. AFFILIATED STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 49, + "FIELD_DESCRIPTION": "6. AFFILIATED STATE", + "TYPE": "A-2", + "REQUIRED": "X (Warning if Cmtte Type field #22 = 'E' or ('F' and Leadership PAC (field #37) = 'X')", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_zip": { + "title": "6. AFFILIATED ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 50, + "FIELD_DESCRIPTION": "6. AFFILIATED ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (Warning if Cmtte Type field #22 = 'E' or ('F' and Leadership PAC (field #37) = 'X')", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_relationship_code__with_filing_committee_named_in_field_#4": { + "title": "6. AFFILIATED RELATIONSHIP CODE\n (with Filing Committee named in field #4)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "AFF" + ], + "fec_spec": { + "COL_SEQ": 51, + "FIELD_DESCRIPTION": "6. AFFILIATED RELATIONSHIP CODE\n (with Filing Committee named in field #4)", + "TYPE": "A/N-3", + "REQUIRED": "X (Warning if Cmtte Type field #22 = 'E' or ('F' and Leadership PAC (field #37) = 'X')", + "SAMPLE_DATA": "AFF", + "VALUE_REFERENCE": "[ORG|AFF|JFR|LPS]", + "RULE_REFERENCE": "ORG - Connected Organization\nAFF - Affiliated Committee\nJFR - Joint Fundraising Participant\nLPS - Leadership PAC Sponsor", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_last_name": { + "title": "7. CUSTODIAN LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 52, + "FIELD_DESCRIPTION": "7. CUSTODIAN LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_first_name": { + "title": "7. CUSTODIAN FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 53, + "FIELD_DESCRIPTION": "7. CUSTODIAN FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_middle_name": { + "title": "7. CUSTODIAN MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 54, + "FIELD_DESCRIPTION": "7. CUSTODIAN MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_prefix": { + "title": "7. CUSTODIAN PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 55, + "FIELD_DESCRIPTION": "7. CUSTODIAN PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_suffix": { + "title": "7. CUSTODIAN SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 56, + "FIELD_DESCRIPTION": "7. CUSTODIAN SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_street_1": { + "title": "7. CUSTODIAN STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 57, + "FIELD_DESCRIPTION": "7. CUSTODIAN STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_street_2": { + "title": "7. CUSTODIAN STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 58, + "FIELD_DESCRIPTION": "7. CUSTODIAN STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_city": { + "title": "7. CUSTODIAN CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 59, + "FIELD_DESCRIPTION": "7. CUSTODIAN CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_state": { + "title": "7. CUSTODIAN STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 60, + "FIELD_DESCRIPTION": "7. CUSTODIAN STATE", + "TYPE": "A-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_zip": { + "title": "7. CUSTODIAN ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 61, + "FIELD_DESCRIPTION": "7. CUSTODIAN ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_title": { + "title": "7. CUSTODIAN TITLE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 62, + "FIELD_DESCRIPTION": "7. CUSTODIAN TITLE", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_custodian_telephone": { + "title": "7. CUSTODIAN TELEPHONE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 9999999999, + "fec_spec": { + "COL_SEQ": 63, + "FIELD_DESCRIPTION": "7. CUSTODIAN TELEPHONE", + "TYPE": "NUM-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_last_name": { + "title": "8. TREASURER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 64, + "FIELD_DESCRIPTION": "8. TREASURER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_first_name": { + "title": "8. TREASURER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 65, + "FIELD_DESCRIPTION": "8. TREASURER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_middle_name": { + "title": "8. TREASURER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 66, + "FIELD_DESCRIPTION": "8. TREASURER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_prefix": { + "title": "8. TREASURER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 67, + "FIELD_DESCRIPTION": "8. TREASURER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_suffix": { + "title": "8. TREASURER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 68, + "FIELD_DESCRIPTION": "8. TREASURER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_street_1": { + "title": "8. TREASURER STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 69, + "FIELD_DESCRIPTION": "8. TREASURER STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_street_2": { + "title": "8. TREASURER STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 70, + "FIELD_DESCRIPTION": "8. TREASURER STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_city": { + "title": "8. TREASURER CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 71, + "FIELD_DESCRIPTION": "8. TREASURER CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_state": { + "title": "8. TREASURER STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 72, + "FIELD_DESCRIPTION": "8. TREASURER STATE", + "TYPE": "A-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_zip": { + "title": "8. TREASURER ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 73, + "FIELD_DESCRIPTION": "8. TREASURER ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_title": { + "title": "8. TREASURER TITLE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 74, + "FIELD_DESCRIPTION": "8. TREASURER TITLE", + "TYPE": "A/N-20", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_treasurer_telephone": { + "title": "8. TREASURER TELEPHONE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 9999999999, + "examples": [ + 5555555555 + ], + "fec_spec": { + "COL_SEQ": 75, + "FIELD_DESCRIPTION": "8. TREASURER TELEPHONE", + "TYPE": "NUM-10", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 5555555555, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_last_name": { + "title": "8. AGENT LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 76, + "FIELD_DESCRIPTION": "8. AGENT LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Use F1S layout for more Agents", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_first_name": { + "title": "8. AGENT FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 77, + "FIELD_DESCRIPTION": "8. AGENT FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_middle_name": { + "title": "8. AGENT MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 78, + "FIELD_DESCRIPTION": "8. AGENT MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_prefix": { + "title": "8. AGENT PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 79, + "FIELD_DESCRIPTION": "8. AGENT PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_suffix": { + "title": "8. AGENT SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 80, + "FIELD_DESCRIPTION": "8. AGENT SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_street_1": { + "title": "8. AGENT STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 81, + "FIELD_DESCRIPTION": "8. AGENT STREET 1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_street_2": { + "title": "8. AGENT STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 82, + "FIELD_DESCRIPTION": "8. AGENT STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_city": { + "title": "8. AGENT CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 83, + "FIELD_DESCRIPTION": "8. AGENT CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_state": { + "title": "8. AGENT STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 84, + "FIELD_DESCRIPTION": "8. AGENT STATE", + "TYPE": "A-2", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_zip": { + "title": "8. AGENT ZIP", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 999999999, + "fec_spec": { + "COL_SEQ": 85, + "FIELD_DESCRIPTION": "8. AGENT ZIP", + "TYPE": "NUM-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_title": { + "title": "8. AGENT TITLE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 86, + "FIELD_DESCRIPTION": "8. AGENT TITLE", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_telephone": { + "title": "8. AGENT TELEPHONE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 9999999999, + "fec_spec": { + "COL_SEQ": 87, + "FIELD_DESCRIPTION": "8. AGENT TELEPHONE", + "TYPE": "NUM-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_a_bank_name": { + "title": "9. a) BANK NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 88, + "FIELD_DESCRIPTION": "9. a) BANK NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "First National Bank", + "RULE_REFERENCE": "Field size increased to A/N-90", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_a_bank_street_1": { + "title": "9. a) BANK STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 89, + "FIELD_DESCRIPTION": "9. a) BANK STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_a_bank_street_2": { + "title": "9. a) BANK STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 90, + "FIELD_DESCRIPTION": "9. a) BANK STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_a_bank_city": { + "title": "9. a) BANK CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 91, + "FIELD_DESCRIPTION": "9. a) BANK CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_a_bank_state": { + "title": "9. a) BANK STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 92, + "FIELD_DESCRIPTION": "9. a) BANK STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_a_bank_zip": { + "title": "9. a) BANK ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 93, + "FIELD_DESCRIPTION": "9. a) BANK ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_b_bank_name": { + "title": "9. b) BANK NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 94, + "FIELD_DESCRIPTION": "9. b) BANK NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Second Nat.Bank", + "RULE_REFERENCE": "Use F1S layout for more Banks", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_b_bank_street_1": { + "title": "9. b) BANK STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 95, + "FIELD_DESCRIPTION": "9. b) BANK STREET 1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_b_bank_street_2": { + "title": "9. b) BANK STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 96, + "FIELD_DESCRIPTION": "9. b) BANK STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_b_bank_city": { + "title": "9. b) BANK CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 97, + "FIELD_DESCRIPTION": "9. b) BANK CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_b_bank_state": { + "title": "9. b) BANK STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 98, + "FIELD_DESCRIPTION": "9. b) BANK STATE", + "TYPE": "A-2", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_b_bank_zip": { + "title": "9. b) BANK ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 99, + "FIELD_DESCRIPTION": "9. b) BANK ZIP", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F13.json b/schema/backlog/F13.json new file mode 100644 index 00000000..768a37cd --- /dev/null +++ b/schema/backlog/F13.json @@ -0,0 +1,475 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F13.json", + "version": "8.3.0.1", + "title": "FEC F13", + "description": "FORM 13 - REPORT OF DONATIONS ACCEPTED FOR INAUGURAL COMMITTEE", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "committee_name", + "amendment_date", + "designated_last_name", + "designated_first_name", + "date_signed" + ], + "fec_recommended": [ + "street_1", + "city", + "state", + "zip", + "report_code", + "coverage_from_date", + "coverage_through_date", + "L5_total_donations_accepted", + "L6_total_donations_refunded", + "L7_net_donations" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F13N" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F13N", + "VALUE_REFERENCE": "F13+[N|A]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Pat Smith Inaugural Committee" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Pat Smith Inaugural Committee", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_address": { + "title": "CHANGE OF ADDRESS", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "CHANGE OF ADDRESS", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "125 Sycamore St" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "125 Sycamore St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "report_code": { + "title": "REPORT CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "90D" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "REPORT CODE", + "TYPE": "A-3", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "90D", + "VALUE_REFERENCE": "90D,90S", + "RULE_REFERENCE": "90D=1st Report; 90S=Supplemental.\nWarning if Code is missing;\nError if Coded incorrectly.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "amendment_date": { + "title": "AMENDMENT DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120220 + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "AMENDMENT DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120220, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if FormType=F13A", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_total_donations_accepted": { + "title": "5 TOTAL DONATIONS ACCEPTED", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1123123.45 + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "5 TOTAL DONATIONS ACCEPTED", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1123123.45, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total of F132 since committee's inception (If report code is a 90D or an amendment to a 90D and the value is > NULL , the value will be validated against the total of all F132 records)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_total_donations_refunded": { + "title": "6 TOTAL DONATIONS REFUNDED", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1123123.45 + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "6 TOTAL DONATIONS REFUNDED", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1123123.45, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total of F133 since committee's inception (If report code is a 90D or an amendment to a 90D and the value is > NULL , the value will be validated against the total of all F133 records)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_net_donations": { + "title": "7 NET DONATIONS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1123123.45 + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "7 NET DONATIONS", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1123123.45, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 5 - 6", + "FIELD_FORM_ASSOCIATION": null + } + }, + "designated_last_name": { + "title": "DESIGNATED LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "DESIGNATED LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "designated_first_name": { + "title": "DESIGNATED FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "DESIGNATED FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "designated_middle_name": { + "title": "DESIGNATED MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "DESIGNATED MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "designated_prefix": { + "title": "DESIGNATED PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "DESIGNATED PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "designated_suffix": { + "title": "DESIGNATED SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "DESIGNATED SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120820 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120820, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F132.json b/schema/backlog/F132.json new file mode 100644 index 00000000..5f6e7511 --- /dev/null +++ b/schema/backlog/F132.json @@ -0,0 +1,476 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F132.json", + "version": "8.3.0.1", + "title": "FEC F132", + "description": "FORM 132 - FOR EACH ITEMIZED DONATION ACCEPTED", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "entity_type", + "contributor_organization_name", + "contributor_last_name", + "contributor_first_name" + ], + "fec_recommended": [ + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F132" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F132", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A1234569-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A1234569-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A3456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A3456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F133" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "F133", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "EDIT: ENTITY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith, Inc" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith, Inc", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donation_date": { + "title": "DONATION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120220 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "DONATION DATE", + "TYPE": "NUM-8", + "REQUIRED": null, + "SAMPLE_DATA": 20120220, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YYYYMMDD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donation_amount": { + "title": "DONATION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "DONATION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donation_aggregate_amount": { + "title": "DONATION AGGREGATE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 500 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "DONATION AGGREGATE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True;", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F133.json b/schema/backlog/F133.json new file mode 100644 index 00000000..bb5ce235 --- /dev/null +++ b/schema/backlog/F133.json @@ -0,0 +1,458 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F133.json", + "version": "8.3.0.1", + "title": "FEC F133", + "description": "FORM 133 - FOR EACH ITEMIZED REFUND OF DONATIONS", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "contributor_organization_name", + "contributor_last_name", + "contributor_first_name" + ], + "fec_recommended": [ + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F133" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F133", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B1234569-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B1234569-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B3456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "B3456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F132" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "F132", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "EDIT: ENTITY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith, Inc" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith, Inc", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "refund_date": { + "title": "REFUND DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120220 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "REFUND DATE", + "TYPE": "NUM-8", + "REQUIRED": null, + "SAMPLE_DATA": 20120220, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YYYYMMDD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "refund_amount": { + "title": "REFUND AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "REFUND AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True;", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F1M.json b/schema/backlog/F1M.json new file mode 100644 index 00000000..3a1a6ba2 --- /dev/null +++ b/schema/backlog/F1M.json @@ -0,0 +1,1483 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F1M.json", + "version": "8.3.0.1", + "title": "FEC F1M", + "description": "FORM 1M - NOTIFICATION OF MULTICANDIDATE STATUS", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "treasurer_last_name", + "treasurer_first_name", + "date_signed" + ], + "fec_recommended": [ + "committee_name", + "street_1", + "city", + "state", + "zip" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F1MN" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F1MN", + "VALUE_REFERENCE": "F1M+[N|A]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Friends of Pat" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Friends of Pat", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Sycamore St" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Sycamore St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_type": { + "title": "COMMITTEE TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "COMMITTEE TYPE", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=State Pty; N=Other", + "RULE_REFERENCE": "Edit: CMTE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "affiliated_-_date_form_f1_filed": { + "title": "AFFILIATED - DATE FORM F1 FILED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20060215 + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "AFFILIATED - DATE FORM F1 FILED", + "TYPE": "NUM-8", + "REQUIRED": "X(err if 11,12)", + "SAMPLE_DATA": 20060215, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Req if any Affil fields used", + "FIELD_FORM_ASSOCIATION": null + } + }, + "affiliated_committee_fec_id": { + "title": "AFFILIATED COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "AFFILIATED COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X(err if 10,12)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if any Affil fields used", + "FIELD_FORM_ASSOCIATION": null + } + }, + "affiliated_committee_name": { + "title": "AFFILIATED COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "AFFILIATED COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X(err if 10,11)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if any Affil fields used", + "FIELD_FORM_ASSOCIATION": null + } + }, + "i_candidate_id_number": { + "title": "I CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H04MA3210" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "I CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "H04MA3210", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "i_candidate_last_name": { + "title": "I CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "I CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "i_candidate_first_name": { + "title": "I CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "I CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "i_candidate_middle_name": { + "title": "I CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "I CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "i_candidate_prefix": { + "title": "I CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "I CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "i_candidate_suffix": { + "title": "I CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "I CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "i_candidate_office": { + "title": "I CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "I CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "i_candidate_state": { + "title": "I CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "I CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST (if Office = Sen or House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "i_candidate_dist": { + "title": "I CANDIDATE DIST", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 70 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "I CANDIDATE DIST", + "TYPE": "NUM-2", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": 70, + "VALUE_REFERENCE": "01, ..., 99", + "RULE_REFERENCE": "(if Office = House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "i_date_of_contribution": { + "title": "I DATE OF CONTRIBUTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "I DATE OF CONTRIBUTION", + "TYPE": "NUM-8", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "ii_candidate_id_number": { + "title": "II CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H04MA3210" + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "II CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "H04MA3210", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "ii_candidate_last_name": { + "title": "II CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "II CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "ii_candidate_first_name": { + "title": "II CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "II CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "ii_candidate_middle_name": { + "title": "II CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "II CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "ii_candidate_prefix": { + "title": "II CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "II CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "ii_candidate_suffix": { + "title": "II CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "II CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "ii_candidate_office": { + "title": "II CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "II CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "ii_candidate_state": { + "title": "II CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "II CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST (if Office = Sen or House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "ii_candidate_dist": { + "title": "II CANDIDATE DIST", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 70 + ], + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "II CANDIDATE DIST", + "TYPE": "NUM-2", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": 70, + "VALUE_REFERENCE": "01, ..., 99", + "RULE_REFERENCE": "(if Office = House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "ii_date_of_contribution": { + "title": "II DATE OF CONTRIBUTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "II DATE OF CONTRIBUTION", + "TYPE": "NUM-8", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iii_candidate_id_number": { + "title": "III CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H04MA3210" + ], + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "III CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "H04MA3210", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iii_candidate_last_name": { + "title": "III CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "III CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iii_candidate_first_name": { + "title": "III CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "III CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iii_candidate_middle_name": { + "title": "III CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "III CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iii_candidate_prefix": { + "title": "III CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "III CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iii_candidate_suffix": { + "title": "III CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "III CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iii_candidate_office": { + "title": "III CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "III CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "iii_candidate_state": { + "title": "III CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "III CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST (if Office = Sen or House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "iii_candidate_dist": { + "title": "III CANDIDATE DIST", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 70 + ], + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "III CANDIDATE DIST", + "TYPE": "NUM-2", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": 70, + "VALUE_REFERENCE": "01, ..., 99", + "RULE_REFERENCE": "(if Office = House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "iii_date_of_contribution": { + "title": "III DATE OF CONTRIBUTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "III DATE OF CONTRIBUTION", + "TYPE": "NUM-8", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iv_candidate_id_number": { + "title": "IV CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H04MA3210" + ], + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "IV CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "H04MA3210", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iv_candidate_last_name": { + "title": "IV CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "IV CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iv_candidate_first_name": { + "title": "IV CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "IV CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iv_candidate_middle_name": { + "title": "IV CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 46, + "FIELD_DESCRIPTION": "IV CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iv_candidate_prefix": { + "title": "IV CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "IV CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iv_candidate_suffix": { + "title": "IV CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 48, + "FIELD_DESCRIPTION": "IV CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iv_candidate_office": { + "title": "IV CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 49, + "FIELD_DESCRIPTION": "IV CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "iv_candidate_state": { + "title": "IV CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 50, + "FIELD_DESCRIPTION": "IV CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST (if Office = Sen or House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "iv_candidate_dist": { + "title": "IV CANDIDATE DIST", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 70 + ], + "fec_spec": { + "COL_SEQ": 51, + "FIELD_DESCRIPTION": "IV CANDIDATE DIST", + "TYPE": "NUM-2", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": 70, + "VALUE_REFERENCE": "01, ..., 99", + "RULE_REFERENCE": "(if Office = House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "iv_date_of_contribution": { + "title": "IV DATE OF CONTRIBUTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 52, + "FIELD_DESCRIPTION": "IV DATE OF CONTRIBUTION", + "TYPE": "NUM-8", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "v_candidate_id_number": { + "title": "V CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H04MA3210" + ], + "fec_spec": { + "COL_SEQ": 53, + "FIELD_DESCRIPTION": "V CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "H04MA3210", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "v_candidate_last_name": { + "title": "V CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 54, + "FIELD_DESCRIPTION": "V CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "v_candidate_first_name": { + "title": "V CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 55, + "FIELD_DESCRIPTION": "V CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "v_candidate_middle_name": { + "title": "V CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 56, + "FIELD_DESCRIPTION": "V CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "v_candidate_prefix": { + "title": "V CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 57, + "FIELD_DESCRIPTION": "V CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "v_candidate_suffix": { + "title": "V CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 58, + "FIELD_DESCRIPTION": "V CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "v_candidate_office": { + "title": "V CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 59, + "FIELD_DESCRIPTION": "V CANDIDATE OFFICE", + "TYPE": "A-1", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "v_candidate_state": { + "title": "V CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 60, + "FIELD_DESCRIPTION": "V CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST (if Office = Sen or House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "v_candidate_dist": { + "title": "V CANDIDATE DIST", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 70 + ], + "fec_spec": { + "COL_SEQ": 61, + "FIELD_DESCRIPTION": "V CANDIDATE DIST", + "TYPE": "NUM-2", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": 70, + "VALUE_REFERENCE": "01, ..., 99", + "RULE_REFERENCE": "(if Office = House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "v_date_of_contribution": { + "title": "V DATE OF CONTRIBUTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 62, + "FIELD_DESCRIPTION": "V DATE OF CONTRIBUTION", + "TYPE": "NUM-8", + "REQUIRED": "X(err if 51st Contrib)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_of_51st_contributor": { + "title": "DATE (Of 51st Contributor)", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 63, + "FIELD_DESCRIPTION": "DATE (Of 51st Contributor)", + "TYPE": "NUM-8", + "REQUIRED": "X(err if 64,65)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if any 51st Contrib fields used", + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_of_orig_registration": { + "title": "DATE (Of Orig Registration)", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 64, + "FIELD_DESCRIPTION": "DATE (Of Orig Registration)", + "TYPE": "NUM-8", + "REQUIRED": "X(err if 63,65)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if any 51st Contrib fields used", + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_cmte_met_requirements": { + "title": "DATE (Cmte Met Requirements)", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 65, + "FIELD_DESCRIPTION": "DATE (Cmte Met Requirements)", + "TYPE": "NUM-8", + "REQUIRED": "X(err if 63,64)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if any 51st Contrib fields used", + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_last_name": { + "title": "TREASURER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 66, + "FIELD_DESCRIPTION": "TREASURER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_first_name": { + "title": "TREASURER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 67, + "FIELD_DESCRIPTION": "TREASURER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_middle_name": { + "title": "TREASURER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 68, + "FIELD_DESCRIPTION": "TREASURER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_prefix": { + "title": "TREASURER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 69, + "FIELD_DESCRIPTION": "TREASURER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_suffix": { + "title": "TREASURER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 70, + "FIELD_DESCRIPTION": "TREASURER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 71, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F1S.json b/schema/backlog/F1S.json new file mode 100644 index 00000000..d5cc70d9 --- /dev/null +++ b/schema/backlog/F1S.json @@ -0,0 +1,701 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F1S.json", + "version": "8.3.0.1", + "title": "FEC F1S", + "description": "FORM 1 - STATEMENT OF ORGANIZATION - Additional Information", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "F1S" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F1S", + "VALUE_REFERENCE": "F1S", + "RULE_REFERENCE": "Secondary Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_joint_fund_participant_cmtte_name": { + "title": "5. JOINT FUND PARTICIPANT CMTTE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "5. JOINT FUND PARTICIPANT CMTTE NAME", + "TYPE": "A/N-200", + "REQUIRED": "", + "SAMPLE_DATA": "", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_joint_fund_participant_cmtte_fec-id": { + "title": "5. JOINT FUND PARTICIPANT CMTTE FEC-ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "5. JOINT FUND PARTICIPANT CMTTE FEC-ID", + "TYPE": "A/N-9", + "REQUIRED": "", + "SAMPLE_DATA": "", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_cmtte_id_num": { + "title": "6. AFFILIATED CMTTE ID NUM", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "6. AFFILIATED CMTTE ID NUM", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_cmtte_name": { + "title": "6. AFFILIATED CMTTE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "6. AFFILIATED CMTTE NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_candidate_id_num": { + "title": "6. AFFILIATED CANDIDATE ID NUM", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "6. AFFILIATED CANDIDATE ID NUM", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_last_name": { + "title": "6. AFFILIATED LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "6. AFFILIATED LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_first_name": { + "title": "6. AFFILIATED FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "6. AFFILIATED FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_middle_name": { + "title": "6. AFFILIATED MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "6. AFFILIATED MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_prefix": { + "title": "6. AFFILIATED PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "6. AFFILIATED PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_suffix": { + "title": "6. AFFILIATED SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "6. AFFILIATED SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_street_1": { + "title": "6. AFFILIATED STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "6. AFFILIATED STREET 1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_street_2": { + "title": "6. AFFILIATED STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "6. AFFILIATED STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_city": { + "title": "6. AFFILIATED CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "6. AFFILIATED CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_state": { + "title": "6. AFFILIATED STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "6. AFFILIATED STATE", + "TYPE": "A-2", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_zip": { + "title": "6. AFFILIATED ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "6. AFFILIATED ZIP", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_affiliated_relationship_code__with_filing_committee_named_in_field_#4": { + "title": "6. AFFILIATED RELATIONSHIP CODE\n (with Filing Committee named in field #4)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "AFF" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "6. AFFILIATED RELATIONSHIP CODE\n (with Filing Committee named in field #4)", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "AFF", + "VALUE_REFERENCE": "[ORG|AFF|JFR|LPS]", + "RULE_REFERENCE": "ORG - Connected Organization\nAFF - Affiliated Committee\nJFR - Joint Fundraising Participant\nLPS - Leadership PAC Sponsor", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_last_name": { + "title": "8. AGENT LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "8. AGENT LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_first_name": { + "title": "8. AGENT FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "8. AGENT FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_middle_name": { + "title": "8. AGENT MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "8. AGENT MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_prefix": { + "title": "8. AGENT PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "8. AGENT PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_suffix": { + "title": "8. AGENT SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "8. AGENT SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_street_1": { + "title": "8. AGENT STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "8. AGENT STREET 1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_street_2": { + "title": "8. AGENT STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "8. AGENT STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_city": { + "title": "8. AGENT CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "8. AGENT CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_state": { + "title": "8. AGENT STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "8. AGENT STATE", + "TYPE": "A-2", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_zip": { + "title": "8. AGENT ZIP", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "8. AGENT ZIP", + "TYPE": "NUM-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_title": { + "title": "8. AGENT TITLE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "8. AGENT TITLE", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_agent_telephone": { + "title": "8. AGENT TELEPHONE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 9999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "8. AGENT TELEPHONE", + "TYPE": "NUM-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_bank_name": { + "title": "9. BANK NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "9. BANK NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Third (plus) Bank", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_bank_street_1": { + "title": "9. BANK STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "9. BANK STREET 1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_bank_street_2": { + "title": "9. BANK STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "9. BANK STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_bank_city": { + "title": "9. BANK CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "9. BANK CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_bank_state": { + "title": "9. BANK STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "9. BANK STATE", + "TYPE": "A-2", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_bank_zip": { + "title": "9. BANK ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "9. BANK ZIP", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F2.json b/schema/backlog/F2.json new file mode 100644 index 00000000..bd1d4a02 --- /dev/null +++ b/schema/backlog/F2.json @@ -0,0 +1,837 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F2.json", + "version": "8.3.0.1", + "title": "FEC F2", + "description": "FORM 2 - STATEMENT OF CANDIDACY", + "type": "object", + "required": [ + "form_type", + "filer_candidate_id_number", + "candidate_last_name", + "candidate_first_name", + "candidate_street_1", + "candidate_city", + "candidate_state", + "candidate_zip", + "candidate_party_code", + "candidate_office", + "year_of_election_1900-2999", + "candidate_signature_last_name", + "candidate_signature_first_name", + "date_signed" + ], + "fec_recommended": [ + "vice_president_last_name", + "vice_president_first_name", + "pcc_committee_name", + "pcc_street_1", + "pcc_city", + "pcc_state", + "pcc_zip" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F2N" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F2N", + "VALUE_REFERENCE": "F2+[N|A]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_candidate_id_number": { + "title": "FILER CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "S04MA3210" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "S04MA3210", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_last_name": { + "title": "CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_first_name": { + "title": "CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_middle_name": { + "title": "CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_prefix": { + "title": "CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_suffix": { + "title": "CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "vice_president_last_name": { + "title": "VICE PRESIDENT LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "VICE PRESIDENT LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "(If Office=Presidential)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "vice_president_first_name": { + "title": "VICE PRESIDENT FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "VICE PRESIDENT FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "(If Office=Presidential)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "vice_president_middle_name": { + "title": "VICE PRESIDENT MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "VICE PRESIDENT MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "vice_president_prefix": { + "title": "VICE PRESIDENT PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "VICE PRESIDENT PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "vice_president_suffix": { + "title": "VICE PRESIDENT SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "VICE PRESIDENT SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_address": { + "title": "CHANGE OF ADDRESS", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CHANGE OF ADDRESS", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_street_1": { + "title": "CANDIDATE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 43, + "pattern": "^[ A-z0-9]{0,43}$", + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CANDIDATE STREET 1", + "TYPE": "A/N-43", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_street_2": { + "title": "CANDIDATE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CANDIDATE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_city": { + "title": "CANDIDATE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CANDIDATE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_state": { + "title": "CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CANDIDATE STATE", + "TYPE": "A-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_zip": { + "title": "CANDIDATE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CANDIDATE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_party_code": { + "title": "CANDIDATE PARTY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "CANDIDATE PARTY CODE", + "TYPE": "A-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "AIC,AIP,...", + "RULE_REFERENCE": "Edit: PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_office": { + "title": "CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "CANDIDATE OFFICE", + "TYPE": "A-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_state-DUPLICATE": { + "title": "CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CANDIDATE STATE", + "TYPE": "A-2", + "REQUIRED": "Depends on Office", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST (if Office = Sen or House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_district": { + "title": "CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 70 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": "Depends on Office", + "SAMPLE_DATA": 70, + "VALUE_REFERENCE": "01, ..., 99", + "RULE_REFERENCE": "(if Office = House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "year_of_election_1900-2999": { + "title": "YEAR OF ELECTION 1900-2999", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 9999, + "examples": [ + 2012 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "YEAR OF ELECTION 1900-2999", + "TYPE": "NUM-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 2012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "pcc_committee_id_number": { + "title": "PCC COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PCC COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Principal Campaign Cmtte ID", + "FIELD_FORM_ASSOCIATION": null + } + }, + "pcc_committee_name": { + "title": "PCC COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "PCC COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "pcc_street_1": { + "title": "PCC STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "PCC STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "pcc_street_2": { + "title": "PCC STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "PCC STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "pcc_city": { + "title": "PCC CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "PCC CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "pcc_state": { + "title": "PCC STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "PCC STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "pcc_zip": { + "title": "PCC ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "PCC ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_committee_id_number": { + "title": "AUTH COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "AUTH COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Authorized Committee ID", + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_committee_name": { + "title": "AUTH COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "AUTH COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_street_1": { + "title": "AUTH STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "AUTH STREET 1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_street_2": { + "title": "AUTH STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "AUTH STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_city": { + "title": "AUTH CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "AUTH CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_state": { + "title": "AUTH STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "AUTH STATE", + "TYPE": "A-2", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_zip": { + "title": "AUTH ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "AUTH ZIP", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_signature_last_name": { + "title": "CANDIDATE SIGNATURE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "CANDIDATE SIGNATURE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_signature_first_name": { + "title": "CANDIDATE SIGNATURE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "CANDIDATE SIGNATURE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_signature_middle_name": { + "title": "CANDIDATE SIGNATURE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "CANDIDATE SIGNATURE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_signature_prefix": { + "title": "CANDIDATE SIGNATURE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "CANDIDATE SIGNATURE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_signature_suffix": { + "title": "CANDIDATE SIGNATURE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "CANDIDATE SIGNATURE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F24.json b/schema/backlog/F24.json new file mode 100644 index 00000000..819eab56 --- /dev/null +++ b/schema/backlog/F24.json @@ -0,0 +1,346 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F24.json", + "version": "8.3.0.1", + "title": "FEC F24", + "description": "FORM 24 - 24 / 48 HOUR NOTICE OF INDEPENDENT EXPENDITURE", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "report_type_{24_48_hour}", + "original_amendment_date", + "treasurer_last_name", + "treasurer_first_name", + "date_signed" + ], + "fec_recommended": [ + "committee_name", + "street_1", + "city", + "state", + "zip" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F24N" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F24N", + "VALUE_REFERENCE": "F24+[N|A]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "report_type_{24_48_hour}": { + "title": "REPORT TYPE {24/48 Hour}", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + 48 + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "REPORT TYPE {24/48 Hour}", + "TYPE": "A/N-2", + "REQUIRED": "X(error)", + "SAMPLE_DATA": 48, + "VALUE_REFERENCE": "24, 48", + "RULE_REFERENCE": "Error if Code is missing;\nError if Coded incorrectly.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "original_amendment_date": { + "title": "ORIGINAL AMENDMENT DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "ORIGINAL AMENDMENT DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error if Form Type=F24A)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Use date of original report or of most recent amendment.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "20643[1234]" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "20643[1234]", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_last_name": { + "title": "TREASURER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "TREASURER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_first_name": { + "title": "TREASURER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "TREASURER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_middle_name": { + "title": "TREASURER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "TREASURER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_prefix": { + "title": "TREASURER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "TREASURER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_suffix": { + "title": "TREASURER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "TREASURER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F2S.json b/schema/backlog/F2S.json new file mode 100644 index 00000000..c3f09f14 --- /dev/null +++ b/schema/backlog/F2S.json @@ -0,0 +1,184 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F2S.json", + "version": "8.3.0.1", + "title": "FEC F2S", + "description": "FORM 2 - STATEMENT OF CANDIDACY - Additional Information", + "type": "object", + "required": [ + "form_type", + "filer_candidate_id_number" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "F2S" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F2S", + "VALUE_REFERENCE": "F2S", + "RULE_REFERENCE": "Secondary Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_candidate_id_number": { + "title": "FILER CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "S04MA3210" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "S04MA3210", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_committee_id_number": { + "title": "AUTH COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "AUTH COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Authorized Committee ID", + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_committee_name": { + "title": "AUTH COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "AUTH COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_street_1": { + "title": "AUTH STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "AUTH STREET 1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_street_2": { + "title": "AUTH STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "AUTH STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_city": { + "title": "AUTH CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "AUTH CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_state": { + "title": "AUTH STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "AUTH STATE", + "TYPE": "A-2", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "auth_zip": { + "title": "AUTH ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "AUTH ZIP", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F3.json b/schema/backlog/F3.json new file mode 100644 index 00000000..9278c5ae --- /dev/null +++ b/schema/backlog/F3.json @@ -0,0 +1,1700 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3.json", + "version": "8.3.0.1", + "title": "FEC F3", + "description": "FORM 3 - REPORT OF RECEIPTS AND DISBURSEMENTS FOR AN AUTHORIZED COMMITTEE ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "treasurer_last_name", + "treasurer_first_name", + "date_signed" + ], + "fec_recommended": [ + "committee_name", + "street_1", + "city", + "state", + "zip", + "election_state", + "report_code", + "coverage_from_date", + "coverage_through_date" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F3N" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F3N", + "VALUE_REFERENCE": "F3+[N|A|T]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Friends of Pat" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Friends of Pat", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_address": { + "title": "CHANGE OF ADDRESS", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "CHANGE OF ADDRESS", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Sycamore St" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Sycamore St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_state": { + "title": "ELECTION STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "ELECTION STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL, ..., ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_district": { + "title": "ELECTION DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 45 + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "ELECTION DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": null, + "SAMPLE_DATA": 45, + "VALUE_REFERENCE": "01, ..., 99", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "report_code": { + "title": "REPORT CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "12P" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "REPORT CODE", + "TYPE": "A-3", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "12P", + "VALUE_REFERENCE": "12C,..., TER", + "RULE_REFERENCE": "Warning if Code is missing;\nError if Coded incorrectly.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code_{was_rptpgi}": { + "title": "ELECTION CODE {was RPTPGI}", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "ELECTION CODE {was RPTPGI}", + "TYPE": "A/N-5", + "REQUIRED": "if REPORT CODE=12[?]", + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "C,G,P,R,S,E[YYYY]", + "RULE_REFERENCE": "Edit: PGI", + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_of_election": { + "title": "DATE OF ELECTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120715 + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "DATE OF ELECTION", + "TYPE": "NUM-8", + "REQUIRED": "if REPORT CODE=[12?|30?]", + "SAMPLE_DATA": 20120715, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state_of_election": { + "title": "STATE OF ELECTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "STATE OF ELECTION", + "TYPE": "A-2", + "REQUIRED": "if REPORT CODE=[12?|30?]", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: St", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120501 + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120501, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120531 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120531, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_last_name": { + "title": "TREASURER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "TREASURER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_first_name": { + "title": "TREASURER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "TREASURER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_middle_name": { + "title": "TREASURER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "TREASURER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_prefix": { + "title": "TREASURER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "TREASURER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_suffix": { + "title": "TREASURER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "TREASURER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6a_total_contributions_no_loans": { + "title": "(6a) Total Contributions (NO Loans)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 12345.67 + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "(6a) Total Contributions (NO Loans)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 12345.67, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11e", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6b_total_contribution_refunds": { + "title": "(6b) Total Contribution Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 123.45 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "(6b) Total Contribution Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 123.45, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 20d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6c_net_contributions": { + "title": "(6c) Net Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 12222.22 + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "(6c) Net Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 12222.22, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6a - 6b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7a_total_operating_expenditures": { + "title": "(7a) Total Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "(7a) Total Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7b_total_offset_to_operating_expenditures": { + "title": "(7b) Total Offset to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "(7b) Total Offset to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 14", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7c_net_operating_expenditures": { + "title": "(7c) NET Operating Expenditures.", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "(7c) NET Operating Expenditures.", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 7a - 7b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_cash_on_hand_at_close_": { + "title": "8. CASH ON HAND AT CLOSE ...", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "8. CASH ON HAND AT CLOSE ...", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 27", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_debts_to_totals_from_sch_c_and_or_d": { + "title": "9. DEBTS TO ( Totals from SCH C and/or D)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "9. DEBTS TO ( Totals from SCH C and/or D)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total from Sch C &/or D", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_debts_by_totals_from_sch_c_and_or_d": { + "title": "10. DEBTS BY (Totals from SCH C and/or D)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "10. DEBTS BY (Totals from SCH C and/or D)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total from Sch C &/or D", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11a_i_individuals_itemized": { + "title": "11(a i.) Individuals Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "11(a i.) Individuals Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total from Sch A", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aii_individuals_unitemized": { + "title": "11(a.ii) Individuals Unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "11(a.ii) Individuals Unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aiii_individual_contribution_total": { + "title": "11(a.iii) Individual Contribution Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "11(a.iii) Individual Contribution Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11ai + 11aii", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11b_political_party_committees": { + "title": "11(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "11(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11c_other_political_committees": { + "title": "11(c) Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "11(c) Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11d_the_candidate": { + "title": "11(d) The Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "11(d) The Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11e_total_contributions": { + "title": "11(e) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "11(e) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11aiii + 11b + 11c + 11d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_transfers_from_other_authorized_cmttes": { + "title": "12. Transfers From Other Authorized Cmttes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "12. Transfers From Other Authorized Cmttes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13a_loans_made_or_guarn_by_the_candidate": { + "title": "13(a) Loans made or guarn. by the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "13(a) Loans made or guarn. by the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13b_all_other_loans": { + "title": "13(b) All Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "13(b) All Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13c_total_loans": { + "title": "13(c) Total Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "13(c) Total Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 13a + 13b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_offsets_to_operating_expenditures": { + "title": "14. Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "14. Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_other_receipts": { + "title": "15. Other Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "15. Other Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_total_receipts": { + "title": "16. Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 46, + "FIELD_DESCRIPTION": "16. Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11e + 12+ 13c + 14 + 15", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17_operating_expenditures": { + "title": "17. Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "17. Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18_transfers_to_other_authorized_committees": { + "title": "18. Transfers to Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 48, + "FIELD_DESCRIPTION": "18. Transfers to Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19a_of_loans_made_or_guar_by_the_cand": { + "title": "19(a) Of Loans made or guar. by the Cand.", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 49, + "FIELD_DESCRIPTION": "19(a) Of Loans made or guar. by the Cand.", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19b_loan_repayments,_all_other_loans": { + "title": "19(b) Loan Repayments, All Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 50, + "FIELD_DESCRIPTION": "19(b) Loan Repayments, All Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_total_loan_repayments": { + "title": "19(c) Total Loan Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 51, + "FIELD_DESCRIPTION": "19(c) Total Loan Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19a + 19b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20a_refund_individuals_other_than_pol_cmtes": { + "title": "20(a) Refund/Individuals Other than Pol. Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 52, + "FIELD_DESCRIPTION": "20(a) Refund/Individuals Other than Pol. Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20b_refund_political_party_committees": { + "title": "20(b) Refund/Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 53, + "FIELD_DESCRIPTION": "20(b) Refund/Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20c_refund_other_political_committees": { + "title": "20(c) Refund/Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 54, + "FIELD_DESCRIPTION": "20(c) Refund/Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20d_total_contribution_refunds": { + "title": "20(d) Total Contribution Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 55, + "FIELD_DESCRIPTION": "20(d) Total Contribution Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 20a + 20b + 20c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21_other_disbursements": { + "title": "21. Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 56, + "FIELD_DESCRIPTION": "21. Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_total_disbursements": { + "title": "22. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 57, + "FIELD_DESCRIPTION": "22. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17 + 18 + 19c + 20d + 21", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_cash_beginning_reporting_period": { + "title": "23. Cash Beginning Reporting Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 58, + "FIELD_DESCRIPTION": "23. Cash Beginning Reporting Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24_total_receipts_this_period": { + "title": "24. Total Receipts this Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 59, + "FIELD_DESCRIPTION": "24. Total Receipts this Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 16", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_subtotals": { + "title": "25. Subtotals", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 60, + "FIELD_DESCRIPTION": "25. Subtotals", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 23 + 24", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L26_total_disbursements_this_period": { + "title": "26. Total Disbursements this Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 61, + "FIELD_DESCRIPTION": "26. Total Disbursements this Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 22", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27_cash_on_hand_at_close_period": { + "title": "27. Cash on hand at Close Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 62, + "FIELD_DESCRIPTION": "27. Cash on hand at Close Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 25 - 26", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6a_total_contributions_no_loans-DUPLICATE": { + "title": "(6a) Total Contributions (No Loans)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 63, + "FIELD_DESCRIPTION": "(6a) Total Contributions (No Loans)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11e", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6b_total_contribution_refunds-DUPLICATE": { + "title": "(6b) Total Contribution Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 64, + "FIELD_DESCRIPTION": "(6b) Total Contribution Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 20d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6c_net_contributions-DUPLICATE": { + "title": "(6c) Net Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 65, + "FIELD_DESCRIPTION": "(6c) Net Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6a - 6b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7a_total_operating_expenditures-DUPLICATE": { + "title": "(7a) Total Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 66, + "FIELD_DESCRIPTION": "(7a) Total Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7b_total_offsets_to_operating_expenditures": { + "title": "(7b) Total Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 67, + "FIELD_DESCRIPTION": "(7b) Total Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 14", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7c_net_operating_expenditures-DUPLICATE": { + "title": "(7c) NET Operating Expenditures.", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 68, + "FIELD_DESCRIPTION": "(7c) NET Operating Expenditures.", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 7a - 7b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11a_i_individuals_itemized-DUPLICATE": { + "title": "11(a i.) Individuals Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 69, + "FIELD_DESCRIPTION": "11(a i.) Individuals Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aii_individuals_unitemized-DUPLICATE": { + "title": "11(a.ii) Individuals Unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 70, + "FIELD_DESCRIPTION": "11(a.ii) Individuals Unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aiii_individuals_total": { + "title": "11(a.iii) Individuals Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 71, + "FIELD_DESCRIPTION": "11(a.iii) Individuals Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11ai + 11aii", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11b_political_party_committees-DUPLICATE": { + "title": "11(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 72, + "FIELD_DESCRIPTION": "11(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11c_all_other_political_committees_pacs": { + "title": "11(c) All Other Political Committees (PACS)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 73, + "FIELD_DESCRIPTION": "11(c) All Other Political Committees (PACS)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11d_the_candidate-DUPLICATE": { + "title": "11(d) The Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 74, + "FIELD_DESCRIPTION": "11(d) The Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11e_total_contributions-DUPLICATE": { + "title": "11(e) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 75, + "FIELD_DESCRIPTION": "11(e) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11aiii + 11b + 11c + 11d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_transfers_from_other_auth_committees": { + "title": "12. Transfers From Other AUTH Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 76, + "FIELD_DESCRIPTION": "12. Transfers From Other AUTH Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13a_loans_made_or_guarn_by_the_candidate-DUPLICATE": { + "title": "13(a) Loans made or guarn. by the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 77, + "FIELD_DESCRIPTION": "13(a) Loans made or guarn. by the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13b_all_other_loans-DUPLICATE": { + "title": "13(b) All Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 78, + "FIELD_DESCRIPTION": "13(b) All Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13c_total_loans-DUPLICATE": { + "title": "13(c) Total Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 79, + "FIELD_DESCRIPTION": "13(c) Total Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 13a + 13b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_offsets_to_operating_expenditures-DUPLICATE": { + "title": "14. Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 80, + "FIELD_DESCRIPTION": "14. Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_other_receipts-DUPLICATE": { + "title": "15. Other Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 81, + "FIELD_DESCRIPTION": "15. Other Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_total_receipts-DUPLICATE": { + "title": "16. Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 82, + "FIELD_DESCRIPTION": "16. Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11e + 12+ 13c + 14 + 15", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17_operating_expenditures-DUPLICATE": { + "title": "17 Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 83, + "FIELD_DESCRIPTION": "17 Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18_transfers_to_other_auth_committees": { + "title": "18. Transfers To Other AUTH Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 84, + "FIELD_DESCRIPTION": "18. Transfers To Other AUTH Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19a_loan_repayment_by_candidate": { + "title": "19(a) Loan Repayment By Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 85, + "FIELD_DESCRIPTION": "19(a) Loan Repayment By Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19b_loan_repayments,_all_other_loans-DUPLICATE": { + "title": "19(b) Loan Repayments, ALL Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 86, + "FIELD_DESCRIPTION": "19(b) Loan Repayments, ALL Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_total_loan_repayments-DUPLICATE": { + "title": "19(c) Total Loan Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 87, + "FIELD_DESCRIPTION": "19(c) Total Loan Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19a + 19b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20a_refund_individuals_other_than_pol_cmtes-DUPLICATE": { + "title": "20(a) Refund/Individuals Other than Pol. Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 88, + "FIELD_DESCRIPTION": "20(a) Refund/Individuals Other than Pol. Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20b_refund,_political_party_committees": { + "title": "20(b) Refund, Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 89, + "FIELD_DESCRIPTION": "20(b) Refund, Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20c_refund,_other_political_committees": { + "title": "20(c) Refund, Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 90, + "FIELD_DESCRIPTION": "20(c) Refund, Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20d_total_contributions_refunds": { + "title": "20(d) Total Contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 91, + "FIELD_DESCRIPTION": "20(d) Total Contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 20a + 20b + 20c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21_other_disbursements-DUPLICATE": { + "title": "21. Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 92, + "FIELD_DESCRIPTION": "21. Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_total_disbursements-DUPLICATE": { + "title": "22. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 93, + "FIELD_DESCRIPTION": "22. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17 + 18 + 19c + 20d + 21", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F3L.json b/schema/backlog/F3L.json new file mode 100644 index 00000000..89973396 --- /dev/null +++ b/schema/backlog/F3L.json @@ -0,0 +1,584 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3L.json", + "version": "8.3.0.1", + "title": "FEC F3L", + "description": "FORM 3L - REPORT OF CONTRIBUTIONS BUNDLED BY LOBBYISTS/REGISTRANTS \n AND LOBBYIST/REGISTRANT PACs", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "semi-annual_period_-_sect_5c_or_d", + "treasurer_last_name", + "treasurer_first_name", + "date_signed" + ], + "fec_recommended": [ + "committee_name", + "street_1", + "city", + "state", + "zip", + "report_code", + "date_of_election", + "state_of_election", + "coverage_from_date", + "coverage_through_date", + "semi-annual_jan-jun_-_sect_6b", + "semi-annual_jul-dec_-_sect_6b" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F3LN" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F3LN", + "VALUE_REFERENCE": "F3L+[N|A]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Friends of Pat" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Friends of Pat", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_address": { + "title": "CHANGE OF ADDRESS", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "CHANGE OF ADDRESS", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Sycamore St" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Sycamore St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_state": { + "title": "ELECTION STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "ELECTION STATE", + "TYPE": "A-2", + "REQUIRED": null, + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL, ..., ZZ", + "RULE_REFERENCE": "Edit: ST {Candidates only}", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_district": { + "title": "ELECTION DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 45 + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "ELECTION DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": null, + "SAMPLE_DATA": 45, + "VALUE_REFERENCE": "01, ..., 99", + "RULE_REFERENCE": "{Candidates only}", + "FIELD_FORM_ASSOCIATION": null + } + }, + "report_code": { + "title": "REPORT CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "12P" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "REPORT CODE", + "TYPE": "A-3", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "12P", + "VALUE_REFERENCE": "12C,..., M2", + "RULE_REFERENCE": "Warning if Code is missing;\nError if Coded incorrectly. Refer to list of valid report codes in Version 6.4 Part I document - Appendix A.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_of_election": { + "title": "DATE OF ELECTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120715 + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "DATE OF ELECTION", + "TYPE": "NUM-8", + "REQUIRED": "X (warn if REPORT CODE=[12?|30?])", + "SAMPLE_DATA": 20120715, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state_of_election": { + "title": "STATE OF ELECTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "STATE OF ELECTION", + "TYPE": "A-2", + "REQUIRED": "X (warn if REPORT CODE=[12?|30?])", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: St", + "FIELD_FORM_ASSOCIATION": null + } + }, + "semi-annual_period_-_sect_5c_or_d": { + "title": "SEMI-ANNUAL PERIOD - Sect 5(c) or (d)", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "SEMI-ANNUAL PERIOD - Sect 5(c) or (d)", + "TYPE": "A-1", + "REQUIRED": "X (error if coded and REPORT CODE is [12?|30?])", + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=YES", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120501 + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120501, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120531 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120531, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "semi-annual_jan-jun_-_sect_6b": { + "title": "SEMI-ANNUAL JAN-JUN - Sect 6(b)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "SEMI-ANNUAL JAN-JUN - Sect 6(b)", + "TYPE": "A-1", + "REQUIRED": "X (warn if coded and SEMI-ANNUAL PERIOD Sect 5(c) or (d) has no value", + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=YES", + "RULE_REFERENCE": "Check-box - Mutually exclusive with Field# 19 and required if \"SEMI-ANNUAL PERIOD - Sect 5(c) or (d)\" had value.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "semi-annual_jul-dec_-_sect_6b": { + "title": "SEMI-ANNUAL JUL-DEC - Sect 6(b)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "SEMI-ANNUAL JUL-DEC - Sect 6(b)", + "TYPE": "A-1", + "REQUIRED": "X (warn if coded and SEMI-ANNUAL PERIOD Sect 5(c) or (d) has no value OR\nX (warn if coded and SEMI-ANNUAL JAN-JUN (preceding) field is also marked 'X'", + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=YES", + "RULE_REFERENCE": "Check-box - Mutually exclusive with Field# 18 and required if \"SEMI-ANNUAL PERIOD - Sect 5(c) or (d)\" had value.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "qtr_mon_post_bundled_contributions": { + "title": "QTR/MON/POST BUNDLED CONTRIBUTIONS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1234.56 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "QTR/MON/POST BUNDLED CONTRIBUTIONS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1234.56, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "semi-annual_bundled_contribs": { + "title": "SEMI-ANNUAL BUNDLED CONTRIBS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1234.56 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "SEMI-ANNUAL BUNDLED CONTRIBS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1234.56, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_last_name": { + "title": "TREASURER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "TREASURER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_first_name": { + "title": "TREASURER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "TREASURER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_middle_name": { + "title": "TREASURER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "TREASURER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_prefix": { + "title": "TREASURER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "TREASURER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_suffix": { + "title": "TREASURER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "TREASURER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F3P.json b/schema/backlog/F3P.json new file mode 100644 index 00000000..535af2a2 --- /dev/null +++ b/schema/backlog/F3P.json @@ -0,0 +1,3609 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3P.json", + "version": "8.3.0.1", + "title": "FEC F3P", + "description": "FORM 3P - REPORT OF RECEIPTS AND DISBURSEMENTS BY AN AUTHORIZED COMMITTEE OF A \n CANDIDATE FOR THE OFFICE OF PRESIDENT OR VICE-PRESIDENT ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "treasurer_last_name", + "treasurer_first_name", + "date_signed" + ], + "fec_recommended": [ + "committee_name", + "street_1", + "city", + "state", + "zip", + "report_code", + "election_code_{was_rptpgi}", + "date_of_election", + "state_of_election", + "coverage_from_date", + "coverage_through_date" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F3PN" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F3PN", + "VALUE_REFERENCE": "F3P+[N|A|T]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Pat for Pres." + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Pat for Pres.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_address": { + "title": "CHANGE OF ADDRESS", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "CHANGE OF ADDRESS", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Oak St" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Oak St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "activity_primary": { + "title": "ACTIVITY PRIMARY", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "ACTIVITY PRIMARY", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "activity_general": { + "title": "ACTIVITY GENERAL", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "ACTIVITY GENERAL", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "report_code": { + "title": "REPORT CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "12P" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "REPORT CODE", + "TYPE": "A-3", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "12P", + "VALUE_REFERENCE": "12C,..., TER", + "RULE_REFERENCE": "Warning if Code is missing;\nError if Coded incorrectly.\nNote: Monthly Year-End reports should be coded with 'MYE'.\nQuarterly Year-End reports will continue to be coded with 'YE'.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code_{was_rptpgi}": { + "title": "ELECTION CODE {was RPTPGI}", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "ELECTION CODE {was RPTPGI}", + "TYPE": "A/N-5", + "REQUIRED": "X (warn if REPORT CODE=12[?])", + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "C,G,P,R,S,E[YYYY]", + "RULE_REFERENCE": "Edit: PGI", + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_of_election": { + "title": "DATE OF ELECTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120715 + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "DATE OF ELECTION", + "TYPE": "NUM-8", + "REQUIRED": "X (warn if REPORT CODE=[12?|30?])", + "SAMPLE_DATA": 20120715, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state_of_election": { + "title": "STATE OF ELECTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "STATE OF ELECTION", + "TYPE": "A-2", + "REQUIRED": "X (warn if REPORT CODE=[12?] but not [12G])", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: St", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120501 + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120501, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120531 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120531, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_last_name": { + "title": "TREASURER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "TREASURER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_first_name": { + "title": "TREASURER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "TREASURER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_middle_name": { + "title": "TREASURER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "TREASURER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_prefix": { + "title": "TREASURER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "TREASURER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_suffix": { + "title": "TREASURER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "TREASURER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_cash_on_hand_beginning_period": { + "title": "6. Cash on Hand Beginning Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "6. Cash on Hand Beginning Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_total_receipts": { + "title": "7. Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "7. Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 22", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_subtotal": { + "title": "8. Subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "8. Subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6 + 7", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_total_disbursements": { + "title": "9. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "9. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 30", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_cash_on_hand_close_of_period": { + "title": "10. Cash on Hand Close of Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "10. Cash on Hand Close of Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 8 - 9", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11_debts_to": { + "title": "11. Debts to", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "11. Debts to", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total from Sch C &/or D", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_debts_by": { + "title": "12. Debts by", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "12. Debts by", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total from Sch C &/or D", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13_expenditures_subject_to_limits": { + "title": "13. Expenditures Subject to Limits", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "13. Expenditures Subject to Limits", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_net_contributions": { + "title": "14. Net Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "14. Net Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17e Col B - 28d Col B", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_net_operating_expenditures": { + "title": "15. Net Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "15. Net Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 23 Col B - 20a Col B", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_federal_funds": { + "title": "16. Federal Funds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "16. Federal Funds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total from Schedule A", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17ai_individuals_itemized": { + "title": "17(a.i) Individuals Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "17(a.i) Individuals Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total from Sch A", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17aii_individuals_unitemized": { + "title": "17(a.ii) Individuals Unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "17(a.ii) Individuals Unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17aiii_individual_contribution_total": { + "title": "17(a.iii) Individual Contribution Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "17(a.iii) Individual Contribution Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17ai + 17aii", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17b_political_party_committees": { + "title": "17(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "17(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17c_other_political_committees_pacs": { + "title": "17(c) Other Political Committees (PACs)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "17(c) Other Political Committees (PACs)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17d_the_candidate": { + "title": "17(d) The Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "17(d) The Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17e_total_contributions": { + "title": "17(e) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "17(e) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17aiii + 17b + 17c + 17d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18_transfers_from_aff_other_party_cmttees": { + "title": "18. Transfers From Aff/Other Party Cmttees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "18. Transfers From Aff/Other Party Cmttees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19a_received_from_or_guaranteed_by_cand": { + "title": "19(a) Received from or Guaranteed by Cand.", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "19(a) Received from or Guaranteed by Cand.", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19b_other_loans": { + "title": "19(b) Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "19(b) Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_total_loans": { + "title": "19(c) Total Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "19(c) Total Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19a + 19b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20a_operating": { + "title": "20(a) Operating", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 46, + "FIELD_DESCRIPTION": "20(a) Operating", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20b_fundraising": { + "title": "20(b) Fundraising", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "20(b) Fundraising", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20c_legal_and_accounting": { + "title": "20(c) Legal and Accounting", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 48, + "FIELD_DESCRIPTION": "20(c) Legal and Accounting", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20d_total_offsets_to_expenditures": { + "title": "20(d) Total offsets to Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 49, + "FIELD_DESCRIPTION": "20(d) Total offsets to Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 20a + 20b + 20c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21_other_receipts": { + "title": "21. Other Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 50, + "FIELD_DESCRIPTION": "21. Other Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_total_receipts": { + "title": "22. Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 51, + "FIELD_DESCRIPTION": "22. Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 16+17e+18+19c+20d+21", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_operating_expenditures": { + "title": "23. Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 52, + "FIELD_DESCRIPTION": "23. Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24_transfers_to_other_authorized_committees": { + "title": "24. Transfers to Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 53, + "FIELD_DESCRIPTION": "24. Transfers to Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_fundraising_disbursements": { + "title": "25. Fundraising Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 54, + "FIELD_DESCRIPTION": "25. Fundraising Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L26_exempt_legal_&_accounting_disbursement": { + "title": "26. Exempt Legal & Accounting Disbursement", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 55, + "FIELD_DESCRIPTION": "26. Exempt Legal & Accounting Disbursement", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27a_made_or_guaranteed_by_candidate": { + "title": "27(a) Made or guaranteed by Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 56, + "FIELD_DESCRIPTION": "27(a) Made or guaranteed by Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27b_other_repayments": { + "title": "27(b) Other Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 57, + "FIELD_DESCRIPTION": "27(b) Other Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27c_total_loan_repayments_made": { + "title": "27(c) Total Loan Repayments Made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 58, + "FIELD_DESCRIPTION": "27(c) Total Loan Repayments Made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 27a + 27b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28a_individuals": { + "title": "28(a) Individuals", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 59, + "FIELD_DESCRIPTION": "28(a) Individuals", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28b_political_party_committees": { + "title": "28(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 60, + "FIELD_DESCRIPTION": "28(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28c_other_political_committees": { + "title": "28(c) Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 61, + "FIELD_DESCRIPTION": "28(c) Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28d_total_contributions_refunds": { + "title": "28(d) Total Contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 62, + "FIELD_DESCRIPTION": "28(d) Total Contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 28a + 28b + 28c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L29_other_disbursements": { + "title": "29. Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 63, + "FIELD_DESCRIPTION": "29. Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30_total_disbursements": { + "title": "30. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 64, + "FIELD_DESCRIPTION": "30. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 23+24+25+26+27c+28d+29", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L31_items_on_hand_to_be_liquidated": { + "title": "31. Items on Hand to be Liquidated", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 65, + "FIELD_DESCRIPTION": "31. Items on Hand to be Liquidated", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "alabama": { + "title": "ALABAMA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 66, + "FIELD_DESCRIPTION": "ALABAMA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "alaska": { + "title": "ALASKA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 67, + "FIELD_DESCRIPTION": "ALASKA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "arizona": { + "title": "ARIZONA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 68, + "FIELD_DESCRIPTION": "ARIZONA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "arkansas": { + "title": "ARKANSAS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 69, + "FIELD_DESCRIPTION": "ARKANSAS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "california": { + "title": "CALIFORNIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 70, + "FIELD_DESCRIPTION": "CALIFORNIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "colorado": { + "title": "COLORADO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 71, + "FIELD_DESCRIPTION": "COLORADO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "connecticut": { + "title": "CONNECTICUT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 72, + "FIELD_DESCRIPTION": "CONNECTICUT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "delaware": { + "title": "DELAWARE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 73, + "FIELD_DESCRIPTION": "DELAWARE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "dist_of_columbia": { + "title": "DIST OF COLUMBIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 74, + "FIELD_DESCRIPTION": "DIST OF COLUMBIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "florida": { + "title": "FLORIDA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 75, + "FIELD_DESCRIPTION": "FLORIDA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "georgia": { + "title": "GEORGIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 76, + "FIELD_DESCRIPTION": "GEORGIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "hawaii": { + "title": "HAWAII", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 77, + "FIELD_DESCRIPTION": "HAWAII", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "idaho": { + "title": "IDAHO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 78, + "FIELD_DESCRIPTION": "IDAHO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "illinois": { + "title": "ILLINOIS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 79, + "FIELD_DESCRIPTION": "ILLINOIS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "indiana": { + "title": "INDIANA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 80, + "FIELD_DESCRIPTION": "INDIANA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iowa": { + "title": "IOWA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 81, + "FIELD_DESCRIPTION": "IOWA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "kansas": { + "title": "KANSAS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 82, + "FIELD_DESCRIPTION": "KANSAS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "kentucky": { + "title": "KENTUCKY", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 83, + "FIELD_DESCRIPTION": "KENTUCKY", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "louisiana": { + "title": "LOUISIANA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 84, + "FIELD_DESCRIPTION": "LOUISIANA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "maine": { + "title": "MAINE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 85, + "FIELD_DESCRIPTION": "MAINE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "maryland": { + "title": "MARYLAND", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 86, + "FIELD_DESCRIPTION": "MARYLAND", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "massachusetts": { + "title": "MASSACHUSETTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 87, + "FIELD_DESCRIPTION": "MASSACHUSETTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "michigan": { + "title": "MICHIGAN", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 88, + "FIELD_DESCRIPTION": "MICHIGAN", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "minnesota": { + "title": "MINNESOTA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 89, + "FIELD_DESCRIPTION": "MINNESOTA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "mississippi": { + "title": "MISSISSIPPI", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 90, + "FIELD_DESCRIPTION": "MISSISSIPPI", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "missouri": { + "title": "MISSOURI", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 91, + "FIELD_DESCRIPTION": "MISSOURI", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "montana": { + "title": "MONTANA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 92, + "FIELD_DESCRIPTION": "MONTANA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "nebraska": { + "title": "NEBRASKA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 93, + "FIELD_DESCRIPTION": "NEBRASKA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "nevada": { + "title": "NEVADA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 94, + "FIELD_DESCRIPTION": "NEVADA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_hampshire": { + "title": "NEW HAMPSHIRE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 95, + "FIELD_DESCRIPTION": "NEW HAMPSHIRE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_jersey": { + "title": "NEW JERSEY", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 96, + "FIELD_DESCRIPTION": "NEW JERSEY", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_mexico": { + "title": "NEW MEXICO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 97, + "FIELD_DESCRIPTION": "NEW MEXICO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_york": { + "title": "NEW YORK", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 98, + "FIELD_DESCRIPTION": "NEW YORK", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "north_carolina": { + "title": "NORTH CAROLINA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 99, + "FIELD_DESCRIPTION": "NORTH CAROLINA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "north_dakota": { + "title": "NORTH DAKOTA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 100, + "FIELD_DESCRIPTION": "NORTH DAKOTA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "ohio": { + "title": "OHIO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 101, + "FIELD_DESCRIPTION": "OHIO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "oklahoma": { + "title": "OKLAHOMA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 102, + "FIELD_DESCRIPTION": "OKLAHOMA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "oregon": { + "title": "OREGON", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 103, + "FIELD_DESCRIPTION": "OREGON", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "pennsylvania": { + "title": "PENNSYLVANIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 104, + "FIELD_DESCRIPTION": "PENNSYLVANIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "rhode_island": { + "title": "RHODE ISLAND", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 105, + "FIELD_DESCRIPTION": "RHODE ISLAND", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "south_carolina": { + "title": "SOUTH CAROLINA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 106, + "FIELD_DESCRIPTION": "SOUTH CAROLINA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "south_dakota": { + "title": "SOUTH DAKOTA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 107, + "FIELD_DESCRIPTION": "SOUTH DAKOTA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "tennessee": { + "title": "TENNESSEE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 108, + "FIELD_DESCRIPTION": "TENNESSEE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "texas": { + "title": "TEXAS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 109, + "FIELD_DESCRIPTION": "TEXAS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "utah": { + "title": "UTAH", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 110, + "FIELD_DESCRIPTION": "UTAH", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "vermont": { + "title": "VERMONT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 111, + "FIELD_DESCRIPTION": "VERMONT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "virginia": { + "title": "VIRGINIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 112, + "FIELD_DESCRIPTION": "VIRGINIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "washington": { + "title": "WASHINGTON", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 113, + "FIELD_DESCRIPTION": "WASHINGTON", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "west_virginia": { + "title": "WEST VIRGINIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 114, + "FIELD_DESCRIPTION": "WEST VIRGINIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "wisconsin": { + "title": "WISCONSIN", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 115, + "FIELD_DESCRIPTION": "WISCONSIN", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "wyoming": { + "title": "WYOMING", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 116, + "FIELD_DESCRIPTION": "WYOMING", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "puerto_rico": { + "title": "PUERTO RICO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 117, + "FIELD_DESCRIPTION": "PUERTO RICO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guam": { + "title": "GUAM", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 118, + "FIELD_DESCRIPTION": "GUAM", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "virgin_islands": { + "title": "VIRGIN ISLANDS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 119, + "FIELD_DESCRIPTION": "VIRGIN ISLANDS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "totals": { + "title": "TOTALS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 120, + "FIELD_DESCRIPTION": "TOTALS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Fields 66+67+...+119", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_federal_funds-DUPLICATE": { + "title": "16. Federal Funds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 121, + "FIELD_DESCRIPTION": "16. Federal Funds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17ai_individuals_itemized-DUPLICATE": { + "title": "17(a.i) Individuals Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 122, + "FIELD_DESCRIPTION": "17(a.i) Individuals Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17aii_individuals_unitemized-DUPLICATE": { + "title": "17(a.ii) Individuals Unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 123, + "FIELD_DESCRIPTION": "17(a.ii) Individuals Unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17aiii_individual_contribution_total-DUPLICATE": { + "title": "17(a.iii) Individual Contribution Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 124, + "FIELD_DESCRIPTION": "17(a.iii) Individual Contribution Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17b_political_party_committees-DUPLICATE": { + "title": "17(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 125, + "FIELD_DESCRIPTION": "17(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17c_other_political_committees_pacs-DUPLICATE": { + "title": "17(c) Other Political Committees (PACs)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 126, + "FIELD_DESCRIPTION": "17(c) Other Political Committees (PACs)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17d_the_candidate-DUPLICATE": { + "title": "17(d) The Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 127, + "FIELD_DESCRIPTION": "17(d) The Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17e_total_contributions_other_than_loans": { + "title": "17(e) Total contributions (Other than Loans)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 128, + "FIELD_DESCRIPTION": "17(e) Total contributions (Other than Loans)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17aiii+17b+17c+17d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18_transfers_from_aff_other_party_cmttees-DUPLICATE": { + "title": "18. Transfers From Aff/Other Party Cmttees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 129, + "FIELD_DESCRIPTION": "18. Transfers From Aff/Other Party Cmttees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19a_received_from_or_guaranteed_by_cand-DUPLICATE": { + "title": "19(a) Received from or Guaranteed by Cand.", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 130, + "FIELD_DESCRIPTION": "19(a) Received from or Guaranteed by Cand.", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19b_other_loans-DUPLICATE": { + "title": "19(b) Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 131, + "FIELD_DESCRIPTION": "19(b) Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_total_loans-DUPLICATE": { + "title": "19(c) Total Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 132, + "FIELD_DESCRIPTION": "19(c) Total Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19(a)+19(b))", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20a_operating-DUPLICATE": { + "title": "20(a) Operating", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 133, + "FIELD_DESCRIPTION": "20(a) Operating", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20b_fundraising-DUPLICATE": { + "title": "20(b) Fundraising", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 134, + "FIELD_DESCRIPTION": "20(b) Fundraising", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20c_legal_and_accounting-DUPLICATE": { + "title": "20(c) Legal and Accounting", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 135, + "FIELD_DESCRIPTION": "20(c) Legal and Accounting", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20d_total_offsets_to_operating_expenditures": { + "title": "20(d) Total Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 136, + "FIELD_DESCRIPTION": "20(d) Total Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 20a+20b+20c)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21_other_receipts-DUPLICATE": { + "title": "21. Other Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 137, + "FIELD_DESCRIPTION": "21. Other Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_total_receipts-DUPLICATE": { + "title": "22. Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 138, + "FIELD_DESCRIPTION": "22. Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 16+17e+18+19c+20d+21", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_operating_expenditures-DUPLICATE": { + "title": "23. Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 139, + "FIELD_DESCRIPTION": "23. Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24_transfers_to_other_authorized_committees-DUPLICATE": { + "title": "24. Transfers to Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 140, + "FIELD_DESCRIPTION": "24. Transfers to Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_fundraising_disbursements-DUPLICATE": { + "title": "25. Fundraising Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 141, + "FIELD_DESCRIPTION": "25. Fundraising Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L26_exempt_legal_&_accounting_disbursement-DUPLICATE": { + "title": "26. Exempt Legal & Accounting Disbursement", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 142, + "FIELD_DESCRIPTION": "26. Exempt Legal & Accounting Disbursement", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27a_made_or_guaranteed_by_the_candidate": { + "title": "27(a) Made or Guaranteed by the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 143, + "FIELD_DESCRIPTION": "27(a) Made or Guaranteed by the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27b_other_repayments-DUPLICATE": { + "title": "27(b) Other Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 144, + "FIELD_DESCRIPTION": "27(b) Other Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27c_total_loan_repayments_made-DUPLICATE": { + "title": "27(c) Total Loan Repayments Made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 145, + "FIELD_DESCRIPTION": "27(c) Total Loan Repayments Made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 27a+27b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28a_individuals-DUPLICATE": { + "title": "28(a) Individuals", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 146, + "FIELD_DESCRIPTION": "28(a) Individuals", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28b_political_party_committees-DUPLICATE": { + "title": "28(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 147, + "FIELD_DESCRIPTION": "28(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28c_other_political_committees-DUPLICATE": { + "title": "28(c) Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 148, + "FIELD_DESCRIPTION": "28(c) Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28d_total_contributions_refunds-DUPLICATE": { + "title": "28(d) Total Contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 149, + "FIELD_DESCRIPTION": "28(d) Total Contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 28a+28b+28c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L29_other_disbursements-DUPLICATE": { + "title": "29. Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 150, + "FIELD_DESCRIPTION": "29. Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30_total_disbursements-DUPLICATE": { + "title": "30. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 151, + "FIELD_DESCRIPTION": "30. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 23+24+25+26+27c+28d+29", + "FIELD_FORM_ASSOCIATION": null + } + }, + "alabama-DUPLICATE": { + "title": "ALABAMA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 152, + "FIELD_DESCRIPTION": "ALABAMA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "alaska-DUPLICATE": { + "title": "ALASKA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 153, + "FIELD_DESCRIPTION": "ALASKA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "arizona-DUPLICATE": { + "title": "ARIZONA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 154, + "FIELD_DESCRIPTION": "ARIZONA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "arkansas-DUPLICATE": { + "title": "ARKANSAS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 155, + "FIELD_DESCRIPTION": "ARKANSAS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "california-DUPLICATE": { + "title": "CALIFORNIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 156, + "FIELD_DESCRIPTION": "CALIFORNIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "colorado-DUPLICATE": { + "title": "COLORADO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 157, + "FIELD_DESCRIPTION": "COLORADO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "connecticut-DUPLICATE": { + "title": "CONNECTICUT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 158, + "FIELD_DESCRIPTION": "CONNECTICUT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "delaware-DUPLICATE": { + "title": "DELAWARE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 159, + "FIELD_DESCRIPTION": "DELAWARE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "dist_of_columbia-DUPLICATE": { + "title": "DIST OF COLUMBIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 160, + "FIELD_DESCRIPTION": "DIST OF COLUMBIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "florida-DUPLICATE": { + "title": "FLORIDA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 161, + "FIELD_DESCRIPTION": "FLORIDA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "georgia-DUPLICATE": { + "title": "GEORGIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 162, + "FIELD_DESCRIPTION": "GEORGIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "hawaii-DUPLICATE": { + "title": "HAWAII", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 163, + "FIELD_DESCRIPTION": "HAWAII", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "idaho-DUPLICATE": { + "title": "IDAHO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 164, + "FIELD_DESCRIPTION": "IDAHO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "illinois-DUPLICATE": { + "title": "ILLINOIS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 165, + "FIELD_DESCRIPTION": "ILLINOIS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "indiana-DUPLICATE": { + "title": "INDIANA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 166, + "FIELD_DESCRIPTION": "INDIANA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iowa-DUPLICATE": { + "title": "IOWA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 167, + "FIELD_DESCRIPTION": "IOWA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "kansas-DUPLICATE": { + "title": "KANSAS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 168, + "FIELD_DESCRIPTION": "KANSAS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "kentucky-DUPLICATE": { + "title": "KENTUCKY", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 169, + "FIELD_DESCRIPTION": "KENTUCKY", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "louisiana-DUPLICATE": { + "title": "LOUISIANA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 170, + "FIELD_DESCRIPTION": "LOUISIANA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "maine-DUPLICATE": { + "title": "MAINE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 171, + "FIELD_DESCRIPTION": "MAINE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "maryland-DUPLICATE": { + "title": "MARYLAND", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 172, + "FIELD_DESCRIPTION": "MARYLAND", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "massachusetts-DUPLICATE": { + "title": "MASSACHUSETTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 173, + "FIELD_DESCRIPTION": "MASSACHUSETTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "michigan-DUPLICATE": { + "title": "MICHIGAN", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 174, + "FIELD_DESCRIPTION": "MICHIGAN", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "minnesota-DUPLICATE": { + "title": "MINNESOTA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 175, + "FIELD_DESCRIPTION": "MINNESOTA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "mississippi-DUPLICATE": { + "title": "MISSISSIPPI", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 176, + "FIELD_DESCRIPTION": "MISSISSIPPI", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "missouri-DUPLICATE": { + "title": "MISSOURI", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 177, + "FIELD_DESCRIPTION": "MISSOURI", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "montana-DUPLICATE": { + "title": "MONTANA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 178, + "FIELD_DESCRIPTION": "MONTANA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "nebraska-DUPLICATE": { + "title": "NEBRASKA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 179, + "FIELD_DESCRIPTION": "NEBRASKA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "nevada-DUPLICATE": { + "title": "NEVADA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 180, + "FIELD_DESCRIPTION": "NEVADA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_hampshire-DUPLICATE": { + "title": "NEW HAMPSHIRE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 181, + "FIELD_DESCRIPTION": "NEW HAMPSHIRE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_jersey-DUPLICATE": { + "title": "NEW JERSEY", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 182, + "FIELD_DESCRIPTION": "NEW JERSEY", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_mexico-DUPLICATE": { + "title": "NEW MEXICO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 183, + "FIELD_DESCRIPTION": "NEW MEXICO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_york-DUPLICATE": { + "title": "NEW YORK", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 184, + "FIELD_DESCRIPTION": "NEW YORK", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "north_carolina-DUPLICATE": { + "title": "NORTH CAROLINA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 185, + "FIELD_DESCRIPTION": "NORTH CAROLINA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "north_dakota-DUPLICATE": { + "title": "NORTH DAKOTA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 186, + "FIELD_DESCRIPTION": "NORTH DAKOTA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "ohio-DUPLICATE": { + "title": "OHIO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 187, + "FIELD_DESCRIPTION": "OHIO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "oklahoma-DUPLICATE": { + "title": "OKLAHOMA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 188, + "FIELD_DESCRIPTION": "OKLAHOMA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "oregon-DUPLICATE": { + "title": "OREGON", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 189, + "FIELD_DESCRIPTION": "OREGON", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "pennsylvania-DUPLICATE": { + "title": "PENNSYLVANIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 190, + "FIELD_DESCRIPTION": "PENNSYLVANIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "rhode_island-DUPLICATE": { + "title": "RHODE ISLAND", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 191, + "FIELD_DESCRIPTION": "RHODE ISLAND", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "south_carolina-DUPLICATE": { + "title": "SOUTH CAROLINA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 192, + "FIELD_DESCRIPTION": "SOUTH CAROLINA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "south_dakota-DUPLICATE": { + "title": "SOUTH DAKOTA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 193, + "FIELD_DESCRIPTION": "SOUTH DAKOTA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "tennessee-DUPLICATE": { + "title": "TENNESSEE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 194, + "FIELD_DESCRIPTION": "TENNESSEE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "texas-DUPLICATE": { + "title": "TEXAS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 195, + "FIELD_DESCRIPTION": "TEXAS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "utah-DUPLICATE": { + "title": "UTAH", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 196, + "FIELD_DESCRIPTION": "UTAH", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "vermont-DUPLICATE": { + "title": "VERMONT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 197, + "FIELD_DESCRIPTION": "VERMONT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "virginia-DUPLICATE": { + "title": "VIRGINIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 198, + "FIELD_DESCRIPTION": "VIRGINIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "washington-DUPLICATE": { + "title": "WASHINGTON", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 199, + "FIELD_DESCRIPTION": "WASHINGTON", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "west_virginia-DUPLICATE": { + "title": "WEST VIRGINIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 200, + "FIELD_DESCRIPTION": "WEST VIRGINIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "wisconsin-DUPLICATE": { + "title": "WISCONSIN", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 201, + "FIELD_DESCRIPTION": "WISCONSIN", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "wyoming-DUPLICATE": { + "title": "WYOMING", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 202, + "FIELD_DESCRIPTION": "WYOMING", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "puerto_rico-DUPLICATE": { + "title": "PUERTO RICO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 203, + "FIELD_DESCRIPTION": "PUERTO RICO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guam-DUPLICATE": { + "title": "GUAM", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 204, + "FIELD_DESCRIPTION": "GUAM", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "virgin_islands-DUPLICATE": { + "title": "VIRGIN ISLANDS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 205, + "FIELD_DESCRIPTION": "VIRGIN ISLANDS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "totals-DUPLICATE": { + "title": "TOTALS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 206, + "FIELD_DESCRIPTION": "TOTALS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Fields 152+153+...+205", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F3P31.json b/schema/backlog/F3P31.json new file mode 100644 index 00000000..e2f435ac --- /dev/null +++ b/schema/backlog/F3P31.json @@ -0,0 +1,472 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3P31.json", + "version": "8.3.0.1", + "title": "FEC F3P31", + "description": "FORM 3P, LINE 31 ATTACHMENT - SCHEDULE OF ITEMS TO BE LIQUIDATED ", + "type": "object", + "required": [ + "filer_committee_id_number", + "transaction_id_number", + "contributor_organization_name", + "contributor_last_name", + "contributor_first_name" + ], + "fec_recommended": [ + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip" + ], + "properties": { + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "AL123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "AL123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "Edit: Entity", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error) IF not [IND|CAN]", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code_{was_rptpgi}": { + "title": "ELECTION CODE {was RPTPGI}", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "ELECTION CODE {was RPTPGI}", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P[YYYY]", + "RULE_REFERENCE": "Edit: PGI", + "FIELD_FORM_ASSOCIATION": null + } + }, + "item_description": { + "title": "ITEM DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Computer" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "ITEM DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": "Computer", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "item_contribution_aquired_date": { + "title": "ITEM CONTRIBUTION/AQUIRED DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "ITEM CONTRIBUTION/AQUIRED DATE", + "TYPE": "NUM-8", + "REQUIRED": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "item_fair_market_value": { + "title": "ITEM FAIR MARKET VALUE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ITEM FAIR MARKET VALUE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F3PS.json b/schema/backlog/F3PS.json new file mode 100644 index 00000000..90f6bb88 --- /dev/null +++ b/schema/backlog/F3PS.json @@ -0,0 +1,1596 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3PS.json", + "version": "8.3.0.1", + "title": "FEC F3PS", + "description": "FORM 3PS - ADDITIONAL SUMMARY REPORT OF RECEIPTS AND DISBURSEMENTS BY AN\n AUTHORIZED COMMITTEE OF A CANDIDATE FOR THE OFFICE OF PRESIDENT\n OR VICE-PRESIDENT FOR REPORTS THAT CROSS ELECTION CYCLES ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "date_-_general_election", + "date_-_day_after_general_election" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F3PS" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F3PS", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_-_general_election": { + "title": "Date - General Election", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20121107 + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "Date - General Election", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20121107, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_-_day_after_general_election": { + "title": "Date - Day after General Election", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20121108 + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "Date - Day after General Election", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20121108, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_net_contributions": { + "title": "14. Net Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "14. Net Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_net_expenditures": { + "title": "15. Net Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "15. Net Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_federal_funds": { + "title": "16. Federal Funds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "16. Federal Funds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17ai_individuals_itemized": { + "title": "17(a.i) Individuals Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "17(a.i) Individuals Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total from Sch A", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17aii_individuals_unitemized": { + "title": "17(a.ii) Individuals Unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "17(a.ii) Individuals Unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17aiii_individual_contribution_total": { + "title": "17(a.iii) Individual Contribution Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "17(a.iii) Individual Contribution Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17ai + 17aii", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17b_political_party_committees": { + "title": "17(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "17(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17c_other_political_committees_pacs": { + "title": "17(c) Other Political Committees (PACs)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "17(c) Other Political Committees (PACs)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17d_the_candidate": { + "title": "17(d) The Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "17(d) The Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17e_total_contributions_other_than_loans": { + "title": "17(e) Total contributions (Other than Loans)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "17(e) Total contributions (Other than Loans)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17aiii+17b+17c+17d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18_transfers_from_aff_other_party_committees": { + "title": "18. Transfers From Aff/Other Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "18. Transfers From Aff/Other Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19a_received_from_or_guaranteed_by_candidate": { + "title": "19(a) Received from or Guaranteed by Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "19(a) Received from or Guaranteed by Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19b_other_loans": { + "title": "19(b) Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "19(b) Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_total_loans": { + "title": "19(c) Total Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "19(c) Total Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19(a)+19(b))", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20a_operating": { + "title": "20(a) Operating", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "20(a) Operating", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20b_fundraising": { + "title": "20(b) Fundraising", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "20(b) Fundraising", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20c_legal_and_accounting": { + "title": "20(c) Legal and Accounting", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "20(c) Legal and Accounting", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20d_total_offsets_to_operating_expenditures": { + "title": "20(d) Total Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "20(d) Total Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 20a+20b+20c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21_other_receipts": { + "title": "21. Other Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "21. Other Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_total_receipts": { + "title": "22. Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "22. Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 16+17e+18+19c+20d+21", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_operating_expenditures": { + "title": "23. Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "23. Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24_transfers_to_other_authorized_committees": { + "title": "24. Transfers to Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "24. Transfers to Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_fundraising_disbursements": { + "title": "25. Fundraising Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "25. Fundraising Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L26_exempt_legal_and_accounting_disbursements": { + "title": "26. Exempt Legal and Accounting Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "26. Exempt Legal and Accounting Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27a_made_or_guaranteed_by_the_candidate": { + "title": "27(a) Made or Guaranteed by the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "27(a) Made or Guaranteed by the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27b_other_repayments": { + "title": "27(b) Other Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "27(b) Other Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27c_total_loan_repayments_made": { + "title": "27(c) Total Loan Repayments Made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "27(c) Total Loan Repayments Made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 27a+27b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28a_individuals": { + "title": "28(a) Individuals", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "28(a) Individuals", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28b_political_party_committees": { + "title": "28(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "28(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28c_other_political_committees": { + "title": "28(c) Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "28(c) Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28d_total_contributions_refunds": { + "title": "28(d) Total Contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "28(d) Total Contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 28a+28b+28c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L29_other_disbursements": { + "title": "29. Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "29. Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30_total_disbursements": { + "title": "30. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "30. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 23+24+25+26+27c+28d+29", + "FIELD_FORM_ASSOCIATION": null + } + }, + "alabama": { + "title": "ALABAMA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "ALABAMA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "alaska": { + "title": "ALASKA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "ALASKA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "arizona": { + "title": "ARIZONA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "ARIZONA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "arkansas": { + "title": "ARKANSAS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "ARKANSAS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "california": { + "title": "CALIFORNIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "CALIFORNIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "colorado": { + "title": "COLORADO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "COLORADO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "connecticut": { + "title": "CONNECTICUT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "CONNECTICUT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "delaware": { + "title": "DELAWARE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "DELAWARE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "dist_of_columbia": { + "title": "DIST OF COLUMBIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 46, + "FIELD_DESCRIPTION": "DIST OF COLUMBIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "florida": { + "title": "FLORIDA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "FLORIDA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "georgia": { + "title": "GEORGIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 48, + "FIELD_DESCRIPTION": "GEORGIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "hawaii": { + "title": "HAWAII", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 49, + "FIELD_DESCRIPTION": "HAWAII", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "idaho": { + "title": "IDAHO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 50, + "FIELD_DESCRIPTION": "IDAHO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "illinois": { + "title": "ILLINOIS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 51, + "FIELD_DESCRIPTION": "ILLINOIS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "indiana": { + "title": "INDIANA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 52, + "FIELD_DESCRIPTION": "INDIANA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "iowa": { + "title": "IOWA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 53, + "FIELD_DESCRIPTION": "IOWA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "kansas": { + "title": "KANSAS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 54, + "FIELD_DESCRIPTION": "KANSAS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "kentucky": { + "title": "KENTUCKY", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 55, + "FIELD_DESCRIPTION": "KENTUCKY", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "louisiana": { + "title": "LOUISIANA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 56, + "FIELD_DESCRIPTION": "LOUISIANA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "maine": { + "title": "MAINE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 57, + "FIELD_DESCRIPTION": "MAINE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "maryland": { + "title": "MARYLAND", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 58, + "FIELD_DESCRIPTION": "MARYLAND", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "massachusetts": { + "title": "MASSACHUSETTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 59, + "FIELD_DESCRIPTION": "MASSACHUSETTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "michigan": { + "title": "MICHIGAN", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 60, + "FIELD_DESCRIPTION": "MICHIGAN", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "minnesota": { + "title": "MINNESOTA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 61, + "FIELD_DESCRIPTION": "MINNESOTA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "mississippi": { + "title": "MISSISSIPPI", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 62, + "FIELD_DESCRIPTION": "MISSISSIPPI", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "missouri": { + "title": "MISSOURI", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 63, + "FIELD_DESCRIPTION": "MISSOURI", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "montana": { + "title": "MONTANA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 64, + "FIELD_DESCRIPTION": "MONTANA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "nebraska": { + "title": "NEBRASKA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 65, + "FIELD_DESCRIPTION": "NEBRASKA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "nevada": { + "title": "NEVADA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 66, + "FIELD_DESCRIPTION": "NEVADA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_hampshire": { + "title": "NEW HAMPSHIRE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 67, + "FIELD_DESCRIPTION": "NEW HAMPSHIRE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_jersey": { + "title": "NEW JERSEY", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 68, + "FIELD_DESCRIPTION": "NEW JERSEY", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_mexico": { + "title": "NEW MEXICO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 69, + "FIELD_DESCRIPTION": "NEW MEXICO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "new_york": { + "title": "NEW YORK", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 70, + "FIELD_DESCRIPTION": "NEW YORK", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "north_carolina": { + "title": "NORTH CAROLINA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 71, + "FIELD_DESCRIPTION": "NORTH CAROLINA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "north_dakota": { + "title": "NORTH DAKOTA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 72, + "FIELD_DESCRIPTION": "NORTH DAKOTA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "ohio": { + "title": "OHIO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 73, + "FIELD_DESCRIPTION": "OHIO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "oklahoma": { + "title": "OKLAHOMA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 74, + "FIELD_DESCRIPTION": "OKLAHOMA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "oregon": { + "title": "OREGON", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 75, + "FIELD_DESCRIPTION": "OREGON", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "pennsylvania": { + "title": "PENNSYLVANIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 76, + "FIELD_DESCRIPTION": "PENNSYLVANIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "rhode_island": { + "title": "RHODE ISLAND", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 77, + "FIELD_DESCRIPTION": "RHODE ISLAND", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "south_carolina": { + "title": "SOUTH CAROLINA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 78, + "FIELD_DESCRIPTION": "SOUTH CAROLINA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "south_dakota": { + "title": "SOUTH DAKOTA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 79, + "FIELD_DESCRIPTION": "SOUTH DAKOTA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "tennessee": { + "title": "TENNESSEE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 80, + "FIELD_DESCRIPTION": "TENNESSEE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "texas": { + "title": "TEXAS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 81, + "FIELD_DESCRIPTION": "TEXAS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "utah": { + "title": "UTAH", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 82, + "FIELD_DESCRIPTION": "UTAH", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "vermont": { + "title": "VERMONT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 83, + "FIELD_DESCRIPTION": "VERMONT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "virginia": { + "title": "VIRGINIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 84, + "FIELD_DESCRIPTION": "VIRGINIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "washington": { + "title": "WASHINGTON", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 85, + "FIELD_DESCRIPTION": "WASHINGTON", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "west_virginia": { + "title": "WEST VIRGINIA", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 86, + "FIELD_DESCRIPTION": "WEST VIRGINIA", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "wisconsin": { + "title": "WISCONSIN", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 87, + "FIELD_DESCRIPTION": "WISCONSIN", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "wyoming": { + "title": "WYOMING", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 88, + "FIELD_DESCRIPTION": "WYOMING", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "puerto_rico": { + "title": "PUERTO RICO", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 89, + "FIELD_DESCRIPTION": "PUERTO RICO", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guam": { + "title": "GUAM", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 90, + "FIELD_DESCRIPTION": "GUAM", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "virgin_islands": { + "title": "VIRGIN ISLANDS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 91, + "FIELD_DESCRIPTION": "VIRGIN ISLANDS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "totals": { + "title": "TOTALS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 92, + "FIELD_DESCRIPTION": "TOTALS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Fields 38+39+...+91", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F3PZ1.json b/schema/backlog/F3PZ1.json new file mode 100644 index 00000000..0528a878 --- /dev/null +++ b/schema/backlog/F3PZ1.json @@ -0,0 +1,810 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3PZ1.json", + "version": "8.3.0.1", + "title": "FEC F3PZ1", + "description": "FORM 3PZ - (File with Form 3P) Part 1: CONSOLIDATION REPORT\n (To Be Used By A Principal Campaign Committee) ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number_pcc" + ], + "fec_recommended": [ + "committee_name_pcc", + "coverage_from_date", + "coverage_through_date", + "committee_id_number_auth", + "committee_name_auth" + ], + "properties": { + "field_description": { + "title": "FIELD\nDESCRIPTION", + "description": "", + "examples": [ + "SAMPLE\nDATA" + ], + "fec_spec": { + "COL_SEQ": "COL\nSEQ", + "FIELD_DESCRIPTION": "FIELD\nDESCRIPTION", + "TYPE": "TYPE", + "REQUIRED": "REQUIRED", + "SAMPLE_DATA": "SAMPLE\nDATA", + "VALUE_REFERENCE": "VALUE\nREFERENCE", + "RULE_REFERENCE": "RULE\nREFERENCE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "F3PZ1" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-5", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F3PZ1", + "VALUE_REFERENCE": "F3PZ1", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number_pcc": { + "title": "FILER COMMITTEE ID NUMBER (PCC)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER (PCC)", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Same as field #2 on F3P record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name_pcc": { + "title": "COMMITTEE NAME (PCC)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME (PCC)", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Same as field #3 on F3P record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120101 + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120101, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Same as field #16 on F3P record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20121231 + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20121231, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Same as field #17 on F3P record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_id_number_auth": { + "title": "COMMITTEE ID NUMBER (Auth)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "COMMITTEE ID NUMBER (Auth)", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "First F3PZ1 record: same as field #2\nAuthorized Committee F3PZ1: ID# of Authorized Committee", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name_auth": { + "title": "COMMITTEE NAME (Auth)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "COMMITTEE NAME (Auth)", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If Authorized Committee = PCC (Field 3)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_cash_on_hand_at_beginning_of_reporting_period": { + "title": "6 Cash on Hand at Beginning of Reporting Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "6 Cash on Hand at Beginning of Reporting Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_cash_on_hand_at_close_of_reporting_period": { + "title": "10 Cash on Hand at Close of Reporting Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "10 Cash on Hand at Close of Reporting Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11_debts_and_obligations_owed_to_the_committee": { + "title": "11 Debts and Obligations Owed TO the Committee", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "11 Debts and Obligations Owed TO the Committee", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_debts_and_obligations_owed_by_the_committee": { + "title": "12 Debts and Obligations Owed BY the Committee", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "12 Debts and Obligations Owed BY the Committee", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13_expenditures_subject_to_limitation": { + "title": "13 Expenditures Subject to Limitation", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "13 Expenditures Subject to Limitation", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_net_contributions": { + "title": "14 Net Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "14 Net Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_net_operating_expenditures": { + "title": "15 Net Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "15 Net Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_federal_funds": { + "title": "16 Federal Funds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "16 Federal Funds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17aiii_contributions_from_individuals_persons_other_than_political_committees": { + "title": "17(a)(iii) Contributions from Individuals/Persons Other Than Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "17(a)(iii) Contributions from Individuals/Persons Other Than Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17b_contributions_from_political_party_committees": { + "title": "17(b) Contributions from Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "17(b) Contributions from Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17c_contributions_from_other_political_committees": { + "title": "17(c) Contributions from Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "17(c) Contributions from Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17d_contributions_from_the_candidate": { + "title": "17(d) Contributions from the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "17(d) Contributions from the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17e_total_contributions": { + "title": "17(e) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "17(e) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18_transfers_from_other_authorized_committees": { + "title": "18 Transfers from Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "18 Transfers from Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19a_loans_received_from_or_guaranteed_by_the_candidate": { + "title": "19(a) Loans Received From or Guaranteed by the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "19(a) Loans Received From or Guaranteed by the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19b_other_loans": { + "title": "19(b) Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "19(b) Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_total_loans": { + "title": "19(c) Total Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "19(c) Total Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20a_offsets_to_operating_expenditures": { + "title": "20(a) Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "20(a) Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20b_offsets_to_fundraising_expenditures": { + "title": "20(b) Offsets to Fundraising Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "20(b) Offsets to Fundraising Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20c_offsets_to_legal_and_accounting_expenditures": { + "title": "20(c) Offsets to Legal and Accounting Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "20(c) Offsets to Legal and Accounting Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20d_total_offsets_to_expenditures": { + "title": "20(d) Total Offsets to Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "20(d) Total Offsets to Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21_other_receipts": { + "title": "21 Other Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "21 Other Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_total_receipts": { + "title": "22 Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "22 Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_operating_expenditures": { + "title": "23 Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "23 Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24_transfers_to_other_authorized_committees": { + "title": "24 Transfers to Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "24 Transfers to Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_fundraising_disbursements": { + "title": "25 Fundraising Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "25 Fundraising Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L26_exempt_legal_and_accounting_disbursements": { + "title": "26 Exempt Legal and Accounting Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "26 Exempt Legal and Accounting Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27a_repayments_of_loans_made_or_guaranteed_by_candidate": { + "title": "27(a) Repayments of Loans Made or Guaranteed by Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "27(a) Repayments of Loans Made or Guaranteed by Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27b_other_loan_repayments": { + "title": "27(b) Other Loan Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "27(b) Other Loan Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27c_total_loan_repayments_made": { + "title": "27(c) Total Loan Repayments Made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "27(c) Total Loan Repayments Made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28a_refunds_of_contributions_from_individuals_persons": { + "title": "28(a) Refunds of Contributions from Individuals/Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "28(a) Refunds of Contributions from Individuals/Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28b_refunds_of_contributions_from_political_party_committees": { + "title": "28(b) Refunds of Contributions from Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "28(b) Refunds of Contributions from Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28c_refunds_of_contributions_from_other_political_committees": { + "title": "28(c) Refunds of Contributions from Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "28(c) Refunds of Contributions from Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28d_total_contributions_refunds": { + "title": "28(d) Total Contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "28(d) Total Contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L29_other_disbursements": { + "title": "29 Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "29 Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30_total_disbursements": { + "title": "30 Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "30 Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L31_items_on_hand_to_be_liquidated": { + "title": "31 Items on Hand to be Liquidated", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "31 Items on Hand to be Liquidated", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F3PZ2.json b/schema/backlog/F3PZ2.json new file mode 100644 index 00000000..31869eec --- /dev/null +++ b/schema/backlog/F3PZ2.json @@ -0,0 +1,769 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3PZ2.json", + "version": "8.3.0.1", + "title": "FEC F3PZ2", + "description": "FORM 3PZ (File with Form 3P) Part 2: CONSOLIDATED TOTALS FOR ALL AUTHORIZED COMMITTEES\n (To Be Used By A Principal Campaign Committee) ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number_pcc" + ], + "fec_recommended": [ + "committee_name_pcc", + "coverage_from_date", + "coverage_through_date" + ], + "properties": { + "field_description": { + "title": "FIELD\nDESCRIPTION", + "description": "", + "examples": [ + "SAMPLE\nDATA" + ], + "fec_spec": { + "COL_SEQ": "COL\nSEQ", + "FIELD_DESCRIPTION": "FIELD\nDESCRIPTION", + "TYPE": "TYPE", + "REQUIRED": "REQUIRED", + "SAMPLE_DATA": "SAMPLE\nDATA", + "VALUE_REFERENCE": "VALUE\nREFERENCE", + "RULE_REFERENCE": "RULE\nREFERENCE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "F3PZ2" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-5", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F3PZ2", + "VALUE_REFERENCE": "F3PZ2", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number_pcc": { + "title": "FILER COMMITTEE ID NUMBER (PCC)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER (PCC)", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Same as field #2 on F3P record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name_pcc": { + "title": "COMMITTEE NAME (PCC)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME (PCC)", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Same as field #3 on F3P record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120101 + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120101, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Same as field #16 on F3P record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20121231 + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20121231, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Same as field #17 on F3P record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_cash_on_hand_at_beginning_of_reporting_period": { + "title": "6 Cash on Hand at Beginning of Reporting Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "6 Cash on Hand at Beginning of Reporting Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "F3PZ2 amounts = Sum of corresponding\namounts on all F3PZ1 records", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_cash_on_hand_at_close_of_reporting_period": { + "title": "10 Cash on Hand at Close of Reporting Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "10 Cash on Hand at Close of Reporting Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11_debts_and_obligations_owed_to_the_committee": { + "title": "11 Debts and Obligations Owed TO the Committee", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "11 Debts and Obligations Owed TO the Committee", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_debts_and_obligations_owed_by_the_committee": { + "title": "12 Debts and Obligations Owed BY the Committee", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "12 Debts and Obligations Owed BY the Committee", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13_expenditures_subject_to_limitation": { + "title": "13 Expenditures Subject to Limitation", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "13 Expenditures Subject to Limitation", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_net_contributions": { + "title": "14 Net Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "14 Net Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_net_operating_expenditures": { + "title": "15 Net Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "15 Net Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_federal_funds": { + "title": "16 Federal Funds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "16 Federal Funds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17aiii_contributions_from_individuals_persons_other_than_political_committees": { + "title": "17(a)(iii) Contributions from Individuals/Persons Other Than Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "17(a)(iii) Contributions from Individuals/Persons Other Than Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17b_contributions_from_political_party_committees": { + "title": "17(b) Contributions from Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "17(b) Contributions from Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17c_contributions_from_other_political_committees": { + "title": "17(c) Contributions from Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "17(c) Contributions from Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17d_contributions_from_the_candidate": { + "title": "17(d) Contributions from the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "17(d) Contributions from the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17e_total_contributions": { + "title": "17(e) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "17(e) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18_transfers_from_other_authorized_committees": { + "title": "18 Transfers from Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "18 Transfers from Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19a_loans_received_from_or_guaranteed_by_the_candidate": { + "title": "19(a) Loans Received From or Guaranteed by the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "19(a) Loans Received From or Guaranteed by the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19b_other_loans": { + "title": "19(b) Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "19(b) Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_total_loans": { + "title": "19(c) Total Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "19(c) Total Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20a_offsets_to_operating_expenditures": { + "title": "20(a) Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "20(a) Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20b_offsets_to_fundraising_expenditures": { + "title": "20(b) Offsets to Fundraising Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "20(b) Offsets to Fundraising Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20c_offsets_to_legal_and_accounting_expenditures": { + "title": "20(c) Offsets to Legal and Accounting Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "20(c) Offsets to Legal and Accounting Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20d_total_offsets_to_expenditures": { + "title": "20(d) Total Offsets to Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "20(d) Total Offsets to Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21_other_receipts": { + "title": "21 Other Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "21 Other Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_total_receipts": { + "title": "22 Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "22 Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_operating_expenditures": { + "title": "23 Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "23 Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24_transfers_to_other_authorized_committees": { + "title": "24 Transfers to Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "24 Transfers to Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_fundraising_disbursements": { + "title": "25 Fundraising Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "25 Fundraising Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L26_exempt_legal_and_accounting_disbursements": { + "title": "26 Exempt Legal and Accounting Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "26 Exempt Legal and Accounting Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27a_repayments_of_loans_made_or_guaranteed_by_candidate": { + "title": "27(a) Repayments of Loans Made or Guaranteed by Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "27(a) Repayments of Loans Made or Guaranteed by Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27b_other_loan_repayments": { + "title": "27(b) Other Loan Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "27(b) Other Loan Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27c_total_loan_repayments_made": { + "title": "27(c) Total Loan Repayments Made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "27(c) Total Loan Repayments Made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28a_refunds_of_contributions_from_individuals_persons": { + "title": "28(a) Refunds of Contributions from Individuals/Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "28(a) Refunds of Contributions from Individuals/Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28b_refunds_of_contributions_from_political_party_committees": { + "title": "28(b) Refunds of Contributions from Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "28(b) Refunds of Contributions from Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28c_refunds_of_contributions_from_other_political_committees": { + "title": "28(c) Refunds of Contributions from Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "28(c) Refunds of Contributions from Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28d_total_contributions_refunds": { + "title": "28(d) Total Contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "28(d) Total Contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L29_other_disbursements": { + "title": "29 Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "29 Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30_total_disbursements": { + "title": "30 Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "30 Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "kk\u00a0\u00a031_items_on_hand_to_be_liquidated": { + "title": "kk)\u00a0\u00a031 Items on Hand to be Liquidated", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "kk)\u00a0\u00a031 Items on Hand to be Liquidated", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F3S.json b/schema/backlog/F3S.json new file mode 100644 index 00000000..52873a59 --- /dev/null +++ b/schema/backlog/F3S.json @@ -0,0 +1,627 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3S.json", + "version": "8.3.0.1", + "title": "FEC F3S", + "description": "FORM 3S - ADDITIONAL SUMMARY REPORT OF RECEIPTS AND DISBURSEMENTS FOR AN AUTHORIZED\n COMMITTEE FOR REPORTS THAT CROSS ELECTION CYCLES ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "date_-_general_election", + "date_-_day_after_general_election" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F3S" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F3S", + "VALUE_REFERENCE": "F3S", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_-_general_election": { + "title": "Date - General Election", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20121107 + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "Date - General Election", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20121107, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_-_day_after_general_election": { + "title": "Date - Day after General Election", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20121108 + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "Date - Day after General Election", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20121108, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6a_total_contributions_no_loans": { + "title": "(6a) Total Contributions (No Loans)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "(6a) Total Contributions (No Loans)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11e", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6b_total_contribution_refunds": { + "title": "(6b) Total Contribution Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "(6b) Total Contribution Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 20d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6c_net_contributions": { + "title": "(6c) Net Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "(6c) Net Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6a - 6b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7a_total_operating_expenditures": { + "title": "(7a) Total Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "(7a) Total Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7b_total_offsets_to_operating_expenditures": { + "title": "(7b) Total Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "(7b) Total Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 14", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7c_net_operating_expenditures": { + "title": "(7c) NET Operating Expenditures.", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "(7c) NET Operating Expenditures.", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 7a - 7b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11a_i_individuals_itemized": { + "title": "11(a i.) Individuals Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "11(a i.) Individuals Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aii_individuals_unitemized": { + "title": "11(a.ii) Individuals Unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "11(a.ii) Individuals Unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aiii_individuals_total": { + "title": "11(a.iii) Individuals Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "11(a.iii) Individuals Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11b_political_party_committees": { + "title": "11(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "11(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11c_all_other_political_committees_pacs": { + "title": "11(c) All Other Political Committees (PACS)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "11(c) All Other Political Committees (PACS)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11d_the_candidate": { + "title": "11(d) The Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "11(d) The Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11e_total_contributions": { + "title": "11(e) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "11(e) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11aiii + 11b + 11c + 11d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_transfers_from_other_auth_committees": { + "title": "12. Transfers From Other AUTH Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "12. Transfers From Other AUTH Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13a_loans_made_or_guarn_by_the_candidate": { + "title": "13(a) Loans made or guarn. by the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "13(a) Loans made or guarn. by the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13b_all_other_loans": { + "title": "13(b) All Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "13(b) All Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13c_total_loans": { + "title": "13(c) Total Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "13(c) Total Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 13a + 13b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_offsets_to_operating_expenditures": { + "title": "14. Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "14. Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_other_receipts": { + "title": "15. Other Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "15. Other Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_total_receipts": { + "title": "16. Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "16. Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11e + 12+ 13c + 14 + 15", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17_operating_expenditures": { + "title": "17 Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "17 Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18_transfers_to_other_auth_committees": { + "title": "18. Transfers To Other AUTH Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "18. Transfers To Other AUTH Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19a_loan_repayment_by_candidate": { + "title": "19(a) Loan Repayment By Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "19(a) Loan Repayment By Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19b_loan_repayments,_all_other_loans": { + "title": "19(b) Loan Repayments, ALL Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "19(b) Loan Repayments, ALL Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_total_loan_repayments": { + "title": "19(c) Total Loan Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "19(c) Total Loan Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19a + 19b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20a_refund_individuals_other_than_pol_cmtes": { + "title": "20(a) Refund/Individuals Other than Pol. Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "20(a) Refund/Individuals Other than Pol. Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20b_refund,_political_party_committees": { + "title": "20(b) Refund, Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "20(b) Refund, Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20c_refund,_other_political_committees": { + "title": "20(c) Refund, Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "20(c) Refund, Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20d_total_contributions_refunds": { + "title": "20(d) Total Contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "20(d) Total Contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 20a + 20b + 20c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21_other_disbursements": { + "title": "21. Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "21. Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_total_disbursements": { + "title": "22. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "22. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 17 + 18 + 19c + 20d + 21", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F3X.json b/schema/backlog/F3X.json new file mode 100644 index 00000000..cc2f6106 --- /dev/null +++ b/schema/backlog/F3X.json @@ -0,0 +1,2198 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3X.json", + "version": "8.3.0.1", + "title": "FEC F3X", + "description": "FORM 3X - REPORT OF RECEIPTS AND DISBURSEMENTS FOR OTHER THAN AN AUTHORIZED COMMITTEE", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "treasurer_last_name", + "treasurer_first_name", + "date_signed" + ], + "fec_recommended": [ + "committee_name", + "street_1", + "city", + "state", + "zip", + "report_code", + "election_code_{was_rptpgi}", + "date_of_election", + "state_of_election", + "coverage_from_date", + "coverage_through_date" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "enum": ["F3XN", "F3XA", "F3XT"], + "examples": [ + "F3XN" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F3XN", + "VALUE_REFERENCE": "F3X+[N|A|T]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Foes of Pat" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Foes of Pat", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_address": { + "title": "CHANGE OF ADDRESS", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "CHANGE OF ADDRESS", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "125 Sycamore St" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "125 Sycamore St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "report_code": { + "title": "REPORT CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "12P" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "REPORT CODE", + "TYPE": "A-3", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "12P", + "VALUE_REFERENCE": "12C,..., TER", + "RULE_REFERENCE": "Warning if Code is missing;\nError if Coded incorrectly.\nNote: Monthly Year-End reports should be coded with 'MYE'.\nQuarterly Year-End reports will continue to be coded with 'YE'.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code_{was_rptpgi}": { + "title": "ELECTION CODE {was RPTPGI}", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "ELECTION CODE {was RPTPGI}", + "TYPE": "A/N-5", + "REQUIRED": "X (warn if REPORT CODE=12[?])", + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "C,G,P,R,S,E[YYYY]", + "RULE_REFERENCE": "Edit: PGI", + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_of_election": { + "title": "DATE OF ELECTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120715 + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "DATE OF ELECTION", + "TYPE": "NUM-8", + "REQUIRED": "X (warn if REPORT CODE=[12?|30?])", + "SAMPLE_DATA": 20120715, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state_of_election": { + "title": "STATE OF ELECTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "STATE OF ELECTION", + "TYPE": "A-2", + "REQUIRED": "X (warn if REPORT CODE=[12?|30?])", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: St", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "qualified_committee": { + "title": "QUALIFIED COMMITTEE", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "QUALIFIED COMMITTEE", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_last_name": { + "title": "TREASURER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "TREASURER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_first_name": { + "title": "TREASURER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "TREASURER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_middle_name": { + "title": "TREASURER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "TREASURER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_prefix": { + "title": "TREASURER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "TREASURER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_suffix": { + "title": "TREASURER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "TREASURER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20040729 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20040729, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6b_cash_on_hand_beginning": { + "title": "6(b) Cash on Hand beginning", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1123123.45 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "6(b) Cash on Hand beginning", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1123123.45, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6c_total_receipts": { + "title": "6(c) Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "6(c) Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6d_subtotal": { + "title": "6(d) Subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "6(d) Subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6b + 6c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_total_disbursements": { + "title": "7. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "7. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 31", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_cash_on_hand_at_close": { + "title": "8. Cash on Hand at Close", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "8. Cash on Hand at Close", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6d - 7", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_debts_to": { + "title": "9. Debts to", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "9. Debts to", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total on Sch C &/OR D", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_debts_by": { + "title": "10. Debts by", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "10. Debts by", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total on Sch C &/OR D", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11ai_itemized": { + "title": "11(a)i Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "11(a)i Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total on Sch A", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aii_unitemized": { + "title": "11(a)ii Unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "11(a)ii Unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aiii_total": { + "title": "11(a)iii Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "11(a)iii Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11ai + 11aii", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11b_political_party_committees": { + "title": "11(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "11(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11c_other_political_committees_pacs": { + "title": "11(c) Other Political Committees (PACs)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "11(c) Other Political Committees (PACs)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11d_total_contributions": { + "title": "11(d) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "11(d) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11aiii + 11b + 11c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_transfers_from_affiliated_other_party_cmtes": { + "title": "12. Transfers from Affiliated/Other Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "12. Transfers from Affiliated/Other Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13_all_loans_received": { + "title": "13. All Loans Received", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "13. All Loans Received", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_loan_repayments_received": { + "title": "14. Loan Repayments Received", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "14. Loan Repayments Received", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_offsets_to_operating_expenditures_refunds": { + "title": "15. Offsets to Operating Expenditures (refunds)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "15. Offsets to Operating Expenditures (refunds)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_refunds_of_federal_contributions": { + "title": "16. Refunds of Federal Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "16. Refunds of Federal Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17_other_federal_receipts_dividends": { + "title": "17. Other Federal Receipts (dividends)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "17. Other Federal Receipts (dividends)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18a_transfers_from_nonfederal_account_h3": { + "title": "18(a) Transfers from Nonfederal Account (H3)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "18(a) Transfers from Nonfederal Account (H3)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total on Sch H3", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18b_transfers_from_non-federal_levin_-_h5": { + "title": "18(b) Transfers from Non-Federal (Levin - H5)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "18(b) Transfers from Non-Federal (Levin - H5)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total from Sch H5", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18c_total_non-federal_transfers_18a+18b": { + "title": "18(c) Total Non-Federal Transfers (18a+18b)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "18(c) Total Non-Federal Transfers (18a+18b)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 18a+18b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19_total_receipts": { + "title": "19. Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "19. Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d+12+13+14+15+16+17+18c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20_total_federal_receipts": { + "title": "20. Total Federal Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 46, + "FIELD_DESCRIPTION": "20. Total Federal Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19 - 18c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21ai_federal_share": { + "title": "21(a)i Federal Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "21(a)i Federal Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Fed share from Sched H4", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21aii_non-federal_share": { + "title": "21(a)ii Non-Federal Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 48, + "FIELD_DESCRIPTION": "21(a)ii Non-Federal Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Non-Fed share from Sched H4", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21b_other_federal_operating_expenditures": { + "title": "21(b) Other Federal Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 49, + "FIELD_DESCRIPTION": "21(b) Other Federal Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21c_total_operating_expenditures": { + "title": "21(c) Total Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 50, + "FIELD_DESCRIPTION": "21(c) Total Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21ai + 21aii + 21b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_transfers_to_affiliated_other_party_cmtes": { + "title": "22. Transfers to Affiliated/Other Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 51, + "FIELD_DESCRIPTION": "22. Transfers to Affiliated/Other Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_contributions_to_federal_candidates_cmtes": { + "title": "23. Contributions to Federal Candidates/Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 52, + "FIELD_DESCRIPTION": "23. Contributions to Federal Candidates/Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24_independent_expenditures": { + "title": "24. Independent Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 53, + "FIELD_DESCRIPTION": "24. Independent Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_coordinated_expend_made_by_party_cmtes": { + "title": "25. Coordinated Expend made by Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 54, + "FIELD_DESCRIPTION": "25. Coordinated Expend made by Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total on Sch F", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L26_loan_repayments": { + "title": "26. Loan Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 55, + "FIELD_DESCRIPTION": "26. Loan Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27_loans_made": { + "title": "27. Loans Made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 56, + "FIELD_DESCRIPTION": "27. Loans Made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28a_individuals_persons": { + "title": "28(a) Individuals/Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 57, + "FIELD_DESCRIPTION": "28(a) Individuals/Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28b_political_party_committees": { + "title": "28(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 58, + "FIELD_DESCRIPTION": "28(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28c_other_political_committees": { + "title": "28(c) Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 59, + "FIELD_DESCRIPTION": "28(c) Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28d_total_contributions_refunds": { + "title": "28(d) Total Contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 60, + "FIELD_DESCRIPTION": "28(d) Total Contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 28a + 28b + 28c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L29_other_disbursements": { + "title": "29. Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 61, + "FIELD_DESCRIPTION": "29. Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30ai_shared_federal_activity_h6_fed_share": { + "title": "30(a)i Shared Federal Activity (H6) Fed Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 62, + "FIELD_DESCRIPTION": "30(a)i Shared Federal Activity (H6) Fed Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Fed share from Sched H6", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30aii_shared_federal_activity_h6_non-fed": { + "title": "30(a)ii Shared Federal Activity (H6) Non-Fed", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 63, + "FIELD_DESCRIPTION": "30(a)ii Shared Federal Activity (H6) Non-Fed", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Non-Fed share from Sched H6", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30b_non-allocable_100%_fed_election_activity": { + "title": "30(b) Non-Allocable 100% Fed Election Activity", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 64, + "FIELD_DESCRIPTION": "30(b) Non-Allocable 100% Fed Election Activity", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30c_total_federal_election_activity": { + "title": "30(c) Total Federal Election Activity", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 65, + "FIELD_DESCRIPTION": "30(c) Total Federal Election Activity", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "30(a)i+30(a)ii+30(b)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L31_total_disbursements": { + "title": "31. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 66, + "FIELD_DESCRIPTION": "31. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21c + 22-27 + 28d + 29", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L32_total_federal_disbursements": { + "title": "32. Total Federal Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 67, + "FIELD_DESCRIPTION": "32. Total Federal Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 31 - (21aii + 30aii)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L33_total_contributions": { + "title": "33. Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 68, + "FIELD_DESCRIPTION": "33. Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L34_total_contribution_refunds": { + "title": "34. Total Contribution Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 69, + "FIELD_DESCRIPTION": "34. Total Contribution Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 28d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L35_net_contributions": { + "title": "35. Net Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 70, + "FIELD_DESCRIPTION": "35. Net Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d - 28d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L36_total_federal_operating_expenditures": { + "title": "36. Total Federal Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 71, + "FIELD_DESCRIPTION": "36. Total Federal Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21ai + 21b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L37_offsets_to_operating_expenditures": { + "title": "37. Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 72, + "FIELD_DESCRIPTION": "37. Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 15", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L38_net_operating_expenditures": { + "title": "38. Net Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 73, + "FIELD_DESCRIPTION": "38. Net Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 36 - 37 or (21ai + 21b - 15)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6a_cash_on_hand_jan_1,_19": { + "title": "6(a) Cash on Hand Jan 1, 19", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 3123123.45 + ], + "fec_spec": { + "COL_SEQ": 74, + "FIELD_DESCRIPTION": "6(a) Cash on Hand Jan 1, 19", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 3123123.45, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "year_for_above": { + "title": "Year for Above", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 9999, + "examples": [ + 2012 + ], + "fec_spec": { + "COL_SEQ": 75, + "FIELD_DESCRIPTION": "Year for Above", + "TYPE": "NUM-4", + "REQUIRED": null, + "SAMPLE_DATA": 2012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6c_total_receipts-DUPLICATE": { + "title": "6(c) Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 76, + "FIELD_DESCRIPTION": "6(c) Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6d_subtotal-DUPLICATE": { + "title": "6(d) Subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 77, + "FIELD_DESCRIPTION": "6(d) Subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6a + 6c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_total_disbursements-DUPLICATE": { + "title": "7. Total disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 78, + "FIELD_DESCRIPTION": "7. Total disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 30", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_cash_on_hand_close": { + "title": "8. Cash on Hand Close", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 79, + "FIELD_DESCRIPTION": "8. Cash on Hand Close", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6d - 7", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11ai_itemized-DUPLICATE": { + "title": "11(a)i Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 80, + "FIELD_DESCRIPTION": "11(a)i Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aii_unitemized-DUPLICATE": { + "title": "11(a)ii Unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 81, + "FIELD_DESCRIPTION": "11(a)ii Unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11aiii_total-DUPLICATE": { + "title": "11(a)iii Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 82, + "FIELD_DESCRIPTION": "11(a)iii Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11ai + 11aii", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11b_political_party_committees-DUPLICATE": { + "title": "11(b) Political Party committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 83, + "FIELD_DESCRIPTION": "11(b) Political Party committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11c_other_political_committees_pacs-DUPLICATE": { + "title": "11(c) Other Political Committees (PACs)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 84, + "FIELD_DESCRIPTION": "11(c) Other Political Committees (PACs)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11d_total_contributions-DUPLICATE": { + "title": "11(d) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 85, + "FIELD_DESCRIPTION": "11(d) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11aiii + 11b + 11c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_transfers_from_affiliated_other_party_cmtes-DUPLICATE": { + "title": "12. Transfers from Affiliated/Other Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 86, + "FIELD_DESCRIPTION": "12. Transfers from Affiliated/Other Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13_all_loans_received-DUPLICATE": { + "title": "13. All Loans Received", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 87, + "FIELD_DESCRIPTION": "13. All Loans Received", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_loan_repayments_received-DUPLICATE": { + "title": "14. Loan Repayments Received", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 88, + "FIELD_DESCRIPTION": "14. Loan Repayments Received", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_offsets_to_operating_expenditures_refunds-DUPLICATE": { + "title": "15. Offsets to Operating Expenditures (refunds)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 89, + "FIELD_DESCRIPTION": "15. Offsets to Operating Expenditures (refunds)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_refunds_of_federal_contributions-DUPLICATE": { + "title": "16. Refunds of Federal Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 90, + "FIELD_DESCRIPTION": "16. Refunds of Federal Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17_other_federal_receipts_dividends-DUPLICATE": { + "title": "17. Other Federal Receipts (dividends)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 91, + "FIELD_DESCRIPTION": "17. Other Federal Receipts (dividends)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18a_transfers_from_nonfederal_account_h3-DUPLICATE": { + "title": "18(a) Transfers from Nonfederal Account (H3)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 92, + "FIELD_DESCRIPTION": "18(a) Transfers from Nonfederal Account (H3)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18b_transfers_from_non-federal_levin_-_h5-DUPLICATE": { + "title": "18(b) Transfers from Non-Federal (Levin - H5)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 93, + "FIELD_DESCRIPTION": "18(b) Transfers from Non-Federal (Levin - H5)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18c_total_non-federal_transfers_18a+18b-DUPLICATE": { + "title": "18(c) Total Non-Federal Transfers (18a+18b)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 94, + "FIELD_DESCRIPTION": "18(c) Total Non-Federal Transfers (18a+18b)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 18a+18b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19_total_receipts-DUPLICATE": { + "title": "19. Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 95, + "FIELD_DESCRIPTION": "19. Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d+12+13+14+15+16+17+18c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20_total_federal_receipts-DUPLICATE": { + "title": "20. Total Federal Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 96, + "FIELD_DESCRIPTION": "20. Total Federal Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 19 - 18c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21ai_federal_share-DUPLICATE": { + "title": "21(a)i Federal Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 97, + "FIELD_DESCRIPTION": "21(a)i Federal Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21aii_non-federal_share-DUPLICATE": { + "title": "21(a)ii Non-Federal Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 98, + "FIELD_DESCRIPTION": "21(a)ii Non-Federal Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21b_other_federal_operating_expenditures-DUPLICATE": { + "title": "21(b) Other Federal Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 99, + "FIELD_DESCRIPTION": "21(b) Other Federal Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21c_total_operating_expenditures-DUPLICATE": { + "title": "21(c) Total operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 100, + "FIELD_DESCRIPTION": "21(c) Total operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21ai + 21aii + 21b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_transfers_to_affiliated_other_party_cmtes-DUPLICATE": { + "title": "22. Transfers to Affiliated/Other Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 101, + "FIELD_DESCRIPTION": "22. Transfers to Affiliated/Other Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_contributions_to_federal_candidates_cmtes-DUPLICATE": { + "title": "23. Contributions to Federal Candidates/Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 102, + "FIELD_DESCRIPTION": "23. Contributions to Federal Candidates/Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24_independent_expenditures-DUPLICATE": { + "title": "24. Independent Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 103, + "FIELD_DESCRIPTION": "24. Independent Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_coordinated_expend_made_by_party_cmtes-DUPLICATE": { + "title": "25. Coordinated Expend made by Party Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 104, + "FIELD_DESCRIPTION": "25. Coordinated Expend made by Party Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L26_loan_repayments_made": { + "title": "26. Loan Repayments Made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 105, + "FIELD_DESCRIPTION": "26. Loan Repayments Made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27_loans_made-DUPLICATE": { + "title": "27. Loans Made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 106, + "FIELD_DESCRIPTION": "27. Loans Made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28a_individuals_persons-DUPLICATE": { + "title": "28(a) Individuals/Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 107, + "FIELD_DESCRIPTION": "28(a) Individuals/Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28b_political_party_committees-DUPLICATE": { + "title": "28(b) Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 108, + "FIELD_DESCRIPTION": "28(b) Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28c_other_political_committees-DUPLICATE": { + "title": "28(c) Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 109, + "FIELD_DESCRIPTION": "28(c) Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L28d_total_contributions_refunds-DUPLICATE": { + "title": "28(d) Total contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 110, + "FIELD_DESCRIPTION": "28(d) Total contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 28a + 28b + 28c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L29_other_disbursements-DUPLICATE": { + "title": "29. Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 111, + "FIELD_DESCRIPTION": "29. Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30ai_shared_federal_activity_h6_fed_share-DUPLICATE": { + "title": "30(a)i Shared Federal Activity (H6) Fed Share", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 112, + "FIELD_DESCRIPTION": "30(a)i Shared Federal Activity (H6) Fed Share", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Federal share from Sched H6", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30aii_shared_federal_activity_h6_non-fed-DUPLICATE": { + "title": "30(a)ii Shared Federal Activity (H6) Non-Fed", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 113, + "FIELD_DESCRIPTION": "30(a)ii Shared Federal Activity (H6) Non-Fed", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Non-Fed share from Sched H6", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30b_non-allocable_100%_fed_election_activity-DUPLICATE": { + "title": "30(b) Non-Allocable 100% Fed Election Activity", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 114, + "FIELD_DESCRIPTION": "30(b) Non-Allocable 100% Fed Election Activity", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L30c_total_federal_election_activity-DUPLICATE": { + "title": "30(c) Total Federal Election Activity", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 115, + "FIELD_DESCRIPTION": "30(c) Total Federal Election Activity", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "30(a)i+30(a)ii+30(b)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L31_total_disbursements-DUPLICATE": { + "title": "31. Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 116, + "FIELD_DESCRIPTION": "31. Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21c + 22-27 + 28d + 29", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L32_total_federal_disbursements-DUPLICATE": { + "title": "32. Total Federal Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 117, + "FIELD_DESCRIPTION": "32. Total Federal Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 31 - (21aii + 30aii)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L33_total_contributions-DUPLICATE": { + "title": "33. Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 118, + "FIELD_DESCRIPTION": "33. Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L34_total_contribution_refunds-DUPLICATE": { + "title": "34. Total Contribution Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 119, + "FIELD_DESCRIPTION": "34. Total Contribution Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 28d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L35_net_contributions-DUPLICATE": { + "title": "35. Net contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 120, + "FIELD_DESCRIPTION": "35. Net contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 11d - 28d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L36_total_federal_operating_expenditures-DUPLICATE": { + "title": "36. Total Federal Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 121, + "FIELD_DESCRIPTION": "36. Total Federal Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 21ai + 21b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L37_offsets_to_operating_expenditures-DUPLICATE": { + "title": "37. Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 122, + "FIELD_DESCRIPTION": "37. Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 15", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L38_net_operating_expenditures-DUPLICATE": { + "title": "38. Net Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 123, + "FIELD_DESCRIPTION": "38. Net Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 36 - 37 or (21ai + 21b - 15)", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F3Z1.json b/schema/backlog/F3Z1.json new file mode 100644 index 00000000..17f6d262 --- /dev/null +++ b/schema/backlog/F3Z1.json @@ -0,0 +1,674 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3Z1.json", + "version": "8.3.0.1", + "title": "FEC F3Z1", + "description": "FEC FORM 3Z (File with Form 3) Part 1: CONSOLIDATION REPORT\n (To Be Used By A Principal Campaign Committee) ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number_pcc" + ], + "fec_recommended": [ + "committee_name_pcc", + "coverage_from_date", + "coverage_through_date", + "committee_id_number_auth", + "committee_name_auth" + ], + "properties": { + "field_description": { + "title": "FIELD\nDESCRIPTION", + "description": "", + "examples": [ + "SAMPLE\nDATA" + ], + "fec_spec": { + "COL_SEQ": "COL\nSEQ", + "FIELD_DESCRIPTION": "FIELD\nDESCRIPTION", + "TYPE": "TYPE", + "REQUIRED": "REQUIRED", + "SAMPLE_DATA": "SAMPLE\nDATA", + "VALUE_REFERENCE": "VALUE\nREFERENCE", + "RULE_REFERENCE": "RULE\nREFERENCE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F3Z1" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F3Z1", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number_pcc": { + "title": "FILER COMMITTEE ID NUMBER (PCC)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER (PCC)", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Same as field #2 on F3 record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name_pcc": { + "title": "COMMITTEE NAME (PCC)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME (PCC)", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Same as field #3 on F3 record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120101 + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120101, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Same as field #16 on F3 record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20121231 + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20121231, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Same as field #17 on F3 record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_id_number_auth": { + "title": "COMMITTEE ID NUMBER (Auth)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "COMMITTEE ID NUMBER (Auth)", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "First F3Z1 record: same as field #2\nAuthorized Committee F3Z1: ID# of Authorized Committee", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name_auth": { + "title": "COMMITTEE NAME (Auth)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "COMMITTEE NAME (Auth)", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If Authorized Committee = PCC (Field 3)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6c_net_contributions": { + "title": "6(c) Net Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "6(c) Net Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7c_net_operating_expenditures": { + "title": "7(c) Net Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "7(c) Net Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_debts_and_obligations_owed_to_the_committee": { + "title": "9 Debts and Obligations Owed TO the Committee", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "9 Debts and Obligations Owed TO the Committee", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_debts_and_obligations_owed_by_the_committee": { + "title": "10 Debts and Obligations Owed BY the Committee", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "10 Debts and Obligations Owed BY the Committee", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11a_contributions_from_individuals_persons_other_than_political_committees": { + "title": "11(a) Contributions from Individuals/Persons Other Than Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "11(a) Contributions from Individuals/Persons Other Than Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11b_contributions_from_political_party_committees": { + "title": "11(b) Contributions from Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "11(b) Contributions from Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11c_contributions_from_other_political_committees": { + "title": "11(c) Contributions from Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "11(c) Contributions from Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11d_contributions_from_the_candidate": { + "title": "11(d) Contributions from the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "11(d) Contributions from the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11e_total_contributions": { + "title": "11(e) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "11(e) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_transfers_from_other_authorized_committees": { + "title": "12 Transfers from Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "12 Transfers from Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13a_loans_made_or_guaranteed_by_the_candidate": { + "title": "13(a) Loans Made or Guaranteed by the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "13(a) Loans Made or Guaranteed by the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13b_all_other_loans": { + "title": "13(b) All Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "13(b) All Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13c_total_loans": { + "title": "13(c) Total Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "13(c) Total Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_offsets_to_operating_expenditures": { + "title": "14 Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "14 Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_other_receipts": { + "title": "15 Other Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "15 Other Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_total_receipts": { + "title": "16 Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "16 Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17_operating_expenditures": { + "title": "17 Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "17 Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18_transfers_to_other_authorized_committees": { + "title": "18 Transfers to Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "18 Transfers to Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19a_repayments_of_loans_made_or_guaranteed_by_candidate": { + "title": "19(a) Repayments of Loans Made or Guaranteed by Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "19(a) Repayments of Loans Made or Guaranteed by Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19b_other_loan_repayments": { + "title": "19(b) Other Loan Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "19(b) Other Loan Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_total_loan_repayments": { + "title": "19(c) Total Loan Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "19(c) Total Loan Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20a_refunds_of_contributions_to_individuals_persons": { + "title": "20(a) Refunds of Contributions to Individuals/Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "20(a) Refunds of Contributions to Individuals/Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20b_refunds_of_contributions_to_political_party_committees": { + "title": "20(b) Refunds of Contributions to Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "20(b) Refunds of Contributions to Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20c_refunds_of_contributions_to_other_political_committees": { + "title": "20(c) Refunds of Contributions to Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "20(c) Refunds of Contributions to Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20d_total_contributions_refunds": { + "title": "20(d) Total Contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "20(d) Total Contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21_other_disbursements": { + "title": "21 Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "21 Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_total_disbursements": { + "title": "22 Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "22 Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_cash_on_hand_at_beginning_of_reporting_period": { + "title": "23 Cash on Hand at Beginning of Reporting Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "23 Cash on Hand at Beginning of Reporting Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27_cash_on_hand_at_close_of_reporting_period": { + "title": "27 Cash on Hand at Close of Reporting Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "27 Cash on Hand at Close of Reporting Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F3Z2.json b/schema/backlog/F3Z2.json new file mode 100644 index 00000000..8431308d --- /dev/null +++ b/schema/backlog/F3Z2.json @@ -0,0 +1,633 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F3Z2.json", + "version": "8.3.0.1", + "title": "FEC F3Z2", + "description": "FORM 3Z (File with Form 3) Part 2: CONSOLIDATED TOTALS FOR ALL AUTHORIZED COMMITTEES\n (To Be Used By A Principal Campaign Committee) ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number_pcc" + ], + "fec_recommended": [ + "committee_name_pcc", + "coverage_from_date", + "coverage_through_date" + ], + "properties": { + "field_description": { + "title": "FIELD\nDESCRIPTION", + "description": "", + "examples": [ + "SAMPLE\nDATA" + ], + "fec_spec": { + "COL_SEQ": "COL\nSEQ", + "FIELD_DESCRIPTION": "FIELD\nDESCRIPTION", + "TYPE": "TYPE", + "REQUIRED": "REQUIRED", + "SAMPLE_DATA": "SAMPLE\nDATA", + "VALUE_REFERENCE": "VALUE\nREFERENCE", + "RULE_REFERENCE": "RULE\nREFERENCE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F3Z2" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F3Z2", + "VALUE_REFERENCE": "F3Z2", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number_pcc": { + "title": "FILER COMMITTEE ID NUMBER (PCC)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER (PCC)", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Same as field #2 on F3 record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name_pcc": { + "title": "COMMITTEE NAME (PCC)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME (PCC)", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Same as field #3 on F3 record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120101 + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120101, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Same as field #16 on F3 record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20121231 + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20121231, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Same as field #17 on F3 record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6c_net_contributions": { + "title": "6(c) Net Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "6(c) Net Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "F3Z2 amounts = Sum of corresponding\namounts on all F3Z1 records", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7c_net_operating_expenditures": { + "title": "7(c) Net Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "7(c) Net Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_debts_and_obligations_owed_to_the_committee": { + "title": "9 Debts and Obligations Owed TO the Committee", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "9 Debts and Obligations Owed TO the Committee", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_debts_and_obligations_owed_by_the_committee": { + "title": "10 Debts and Obligations Owed BY the Committee", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "10 Debts and Obligations Owed BY the Committee", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11a_contributions_from_individuals_persons_other_than_political_committees": { + "title": "11(a) Contributions from Individuals/Persons Other Than Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "11(a) Contributions from Individuals/Persons Other Than Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11b_contributions_from_political_party_committees": { + "title": "11(b) Contributions from Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "11(b) Contributions from Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11c_contributions_from_other_political_committees": { + "title": "11(c) Contributions from Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "11(c) Contributions from Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11d_contributions_from_the_candidate": { + "title": "11(d) Contributions from the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "11(d) Contributions from the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11e_total_contributions": { + "title": "11(e) Total Contributions", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "11(e) Total Contributions", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_transfers_from_other_authorized_committees": { + "title": "12 Transfers from Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "12 Transfers from Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13a_loans_made_or_guaranteed_by_the_candidate": { + "title": "13(a) Loans Made or Guaranteed by the Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "13(a) Loans Made or Guaranteed by the Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13b_all_other_loans": { + "title": "13(b) All Other Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "13(b) All Other Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13c_total_loans": { + "title": "13(c) Total Loans", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "13(c) Total Loans", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14_offsets_to_operating_expenditures": { + "title": "14 Offsets to Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "14 Offsets to Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_other_receipts": { + "title": "15 Other Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "15 Other Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16_total_receipts": { + "title": "16 Total Receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "16 Total Receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17_operating_expenditures": { + "title": "17 Operating Expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "17 Operating Expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18_transfers_to_other_authorized_committees": { + "title": "18 Transfers to Other Authorized Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "18 Transfers to Other Authorized Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19a_repayments_of_loans_made_or_guaranteed_by_candidate": { + "title": "19(a) Repayments of Loans Made or Guaranteed by Candidate", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "19(a) Repayments of Loans Made or Guaranteed by Candidate", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19b_other_loan_repayments": { + "title": "19(b) Other Loan Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "19(b) Other Loan Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_total_loan_repayments": { + "title": "19(c) Total Loan Repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "19(c) Total Loan Repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20a_refunds_of_contributions_to_individuals_persons": { + "title": "20(a) Refunds of Contributions to Individuals/Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "20(a) Refunds of Contributions to Individuals/Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20b_refunds_of_contributions_to_political_party_committees": { + "title": "20(b) Refunds of Contributions to Political Party Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "20(b) Refunds of Contributions to Political Party Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20c_refunds_of_contributions_to_other_political_committees": { + "title": "20(c) Refunds of Contributions to Other Political Committees", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "20(c) Refunds of Contributions to Other Political Committees", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20d_total_contributions_refunds": { + "title": "20(d) Total Contributions Refunds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "20(d) Total Contributions Refunds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21_other_disbursements": { + "title": "21 Other Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "21 Other Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_total_disbursements": { + "title": "22 Total Disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "22 Total Disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23_cash_on_hand_at_beginning_of_reporting_period": { + "title": "23 Cash on Hand at Beginning of Reporting Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "23 Cash on Hand at Beginning of Reporting Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L27_cash_on_hand_at_close_of_reporting_period": { + "title": "27 Cash on Hand at Close of Reporting Period", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "27 Cash on Hand at Close of Reporting Period", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F4.json b/schema/backlog/F4.json new file mode 100644 index 00000000..b27c4a8b --- /dev/null +++ b/schema/backlog/F4.json @@ -0,0 +1,1507 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F4.json", + "version": "8.3.0.1", + "title": "FEC F4", + "description": "FORM 4 - REPORT OF RECEIPTS AND DISBURSEMENTS FOR A COMMITTEE OR ORGANIZATION\n SUPPORTING A NOMINATION CONVENTION", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "committee_name", + "treasurer_last_name", + "treasurer_first_name", + "date_signed" + ], + "fec_recommended": [ + "street_1", + "city", + "state", + "zip", + "committee_org_type", + "report_code", + "coverage_from_date", + "coverage_through_date" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "F4N" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F4N", + "VALUE_REFERENCE": "F4+[N|A|T]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Friends of Pat" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Friends of Pat", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Sycamore St" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Sycamore St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_org_type": { + "title": "COMMITTEE/ORG TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "A" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "COMMITTEE/ORG TYPE", + "TYPE": "A-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "A", + "VALUE_REFERENCE": "A=arrange; H=host; O=other", + "RULE_REFERENCE": "Edit: CMTE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_org_type_-_other_description": { + "title": "COMMITTEE/ORG TYPE - OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 40, + "pattern": "^[ A-z0-9]{0,40}$", + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "COMMITTEE/ORG TYPE - OTHER DESCRIPTION", + "TYPE": "A/N-40", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "report_code": { + "title": "REPORT CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "Q1" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "REPORT CODE", + "TYPE": "A-3", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Q1", + "VALUE_REFERENCE": "60D, Q1, Q2, ..., TER", + "RULE_REFERENCE": "Warning if Code is missing;\nError if Coded incorrectly.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120101 + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120101, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120330 + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120330, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Edit: St", + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_last_name": { + "title": "TREASURER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "TREASURER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_first_name": { + "title": "TREASURER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "TREASURER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_middle_name": { + "title": "TREASURER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "TREASURER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_prefix": { + "title": "TREASURER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "TREASURER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_suffix": { + "title": "TREASURER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "TREASURER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6b_cash_on_hand_beg_report_per": { + "title": "6.(b) cash on hand beg. report per.", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "6.(b) cash on hand beg. report per.", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6c_total_receipts": { + "title": "6.(c) Total receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "6.(c) Total receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6d_subtotal": { + "title": "6.(d) Subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "6.(d) Subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_total_disbursements": { + "title": "7. Total disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "7. Total disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_coh_close_col_a": { + "title": "8. COH CLOSE (COL A)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "8. COH CLOSE (COL A)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_debts_to": { + "title": "9. Debts to", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "9. Debts to", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_debts_by": { + "title": "10. Debts by", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "10. Debts by", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11_convention_expenditures": { + "title": "11. Convention expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "11. Convention expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_refunds_rebates_returns_relating_to_conv_exp": { + "title": "12. refunds/rebates/returns relating to conv exp.", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "12. refunds/rebates/returns relating to conv exp.", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12a_expenditures_subject_to_limits": { + "title": "12(a) Expenditures subject to limits", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "12(a) Expenditures subject to limits", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12b_expend_from_prior_years_subject_to_limits": { + "title": "12(b) expend. from prior years subject to limits", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "12(b) expend. from prior years subject to limits", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13_federal_funds_sch_a": { + "title": "13. Federal Funds SCH A", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "13. Federal Funds SCH A", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14a_itemized": { + "title": "14(a) Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "14(a) Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14b_unitemized": { + "title": "14(b) unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "14(b) unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14c_subtotal": { + "title": "14(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "14(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_transfers_from_affiliated_cmtes": { + "title": "15. Transfers from affiliated cmtes.", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "15. Transfers from affiliated cmtes.", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16a_loans_received": { + "title": "16(a) loans received", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "16(a) loans received", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16b_loan_repayments_received": { + "title": "16(b) loan repayments received", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "16(b) loan repayments received", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16c_subtotal_loans_repayments": { + "title": "16(c) subtotal loans/repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "16(c) subtotal loans/repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17a_itemized": { + "title": "17(a) Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "17(a) Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17b_unitemized": { + "title": "17(b) unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "17(b) unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17c_subtotal": { + "title": "17(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "17(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18a_itemized": { + "title": "18(a) Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "18(a) Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18b_unitemized": { + "title": "18(b) unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "18(b) unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18c_subtotal": { + "title": "18(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "18(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19a_itemized": { + "title": "19(a) Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "19(a) Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19b_unitemized": { + "title": "19(b) unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 46, + "FIELD_DESCRIPTION": "19(b) unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_subtotal": { + "title": "19(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "19(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20_total_receipts": { + "title": "20. total receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 48, + "FIELD_DESCRIPTION": "20. total receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21a_itemized": { + "title": "21(a) Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 49, + "FIELD_DESCRIPTION": "21(a) Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21b_unitemized": { + "title": "21(b) unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 50, + "FIELD_DESCRIPTION": "21(b) unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21c_subtotal": { + "title": "21(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 51, + "FIELD_DESCRIPTION": "21(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_transfers_to_affiliated_cmtes": { + "title": "22. Transfers to Affiliated Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 52, + "FIELD_DESCRIPTION": "22. Transfers to Affiliated Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23a_loans_made": { + "title": "23(a) loans made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 53, + "FIELD_DESCRIPTION": "23(a) loans made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23b_loan_repayments_made": { + "title": "23(b) loan repayments made", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 54, + "FIELD_DESCRIPTION": "23(b) loan repayments made", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23c_subtotal": { + "title": "23(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 55, + "FIELD_DESCRIPTION": "23(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24a_itemized": { + "title": "24(a) Itemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 56, + "FIELD_DESCRIPTION": "24(a) Itemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24b_unitemized": { + "title": "24(b) unitemized", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 57, + "FIELD_DESCRIPTION": "24(b) unitemized", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24c_subtotal": { + "title": "24(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 58, + "FIELD_DESCRIPTION": "24(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_total_disbursements": { + "title": "25. Total disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 59, + "FIELD_DESCRIPTION": "25. Total disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6a_cash_on_hand": { + "title": "6.(a) Cash on Hand", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 60, + "FIELD_DESCRIPTION": "6.(a) Cash on Hand", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6a_19_--_year": { + "title": "6.(a) 19 -- (YEAR)", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 9999, + "fec_spec": { + "COL_SEQ": 61, + "FIELD_DESCRIPTION": "6.(a) 19 -- (YEAR)", + "TYPE": "NUM-4", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6c_total_receipts-DUPLICATE": { + "title": "6.(c) Total receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 62, + "FIELD_DESCRIPTION": "6.(c) Total receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6d_subtotal-DUPLICATE": { + "title": "6.(d) Subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 63, + "FIELD_DESCRIPTION": "6.(d) Subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_total_disbursements-DUPLICATE": { + "title": "7. Total disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 64, + "FIELD_DESCRIPTION": "7. Total disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_coh_close_col_b": { + "title": "8. COH CLOSE (COL B)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 65, + "FIELD_DESCRIPTION": "8. COH CLOSE (COL B)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11_convention_expenditures-DUPLICATE": { + "title": "11. Convention expenditures", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 66, + "FIELD_DESCRIPTION": "11. Convention expenditures", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12_refunds_rebates_returns_relating_to_conv_exp-DUPLICATE": { + "title": "12. refunds/rebates/returns relating to conv exp.", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 67, + "FIELD_DESCRIPTION": "12. refunds/rebates/returns relating to conv exp.", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12a_expenditures_subject_to_limits-DUPLICATE": { + "title": "12(a) Expenditures subject to limits", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 68, + "FIELD_DESCRIPTION": "12(a) Expenditures subject to limits", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12b_expend_from_prior_years_subject_to_limits-DUPLICATE": { + "title": "12(b) expend. from prior years subject to limits", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 69, + "FIELD_DESCRIPTION": "12(b) expend. from prior years subject to limits", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L12c_total_expenditures_subject_to_limits": { + "title": "12(c) total expenditures subject to limits", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 70, + "FIELD_DESCRIPTION": "12(c) total expenditures subject to limits", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L13_federal_funds": { + "title": "13. Federal Funds", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 71, + "FIELD_DESCRIPTION": "13. Federal Funds", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L14c_subtotal-DUPLICATE": { + "title": "14(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 72, + "FIELD_DESCRIPTION": "14(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L15_transfers_from_affiliated_cmtes-DUPLICATE": { + "title": "15. Transfers from affiliated cmtes.", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 73, + "FIELD_DESCRIPTION": "15. Transfers from affiliated cmtes.", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L16c_subtotal_loans_repayments-DUPLICATE": { + "title": "16(c) subtotal loans/repayments", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 74, + "FIELD_DESCRIPTION": "16(c) subtotal loans/repayments", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L17c_subtotal-DUPLICATE": { + "title": "17(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 75, + "FIELD_DESCRIPTION": "17(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L18c_subtotal-DUPLICATE": { + "title": "18(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 76, + "FIELD_DESCRIPTION": "18(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L19c_subtotal-DUPLICATE": { + "title": "19(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 77, + "FIELD_DESCRIPTION": "19(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L20_total_receipts-DUPLICATE": { + "title": "20. total receipts", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 78, + "FIELD_DESCRIPTION": "20. total receipts", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L21c_subtotal-DUPLICATE": { + "title": "21(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 79, + "FIELD_DESCRIPTION": "21(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L22_transfers_to_affiliated_cmtes-DUPLICATE": { + "title": "22. Transfers to Affiliated Cmtes", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 80, + "FIELD_DESCRIPTION": "22. Transfers to Affiliated Cmtes", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L23c_subtotal-DUPLICATE": { + "title": "23(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 81, + "FIELD_DESCRIPTION": "23(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24c_subtotal-DUPLICATE": { + "title": "24(c) subtotal", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 82, + "FIELD_DESCRIPTION": "24(c) subtotal", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L25_total_disbursements-DUPLICATE": { + "title": "25. Total disbursements", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 83, + "FIELD_DESCRIPTION": "25. Total disbursements", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F5.json b/schema/backlog/F5.json new file mode 100644 index 00000000..175dc6f0 --- /dev/null +++ b/schema/backlog/F5.json @@ -0,0 +1,639 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F5.json", + "version": "8.3.0.1", + "title": "FEC F5", + "description": "FORM 5 - REPORT OF INDEPENDENT EXPENDITURES MADE AND CONTRIBUTIONS RECEIVED", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "organization_name", + "individual_last_name", + "individual_first_name", + "original_amendment_date", + "total_independent_expenditure", + "person_completing_last_name", + "person_completing_first_name", + "date_signed" + ], + "fec_recommended": [ + "street_1", + "city", + "state", + "zip", + "report_code", + "L24hour_48hour_code", + "coverage_from_date", + "coverage_through_date", + "total_contribution" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F5N" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F5N", + "VALUE_REFERENCE": "F5+[N|A|T]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C90065431" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C90065431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "IND,ORG", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "organization_name": { + "title": "ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error) If not Individual", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_last_name": { + "title": "INDIVIDUAL LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "INDIVIDUAL LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error) If not Organization", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_first_name": { + "title": "INDIVIDUAL FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "INDIVIDUAL FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error) If not Organization", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_middle_name": { + "title": "INDIVIDUAL MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "INDIVIDUAL MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_prefix": { + "title": "INDIVIDUAL PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "INDIVIDUAL PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_suffix": { + "title": "INDIVIDUAL SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "INDIVIDUAL SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_address": { + "title": "CHANGE OF ADDRESS", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CHANGE OF ADDRESS", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Sycamore St" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Sycamore St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_occupation": { + "title": "INDIVIDUAL OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "INDIVIDUAL OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X(Warning) if IND", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If Entity = IND", + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_employer": { + "title": "INDIVIDUAL EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "INDIVIDUAL EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X(Warning) if IND", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If Entity = IND", + "FIELD_FORM_ASSOCIATION": null + } + }, + "report_code": { + "title": "REPORT CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "Q1" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "REPORT CODE", + "TYPE": "A-3", + "REQUIRED": "X (warning) if 24/48hr code has no value", + "SAMPLE_DATA": "Q1", + "VALUE_REFERENCE": "Q1, Q2, Q3, Q4, YE", + "RULE_REFERENCE": "Either Report Code or 24/48-Hour Code is required. If both are missing, Report Code is flagged as missing data at a Warning Level.\n{Report Code flagged as an Error if it has an incorrect value.}", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L24hour_48hour_code": { + "title": "24HOUR 48HOUR CODE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 24 + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "24HOUR 48HOUR CODE", + "TYPE": "NUM-2", + "REQUIRED": "X (warning) if REPORT CODE contains no value", + "SAMPLE_DATA": 24, + "VALUE_REFERENCE": "24, 48", + "RULE_REFERENCE": "If 24/48-Hour Code is coded, and Report Code contains data, then 24/48-Hour Code is flagged as \"not needed\".", + "FIELD_FORM_ASSOCIATION": null + } + }, + "original_amendment_date": { + "title": "ORIGINAL AMENDMENT DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20130829 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "ORIGINAL AMENDMENT DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error if Form Type=F5A)", + "SAMPLE_DATA": 20130829, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Use date of original report or of most recent amendment", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120101 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120101, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20121231 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20121231, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "total_contribution": { + "title": "TOTAL CONTRIBUTION", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "TOTAL CONTRIBUTION", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "total_independent_expenditure": { + "title": "TOTAL INDEPENDENT EXPENDITURE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "TOTAL INDEPENDENT EXPENDITURE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_completing_last_name": { + "title": "PERSON COMPLETING LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "PERSON COMPLETING LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_completing_first_name": { + "title": "PERSON COMPLETING FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "PERSON COMPLETING FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_completing_middle_name": { + "title": "PERSON COMPLETING MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "PERSON COMPLETING MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_completing_prefix": { + "title": "PERSON COMPLETING PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "PERSON COMPLETING PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_completing_suffix": { + "title": "PERSON COMPLETING SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "PERSON COMPLETING SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120820 + ], + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120820, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F56.json b/schema/backlog/F56.json new file mode 100644 index 00000000..f9c392e3 --- /dev/null +++ b/schema/backlog/F56.json @@ -0,0 +1,439 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F56.json", + "version": "8.3.0.1", + "title": "FEC F56", + "description": "FORM 5.6 - FOR EACH CONTRIBUTION (SCHEDULE 5-A)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "contributor_organization_name", + "contributor_last_name", + "contributor_first_name" + ], + "fec_recommended": [ + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F56" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F56", + "VALUE_REFERENCE": "F56", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C90065431" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C90065431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_committee_fec_id": { + "title": "CONTRIBUTOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If CCM,PAC...", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F57.json b/schema/backlog/F57.json new file mode 100644 index 00000000..ec3c576d --- /dev/null +++ b/schema/backlog/F57.json @@ -0,0 +1,720 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F57.json", + "version": "8.3.0.1", + "title": "FEC F57", + "description": "FORM 5.7 - FOR EACH INDEPENDENT EXPENDITURE MADE (SCHEDULE 5-E)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "payee_organization_name", + "payee_last_name", + "payee_first_name", + "election_code", + "dissemination_date", + "expenditure_amount", + "s_o_candidate_last_name", + "s_o_candidate_first_name" + ], + "fec_recommended": [ + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "calendar_y-t-d_per_election_office", + "expenditure_purpose_descrip", + "support_oppose_code", + "s_o_candidate_office", + "s_o_candidate_state", + "s_o_candidate_district" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F57" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F57", + "VALUE_REFERENCE": "F57", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C90065431" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C90065431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_last_name": { + "title": "PAYEE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "PAYEE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_first_name": { + "title": "PAYEE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "PAYEE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_middle_name": { + "title": "PAYEE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_prefix": { + "title": "PAYEE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "PAYEE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_suffix": { + "title": "PAYEE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "PAYEE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code": { + "title": "ELECTION CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "ELECTION CODE", + "TYPE": "A/N-5", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[CCYY]", + "RULE_REFERENCE": "Edit: PGI", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if PGI = \"O\"", + "FIELD_FORM_ASSOCIATION": null + } + }, + "dissemination_date": { + "title": "DISSEMINATION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "DISSEMINATION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "calendar_y-t-d_per_election_office": { + "title": "CALENDAR Y-T-D (per election/office)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "CALENDAR Y-T-D (per election/office)", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_purpose_descrip": { + "title": "EXPENDITURE PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Loan Repayment" + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Loan Repayment", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": "001, 002, ... 012", + "RULE_REFERENCE": "Catg Code values 001-012", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_cmtte_fec_id_number": { + "title": "PAYEE CMTTE FEC ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "PAYEE CMTTE FEC ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "support_oppose_code": { + "title": "SUPPORT/OPPOSE CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "S" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "SUPPORT/OPPOSE CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "S", + "VALUE_REFERENCE": "S, O", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_id_number": { + "title": "S/O CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H04MA3210" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "S/O CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "H04MA3210", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_last_name": { + "title": "S/O CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "S/O CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;", + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_first_name": { + "title": "S/O CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "S/O CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "both Last & First names required.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candinate_middle_name": { + "title": "S/O CANDINATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "S/O CANDINATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_prefix": { + "title": "S/O CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "S/O CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_suffix": { + "title": "S/O CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "S/O CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_office": { + "title": "S/O CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "S/O CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_state": { + "title": "S/O CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "S/O CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warn if Cand Office=H or S)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_district": { + "title": "S/O CANDIDATE DISTRICT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "S/O CANDIDATE DISTRICT", + "TYPE": "A/N-2", + "REQUIRED": "X (warn if Cand Office=H)", + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F6.json b/schema/backlog/F6.json new file mode 100644 index 00000000..4ea36e86 --- /dev/null +++ b/schema/backlog/F6.json @@ -0,0 +1,496 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F6.json", + "version": "8.3.0.1", + "title": "FEC F6", + "description": "FORM 6 - 48 HOUR NOTICE ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "original_amendment_date", + "committee_name", + "candidate_last_name", + "candidate_first_name", + "signer_last_name", + "signer_first_name", + "date_signed" + ], + "fec_recommended": [ + "street_1", + "city", + "state", + "zip" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F6N" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F6N", + "VALUE_REFERENCE": "F6+[N|A]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "original_amendment_date": { + "title": "ORIGINAL AMENDMENT DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "ORIGINAL AMENDMENT DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error if Form Type=F6A)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Use the POSTed Filed on Date of Original (1st) F6 being amended.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Friends of Pat" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Friends of Pat", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Sycamore St" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Sycamore St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_id_number": { + "title": "CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_last_name": { + "title": "CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_first_name": { + "title": "CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_middle_name": { + "title": "CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_prefix": { + "title": "CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_suffix": { + "title": "CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_office": { + "title": "CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_state": { + "title": "CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": null, + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_district": { + "title": "CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": null, + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "signer_last_name": { + "title": "SIGNER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "SIGNER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "signer_first_name": { + "title": "SIGNER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "SIGNER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "signer_middle_name": { + "title": "SIGNER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "SIGNER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "signer_prefix": { + "title": "SIGNER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "SIGNER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "signer_suffix": { + "title": "SIGNER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "SIGNER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120820 + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120820, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F65.json b/schema/backlog/F65.json new file mode 100644 index 00000000..84a831cf --- /dev/null +++ b/schema/backlog/F65.json @@ -0,0 +1,439 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F65.json", + "version": "8.3.0.1", + "title": "FEC F65", + "description": "FORM 6.5 - FOR EACH CONTRIBUTOR ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "contributor_organization_name", + "contributor_last_name", + "contributor_first_name" + ], + "fec_recommended": [ + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F65" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F65", + "VALUE_REFERENCE": "F65", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_committee_fec_id": { + "title": "CONTRIBUTOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If CCM,PAC...", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F7.json b/schema/backlog/F7.json new file mode 100644 index 00000000..681af0a2 --- /dev/null +++ b/schema/backlog/F7.json @@ -0,0 +1,476 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F7.json", + "version": "8.3.0.1", + "title": "FEC F7", + "description": "FORM 7 - COMMUNICATION COSTS ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "organization_name", + "person_designated_to_sign_last_name", + "person_designated_to_sign_first_name", + "date_signed" + ], + "fec_recommended": [ + "organization_street_1", + "organization_city", + "organization_state", + "organization_zip", + "report_code", + "date_of_election", + "state_of_election", + "coverage_from_date", + "coverage_through_date", + "person_designated_to_sign_title" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F7N" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F7N", + "VALUE_REFERENCE": "F7+[N|A|T]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C70065431" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C70065431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "organization_name": { + "title": "ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "organization_street_1": { + "title": "ORGANIZATION STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "125 Sycamore St" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "ORGANIZATION STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "125 Sycamore St", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "organization_street_2": { + "title": "ORGANIZATION STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "ORGANIZATION STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "organization_city": { + "title": "ORGANIZATION CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ORGANIZATION CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "organization_state": { + "title": "ORGANIZATION STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ORGANIZATION STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "organization_zip": { + "title": "ORGANIZATION ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 33034 + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "ORGANIZATION ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 33034, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "organization_type": { + "title": "ORGANIZATION TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "C" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "ORGANIZATION TYPE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "C", + "VALUE_REFERENCE": "C,T,L,M,V,W", + "RULE_REFERENCE": "C - Corporation\n T -Trade Association\n L - Labor Organization\n M - Membership\n Organization\n V - Cooperative\n W - Corporation w/o\n capital stock", + "FIELD_FORM_ASSOCIATION": null + } + }, + "report_code": { + "title": "REPORT CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "12P" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "REPORT CODE", + "TYPE": "A-3", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "12P", + "VALUE_REFERENCE": "12C,..., TER", + "RULE_REFERENCE": "Warning if Code is missing;\nError if Coded incorrectly.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_of_election": { + "title": "DATE OF ELECTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120715 + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "DATE OF ELECTION", + "TYPE": "NUM-8", + "REQUIRED": "X (warn if REPORT CODE=[12?|30?])", + "SAMPLE_DATA": 20120715, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state_of_election": { + "title": "STATE OF ELECTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "STATE OF ELECTION", + "TYPE": "A/N-2", + "REQUIRED": "X (warn if REPORT CODE=[12?|30?])", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: St", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "total_costs": { + "title": "TOTAL COSTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "TOTAL COSTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Sum of F76 Itemized Costs", + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_designated_to_sign_last_name": { + "title": "PERSON DESIGNATED TO SIGN LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PERSON DESIGNATED TO SIGN LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_designated_to_sign_first_name": { + "title": "PERSON DESIGNATED TO SIGN FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PERSON DESIGNATED TO SIGN FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_designated_to_sign_middle_name": { + "title": "PERSON DESIGNATED TO SIGN MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PERSON DESIGNATED TO SIGN MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_designated_to_sign_prefix": { + "title": "PERSON DESIGNATED TO SIGN PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "PERSON DESIGNATED TO SIGN PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_designated_to_sign_suffix": { + "title": "PERSON DESIGNATED TO SIGN SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "PERSON DESIGNATED TO SIGN SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_designated_to_sign_title": { + "title": "PERSON DESIGNATED TO SIGN TITLE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Treasurer" + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "PERSON DESIGNATED TO SIGN TITLE", + "TYPE": "A/N-20", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Treasurer", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120820 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120820, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F76.json b/schema/backlog/F76.json new file mode 100644 index 00000000..3c04e5cc --- /dev/null +++ b/schema/backlog/F76.json @@ -0,0 +1,417 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F76.json", + "version": "8.3.0.1", + "title": "FEC F76", + "description": "FORM 7.6 - FOR EACH COMMUNICATION ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "s_o_candidate_last_name", + "s_o_candidate_first_name" + ], + "fec_recommended": [ + "communication_type", + "communication_class", + "communication_date", + "support_oppose" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F76" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F76", + "VALUE_REFERENCE": "F76", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C70065431" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C70065431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "communication_type": { + "title": "COMMUNICATION TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "DM" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "COMMUNICATION TYPE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "DM", + "VALUE_REFERENCE": "DM,TP,TM,O", + "RULE_REFERENCE": "Edit: COMM-TYPE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "communication_type_-_other_description": { + "title": "COMMUNICATION TYPE - OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 40, + "pattern": "^[ A-z0-9]{0,40}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "COMMUNICATION TYPE - OTHER DESCRIPTION", + "TYPE": "A/N-40", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "communication_class": { + "title": "COMMUNICATION CLASS", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "E" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "COMMUNICATION CLASS", + "TYPE": "A/N-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "E", + "VALUE_REFERENCE": "E,S,M", + "RULE_REFERENCE": "Edit: COMM-TYPE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "communication_date": { + "title": "COMMUNICATION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120820 + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "COMMUNICATION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120820, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "communication_cost_per_candidate": { + "title": "COMMUNICATION COST (per candidate)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "COMMUNICATION COST (per candidate)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code": { + "title": "ELECTION CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "ELECTION CODE", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[CCYY]", + "RULE_REFERENCE": "Edit: PGI", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if PGI = \"O\"", + "FIELD_FORM_ASSOCIATION": null + } + }, + "support_oppose": { + "title": "SUPPORT/OPPOSE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "S" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "SUPPORT/OPPOSE", + "TYPE": "A/N-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "S", + "VALUE_REFERENCE": "S, O", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_id_number": { + "title": "S/O CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "S/O CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_last_name": { + "title": "S/O CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "S/O CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_first_name": { + "title": "S/O CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "S/O CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_middle_name": { + "title": "S/O CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "S/O CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_prefix": { + "title": "S/O CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "S/O CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_suffix": { + "title": "S/O CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "S/O CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_office": { + "title": "S/O CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "S/O CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_state": { + "title": "S/O CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "S/O CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": null, + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_district": { + "title": "S/O CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "S/O CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": null, + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F9.json b/schema/backlog/F9.json new file mode 100644 index 00000000..ffab9cc9 --- /dev/null +++ b/schema/backlog/F9.json @@ -0,0 +1,931 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F9.json", + "version": "8.3.0.1", + "title": "FEC F9", + "description": "FORM 9 - 24 HOUR NOTICE OF DISBURSEMENTS FOR ELECTIONEERING COMMUNICATIONS", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "entity_type", + "organization_name", + "individual_last_name", + "individual_first_name", + "original_amendment_date", + "custodian_last_name", + "custodian_first_name", + "L9_total_donations_this_statement", + "L10_total_disb_oblig_this_statement", + "person_completing_last_name", + "person_completing_first_name", + "date_signed" + ], + "fec_recommended": [ + "street_1", + "city", + "state", + "zip", + "coverage_from_date", + "coverage_through_date", + "filer_code", + "filer_code_description", + "custodian_street_1", + "custodian_city", + "custodian_state", + "custodian_zip" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "F9N" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F9N", + "VALUE_REFERENCE": "F9+[N|A]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C30065431" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C30065431", + "VALUE_REFERENCE": "Filing Committee ID", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "COM,IND,ORG,PAC,PTY", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "organization_name": { + "title": "ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_last_name": { + "title": "INDIVIDUAL LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "INDIVIDUAL LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_first_name": { + "title": "INDIVIDUAL FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "INDIVIDUAL FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_middle_name": { + "title": "INDIVIDUAL MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "INDIVIDUAL MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_prefix": { + "title": "INDIVIDUAL PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "INDIVIDUAL PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_suffix": { + "title": "INDIVIDUAL SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "INDIVIDUAL SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "change_of_address": { + "title": "CHANGE OF ADDRESS", + "description": "", + "type": "boolean", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CHANGE OF ADDRESS", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X = Yes", + "RULE_REFERENCE": "Check-box", + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Entity's Street Address 1", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Entity's Street Address 2", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Entity's City/Town", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Entity's State Code", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "20643[1234]" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "20643[1234]", + "VALUE_REFERENCE": "Entity's Zip Code", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_employer": { + "title": "INDIVIDUAL EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "INDIVIDUAL EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "If Entity is an Individual", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "individual_occupation": { + "title": "INDIVIDUAL OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "INDIVIDUAL OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "If Entity is an Individual", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "original_amendment_date": { + "title": "ORIGINAL AMENDMENT DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20180529 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "ORIGINAL AMENDMENT DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error if Form Type=F9A)", + "SAMPLE_DATA": 20180529, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Use date of original report or of most recent amendment", + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120101 + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120101, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20121231 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20121231, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_of_public_distribution": { + "title": "DATE OF PUBLIC DISTRIBUTION", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120921 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "DATE OF PUBLIC DISTRIBUTION", + "TYPE": "NUM-8", + "REQUIRED": null, + "SAMPLE_DATA": 20120921, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "communication_title": { + "title": "COMMUNICATION TITLE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 40, + "pattern": "^[ A-z0-9]{0,40}$", + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "COMMUNICATION TITLE", + "TYPE": "A/N-40", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_code": { + "title": "FILER CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "QNC" + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "FILER CODE", + "TYPE": "A/N-3", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "QNC", + "VALUE_REFERENCE": "[IND|UNO|QNC|CLQ|OTH]", + "RULE_REFERENCE": "IND - Individual\nUNO - Unincorporated Org.\nQNC - Qualified Nonprofit Corp.\n Under CFR 114.10\nCLQ - Corp, Labor or QNC under\n CFR 114.15 \nOTH - Other, specify \u2026", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_code_description": { + "title": "FILER CODE DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "FILER CODE DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": "X (warning if field #22 Filer Code = OTH", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Field #22 Filer Code = \"OTH\"", + "FIELD_FORM_ASSOCIATION": null + } + }, + "segregated_bank_account": { + "title": "SEGREGATED BANK ACCOUNT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "Y" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "SEGREGATED BANK ACCOUNT", + "TYPE": "A-1", + "REQUIRED": null, + "SAMPLE_DATA": "Y", + "VALUE_REFERENCE": "Y=YES, N=NO", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_last_name": { + "title": "CUSTODIAN LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CUSTODIAN LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_first_name": { + "title": "CUSTODIAN FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "CUSTODIAN FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_middle_name": { + "title": "CUSTODIAN MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "CUSTODIAN MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_prefix": { + "title": "CUSTODIAN PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "CUSTODIAN PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_suffix": { + "title": "CUSTODIAN SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "CUSTODIAN SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_street_1": { + "title": "CUSTODIAN STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "CUSTODIAN STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_street_2": { + "title": "CUSTODIAN STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "CUSTODIAN STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_city": { + "title": "CUSTODIAN CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "CUSTODIAN CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_state": { + "title": "CUSTODIAN STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "CUSTODIAN STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_zip": { + "title": "CUSTODIAN ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "CUSTODIAN ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_employer": { + "title": "CUSTODIAN EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "CUSTODIAN EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "custodian_occupation": { + "title": "CUSTODIAN OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "CUSTODIAN OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_total_donations_this_statement": { + "title": "9. TOTAL DONATIONS THIS STATEMENT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 12343.49 + ], + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "9. TOTAL DONATIONS THIS STATEMENT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 12343.49, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Sum of F92 Donations", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_total_disb_oblig_this_statement": { + "title": "10. TOTAL DISB./OBLIG. THIS STATEMENT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 527331.48 + ], + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "10. TOTAL DISB./OBLIG. THIS STATEMENT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 527331.48, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Sum of F93 Disbursements", + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_completing_last_name": { + "title": "PERSON COMPLETING LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "PERSON COMPLETING LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_completing_first_name": { + "title": "PERSON COMPLETING FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "PERSON COMPLETING FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_completing_middle_name": { + "title": "PERSON COMPLETING MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "PERSON COMPLETING MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_completing_prefix": { + "title": "PERSON COMPLETING PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "PERSON COMPLETING PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "person_completing_suffix": { + "title": "PERSON COMPLETING SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "PERSON COMPLETING SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120820 + ], + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120820, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F91.json b/schema/backlog/F91.json new file mode 100644 index 00000000..07df045f --- /dev/null +++ b/schema/backlog/F91.json @@ -0,0 +1,313 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F91.json", + "version": "8.3.0.1", + "title": "FEC F91", + "description": "FORM 9 / PERSONS SHARING/EXERCISING CONTROL (FOR EACH PERSON)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "controller_last_name_share_exer_control", + "controller_first_name" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F91" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F91", + "VALUE_REFERENCE": "F91", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_last_name_share_exer_control": { + "title": "CONTROLLER LAST NAME (Share/Exer Control)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "CONTROLLER LAST NAME (Share/Exer Control)", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_first_name": { + "title": "CONTROLLER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "CONTROLLER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_middle_name": { + "title": "CONTROLLER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "CONTROLLER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_prefix": { + "title": "CONTROLLER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CONTROLLER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_suffix": { + "title": "CONTROLLER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTROLLER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_street_1": { + "title": "CONTROLLER STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTROLLER STREET 1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_street_2": { + "title": "CONTROLLER STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTROLLER STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_city": { + "title": "CONTROLLER CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTROLLER CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_state": { + "title": "CONTROLLER STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTROLLER STATE", + "TYPE": "A-2", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_zip": { + "title": "CONTROLLER ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTROLLER ZIP", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_employer": { + "title": "CONTROLLER EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTROLLER EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "controller_occupation": { + "title": "CONTROLLER OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTROLLER OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F92.json b/schema/backlog/F92.json new file mode 100644 index 00000000..42f2be95 --- /dev/null +++ b/schema/backlog/F92.json @@ -0,0 +1,422 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F92.json", + "version": "8.3.0.1", + "title": "FEC F92", + "description": "FORM 9 / SCHED 9-A - FOR EACH DONATION RECEIVED", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "entity_type", + "donor_organization_name", + "donor_last_name", + "donor_first_name" + ], + "fec_recommended": [ + "donor_street_1", + "donor_city", + "donor_state", + "donor_zip", + "date_received", + "amount_received" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F92" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F92", + "VALUE_REFERENCE": "F92", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A5613456789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A5613456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F93" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "F93", + "VALUE_REFERENCE": "[F92 | F93]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_organization_name": { + "title": "DONOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "DONOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_last_name": { + "title": "DONOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "DONOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_first_name": { + "title": "DONOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "DONOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_middle_name": { + "title": "DONOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "DONOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_prefix": { + "title": "DONOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "DONOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_suffix": { + "title": "DONOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "DONOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_street_1": { + "title": "DONOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "DONOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_street_2": { + "title": "DONOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "DONOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_city": { + "title": "DONOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "DONOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_state": { + "title": "DONOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "DONOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_zip": { + "title": "DONOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "DONOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_received": { + "title": "DATE RECEIVED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "DATE RECEIVED", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "amount_received": { + "title": "AMOUNT RECEIVED", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "AMOUNT RECEIVED", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F93.json b/schema/backlog/F93.json new file mode 100644 index 00000000..bf981aa6 --- /dev/null +++ b/schema/backlog/F93.json @@ -0,0 +1,552 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F93.json", + "version": "8.3.0.1", + "title": "FEC F93", + "description": "FORM 9 / SCHED 9-B - FOR EACH DISBURSEMENT MADE", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "entity_type", + "payee_organization_name", + "payee_last_name", + "payee_first_name", + "election_code", + "expenditure_date", + "expenditure_amount", + "communication_date" + ], + "fec_recommended": [ + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_purpose_descrip", + "payee_employer", + "payee_occupation" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F93" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F93", + "VALUE_REFERENCE": "F93", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B5613456789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B5613456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F92" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "F92", + "VALUE_REFERENCE": "[F92 | F93]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_last_name": { + "title": "PAYEE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_first_name": { + "title": "PAYEE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "PAYEE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_middle_name": { + "title": "PAYEE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "PAYEE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_prefix": { + "title": "PAYEE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "PAYEE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_suffix": { + "title": "PAYEE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "PAYEE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code": { + "title": "ELECTION CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "ELECTION CODE", + "TYPE": "A/N-5", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[YYYY]", + "RULE_REFERENCE": "Edit: PGI", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if PGI = \"O\"", + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_purpose_descrip": { + "title": "EXPENDITURE PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Loan Repayment" + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Loan Repayment", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_employer": { + "title": "PAYEE EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "PAYEE EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X(warning)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required for all Payees (If Entity=IND or CAN).", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_occupation": { + "title": "PAYEE OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PAYEE OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X(warning)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required for all Payees (If Entity=IND or CAN).", + "FIELD_FORM_ASSOCIATION": null + } + }, + "communication_date": { + "title": "COMMUNICATION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120131 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "COMMUNICATION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120131, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F94.json b/schema/backlog/F94.json new file mode 100644 index 00000000..d4339199 --- /dev/null +++ b/schema/backlog/F94.json @@ -0,0 +1,355 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F94.json", + "version": "8.3.0.1", + "title": "FEC F94", + "description": "FORM 94 - FEDERAL CANDIDATE LIST FOR FORM 93 TRANSACTIONS", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "candidate_last_name", + "candidate_first_name" + ], + "fec_recommended": [ + "candidate_office", + "candidate_state", + "candidate_dist" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F94" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F94", + "VALUE_REFERENCE": "F94", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B5614789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B5614789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id": { + "title": "BACK REFERENCE TRAN ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "F93" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "F93", + "VALUE_REFERENCE": "F93", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_id_number": { + "title": "CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H04MA3210" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "H04MA3210", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_last_name": { + "title": "CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_first_name": { + "title": "CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_middle_name": { + "title": "CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_prefix": { + "title": "CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_suffix": { + "title": "CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_office": { + "title": "CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_state": { + "title": "CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warn if Cand Office=H or S)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "candidate_dist": { + "title": "CANDIDATE DIST", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 70 + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CANDIDATE DIST", + "TYPE": "NUM-2", + "REQUIRED": "X (warn if Cand Office=H)", + "SAMPLE_DATA": 70, + "VALUE_REFERENCE": "01, ..., 99", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code": { + "title": "ELECTION CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "ELECTION CODE", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[YYYY]", + "RULE_REFERENCE": "Edit: PGI", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if PGI = \"O\"", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/F99.json b/schema/backlog/F99.json new file mode 100644 index 00000000..07102c2b --- /dev/null +++ b/schema/backlog/F99.json @@ -0,0 +1,320 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/F99.json", + "version": "8.3.0.1", + "title": "FEC F99", + "description": "FORM 99 - MISCELLANEOUS TEXT ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "treasurer_last_name", + "treasurer_first_name" + ], + "fec_recommended": [ + "committee_name", + "street_1", + "city", + "state", + "zip" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "F99" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F99", + "VALUE_REFERENCE": "Form Type", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": "Filing Committee ID", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "committee_name": { + "title": "COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Filing Committee's Name", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_1": { + "title": "STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Committee's Street Address 1", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "street_2": { + "title": "STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Committee's Street Address 2", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "city": { + "title": "CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Committee's City/Town", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "state": { + "title": "STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Committee's State Code", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "zip": { + "title": "ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Committee's Zip Code", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_last_name": { + "title": "TREASURER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "TREASURER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_first_name": { + "title": "TREASURER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "TREASURER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_middle_name": { + "title": "TREASURER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "TREASURER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_prefix": { + "title": "TREASURER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "TREASURER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "treasurer_suffix": { + "title": "TREASURER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "TREASURER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": null, + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "text_code": { + "title": "TEXT CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "MST" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "TEXT CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "MST", + "VALUE_REFERENCE": "Type of Miscellaneous Document:\n 'MSI' = Disavowal Response \n 'MSM' = Filing Freq. Change Notice \n 'MST' = Misc. Report to the FEC", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/FEC_Format_v8.3.0.1.xlsx b/schema/backlog/FEC_Format_v8.3.0.1.xlsx new file mode 100644 index 00000000..ec9057ce Binary files /dev/null and b/schema/backlog/FEC_Format_v8.3.0.1.xlsx differ diff --git a/schema/backlog/Form_3X_Receipts_Vendor_10.20.2020.xlsx b/schema/backlog/Form_3X_Receipts_Vendor_10.20.2020.xlsx new file mode 100644 index 00000000..1b53312d Binary files /dev/null and b/schema/backlog/Form_3X_Receipts_Vendor_10.20.2020.xlsx differ diff --git a/schema/backlog/HDR.json b/schema/backlog/HDR.json new file mode 100644 index 00000000..0f4a859f --- /dev/null +++ b/schema/backlog/HDR.json @@ -0,0 +1,178 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/HDR.json", + "version": "8.3.0.1", + "title": "FEC HDR", + "description": "HDR - Header Record", + "type": "object", + "required": [ + "record_type", + "ef_type", + "fec_version_#" + ], + "fec_recommended": [], + "properties": { + "record_type": { + "title": "Record Type", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "HDR" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "Record Type", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "HDR", + "VALUE_REFERENCE": "HDR", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "ef_type": { + "title": "EF Type", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "FEC" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "EF Type", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "FEC", + "VALUE_REFERENCE": "FEC", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "fec_version_#": { + "title": "FEC Version #", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "8.3" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "FEC Version #", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "8.3", + "VALUE_REFERENCE": "8.3", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "soft_name": { + "title": "Soft Name", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "examples": [ + "SUPERFILER" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "Soft Name", + "TYPE": "A/N-90", + "REQUIRED": null, + "SAMPLE_DATA": "SUPERFILER", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "soft_ver": { + "title": "Soft Ver", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 16, + "pattern": "^[ A-z0-9]{0,16}$", + "examples": [ + "1.0" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "Soft Ver", + "TYPE": "A/N-16", + "REQUIRED": null, + "SAMPLE_DATA": "1.0", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "rpt_id": { + "title": "Rpt ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 16, + "pattern": "^[ A-z0-9]{0,16}$", + "examples": [ + "FEC-123467" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "Rpt ID", + "TYPE": "A/N-16", + "REQUIRED": null, + "SAMPLE_DATA": "FEC-123467", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "FEC report ID of original report (Amendment only)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "rpt_number": { + "title": "Rpt Number", + "description": "", + "examples": [ + "1" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "Rpt Number", + "TYPE": "N-3", + "REQUIRED": null, + "SAMPLE_DATA": "1", + "VALUE_REFERENCE": "1,2,3,4\u2026", + "RULE_REFERENCE": "Sequential number of amendments", + "FIELD_FORM_ASSOCIATION": null + } + }, + "hdrcomment": { + "title": "HDRcomment", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "HDRcomment", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Use as needed {no tabs, line-feeds, etc. allowed}", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IK_BC_OUT.json b/schema/backlog/IK_BC_OUT.json new file mode 100644 index 00000000..b66a2947 --- /dev/null +++ b/schema/backlog/IK_BC_OUT.json @@ -0,0 +1,525 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IK_BC_OUT.json", + "version": "v0.0.0.0", + "title": "FEC Ind In-Kind Bitcoin Out", + "description": "In-Kind Bitcoin not sold (21b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "entity_type", + "payee_last_name", + "payee_first_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount_{f3l_bundled}", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_last_name": { + "title": "PAYEE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "PAYEE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_first_name": { + "title": "PAYEE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "PAYEE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_middle_name": { + "title": "PAYEE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "PAYEE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_prefix": { + "title": "PAYEE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "PAYEE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_suffix": { + "title": "PAYEE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "PAYEE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount_{f3l_bundled}": { + "title": "EXPENDITURE AMOUNT {F3L Bundled}", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT {F3L Bundled}", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_purpose_descrip": { + "title": "EXPENDITURE PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "EXPENDITURE PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": "X", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: XX Bitcoins not liquidated", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IK_BC_OUT" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IK_BC_OUT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IK_BC_REC.json b/schema/backlog/IK_BC_REC.json new file mode 100644 index 00000000..984af96e --- /dev/null +++ b/schema/backlog/IK_BC_REC.json @@ -0,0 +1,565 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IK_BC_REC.json", + "version": "v0.0.0.0", + "title": "FEC Ind In-Kind Bitcoin Receipt", + "description": "In-Kind Bitcoin Receipt (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_purpose_descrip", + "contributor_employer", + "contributor_occupation", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: XX Bitcoins not liquidated", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IK_BC_REC" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IK_BC_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IK_OUT.json b/schema/backlog/IK_OUT.json new file mode 100644 index 00000000..bbe6156e --- /dev/null +++ b/schema/backlog/IK_OUT.json @@ -0,0 +1,503 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IK_OUT.json", + "version": "v0.0.0.0", + "title": "FEC In-Kind Out", + "description": "In-Kind Out (21b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id_number", + "entity_type", + "payee_last_name", + "payee_first_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount", + "purpose_of_disbursement" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IK_OUT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IK_OUT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_last_name": { + "title": "PAYEE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "PAYEE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_first_name": { + "title": "PAYEE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "PAYEE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_middle_name": { + "title": "PAYEE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "PAYEE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_prefix": { + "title": "PAYEE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "PAYEE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_suffix": { + "title": "PAYEE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "PAYEE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "purpose_of_disbursement": { + "title": "PURPOSE OF DISBURSEMENT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PURPOSE OF DISBURSEMENT", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: In-Kind #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IK_PAC_REC.json b/schema/backlog/IK_PAC_REC.json new file mode 100644 index 00000000..9297e87d --- /dev/null +++ b/schema/backlog/IK_PAC_REC.json @@ -0,0 +1,453 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IK_PAC_REC.json", + "version": "v0.0.0.0", + "title": "FEC In-Kind PAC Receipt", + "description": "In-Kind PAC Receipt (11c)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "donor_committee_fec_id", + "donor_committee_name" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IK_PAC_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IK_PAC_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: In-Kind #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IK_PAC__OUT.json b/schema/backlog/IK_PAC__OUT.json new file mode 100644 index 00000000..bf032397 --- /dev/null +++ b/schema/backlog/IK_PAC__OUT.json @@ -0,0 +1,462 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IK_PAC__OUT.json", + "version": "v0.0.0.0", + "title": "FEC In-Kind Out PAC", + "description": "In-Kind Out PAC (21b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id_number", + "entity_type", + "payee_organization_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount", + "purpose_of_disbursement", + "beneficiary_committee_fec_id", + "beneficiary_committee_name" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IK_PAC__OUT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IK_PAC__OUT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "purpose_of_disbursement": { + "title": "PURPOSE OF DISBURSEMENT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PURPOSE OF DISBURSEMENT", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: In-Kind #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_fec_id": { + "title": "BENEFICIARY COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00654323" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00654323", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_name": { + "title": "BENEFICIARY COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IK_REC.json b/schema/backlog/IK_REC.json new file mode 100644 index 00000000..c6008afb --- /dev/null +++ b/schema/backlog/IK_REC.json @@ -0,0 +1,541 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IK_REC.json", + "version": "v0.0.0.0", + "title": "FEC In-Kind Receipt", + "description": "In-Kind Receipt (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IK_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IK_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: In-Kind #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/INDV_REC.json b/schema/backlog/INDV_REC.json new file mode 100644 index 00000000..c06538c7 --- /dev/null +++ b/schema/backlog/INDV_REC.json @@ -0,0 +1,540 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/INDV_REC.json", + "version": "v0.0.0.0", + "title": "FEC Individual Receipt", + "description": "Individual Receipt (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "INDV_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "INDV_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN - Candidate, CCM - Candidate Committee, COM - Committee, IND - Individual (a person), ORG - Organization (not a committee and not a person), PAC - Political Action Committee, PTY - Party Organization", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_CAREY.json b/schema/backlog/IND_CAREY.json new file mode 100644 index 00000000..7a41d0b5 --- /dev/null +++ b/schema/backlog/IND_CAREY.json @@ -0,0 +1,541 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_CAREY.json", + "version": "v0.0.0.0", + "title": "FEC Individ Carey", + "description": "Individual NonContribution Account Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_CAREY" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_CAREY", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Non-contribution Account Receipt", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_JF_MEM-2.json b/schema/backlog/IND_JF_MEM-2.json new file mode 100644 index 00000000..677fa4f0 --- /dev/null +++ b/schema/backlog/IND_JF_MEM-2.json @@ -0,0 +1,542 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_JF_MEM-2.json", + "version": "v0.0.0.0", + "title": "FEC Ind - JF Recount Memo", + "description": "Individual - JF Recount Account Memo (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Recount Account - JF Memo for", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_JF_MEM-3.json b/schema/backlog/IND_JF_MEM-3.json new file mode 100644 index 00000000..7c00366f --- /dev/null +++ b/schema/backlog/IND_JF_MEM-3.json @@ -0,0 +1,542 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_JF_MEM-3.json", + "version": "v0.0.0.0", + "title": "FEC Ind - JF Conv. Memo", + "description": "Individual - JF Convention Account Memo (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Convention Account - JF Memo for #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_JF_MEM-4.json b/schema/backlog/IND_JF_MEM-4.json new file mode 100644 index 00000000..56643f49 --- /dev/null +++ b/schema/backlog/IND_JF_MEM-4.json @@ -0,0 +1,542 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_JF_MEM-4.json", + "version": "v0.0.0.0", + "title": "FEC Ind - JF Headq. Memo", + "description": "Individual - JF Headquarters Account Memo (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Headquarters Account - JF Memo for #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_JF_MEM.json b/schema/backlog/IND_JF_MEM.json new file mode 100644 index 00000000..9d4c6e78 --- /dev/null +++ b/schema/backlog/IND_JF_MEM.json @@ -0,0 +1,542 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_JF_MEM.json", + "version": "v0.0.0.0", + "title": "FEC Individual JF Memo", + "description": "Individual JF Memo (12)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: JF Memo for #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_RECNT-2.json b/schema/backlog/IND_RECNT-2.json new file mode 100644 index 00000000..9640b684 --- /dev/null +++ b/schema/backlog/IND_RECNT-2.json @@ -0,0 +1,541 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_RECNT-2.json", + "version": "v0.0.0.0", + "title": "FEC Ind - Nat'l Party Recount", + "description": "Individual Recount for New National Party Account Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_RECNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_RECNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201cRecount Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_RECNT-3.json b/schema/backlog/IND_RECNT-3.json new file mode 100644 index 00000000..16e87fc3 --- /dev/null +++ b/schema/backlog/IND_RECNT-3.json @@ -0,0 +1,541 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_RECNT-3.json", + "version": "v0.0.0.0", + "title": "FEC Ind - Nat'l Party Headq.", + "description": "Individual \u201cHeadquarters Account\u201d for New National Party Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_RECNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_RECNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201c\u201cHeadquarters Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_RECNT-4.json b/schema/backlog/IND_RECNT-4.json new file mode 100644 index 00000000..12a628fe --- /dev/null +++ b/schema/backlog/IND_RECNT-4.json @@ -0,0 +1,541 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_RECNT-4.json", + "version": "v0.0.0.0", + "title": "FEC Ind - Nat'l Party Convention", + "description": "Individual Convention Account for New National Party Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_RECNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_RECNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201cConvention Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_RECNT-5.json b/schema/backlog/IND_RECNT-5.json new file mode 100644 index 00000000..7e474a23 --- /dev/null +++ b/schema/backlog/IND_RECNT-5.json @@ -0,0 +1,542 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_RECNT-5.json", + "version": "v0.0.0.0", + "title": "FEC Earmark - Recount Account ", + "description": "earmarked Individual Recount for New National Party Account Receipt (17) ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_RECNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_RECNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total earmarked through conduit.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_RECNT-6.json b/schema/backlog/IND_RECNT-6.json new file mode 100644 index 00000000..41cdba7e --- /dev/null +++ b/schema/backlog/IND_RECNT-6.json @@ -0,0 +1,541 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_RECNT-6.json", + "version": "v0.0.0.0", + "title": "FEC Earmark - Nat'l Party Conv.", + "description": " earmarked Individual Convention Account for New National Party Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_RECNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_RECNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Conevention Account Earmarked Through", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_RECNT-7.json b/schema/backlog/IND_RECNT-7.json new file mode 100644 index 00000000..e32e406d --- /dev/null +++ b/schema/backlog/IND_RECNT-7.json @@ -0,0 +1,541 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_RECNT-7.json", + "version": "v0.0.0.0", + "title": "FEC Earmark - Nat'l Party Headq.", + "description": "Earmarked Individual \u201cHeadquarters Account\u201d for New National Party Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_RECNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_RECNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Headquarters Account earmarked Through", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/IND_RECNT.json b/schema/backlog/IND_RECNT.json new file mode 100644 index 00000000..db8a8aa3 --- /dev/null +++ b/schema/backlog/IND_RECNT.json @@ -0,0 +1,541 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/IND_RECNT.json", + "version": "v0.0.0.0", + "title": "FEC Individ Recount ", + "description": "Individual Recount Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "IND_RECNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND_RECNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Recount Receipt", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/JF_TRAN-2.json b/schema/backlog/JF_TRAN-2.json new file mode 100644 index 00000000..886ca979 --- /dev/null +++ b/schema/backlog/JF_TRAN-2.json @@ -0,0 +1,433 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/JF_TRAN-2.json", + "version": "v0.0.0.0", + "title": "FEC JF Trnsfr - Nat'l Party Recount", + "description": "JF Transfer - Nat'l Party Recount Account (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "JF_TRAN" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "JF_TRAN", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: JF Transfer Recount Account", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/JF_TRAN-3.json b/schema/backlog/JF_TRAN-3.json new file mode 100644 index 00000000..91f545a4 --- /dev/null +++ b/schema/backlog/JF_TRAN-3.json @@ -0,0 +1,433 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/JF_TRAN-3.json", + "version": "v0.0.0.0", + "title": "FEC JF Trnsfr - Nat'l Party Conv.", + "description": "JF Transfer - Nat'l. Party Convention Account (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "JF_TRAN" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "JF_TRAN", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: JF Transfer Convention Account", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/JF_TRAN-4.json b/schema/backlog/JF_TRAN-4.json new file mode 100644 index 00000000..001c166a --- /dev/null +++ b/schema/backlog/JF_TRAN-4.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/JF_TRAN-4.json", + "version": "v0.0.0.0", + "title": "FEC JF Trnsfr - Nat' Party Headq.", + "description": "JF Transfer - Nat'l Party Headquarters Account (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "JF_TRAN" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "JF_TRAN", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: JF Transfer Headquarters Account", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/JF_TRAN.json b/schema/backlog/JF_TRAN.json new file mode 100644 index 00000000..d7f388bf --- /dev/null +++ b/schema/backlog/JF_TRAN.json @@ -0,0 +1,432 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/JF_TRAN.json", + "version": "v0.0.0.0", + "title": "FEC JF Transfer", + "description": "Transfer (12)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "JF_TRAN" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "JF_TRAN", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "JF Transfer", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/LN12_IK_OUT-2.json b/schema/backlog/LN12_IK_OUT-2.json new file mode 100644 index 00000000..06f9a0f3 --- /dev/null +++ b/schema/backlog/LN12_IK_OUT-2.json @@ -0,0 +1,503 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/LN12_IK_OUT-2.json", + "version": "v0.0.0.0", + "title": "FEC Line 12 InKind Out (2)", + "description": "In-Kind Out (30b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "entity_type", + "payee_last_name", + "payee_first_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount", + "purpose_of_disbursement", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_last_name": { + "title": "PAYEE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "PAYEE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_first_name": { + "title": "PAYEE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "PAYEE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_middle_name": { + "title": "PAYEE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "PAYEE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_prefix": { + "title": "PAYEE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "PAYEE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_suffix": { + "title": "PAYEE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "PAYEE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "purpose_of_disbursement": { + "title": "PURPOSE OF DISBURSEMENT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PURPOSE OF DISBURSEMENT", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: In-Kind #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "LN12_IK_OUT" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "LN12_IK_OUT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/LN12_IK_OUT.json b/schema/backlog/LN12_IK_OUT.json new file mode 100644 index 00000000..d3a0510e --- /dev/null +++ b/schema/backlog/LN12_IK_OUT.json @@ -0,0 +1,503 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/LN12_IK_OUT.json", + "version": "v0.0.0.0", + "title": "FEC Line 12 InKind Out", + "description": "In-Kind Out (21b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id_number", + "entity_type", + "payee_last_name", + "payee_first_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount", + "purpose_of_disbursement" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "LN12_IK_OUT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "LN12_IK_OUT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_last_name": { + "title": "PAYEE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "PAYEE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_first_name": { + "title": "PAYEE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "PAYEE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_middle_name": { + "title": "PAYEE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "PAYEE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_prefix": { + "title": "PAYEE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "PAYEE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_suffix": { + "title": "PAYEE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "PAYEE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "purpose_of_disbursement": { + "title": "PURPOSE OF DISBURSEMENT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PURPOSE OF DISBURSEMENT", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: In-Kind #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/LN12_IK_TRAN-2.json b/schema/backlog/LN12_IK_TRAN-2.json new file mode 100644 index 00000000..39f3d638 --- /dev/null +++ b/schema/backlog/LN12_IK_TRAN-2.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/LN12_IK_TRAN-2.json", + "version": "v0.0.0.0", + "title": "FEC Line 12 In-Kind Transfer FEA", + "description": "In-Kind Transfer (12) for FEA", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "LN12_IK_TRAN" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "LN12_IK_TRAN", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: In-Kind #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/LN12_IK_TRAN.json b/schema/backlog/LN12_IK_TRAN.json new file mode 100644 index 00000000..cd6a8dee --- /dev/null +++ b/schema/backlog/LN12_IK_TRAN.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/LN12_IK_TRAN.json", + "version": "v0.0.0.0", + "title": "FEC Line 12 In-Kind Transfer", + "description": "In-Kind Transfer (12)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "LN12_IK_TRAN" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "LN12_IK_TRAN", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: In-Kind #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/LN16_REF_FED_CAN.json b/schema/backlog/LN16_REF_FED_CAN.json new file mode 100644 index 00000000..681934c8 --- /dev/null +++ b/schema/backlog/LN16_REF_FED_CAN.json @@ -0,0 +1,685 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/LN16_REF_FED_CAN.json", + "version": "v0.0.0.0", + "title": "FEC Refunds of Cont. to Registered ", + "description": "SCHEDULE A - ITEMIZED RECEIPTS-Line 16 Refund", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount_{f3l_bundled}", + "contribution_aggregate", + "donor_committee_fec_id", + "donor_committee_name" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "LN16_REF_FED_CAN" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "LN16_REF_FED_CAN", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code_year": { + "title": "ELECTION CODE/YEAR", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ELECTION CODE/YEAR", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[YYYY]", + "RULE_REFERENCE": "Values: [G|P|R|S|C|E|O]+Year{YYYY}", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Item Election Code = \"OYYYY\"", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount_{f3l_bundled}": { + "title": "CONTRIBUTION AMOUNT {F3L Bundled}", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT {F3L Bundled}", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_candidate_fec_id": { + "title": "DONOR CANDIDATE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "DONOR CANDIDATE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_candidate_last_name": { + "title": "DONOR CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "DONOR CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_candidate_first_name": { + "title": "DONOR CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "DONOR CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;\nboth Last & First names required.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_candidate_middle_name": { + "title": "DONOR CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "DONOR CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_candidate_prefix": { + "title": "DONOR CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "DONOR CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_candidate_suffix": { + "title": "DONOR CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "DONOR CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_candidate_office": { + "title": "DONOR CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "DONOR CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_candidate_state": { + "title": "DONOR CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "DONOR CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": "Req if Office = Sen or House", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_candidate_district": { + "title": "DONOR CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "DONOR CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": "Req if Office = House", + "FIELD_FORM_ASSOCIATION": null + } + }, + "conduit_name": { + "title": "CONDUIT NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Middle Organization" + ], + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "CONDUIT NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": "Middle Organization", + "VALUE_REFERENCE": "If Conduit", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/LOAN_REC-2.json b/schema/backlog/LOAN_REC-2.json new file mode 100644 index 00000000..a290be1d --- /dev/null +++ b/schema/backlog/LOAN_REC-2.json @@ -0,0 +1,411 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/LOAN_REC-2.json", + "version": "v0.0.0.0", + "title": "FEC Loan Received from Bank", + "description": "Loan Received from Bank (13)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id_number", + "entity_type", + "contributor_organization_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "LOAN_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "LOAN_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate_{f3l_semi-annual_bundled}": { + "title": "CONTRIBUTION AGGREGATE\n{F3L Semi-annual Bundled}", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE\n{F3L Semi-annual Bundled}", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Receipt of Loan", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/LOAN_REC.json b/schema/backlog/LOAN_REC.json new file mode 100644 index 00000000..38c83e46 --- /dev/null +++ b/schema/backlog/LOAN_REC.json @@ -0,0 +1,496 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/LOAN_REC.json", + "version": "v0.0.0.0", + "title": "FEC Loan Received from Ind", + "description": "Loan Received from Individual (13)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id_number", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "LOAN_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "LOAN_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used with the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate_{f3l_semi-annual_bundled}": { + "title": "CONTRIBUTION AGGREGATE\n{F3L Semi-annual Bundled}", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE\n{F3L Semi-annual Bundled}", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Receipt of Loan", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/LOAN_REP_REC.json b/schema/backlog/LOAN_REP_REC.json new file mode 100644 index 00000000..a4b216b1 --- /dev/null +++ b/schema/backlog/LOAN_REP_REC.json @@ -0,0 +1,518 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/LOAN_REP_REC.json", + "version": "v0.0.0.0", + "title": "FEC Loan Repayments Received", + "description": "Loan Repayment ReceivedReceived (14)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id_number", + "entity_type", + "contributor_organization_name", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "LOAN_REP_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "LOAN_REP_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate_{f3l_semi-annual_bundled}": { + "title": "CONTRIBUTION AGGREGATE\n{F3L Semi-annual Bundled}", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE\n{F3L Semi-annual Bundled}", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Receipt of Loan", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/OFFSET.json b/schema/backlog/OFFSET.json new file mode 100644 index 00000000..f06cc3ce --- /dev/null +++ b/schema/backlog/OFFSET.json @@ -0,0 +1,518 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/OFFSET.json", + "version": "v0.0.0.0", + "title": "FEC Offsets to Operating Exp", + "description": "SCHEDULE A - ITEMIZED RECEIPTS-Line 15 Offset", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization_name", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "OFFSET" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "OFFSET", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/OTHER_COM_CAREY.json b/schema/backlog/OTHER_COM_CAREY.json new file mode 100644 index 00000000..bbed1847 --- /dev/null +++ b/schema/backlog/OTHER_COM_CAREY.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/OTHER_COM_CAREY.json", + "version": "v0.0.0.0", + "title": "FEC Other Committee Carey", + "description": "other Committee NonContribution Account Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "OTHER_COM_CAREY" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "OTHER_COM_CAREY", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Non-contribution Account Receipt", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/OTH_REC.json b/schema/backlog/OTH_REC.json new file mode 100644 index 00000000..fc903f36 --- /dev/null +++ b/schema/backlog/OTH_REC.json @@ -0,0 +1,562 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/OTH_REC.json", + "version": "v0.0.0.0", + "title": "FEC Other Receipts", + "description": "SCHEDULE A - ITEMIZED RECEIPTS-Line 17 Other Receipts", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization_name", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "OTH_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "OTH_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If ENTITY = IND; Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If ENTITY = IND; Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_BC_PUR.json b/schema/backlog/PAC_BC_PUR.json new file mode 100644 index 00000000..e09b8141 --- /dev/null +++ b/schema/backlog/PAC_BC_PUR.json @@ -0,0 +1,471 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_BC_PUR.json", + "version": "v0.0.0.0", + "title": "FEC Bitcoin PurchasePAC", + "description": "PAC Purchase of Bitcoin Receipt (11C)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_purpose_descrip", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Purchase # Bitcoins", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_BC_PUR" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "PAC_BC_PUR", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_BC_PUR_MEM.json b/schema/backlog/PAC_BC_PUR_MEM.json new file mode 100644 index 00000000..397e2a3e --- /dev/null +++ b/schema/backlog/PAC_BC_PUR_MEM.json @@ -0,0 +1,472 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_BC_PUR_MEM.json", + "version": "v0.0.0.0", + "title": "FEC Bitcoin Purchase PAC Memo ", + "description": "PAC Purchase of Bitcoin Receipt (11C)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_purpose_descrip", + "memo_code", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Purchase # Bitcoins, contribution previously disclosed", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_BC_PUR_MEM" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "PAC_BC_PUR_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_IK_BC_OUT.json b/schema/backlog/PAC_IK_BC_OUT.json new file mode 100644 index 00000000..249b3a0c --- /dev/null +++ b/schema/backlog/PAC_IK_BC_OUT.json @@ -0,0 +1,483 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_IK_BC_OUT.json", + "version": "v0.0.0.0", + "title": "FEC PAC Bitcoin InKind Out", + "description": "Bitcoin In-Kind Out PAC (21b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "entity_type", + "payee_organization_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount", + "expenditure_purpose_descrip", + "beneficiary_committee_fec_id", + "beneficiary_committee_name", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_purpose_descrip": { + "title": "EXPENDITURE PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "EXPENDITURE PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "AUTO_POPULATE": "X", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: # Bitcoins not liquidated", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_fec_id": { + "title": "BENEFICIARY COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00654323" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00654323", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_name": { + "title": "BENEFICIARY COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_IK_BC_OUT" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "PAC_IK_BC_OUT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_IK_BC_REC.json b/schema/backlog/PAC_IK_BC_REC.json new file mode 100644 index 00000000..41f78fff --- /dev/null +++ b/schema/backlog/PAC_IK_BC_REC.json @@ -0,0 +1,473 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_IK_BC_REC.json", + "version": "v0.0.0.0", + "title": "FEC PAC In-Kind Bitcoin Receipt", + "description": "PAC In-Kind Bitcoin Receipt (11c)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_purpose_descrip", + "donor_committee_fec_id", + "donor_committee_name", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: XX Bitcoins not liquidated", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_IK_BC_REC" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "PAC_IK_BC_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_JF_MEM-2.json b/schema/backlog/PAC_JF_MEM-2.json new file mode 100644 index 00000000..ca5c4f5d --- /dev/null +++ b/schema/backlog/PAC_JF_MEM-2.json @@ -0,0 +1,413 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_JF_MEM-2.json", + "version": "v0.0.0.0", + "title": "FEC Tribal JF Memo", + "description": "Tribal JF Memo (12)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: JF Memo for #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_JF_MEM-3.json b/schema/backlog/PAC_JF_MEM-3.json new file mode 100644 index 00000000..56014319 --- /dev/null +++ b/schema/backlog/PAC_JF_MEM-3.json @@ -0,0 +1,452 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_JF_MEM-3.json", + "version": "v0.0.0.0", + "title": "FEC PAC - JF Recount Memo", + "description": "PAC - JF Recount Account Memo (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Recount Account - JF Memo for", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_JF_MEM-4.json b/schema/backlog/PAC_JF_MEM-4.json new file mode 100644 index 00000000..26452ab6 --- /dev/null +++ b/schema/backlog/PAC_JF_MEM-4.json @@ -0,0 +1,413 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_JF_MEM-4.json", + "version": "v0.0.0.0", + "title": "FEC Tribal - JF Recount Memo", + "description": "Tribal - JF Recount Account Memo (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Recount Account - JF Memo for", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_JF_MEM-5.json b/schema/backlog/PAC_JF_MEM-5.json new file mode 100644 index 00000000..650ca287 --- /dev/null +++ b/schema/backlog/PAC_JF_MEM-5.json @@ -0,0 +1,452 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_JF_MEM-5.json", + "version": "v0.0.0.0", + "title": "FEC PAC - JF Conv. Memo", + "description": "PAC - JF Convention Account Memo (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Convention Account - JF Memo for #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_JF_MEM-6.json b/schema/backlog/PAC_JF_MEM-6.json new file mode 100644 index 00000000..2233ce5d --- /dev/null +++ b/schema/backlog/PAC_JF_MEM-6.json @@ -0,0 +1,413 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_JF_MEM-6.json", + "version": "v0.0.0.0", + "title": "FEC Tribal - JF Conv. Memo", + "description": "Tribal - JF Convention Account Memo (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Convention Account - JF Memo for #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_JF_MEM-7.json b/schema/backlog/PAC_JF_MEM-7.json new file mode 100644 index 00000000..abd8cfd9 --- /dev/null +++ b/schema/backlog/PAC_JF_MEM-7.json @@ -0,0 +1,452 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_JF_MEM-7.json", + "version": "v0.0.0.0", + "title": "FEC PAC - JF Headq. Memo", + "description": "PAC - JF Headquarters Account Memo (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Headquarters Account - JF Memo for #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_JF_MEM-8.json b/schema/backlog/PAC_JF_MEM-8.json new file mode 100644 index 00000000..54524cf8 --- /dev/null +++ b/schema/backlog/PAC_JF_MEM-8.json @@ -0,0 +1,413 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_JF_MEM-8.json", + "version": "v0.0.0.0", + "title": "FEC Tribal - JF Headq. Memo", + "description": "Tribal - JF Headquarters Account Memo (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Headquarters Account - JF Memo for #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_JF_MEM.json b/schema/backlog/PAC_JF_MEM.json new file mode 100644 index 00000000..7e1ceb11 --- /dev/null +++ b/schema/backlog/PAC_JF_MEM.json @@ -0,0 +1,452 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_JF_MEM.json", + "version": "v0.0.0.0", + "title": "FEC PAC JF Memo", + "description": "PAC JF Memo (12)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: JF Memo for #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_RCNT-2.json b/schema/backlog/PAC_RCNT-2.json new file mode 100644 index 00000000..b8d0cd59 --- /dev/null +++ b/schema/backlog/PAC_RCNT-2.json @@ -0,0 +1,433 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_RCNT-2.json", + "version": "v0.0.0.0", + "title": "FEC Tribal Recount Receipt", + "description": "Tribal Recount Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Recount Receipt", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_RCNT-3.json b/schema/backlog/PAC_RCNT-3.json new file mode 100644 index 00000000..e8868037 --- /dev/null +++ b/schema/backlog/PAC_RCNT-3.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_RCNT-3.json", + "version": "v0.0.0.0", + "title": "FEC PACRecountAcctPty", + "description": "PAC Recount for New National Party Account Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201cRecount Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_RCNT-4.json b/schema/backlog/PAC_RCNT-4.json new file mode 100644 index 00000000..0dcfa206 --- /dev/null +++ b/schema/backlog/PAC_RCNT-4.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_RCNT-4.json", + "version": "v0.0.0.0", + "title": "FEC PAC - Nat'l Party Headq.", + "description": "PAC Headquarters Account for New National Party Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201cHeadquarters Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_RCNT-5.json b/schema/backlog/PAC_RCNT-5.json new file mode 100644 index 00000000..bcd0c532 --- /dev/null +++ b/schema/backlog/PAC_RCNT-5.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_RCNT-5.json", + "version": "v0.0.0.0", + "title": "FEC PAC - Nat'l Party Convention", + "description": "PAC Convention Account for New National Party Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201cConvention Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_RCNT.json b/schema/backlog/PAC_RCNT.json new file mode 100644 index 00000000..d1061b73 --- /dev/null +++ b/schema/backlog/PAC_RCNT.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_RCNT.json", + "version": "v0.0.0.0", + "title": "FEC PAC Recount Receipt", + "description": "PAC Recount Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Recount Receipt", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_REC-2.json b/schema/backlog/PAC_REC-2.json new file mode 100644 index 00000000..cd088b3c --- /dev/null +++ b/schema/backlog/PAC_REC-2.json @@ -0,0 +1,453 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_REC-2.json", + "version": "v0.0.0.0", + "title": "FEC Conduit Earmark PAC (Undeposit)", + "description": "PAC Receipt (11c) Earmark Receipt", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "donor_committee_fec_id", + "donor_committee_name", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Earmark for", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_REC-3.json b/schema/backlog/PAC_REC-3.json new file mode 100644 index 00000000..27754507 --- /dev/null +++ b/schema/backlog/PAC_REC-3.json @@ -0,0 +1,411 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_REC-3.json", + "version": "v0.0.0.0", + "title": "FEC Unregistered Receipt from Perso", + "description": "Nonfederal PAC Receipt (11c)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "Permissible funds", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_REC.json b/schema/backlog/PAC_REC.json new file mode 100644 index 00000000..795db99f --- /dev/null +++ b/schema/backlog/PAC_REC.json @@ -0,0 +1,452 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_REC.json", + "version": "v0.0.0.0", + "title": "FEC PAC Receipt 11c", + "description": "PAC Receipt (11c)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "donor_committee_fec_id", + "donor_committee_name" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_RET-2.json b/schema/backlog/PAC_RET-2.json new file mode 100644 index 00000000..40581c62 --- /dev/null +++ b/schema/backlog/PAC_RET-2.json @@ -0,0 +1,411 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_RET-2.json", + "version": "v0.0.0.0", + "title": "FEC Unregistered Rec Return or Void", + "description": "Nonfederal PAC Receipt VOID (11C)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_RET" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_RET", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Negative Amount", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Return/Void", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAC_RET.json b/schema/backlog/PAC_RET.json new file mode 100644 index 00000000..831f1e92 --- /dev/null +++ b/schema/backlog/PAC_RET.json @@ -0,0 +1,452 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAC_RET.json", + "version": "v0.0.0.0", + "title": "FEC PAC Return or Void", + "description": "PAC Receipt VOID (11C)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "donor_committee_fec_id", + "donor_committee_name" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAC_RET" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAC_RET", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Negative Amount", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Return/Void", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAR_BC_IK_OUT.json b/schema/backlog/PAR_BC_IK_OUT.json new file mode 100644 index 00000000..18a69fe3 --- /dev/null +++ b/schema/backlog/PAR_BC_IK_OUT.json @@ -0,0 +1,481 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAR_BC_IK_OUT.json", + "version": "v0.0.0.0", + "title": "FEC Party Bitcoin InKind Out", + "description": "bitcoin In-Kind Out Party (21b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "entity_type", + "payee_organization_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount", + "expenditure_purpose_descrip", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_purpose_descrip": { + "title": "EXPENDITURE PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "EXPENDITURE PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "AUTO_POPULATE": "X", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: # Bitcoins not liquidated", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_fec_id": { + "title": "BENEFICIARY COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00654323" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00654323", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_name": { + "title": "BENEFICIARY COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAR_BC_IK_OUT" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "PAR_BC_IK_OUT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAR_BC_PUR.json b/schema/backlog/PAR_BC_PUR.json new file mode 100644 index 00000000..324960cb --- /dev/null +++ b/schema/backlog/PAR_BC_PUR.json @@ -0,0 +1,471 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAR_BC_PUR.json", + "version": "v0.0.0.0", + "title": "FEC Bitcoin Purchase Party", + "description": "Party Purchase of Bitcoin Receipt (11b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_purpose_descrip", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Purchase # Bitcoins", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAR_BC_PUR" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "PAR_BC_PUR", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAR_BC_PUR_MEM.json b/schema/backlog/PAR_BC_PUR_MEM.json new file mode 100644 index 00000000..26f8b864 --- /dev/null +++ b/schema/backlog/PAR_BC_PUR_MEM.json @@ -0,0 +1,472 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAR_BC_PUR_MEM.json", + "version": "v0.0.0.0", + "title": "FEC Bitcoin Purchase Party Memo", + "description": "Party Purchase of Bitcoin Receipt (11b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_purpose_descrip", + "memo_code", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Purchase # Bitcoins, contribution previously disclosed", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAR_BC_PUR_MEM" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "PAR_BC_PUR_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAR_CON.json b/schema/backlog/PAR_CON.json new file mode 100644 index 00000000..8acfa7dd --- /dev/null +++ b/schema/backlog/PAR_CON.json @@ -0,0 +1,412 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAR_CON.json", + "version": "v0.0.0.0", + "title": "FEC Partnership Contribution", + "description": "Partnership Contribution Receipt (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAR_CON" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAR_CON", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "ORG" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "ORG", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: See Memos Below", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAR_IK_BC_REC.json b/schema/backlog/PAR_IK_BC_REC.json new file mode 100644 index 00000000..e6a8c8e1 --- /dev/null +++ b/schema/backlog/PAR_IK_BC_REC.json @@ -0,0 +1,472 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAR_IK_BC_REC.json", + "version": "v0.0.0.0", + "title": "FEC Party In-Kind Bitcoin Receipt", + "description": "Party In-Kind Bitcoin Receipt (11b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "contribution_purpose_descrip", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: XX Bitcoins not liquidated", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAR_IK_BC_REC" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "PAR_IK_BC_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAR_MEMO.json b/schema/backlog/PAR_MEMO.json new file mode 100644 index 00000000..5720dd90 --- /dev/null +++ b/schema/backlog/PAR_MEMO.json @@ -0,0 +1,544 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAR_MEMO.json", + "version": "v0.0.0.0", + "title": "FEC Partnership Memo", + "description": "PARTNERSHIP MEMO (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "back_reference_tran_id_number", + "back_reference_sched_name", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "contributor_employer", + "contributor_occupation", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAR_MEMO" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAR_MEMO", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Cannot exceed the amount in the Parent transactions", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Partnership Memo", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAR_OUT_IK.json b/schema/backlog/PAR_OUT_IK.json new file mode 100644 index 00000000..2b560563 --- /dev/null +++ b/schema/backlog/PAR_OUT_IK.json @@ -0,0 +1,482 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAR_OUT_IK.json", + "version": "v0.0.0.0", + "title": "FEC In-Kind Out Party", + "description": "In-Kind Out Party (21b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id_number", + "entity_type", + "payee_organization_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount", + "purpose_of_disbursement", + "beneficiary_committee_fec_id", + "beneficiary_committee_name" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAR_OUT_IK" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAR_OUT_IK", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "purpose_of_disbursement": { + "title": "PURPOSE OF DISBURSEMENT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PURPOSE OF DISBURSEMENT", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: In-Kind #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_fec_id": { + "title": "BENEFICIARY COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00654323" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00654323", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "beneficiary_committee_name": { + "title": "BENEFICIARY COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAR_REC.json b/schema/backlog/PAR_REC.json new file mode 100644 index 00000000..a5ac3f05 --- /dev/null +++ b/schema/backlog/PAR_REC.json @@ -0,0 +1,452 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAR_REC.json", + "version": "v0.0.0.0", + "title": "FEC Party Receipt 11b", + "description": "Party Receipt (11b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "donor_committee_fec_id", + "donor_committee_name" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAR_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAR_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAR_REC_IK.json b/schema/backlog/PAR_REC_IK.json new file mode 100644 index 00000000..c7eb13c0 --- /dev/null +++ b/schema/backlog/PAR_REC_IK.json @@ -0,0 +1,453 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAR_REC_IK.json", + "version": "v0.0.0.0", + "title": "FEC In-Kind Party Receipt", + "description": "In-Kind Party Receipt (11b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "donor_committee_fec_id", + "donor_committee_name" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAR_REC_IK" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAR_REC_IK", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: In-Kind #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PAR_RET.json b/schema/backlog/PAR_RET.json new file mode 100644 index 00000000..db9520d6 --- /dev/null +++ b/schema/backlog/PAR_RET.json @@ -0,0 +1,450 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PAR_RET.json", + "version": "v0.0.0.0", + "title": "FEC Party Return or Void", + "description": "Party VOID (11b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PAR_RET" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PAR_RET", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Negative Amount", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Bounced", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PTY_JF_MEM.json b/schema/backlog/PTY_JF_MEM.json new file mode 100644 index 00000000..818b83bb --- /dev/null +++ b/schema/backlog/PTY_JF_MEM.json @@ -0,0 +1,452 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PTY_JF_MEM.json", + "version": "v0.0.0.0", + "title": "FEC Party JF Memo", + "description": "Party JF Memo (12)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description", + "memo_code" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PTY_JF_MEM" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PTY_JF_MEM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: JF Memo for #", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PTY_RCNT-2.json b/schema/backlog/PTY_RCNT-2.json new file mode 100644 index 00000000..7cf0f84d --- /dev/null +++ b/schema/backlog/PTY_RCNT-2.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PTY_RCNT-2.json", + "version": "v0.0.0.0", + "title": "FEC PartyRecountAcctPty", + "description": "Party Recount for New National Party Account Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PTY_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PTY_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201cRecount Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PTY_RCNT-3.json b/schema/backlog/PTY_RCNT-3.json new file mode 100644 index 00000000..2324ba85 --- /dev/null +++ b/schema/backlog/PTY_RCNT-3.json @@ -0,0 +1,412 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PTY_RCNT-3.json", + "version": "v0.0.0.0", + "title": "FEC Tribal - Nat'l Party Recount", + "description": "Tribal Recount for New National Party Account Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PTY_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PTY_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201cRecount Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PTY_RCNT-4.json b/schema/backlog/PTY_RCNT-4.json new file mode 100644 index 00000000..4da7ca09 --- /dev/null +++ b/schema/backlog/PTY_RCNT-4.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PTY_RCNT-4.json", + "version": "v0.0.0.0", + "title": "FEC Party - Nat'l Party Headq.", + "description": "Party Headquarters Account for New National Party Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PTY_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PTY_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201cHeadquarters Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PTY_RCNT-5.json b/schema/backlog/PTY_RCNT-5.json new file mode 100644 index 00000000..457f22a2 --- /dev/null +++ b/schema/backlog/PTY_RCNT-5.json @@ -0,0 +1,412 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PTY_RCNT-5.json", + "version": "v0.0.0.0", + "title": "FEC Tribal - Nat'l Party Headq.", + "description": "Tribal Headquarters Account for New National Party Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PTY_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PTY_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201cHeadquarters Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PTY_RCNT-6.json b/schema/backlog/PTY_RCNT-6.json new file mode 100644 index 00000000..6ba4b3ec --- /dev/null +++ b/schema/backlog/PTY_RCNT-6.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PTY_RCNT-6.json", + "version": "v0.0.0.0", + "title": "FEC Party - Nat'l Party Convention", + "description": "Party Convention Account for New National Party Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PTY_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PTY_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201cConvention Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PTY_RCNT-7.json b/schema/backlog/PTY_RCNT-7.json new file mode 100644 index 00000000..fe0da66f --- /dev/null +++ b/schema/backlog/PTY_RCNT-7.json @@ -0,0 +1,412 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PTY_RCNT-7.json", + "version": "v0.0.0.0", + "title": "FEC Tribal - Nat'l Party Convention", + "description": "Tribal Convention Account for New National Party Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PTY_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PTY_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: \u201cConvention Account\u201d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/PTY_RCNT.json b/schema/backlog/PTY_RCNT.json new file mode 100644 index 00000000..e229b0ff --- /dev/null +++ b/schema/backlog/PTY_RCNT.json @@ -0,0 +1,451 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/PTY_RCNT.json", + "version": "v0.0.0.0", + "title": "FEC PartyRecount ", + "description": "Party Recount Receipt (17)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "PTY_RCNT" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "PTY_RCNT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Recount Receipt", + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "Ryan: What is the condition when its required" + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/REATT_FROM.json b/schema/backlog/REATT_FROM.json new file mode 100644 index 00000000..cd73e618 --- /dev/null +++ b/schema/backlog/REATT_FROM.json @@ -0,0 +1,564 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/REATT_FROM.json", + "version": "v0.0.0.0", + "title": "FEC Reattribution from original", + "description": "REATTRIBUTION FROM ORIGINAL (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contributor_employer", + "contributor_occupation", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "REATT_FROM" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "REATT_FROM", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/REATT_TO.json b/schema/backlog/REATT_TO.json new file mode 100644 index 00000000..3bdf36f5 --- /dev/null +++ b/schema/backlog/REATT_TO.json @@ -0,0 +1,565 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/REATT_TO.json", + "version": "v0.0.0.0", + "title": "FEC Reattribution to", + "description": "REATTRIBUTION TO (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_purpose_descrip", + "contributor_employer", + "contributor_occupation", + "transaction_type_identifier" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "AUTO_POPULATE": "X", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Reattribution from XX on MMDDYYYY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "AUTO_POPULATE": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "REATT_TO" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "AUTO_POPULATE": null, + "SAMPLE_DATA": "REATT_TO", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/REF_NONFED_CAN.json b/schema/backlog/REF_NONFED_CAN.json new file mode 100644 index 00000000..74c897d4 --- /dev/null +++ b/schema/backlog/REF_NONFED_CAN.json @@ -0,0 +1,450 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/REF_NONFED_CAN.json", + "version": "v0.0.0.0", + "title": "FEC Refunds of Cont. to Unregistere", + "description": "SCHEDULE A - ITEMIZED RECEIPTS-Line 17 Refund of nonfederal candidate", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "REF_NONFED_CAN" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "REF_NONFED_CAN", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code_year": { + "title": "ELECTION CODE/YEAR", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ELECTION CODE/YEAR", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[YYYY]", + "RULE_REFERENCE": "Values: [G|P|R|S|C|E|O]+Year{YYYY}", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Item Election Code = \"OYYYY\"", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Contribution (F3L Bundled) Amount", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "F3 | F3P - Cycle to Date; F3X - YTD;\nF3L - Semi-annual Bundled Total", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/RET_REC.json b/schema/backlog/RET_REC.json new file mode 100644 index 00000000..3658745f --- /dev/null +++ b/schema/backlog/RET_REC.json @@ -0,0 +1,540 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/RET_REC.json", + "version": "v0.0.0.0", + "title": "FEC ReturnedBounced Receipt", + "description": "Returned/Bounced Receipt (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_last_name", + "contributor_first_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "contributor_employer", + "contributor_occupation" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "RET_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "RET_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Negative Number", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Bounced", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchA.json b/schema/backlog/SchA.json new file mode 100644 index 00000000..8105768c --- /dev/null +++ b/schema/backlog/SchA.json @@ -0,0 +1,933 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchA.json", + "version": "8.3.0.1", + "title": "FEC Sch A", + "description": "SCHEDULE A - ITEMIZED RECEIPTS", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id", + "entity_type", + "contributor_organization_name", + "contributor_last_name", + "contributor_first_name" + ], + "fec_recommended": [ + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount_{f3l_bundled}" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Appendix C. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_last_name": { + "title": "CONTRIBUTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_first_name": { + "title": "CONTRIBUTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CONTRIBUTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_middle_name": { + "title": "CONTRIBUTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CONTRIBUTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_prefix": { + "title": "CONTRIBUTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CONTRIBUTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_suffix": { + "title": "CONTRIBUTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CONTRIBUTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "election_code": { + "title": "ELECTION CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "ELECTION CODE", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[YYYY]", + "RULE_REFERENCE": "Values: [G|P|R|S|C|E|O]+Year{YYYY}", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Item Election Code = \"OYYYY\"", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "contribution_amount_{f3l_bundled}": { + "title": "CONTRIBUTION AMOUNT {F3L Bundled}", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT {F3L Bundled}", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Contribution (F3L Bundled) Amount", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contribution_aggregate_{f3l_semi-annual_bundled}": { + "title": "CONTRIBUTION AGGREGATE\n{F3L Semi-annual Bundled}", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE\n{F3L Semi-annual Bundled}", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "F3 | F3P - Cycle to Date; F3X - YTD;\nF3L - Semi-annual Bundled Total", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contribution_purpose_descrip": { + "title": "CONTRIBUTION PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "contributor_employer": { + "title": "CONTRIBUTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CONTRIBUTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "contributor_occupation": { + "title": "CONTRIBUTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CONTRIBUTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": null, + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if Donor aggregate >$200", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_fec_id": { + "title": "DONOR CANDIDATE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR CANDIDATE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_last_name": { + "title": "DONOR CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "DONOR CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_first_name": { + "title": "DONOR CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "DONOR CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;\nboth Last & First names required.", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_middle_name": { + "title": "DONOR CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "DONOR CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_prefix": { + "title": "DONOR CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "DONOR CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_suffix": { + "title": "DONOR CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "DONOR CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_office": { + "title": "DONOR CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "DONOR CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_state": { + "title": "DONOR CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "DONOR CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": "Req if Office = Sen or House", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "donor_candidate_district": { + "title": "DONOR CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "DONOR CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": "Req if Office = House", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "conduit_name": { + "title": "CONDUIT NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Middle Organization" + ], + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "CONDUIT NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": "Middle Organization", + "VALUE_REFERENCE": "If Conduit", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_street1": { + "title": "CONDUIT STREET1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "45 E Street" + ], + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "CONDUIT STREET1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "45 E Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_street2": { + "title": "CONDUIT STREET2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "CONDUIT STREET2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_city": { + "title": "CONDUIT CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "CONDUIT CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_state": { + "title": "CONDUIT STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "CONDUIT STATE", + "TYPE": "A/N-2", + "REQUIRED": null, + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_zip": { + "title": "CONDUIT ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 10111 + ], + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "CONDUIT ZIP", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": 10111, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "reference_to_si_or_sl_system_code_that_identifies_the_account": { + "title": "Reference to SI or SL system code that identifies the Account", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "123xyzABC" + ], + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "Reference to SI or SL system code that identifies the Account", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "123xyzABC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Must contain a valid system code used in a Schedule I or L.", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchB.json b/schema/backlog/SchB.json new file mode 100644 index 00000000..17fb87de --- /dev/null +++ b/schema/backlog/SchB.json @@ -0,0 +1,921 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchB.json", + "version": "8.3.0.1", + "title": "FEC Sch B", + "description": "SCHEDULE B - ITEMIZED DISBURSEMENTS {v6.4 revised layout}", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "entity_type", + "payee_organization_name", + "payee_last_name", + "payee_first_name" + ], + "fec_recommended": [ + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "expenditure_amount_{f3l_bundled}" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB17" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SB17", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Appendix C. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "B56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "B123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "B123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SB21" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SB21", + "VALUE_REFERENCE": "SB[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SB3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "CCM" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "CCM", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "[CAN|CCM|COM|IND|ORG|PAC|PTY]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "payee_last_name": { + "title": "PAYEE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "payee_first_name": { + "title": "PAYEE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "PAYEE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "payee_middle_name": { + "title": "PAYEE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "PAYEE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "payee_prefix": { + "title": "PAYEE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "PAYEE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "payee_suffix": { + "title": "PAYEE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "PAYEE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "election_code": { + "title": "ELECTION CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "ELECTION CODE", + "TYPE": "A/N-5", + "REQUIRED": null, + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "G,P,O[YYYY]", + "RULE_REFERENCE": "Values: [G|P|R|S|C|E|O]+Year{YYYY}", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if PGI = \"OYYYY\"", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "expenditure_amount_{f3l_bundled}": { + "title": "EXPENDITURE AMOUNT {F3L Bundled}", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT {F3L Bundled}", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Expenditure (F3L Bundled Refund) Amt", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "semi-annual_refunded_bundled_amt": { + "title": "SEMI-ANNUAL REFUNDED BUNDLED AMT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 2500 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "SEMI-ANNUAL REFUNDED BUNDLED AMT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 2500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used for F3L only. Semi-annual Bundled Refund.", + "FIELD_FORM_ASSOCIATION": "F3L" + } + }, + "expenditure_purpose_descrip": { + "title": "EXPENDITURE PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "EXPENDITURE PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": "001, 002, ... 012;\nand\n101 - 107", + "RULE_REFERENCE": "Codes 001-012 are for use by, and only by, non-Presidential Committees.\nCodes 101-107 are used only by Presidential Committees", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "beneficiary_committee_fec_id": { + "title": "BENEFICIARY COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00654323" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "C00654323", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "beneficiary_committee_name": { + "title": "BENEFICIARY COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "BENEFICIARY COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "beneficiary_candidate_fec_id": { + "title": "BENEFICIARY CANDIDATE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "beneficiary_candidate_last_name": { + "title": "BENEFICIARY CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "beneficiary_candidate_first_name": { + "title": "BENEFICIARY CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;\nboth Last & First names required.", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "beneficiary_candidate_middle_name": { + "title": "BENEFICIARY CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "beneficiary_candidate_prefix": { + "title": "BENEFICIARY CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "beneficiary_candidate_suffix": { + "title": "BENEFICIARY CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "beneficiary_candidate_office": { + "title": "BENEFICIARY CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "beneficiary_candidate_state": { + "title": "BENEFICIARY CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": null, + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "beneficiary_candidate_district": { + "title": "BENEFICIARY CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "BENEFICIARY CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": null, + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "conduit_name": { + "title": "CONDUIT NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Middle Organization" + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "CONDUIT NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": "Middle Organization", + "VALUE_REFERENCE": "If Conduit", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_street_1": { + "title": "CONDUIT STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "45 E Street" + ], + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "CONDUIT STREET 1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "45 E Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_street_2": { + "title": "CONDUIT STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "CONDUIT STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_city": { + "title": "CONDUIT CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "CONDUIT CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_state": { + "title": "CONDUIT STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "CONDUIT STATE", + "TYPE": "A/N-2", + "REQUIRED": null, + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "conduit_zip": { + "title": "CONDUIT ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 10111 + ], + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "CONDUIT ZIP", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": 10111, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P | F3L" + } + }, + "reference_to_si_or_sl_system_code_that_identifies_the_account": { + "title": "Reference to SI or SL system code that identifies the Account", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "123xyzABC" + ], + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "Reference to SI or SL system code that identifies the Account", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "123xyzABC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Must contain a valid system code used in a Schedule I or L.", + "FIELD_FORM_ASSOCIATION": "F3 | F3X | F3P" + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchC.json b/schema/backlog/SchC.json new file mode 100644 index 00000000..0e983889 --- /dev/null +++ b/schema/backlog/SchC.json @@ -0,0 +1,803 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchC.json", + "version": "8.3.0.1", + "title": "FEC Sch C", + "description": "SCHEDULE C - LOANS", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "lender_organization_name", + "lender_last_name", + "lender_first_name" + ], + "fec_recommended": [ + "lender_street_1", + "lender_city", + "lender_state", + "lender_zip", + "election_code", + "loan_amount_original", + "loan_payment_to_date", + "loan_balance", + "loan_incurred_date_terms", + "loan_due_date_terms", + "loan_interest_rate_%_terms", + "yes_no_secured?", + "yes_no_personal_funds" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SC/10" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SC/10", + "VALUE_REFERENCE": "SC/[line# ref]", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "C123456789-3456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C123456789-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_line_number": { + "title": "RECEIPT LINE NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "13A" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "RECEIPT LINE NUMBER", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "13A", + "VALUE_REFERENCE": "13A = Form 3; Sum Pg #13(a)\n13B = Form 3; Sum Pg #13(b)\n19A = Form 3P; Sum Pg #19(a)\n19B = Form 3P; Sum Pg #19(b)\n13 = Form 3X; Sum Pg #13", + "RULE_REFERENCE": "Required if a 'SC/10' record on a Form 3 or 3X or a 'SC/12' record on a Form 3P.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "ORG" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "ORG", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Edit: Entity", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_organization_name": { + "title": "LENDER ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "The Bank of Banks" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "LENDER ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "The Bank of Banks", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_last_name": { + "title": "LENDER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "LENDER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_first_name": { + "title": "LENDER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "LENDER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_middle_name": { + "title": "LENDER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "LENDER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_prefix": { + "title": "LENDER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "LENDER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_suffix": { + "title": "LENDER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "LENDER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_street_1": { + "title": "LENDER STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "The Bank Tower" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "LENDER STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "The Bank Tower", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_street_2": { + "title": "LENDER STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "100 Broadway" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "LENDER STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "100 Broadway", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_city": { + "title": "LENDER CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "New York" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "LENDER CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "New York", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_state": { + "title": "LENDER STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "NY" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "LENDER STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "NY", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_zip": { + "title": "LENDER ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 10011 + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "LENDER ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 10011, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code": { + "title": "ELECTION CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "ELECTION CODE", + "TYPE": "A/N-5", + "REQUIRED": "X (warn if Form [F3|F3P]", + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "[G|P|R|S|C|E|O]+{YYYY}", + "RULE_REFERENCE": "Values: [G|P|R|S|C|E|O]+{YYYY}", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if PGI = \"O\"", + "FIELD_FORM_ASSOCIATION": null + } + }, + "loan_amount_original": { + "title": "LOAN AMOUNT (Original)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 10000 + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "LOAN AMOUNT (Original)", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 10000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "loan_payment_to_date": { + "title": "LOAN PAYMENT TO DATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "LOAN PAYMENT TO DATE", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "loan_balance": { + "title": "LOAN BALANCE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 9000 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "LOAN BALANCE", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 9000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "loan_incurred_date_terms": { + "title": "LOAN INCURRED DATE (Terms)", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120101 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "LOAN INCURRED DATE (Terms)", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120101, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "loan_due_date_terms": { + "title": "LOAN DUE DATE (Terms)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 15, + "pattern": "^[ A-z0-9]{0,15}$", + "examples": [ + "Whenever" + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "LOAN DUE DATE (Terms)", + "TYPE": "A/N-15", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Whenever", + "VALUE_REFERENCE": "", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "loan_interest_rate_%_terms": { + "title": "LOAN INTEREST RATE % (Terms)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 15, + "pattern": "^[ A-z0-9]{0,15}$", + "examples": [ + 0.0565 + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "LOAN INTEREST RATE % (Terms)", + "TYPE": "A/N-15", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 0.0565, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_secured?": { + "title": "YES/NO (Secured?)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "Y" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "YES/NO (Secured?)", + "TYPE": "A/N-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Y", + "VALUE_REFERENCE": "Y,N", + "RULE_REFERENCE": "Edit: Yes/No", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_personal_funds": { + "title": "YES/NO (Personal Funds)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "Y" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "YES/NO (Personal Funds)", + "TYPE": "A/N-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Y", + "VALUE_REFERENCE": "Y,N", + "RULE_REFERENCE": "Edit: Yes/No", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_committee_id_number": { + "title": "LENDER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00654323" + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "LENDER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "C00654323", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, COM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_candidate_id_number": { + "title": "LENDER CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "LENDER CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_candidate_last_name": { + "title": "LENDER CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "LENDER CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_candidate_first_name": { + "title": "LENDER CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "LENDER CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "both Last & First names required.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_candidate_middle_nm": { + "title": "LENDER CANDIDATE MIDDLE NM", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "LENDER CANDIDATE MIDDLE NM", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_candidate_prefix": { + "title": "LENDER CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "LENDER CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_candidate_suffix": { + "title": "LENDER CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "LENDER CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_candidate_office": { + "title": "LENDER CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "LENDER CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_candidate_state": { + "title": "LENDER CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "LENDER CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": null, + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": "Edit: ST (if Office = Sen or House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_candidate_district": { + "title": "LENDER CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "LENDER CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": null, + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": "(if Office = House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchC1.json b/schema/backlog/SchC1.json new file mode 100644 index 00000000..43f7a7f9 --- /dev/null +++ b/schema/backlog/SchC1.json @@ -0,0 +1,1002 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchC1.json", + "version": "8.3.0.1", + "title": "FEC Sch C1", + "description": "SCHEDULE C1 - LOANS AND LINES OF CREDIT FROM LENDING INSTITUTIONS", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "back_reference_tran_id_number", + "lender_organization_name", + "loan_amount", + "loan_incurred_date", + "loan_due_date", + "g_treasurer_last_name", + "g_treasurer_first_name", + "g_date_signed", + "h_authorized_last_name", + "h_authorized_first_name", + "h_authorized_title", + "h_date_signed" + ], + "fec_recommended": [ + "lender_street_1", + "lender_city", + "lender_state", + "lender_zip", + "loan_interest_rate_%" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SC1/9" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SC1/9", + "VALUE_REFERENCE": "SC1/[line# ref]", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "C123456789-3456-001" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C123456789-3456-001", + "VALUE_REFERENCE": "May be a combination of Parent SC/ TranID + a unique ID for this Child SC1/ record", + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "C123456789-3456" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C123456789-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related SC/{***} Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_organization_name": { + "title": "LENDER ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "The Bank of Banks" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "LENDER ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "The Bank of Banks", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_street_1": { + "title": "LENDER STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "The Bank Tower" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "LENDER STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "The Bank Tower", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_street_2": { + "title": "LENDER STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "100 Broadway" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "LENDER STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "100 Broadway", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_city": { + "title": "LENDER CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "New York" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "LENDER CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "New York", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_state": { + "title": "LENDER STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "NY" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "LENDER STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "NY", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "lender_zip": { + "title": "LENDER ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 10011 + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "LENDER ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 10011, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "loan_amount": { + "title": "LOAN AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 10000 + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "LOAN AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 10000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "loan_interest_rate_%": { + "title": "LOAN INTEREST RATE %", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 15, + "pattern": "^[ A-z0-9]{0,15}$", + "examples": [ + 0.0565 + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "LOAN INTEREST RATE %", + "TYPE": "A/N-15", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 0.0565, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "loan_incurred_date": { + "title": "LOAN INCURRED DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120101 + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "LOAN INCURRED DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120101, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "loan_due_date": { + "title": "LOAN DUE DATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 15, + "pattern": "^[ A-z0-9]{0,15}$", + "examples": [ + 20121231 + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "LOAN DUE DATE", + "TYPE": "A/N-15", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20121231, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "a1yes_no_loan_restructured": { + "title": "A1.YES/NO (Loan Restructured)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "N" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "A1.YES/NO (Loan Restructured)", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "N", + "VALUE_REFERENCE": "Y,N", + "RULE_REFERENCE": "Edit: Yes/No", + "FIELD_FORM_ASSOCIATION": null + } + }, + "a2_date_of_original_loan": { + "title": "A2. DATE (Of Original Loan)", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120101 + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "A2. DATE (Of Original Loan)", + "TYPE": "NUM-8", + "REQUIRED": null, + "SAMPLE_DATA": 20120101, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "b1_credit_amount_this_draw": { + "title": "B.1. CREDIT AMOUNT THIS DRAW", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 500 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "B.1. CREDIT AMOUNT THIS DRAW", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "b2_total_balance": { + "title": "B.2. TOTAL BALANCE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 10000 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "B.2. TOTAL BALANCE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 10000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "c_yes_no_others_liable?": { + "title": "C. YES/NO (Others liable?)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "Y" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "C. YES/NO (Others liable?)", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "Y", + "VALUE_REFERENCE": "Y,N", + "RULE_REFERENCE": "Edit: Yes/No", + "FIELD_FORM_ASSOCIATION": null + } + }, + "d_yes_no_collateral?": { + "title": "D. YES/NO (Collateral?)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "Y" + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "D. YES/NO (Collateral?)", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "Y", + "VALUE_REFERENCE": "Y,N", + "RULE_REFERENCE": "Edit: Yes/No", + "FIELD_FORM_ASSOCIATION": null + } + }, + "d1_desc_collateral": { + "title": "D.1 DESC (Collateral)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "House & Car" + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "D.1 DESC (Collateral)", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": "House & Car", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "d2_collateral_value_amount": { + "title": "D.2 COLLATERAL VALUE/AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 95000 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "D.2 COLLATERAL VALUE/AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 95000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "d3_yes_no_perfected_interest?": { + "title": "D.3 YES/NO (Perfected Interest?))", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "N" + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "D.3 YES/NO (Perfected Interest?))", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "N", + "VALUE_REFERENCE": "Y,N", + "RULE_REFERENCE": "Edit: Yes/No", + "FIELD_FORM_ASSOCIATION": null + } + }, + "e1_yes_no_future_income": { + "title": "E.1 YES/NO (Future Income)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "N" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "E.1 YES/NO (Future Income)", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "N", + "VALUE_REFERENCE": "Y,N", + "RULE_REFERENCE": "Edit: Yes/No", + "FIELD_FORM_ASSOCIATION": null + } + }, + "e2_desc_specification_of_the_above": { + "title": "E.2 DESC (Specification of the above)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "E.2 DESC (Specification of the above)", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "e3_estimated_value": { + "title": "E.3 ESTIMATED VALUE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "E.3 ESTIMATED VALUE", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "e4_date_depository_account_established": { + "title": "E.4 DATE (Depository account established)", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "E.4 DATE (Depository account established)", + "TYPE": "NUM-8", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "e5_ind_name_account_location": { + "title": "E.5 IND/NAME (Account Location)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "E.5 IND/NAME (Account Location)", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "e6_street_1": { + "title": "E.6 STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "E.6 STREET 1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "e7_street_2": { + "title": "E.7 STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "E.7 STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "e8_city": { + "title": "E.8 CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "E.8 CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "e9_state": { + "title": "E.9 STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "E.9 STATE", + "TYPE": "A/N-2", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "e10_zip": { + "title": "E.10 ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "E.10 ZIP", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "e11_dep_acct_auth_date_presidential": { + "title": "E.11 DEP ACCT AUTH DATE (Presidential)", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "E.11 DEP ACCT AUTH DATE (Presidential)", + "TYPE": "NUM-8", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "f_basis_of_loan_description": { + "title": "F. BASIS OF LOAN DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Handshake" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "F. BASIS OF LOAN DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": "Handshake", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "g_treasurer_last_name": { + "title": "G. TREASURER LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "G. TREASURER LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "g_treasurer_first_name": { + "title": "G. TREASURER FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "G. TREASURER FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "g_treasurer_middle_name": { + "title": "G. TREASURER MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "G. TREASURER MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "g_treasurer_prefix": { + "title": "G. TREASURER PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "G. TREASURER PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "g_treasurer_suffix": { + "title": "G. TREASURER SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "G. TREASURER SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "g_date_signed": { + "title": "G. DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120729 + ], + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "G. DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120729, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "h_authorized_last_name": { + "title": "H. AUTHORIZED LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "H. AUTHORIZED LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "h_authorized_first_name": { + "title": "H. AUTHORIZED FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "H. AUTHORIZED FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "h_authorized_middle_name": { + "title": "H. AUTHORIZED MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "H. AUTHORIZED MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "h_authorized_prefix": { + "title": "H. AUTHORIZED PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "H. AUTHORIZED PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "h_authorized_suffix": { + "title": "H. AUTHORIZED SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 46, + "FIELD_DESCRIPTION": "H. AUTHORIZED SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "h_authorized_title": { + "title": "H. AUTHORIZED TITLE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Treasurer" + ], + "fec_spec": { + "COL_SEQ": 47, + "FIELD_DESCRIPTION": "H. AUTHORIZED TITLE", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Treasurer", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "h_date_signed": { + "title": "H. DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120820 + ], + "fec_spec": { + "COL_SEQ": 48, + "FIELD_DESCRIPTION": "H. DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120820, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchC2.json b/schema/backlog/SchC2.json new file mode 100644 index 00000000..6b21edf9 --- /dev/null +++ b/schema/backlog/SchC2.json @@ -0,0 +1,380 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchC2.json", + "version": "8.3.0.1", + "title": "FEC Sch C2", + "description": "SCHEDULE C2 - LOAN GUARANTOR NAME & ADDRESS INFORMATION \n (SUPPLEMENTARY FOR INFORMATION FOUND ON SCHEDULE C)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "back_reference_tran_id_number", + "guarantor_last_name", + "guarantor_first_name" + ], + "fec_recommended": [ + "guarantor_street_1", + "guarantor_city", + "guarantor_state", + "guarantor_zip", + "guarantor_employer", + "guarantor_occupation" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SC2/9" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SC2/9", + "VALUE_REFERENCE": "SC2/[line# ref]", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "C123456789-3456-001" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C123456789-3456-001", + "VALUE_REFERENCE": "May be a combination of Parent SC/ TranID + a unique ID for this Child SC1/ record", + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "C123456789-3456" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C123456789-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related SC/{***} Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_last_name": { + "title": "GUARANTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "GUARANTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_first_name": { + "title": "GUARANTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "GUARANTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_middle_name": { + "title": "GUARANTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "GUARANTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_prefix": { + "title": "GUARANTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "GUARANTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_suffix": { + "title": "GUARANTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "GUARANTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_street_1": { + "title": "GUARANTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "GUARANTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_street_2": { + "title": "GUARANTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "GUARANTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_city": { + "title": "GUARANTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "GUARANTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_state": { + "title": "GUARANTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "GUARANTOR STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_zip": { + "title": "GUARANTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "GUARANTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_employer": { + "title": "GUARANTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "GUARANTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X(warn if > $200)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_occupation": { + "title": "GUARANTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "GUARANTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X(warn if > $200)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guaranteed_amount": { + "title": "GUARANTEED AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "GUARANTEED AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchD.json b/schema/backlog/SchD.json new file mode 100644 index 00000000..27ac2ed4 --- /dev/null +++ b/schema/backlog/SchD.json @@ -0,0 +1,431 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchD.json", + "version": "8.3.0.1", + "title": "FEC Sch D", + "description": "SCHEDULE D - DEBTS AND OBLIGATIONS (Itemized for each one)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "creditor_organization_name", + "creditor_last_name", + "creditor_first_name" + ], + "fec_recommended": [ + "creditor_street_1", + "creditor_city", + "creditor_state", + "creditor_zip", + "purpose_of_debt_or_obligation", + "beginning_balance_this_period", + "incurred_amount_this_period", + "payment_amount_this_period", + "balance_at_close_this_period" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SD10" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SD10", + "VALUE_REFERENCE": "SD[line# ref]", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "D123456789-3456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "D123456789-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "Edit: Entity", + "FIELD_FORM_ASSOCIATION": null + } + }, + "creditor_organization_name": { + "title": "CREDITOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "The Bank of Banks" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "CREDITOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "The Bank of Banks", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "creditor_last_name": { + "title": "CREDITOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "CREDITOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "creditor_first_name": { + "title": "CREDITOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "CREDITOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "creditor_middle_name": { + "title": "CREDITOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CREDITOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "creditor_prefix": { + "title": "CREDITOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "CREDITOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "creditor_suffix": { + "title": "CREDITOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "CREDITOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "creditor_street_1": { + "title": "CREDITOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "The Bank Tower" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "CREDITOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "The Bank Tower", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "creditor_street_2": { + "title": "CREDITOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "100 Broadway" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "CREDITOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "100 Broadway", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "creditor_city": { + "title": "CREDITOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "New York" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "CREDITOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "New York", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "creditor_state": { + "title": "CREDITOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "NY" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CREDITOR STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "NY", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "creditor_zip": { + "title": "CREDITOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 10011 + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CREDITOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 10011, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "purpose_of_debt_or_obligation": { + "title": "PURPOSE OF DEBT OR OBLIGATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PURPOSE OF DEBT OR OBLIGATION", + "TYPE": "A/N-100", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "beginning_balance_this_period": { + "title": "BEGINNING BALANCE (This Period)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "BEGINNING BALANCE (This Period)", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "incurred_amount_this_period": { + "title": "INCURRED AMOUNT (This Period)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "INCURRED AMOUNT (This Period)", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payment_amount_this_period": { + "title": "PAYMENT AMOUNT (This Period)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "PAYMENT AMOUNT (This Period)", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "balance_at_close_this_period": { + "title": "BALANCE AT CLOSE (This Period)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "BALANCE AT CLOSE (This Period)", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchE.json b/schema/backlog/SchE.json new file mode 100644 index 00000000..84f1497f --- /dev/null +++ b/schema/backlog/SchE.json @@ -0,0 +1,947 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchE.json", + "version": "8.3.0.1", + "title": "FEC Sch E", + "description": "SCHEDULE E - ITEMIZED INDEPENDENT EXPENDITURES ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "payee_organization_name", + "payee_last_name", + "payee_first_name", + "election_code", + "dissemination_date", + "expenditure_amount", + "disbursement_date", + "s_o_candidate_last_name", + "s_o_candidate_first_name", + "completing_last_name", + "completing_first_name", + "date_signed" + ], + "fec_recommended": [ + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "calendar_y-t-d_per_election_office", + "expenditure_purpose_descrip", + "support_oppose_code", + "s_o_candidate_office", + "s_o_candidate_district", + "s_o_candidate_state" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SE" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SE", + "VALUE_REFERENCE": "SE", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "E123456789-3456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "E123456789-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Reference to the Schedule that has the Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "Edit: Entity", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_last_name": { + "title": "PAYEE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_first_name": { + "title": "PAYEE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "PAYEE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_middle_name": { + "title": "PAYEE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "PAYEE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_prefix": { + "title": "PAYEE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "PAYEE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_suffix": { + "title": "PAYEE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "PAYEE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_code": { + "title": "ELECTION CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 5, + "pattern": "^[ A-z0-9]{0,5}$", + "examples": [ + "P2012" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "ELECTION CODE", + "TYPE": "A/N-5", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "P2012", + "VALUE_REFERENCE": "[G|P|R|S|C|E|O]+{YYYY}", + "RULE_REFERENCE": "Values: [G|P|R|S|C|E|O]+{YYYY}", + "FIELD_FORM_ASSOCIATION": null + } + }, + "election_other_description": { + "title": "ELECTION OTHER DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "ELECTION OTHER DESCRIPTION", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Req if PGI = \"O\"", + "FIELD_FORM_ASSOCIATION": null + } + }, + "dissemination_date": { + "title": "DISSEMINATION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "DISSEMINATION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Error - If Blank and no Date in Field 22", + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "disbursement_date": { + "title": "DISBURSEMENT DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20130920 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "DISBURSEMENT DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20130920, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Error - If Blank and no Date in Field 20", + "FIELD_FORM_ASSOCIATION": null + } + }, + "calendar_y-t-d_per_election_office": { + "title": "CALENDAR Y-T-D (per election/office)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 11000.95 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CALENDAR Y-T-D (per election/office)", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 11000.95, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_purpose_descrip": { + "title": "EXPENDITURE PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "EXPENDITURE PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": "001, 002, ... 010", + "RULE_REFERENCE": "Category Code values 001-010", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_cmtte_fec_id_number": { + "title": "PAYEE CMTTE FEC ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "PAYEE CMTTE FEC ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "support_oppose_code": { + "title": "SUPPORT/OPPOSE CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "S" + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "SUPPORT/OPPOSE CODE", + "TYPE": "A/N-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "S", + "VALUE_REFERENCE": "S, O", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_id_number": { + "title": "S/O CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H04MA3210" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "S/O CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "H04MA3210", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_last_name": { + "title": "S/O CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "S/O CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;", + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_first_name": { + "title": "S/O CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "S/O CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "both Last & First names required.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candinate_middle_name": { + "title": "S/O CANDINATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "S/O CANDINATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_prefix": { + "title": "S/O CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "S/O CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_suffix": { + "title": "S/O CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "S/O CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_office": { + "title": "S/O CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "S/O CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_district": { + "title": "S/O CANDIDATE DISTRICT", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "S/O CANDIDATE DISTRICT", + "TYPE": "A/N-2", + "REQUIRED": "X (warn if Cand Office=H)", + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": "(if Office = House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "s_o_candidate_state": { + "title": "S/O CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "S/O CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warn if Cand Office=H or S)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": "Edit: ST (if Office = Sen or House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "completing_last_name": { + "title": "COMPLETING LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "COMPLETING LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "completing_first_name": { + "title": "COMPLETING FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "COMPLETING FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "completing_middle_name": { + "title": "COMPLETING MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "COMPLETING MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "completing_prefix": { + "title": "COMPLETING PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "COMPLETING PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "completing_suffix": { + "title": "COMPLETING SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "COMPLETING SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "date_signed": { + "title": "DATE SIGNED", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120820 + ], + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "DATE SIGNED", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120820, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True (added 2/22/00)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchF.json b/schema/backlog/SchF.json new file mode 100644 index 00000000..e5ae598c --- /dev/null +++ b/schema/backlog/SchF.json @@ -0,0 +1,919 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchF.json", + "version": "8.3.0.1", + "title": "FEC Sch F", + "description": "SCHEDULE F - ITEMIZED COORDINATED EXPENDITURES MADE BY POLITICAL PARTY COMMITTEES \n OR DESIGNATED AGENT(S) ON BEHALF OF CANDIDATES FOR FEDERAL OFFICE {v6.4 revised layout}", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "payee_organization_name", + "payee_last_name", + "payee_first_name", + "expenditure_date", + "expenditure_amount", + "payee_candidate_last_name", + "payee_candidate_first_name" + ], + "fec_recommended": [ + "designating_committee_name", + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "aggregate_general_elec_expended", + "expenditure_purpose_descrip", + "payee_candidate_office", + "payee_candidate_state", + "payee_candidate_district" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SF" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SF", + "VALUE_REFERENCE": "SF", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "F123456789-3456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "F123456789-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "F123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "F123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_has_filer_been_designated_to_make_coordinated_expenditures?": { + "title": "YES/NO (Has filer been designated to make Coordinated Expenditures?)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "Y" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "YES/NO (Has filer been designated to make Coordinated Expenditures?)", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "Y", + "VALUE_REFERENCE": "Y,N", + "RULE_REFERENCE": "Edit: Yes/No", + "FIELD_FORM_ASSOCIATION": null + } + }, + "designating_committee_id_number": { + "title": "DESIGNATING COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "DESIGNATING COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "designating_committee_name": { + "title": "DESIGNATING COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "DESIGNATING COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (warn if field #6=Y)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "subordinate_committee_id_number": { + "title": "SUBORDINATE COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "SUBORDINATE COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "subordinate_committee_name": { + "title": "SUBORDINATE COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "SUBORDINATE COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "subordinate_street_1": { + "title": "SUBORDINATE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "SUBORDINATE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "subordinate_street_2": { + "title": "SUBORDINATE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "SUBORDINATE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "subordinate_city": { + "title": "SUBORDINATE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "SUBORDINATE CITY", + "TYPE": "A/N-30", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "subordinate_state": { + "title": "SUBORDINATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "SUBORDINATE STATE", + "TYPE": "A/N-2", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "subordinate_zip": { + "title": "SUBORDINATE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "SUBORDINATE ZIP", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_last_name": { + "title": "PAYEE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "PAYEE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_first_name": { + "title": "PAYEE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "PAYEE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_middle_name": { + "title": "PAYEE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "PAYEE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_prefix": { + "title": "PAYEE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "PAYEE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_suffix": { + "title": "PAYEE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "PAYEE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_amount": { + "title": "EXPENDITURE AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1500 + ], + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "EXPENDITURE AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "aggregate_general_elec_expended": { + "title": "AGGREGATE GENERAL ELEC EXPENDED", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 123456 + ], + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "AGGREGATE GENERAL ELEC EXPENDED", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 123456, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Aggregate Gen Elec Amt Expended", + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_purpose_descrip": { + "title": "EXPENDITURE PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "EXPENDITURE PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": "X (warn If Aggreg > 0)", + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "A description is required if the Aggregate Expended for the General Election (field #30) is over $0.00", + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": "001, 002, ... 012", + "RULE_REFERENCE": "Category Code values 001-012", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_committee_id_number": { + "title": "PAYEE COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00654323" + ], + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "PAYEE COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "C00654323", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CCM, COM, PAC or PTY", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_candidate_id_number": { + "title": "PAYEE CANDIDATE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "H98765431" + ], + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "PAYEE CANDIDATE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": null, + "SAMPLE_DATA": "H98765431", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Used if CAN or CCM", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_candidate_last_name": { + "title": "PAYEE CANDIDATE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "PAYEE CANDIDATE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If either Last or First name coded;", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_candidate_first_name": { + "title": "PAYEE CANDIDATE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Patrick" + ], + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "PAYEE CANDIDATE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Patrick", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "both Last & First names required.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_candidate_middle_name": { + "title": "PAYEE CANDIDATE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "Thomas" + ], + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "PAYEE CANDIDATE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "Thomas", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_candidate_prefix": { + "title": "PAYEE CANDIDATE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Mr." + ], + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "PAYEE CANDIDATE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Mr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_candidate_suffix": { + "title": "PAYEE CANDIDATE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr." + ], + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "PAYEE CANDIDATE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_candidate_office": { + "title": "PAYEE CANDIDATE OFFICE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "H" + ], + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "PAYEE CANDIDATE OFFICE", + "TYPE": "A/N-1", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "H", + "VALUE_REFERENCE": "H,S,P", + "RULE_REFERENCE": "Edit: OFFICE", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_candidate_state": { + "title": "PAYEE CANDIDATE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "FL" + ], + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "PAYEE CANDIDATE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warn if Cand Office=H or S)", + "SAMPLE_DATA": "FL", + "VALUE_REFERENCE": "AK,AL,...", + "RULE_REFERENCE": "Edit: ST (if Office = Sen or House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_candidate_district": { + "title": "PAYEE CANDIDATE DISTRICT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99, + "examples": [ + 35 + ], + "fec_spec": { + "COL_SEQ": 42, + "FIELD_DESCRIPTION": "PAYEE CANDIDATE DISTRICT", + "TYPE": "NUM-2", + "REQUIRED": "X (warn if Cand Office=H)", + "SAMPLE_DATA": 35, + "VALUE_REFERENCE": "01 ... 99", + "RULE_REFERENCE": "(if Office = House)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 43, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchH1.json b/schema/backlog/SchH1.json new file mode 100644 index 00000000..a5e73e40 --- /dev/null +++ b/schema/backlog/SchH1.json @@ -0,0 +1,240 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchH1.json", + "version": "8.3.0.1", + "title": "FEC Sch H1", + "description": "SCHEDULE H1 - METHOD OF ALLOCATION FOR: \n \u2022 ALLOCATED FEDERAL AND NONFEDERAL ADMINISTRATIVE, GENERIC VOTER DRIVE AND EXEMPT\n ACTIVITY COSTS\n \u2022 ALLOCATED FEDERAL AND LEVIN FINDS FEDERAL ELECTION ACTIVITY EXPENSES\n \u2022 ALLOCATED PUBLIC COMMUNICATIONS THAT REFER TO ANY POLITICAL PARTY (BUT NOT A CANDIDATE)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "H1" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H1", + "VALUE_REFERENCE": "H1", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "H11234-3456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H11234-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "state_and_local_party_committee_presidential-only_election_year_28%_federal": { + "title": "State and Local Party Committee Presidential-Only Election Year (28% Federal)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "State and Local Party Committee Presidential-Only Election Year (28% Federal)", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "Only 1 Part A check-box allowed", + "FIELD_FORM_ASSOCIATION": null + } + }, + "state_and_local_party_committee_presidential_and_senate_election_year_36%_federal": { + "title": "State and Local Party Committee Presidential and Senate Election Year (36% Federal)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "State and Local Party Committee Presidential and Senate Election Year (36% Federal)", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "Only 1 Part A check-box allowed", + "FIELD_FORM_ASSOCIATION": null + } + }, + "state_and_local_party_committee_senate-only_election_year_21%_federal": { + "title": "State and Local Party Committee Senate-Only Election Year (21% Federal)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "State and Local Party Committee Senate-Only Election Year (21% Federal)", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "Only 1 Part A check-box allowed", + "FIELD_FORM_ASSOCIATION": null + } + }, + "state_and_local_party_committee_non-presidential_and_non-senate_election_year_15%_federal": { + "title": "State and Local Party Committee Non-Presidential and Non-Senate Election Year (15% Federal)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "State and Local Party Committee Non-Presidential and Non-Senate Election Year (15% Federal)", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "Only 1 Part A check-box allowed", + "FIELD_FORM_ASSOCIATION": null + } + }, + "federal_percent": { + "title": "FEDERAL PERCENT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999, + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "FEDERAL PERCENT", + "TYPE": "NUM-5", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": 0.49, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "nonfederal_percent": { + "title": "NONFEDERAL PERCENT", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999, + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "NONFEDERAL PERCENT", + "TYPE": "NUM-5", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": 0.51, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "administrative_ratio_applies": { + "title": "ADMINISTRATIVE RATIO APPLIES", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "ADMINISTRATIVE RATIO APPLIES", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "One or more \"ratio applies\" fields (#11, #12 or #13) must contain an 'X' value", + "FIELD_FORM_ASSOCIATION": null + } + }, + "generic_voter_drive_ratio_applies": { + "title": "GENERIC VOTER DRIVE RATIO APPLIES", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "GENERIC VOTER DRIVE RATIO APPLIES", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "One or more \"ratio applies\" fields (#11, #12 or #13) must contain an 'X' value", + "FIELD_FORM_ASSOCIATION": null + } + }, + "public_communications_referencing_party_only_ratio_applies": { + "title": "PUBLIC COMMUNICATIONS REFERENCING PARTY ONLY RATIO APPLIES", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "PUBLIC COMMUNICATIONS REFERENCING PARTY ONLY RATIO APPLIES", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "One or more \"ratio applies\" fields (#11, #12 or #13) must contain an 'X' value", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchH2.json b/schema/backlog/SchH2.json new file mode 100644 index 00000000..88285b56 --- /dev/null +++ b/schema/backlog/SchH2.json @@ -0,0 +1,200 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchH2.json", + "version": "8.3.0.1", + "title": "FEC Sch H2", + "description": "SCHEDULE H2 - ALLOCATION RATIOS", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number" + ], + "fec_recommended": [ + "activity_event_name" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "H2" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H2", + "VALUE_REFERENCE": "H2", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "H21234-3456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H21234-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "activity_event_name": { + "title": "ACTIVITY/EVENT NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "ACTIVITY/EVENT NAME", + "TYPE": "A/N-90", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_direct_fundraising?": { + "title": "YES/NO (Direct Fundraising?)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "YES/NO (Direct Fundraising?)", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "Check-box (mutually exclusive)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_direct_candidate_support?": { + "title": "YES/NO (Direct Candidate Support?)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "YES/NO (Direct Candidate Support?)", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "", + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "Check-box (mutually exclusive)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "ratio_code": { + "title": "RATIO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "N" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "RATIO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": "N", + "VALUE_REFERENCE": "N,R,S", + "RULE_REFERENCE": "Edit: RATIO-CD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "federal_percentage": { + "title": "FEDERAL PERCENTAGE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999, + "examples": [ + 0.5 + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "FEDERAL PERCENTAGE", + "TYPE": "NUM-5", + "REQUIRED": null, + "SAMPLE_DATA": 0.5, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Percents / Rates", + "FIELD_FORM_ASSOCIATION": null + } + }, + "non-federal_percentage": { + "title": "NON-FEDERAL PERCENTAGE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999, + "examples": [ + 0.5 + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "NON-FEDERAL PERCENTAGE", + "TYPE": "NUM-5", + "REQUIRED": null, + "SAMPLE_DATA": 0.5, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Percents / Rates", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchH3.json b/schema/backlog/SchH3.json new file mode 100644 index 00000000..1f7e0715 --- /dev/null +++ b/schema/backlog/SchH3.json @@ -0,0 +1,220 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchH3.json", + "version": "8.3.0.1", + "title": "FEC Sch H3", + "description": "SCHEDULE H3 - TRANSFERS FROM NON-FEDERAL ACCOUNTS", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "back_reference_tran_id", + "account_name", + "event_type", + "receipt_date", + "total_amount_transferred", + "transferred_amount" + ], + "fec_recommended": [ + "event_activity_id_name" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "H3" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H3", + "VALUE_REFERENCE": "H3", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "H21234-3456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H21234-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id": { + "title": "BACK REFERENCE TRAN ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "H31234-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H31234-1234", + "VALUE_REFERENCE": "Ref to TRAN ID of Type=AD record", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "account_name": { + "title": "ACCOUNT NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "ACCOUNT NAME", + "TYPE": "A/N-90", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Repeat all recs", + "FIELD_FORM_ASSOCIATION": null + } + }, + "event_type": { + "title": "EVENT TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "DF" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "EVENT TYPE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "DF", + "VALUE_REFERENCE": "Post-BCRA code values: AD=ADministrative;\nGV=Generic Voter Drive;\nDF=Direct Fundraising;\nDC=Direct Candidate Support;\nEA=Exempt Activities;\nPC=Public Communications Referring\n Only to Party (made by PAC)", + "RULE_REFERENCE": "Note: H3 records for all Event Types must have a Back Reference Tran ID (field #4) that points to the Transaction ID (field #3) of the ADministrative H3 record. {One AD record is required and any number of \"non-AD\" records are optional.}", + "FIELD_FORM_ASSOCIATION": null + } + }, + "event_activity_id_name": { + "title": "EVENT/ACTIVITY ID/NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "EVENT/ACTIVITY ID/NAME", + "TYPE": "A/N-90", + "REQUIRED": "X (warn if Type = [DF|DC])", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_date": { + "title": "RECEIPT DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120214 + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "RECEIPT DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120214, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Repeat all recs", + "FIELD_FORM_ASSOCIATION": null + } + }, + "total_amount_transferred": { + "title": "TOTAL AMOUNT TRANSFERRED", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "TOTAL AMOUNT TRANSFERRED", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Repeat all recs", + "FIELD_FORM_ASSOCIATION": null + } + }, + "transferred_amount": { + "title": "TRANSFERRED AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "TRANSFERRED AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Breakdown Amt for Items: i, ii, iii, iv)a), iv)b), ... v)a), v)b), ... & vi.", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchH4.json b/schema/backlog/SchH4.json new file mode 100644 index 00000000..07033ace --- /dev/null +++ b/schema/backlog/SchH4.json @@ -0,0 +1,700 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchH4.json", + "version": "8.3.0.1", + "title": "FEC Sch H4", + "description": "SCHEDULE H4 - DISBURSEMENTS FOR ALLOCATED FEDERAL/NON-FEDERAL ACTIVITY", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "payee_organization_name", + "payee_last_name", + "payee_first_name" + ], + "fec_recommended": [ + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "total_fed-nonfed_amount", + "federal_share", + "nonfederal_share", + "activity_event_total_ytd", + "yes_no_activity_is_administrative_-_only", + "yes_no_activity_is_direct_fundraising", + "yes_no_activity_is_an_exempt_activity", + "yes_no_activity_is_generic_voter_drive_-_only", + "yes_no_activity_is_direct_candidate_support", + "yes_no_activity_is_public_communications_{referring_only_to_party}_made_by_pac" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "H4" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H4", + "VALUE_REFERENCE": "H4", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "H4.123.456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H4.123.456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A.1234.5678" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A.1234.5678", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must contain a valid tran id", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "schedule of related tran id", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "Edit: Entity", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith Co." + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_last_name": { + "title": "PAYEE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_first_name": { + "title": "PAYEE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "PAYEE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_middle_name": { + "title": "PAYEE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "PAYEE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_prefix": { + "title": "PAYEE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "PAYEE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_suffix": { + "title": "PAYEE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "PAYEE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "account_event_identifier": { + "title": "ACCOUNT/EVENT IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "ACCOUNT/EVENT IDENTIFIER", + "TYPE": "A/N-90", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "(Activity or Event Identifier)", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "total_fed-nonfed_amount": { + "title": "TOTAL FED-NONFED AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 10000 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "TOTAL FED-NONFED AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 10000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "federal_share": { + "title": "FEDERAL SHARE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 5000 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "FEDERAL SHARE", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 5000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "nonfederal_share": { + "title": "NONFEDERAL SHARE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 5000 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "NONFEDERAL SHARE", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 5000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "activity_event_total_ytd": { + "title": "ACTIVITY/EVENT TOTAL YTD", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 30000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "ACTIVITY/EVENT TOTAL YTD", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 30000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_purpose_descrip": { + "title": "EXPENDITURE PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "EXPENDITURE PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": "001, 002, ... 010", + "RULE_REFERENCE": "Category Code values 001-010", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_activity_is_administrative_-_only": { + "title": "YES/NO (Activity is Administrative - Only)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "YES/NO (Activity is Administrative - Only)", + "TYPE": "A/N-1", + "REQUIRED": "X(warning)\n(see rule ref)", + "SAMPLE_DATA": "", + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "One Act/Event required, but only one may be selected", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_activity_is_direct_fundraising": { + "title": "YES/NO (Activity is Direct Fundraising)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "YES/NO (Activity is Direct Fundraising)", + "TYPE": "A/N-1", + "REQUIRED": "X(warning)\n(see rule ref)", + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "One Act/Event required, but only one may be selected", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_activity_is_an_exempt_activity": { + "title": "YES/NO (Activity is an Exempt Activity)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "YES/NO (Activity is an Exempt Activity)", + "TYPE": "A/N-1", + "REQUIRED": "X(warning)\n(see rule ref)", + "SAMPLE_DATA": "", + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "One Act/Event required, but only one may be selected", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_activity_is_generic_voter_drive_-_only": { + "title": "YES/NO (Activity is Generic Voter Drive - Only)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "YES/NO (Activity is Generic Voter Drive - Only)", + "TYPE": "A/N-1", + "REQUIRED": "X(warning)\n(see rule ref)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "One Act/Event required, but only one may be selected", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_activity_is_direct_candidate_support": { + "title": "YES/NO (Activity is Direct Candidate Support)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "YES/NO (Activity is Direct Candidate Support)", + "TYPE": "A/N-1", + "REQUIRED": "X(warning)\n(see rule ref)", + "SAMPLE_DATA": "", + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "One Act/Event required, but only one may be selected", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_activity_is_public_communications_{referring_only_to_party}_made_by_pac": { + "title": "YES/NO (Activity is Public Communications {Referring Only to Party} Made by PAC", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "YES/NO (Activity is Public Communications {Referring Only to Party} Made by PAC", + "TYPE": "A/N-1", + "REQUIRED": "X(warning)\n(see rule ref)", + "SAMPLE_DATA": "", + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "One Act/Event required, but only one may be selected", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True (added 2/4/2000)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchH5.json b/schema/backlog/SchH5.json new file mode 100644 index 00000000..e7389585 --- /dev/null +++ b/schema/backlog/SchH5.json @@ -0,0 +1,225 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchH5.json", + "version": "8.3.0.1", + "title": "FEC Sch H5", + "description": "SCHEDULE H5 - TRANSFERS FROM NON-FEDERAL ACCOUNT FOR SHARED FEDERAL ELECTION ACTIVITY", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "account_name", + "receipt_date", + "total_amount_transferred", + "voter_registration_amount", + "voter_id_amount", + "gotv_amount", + "generic_campaign_amount" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "H5" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H5", + "VALUE_REFERENCE": "H5", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "H3123789-1234" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H3123789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "account_name": { + "title": "ACCOUNT NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "ACCOUNT NAME", + "TYPE": "A/N-90", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_date": { + "title": "RECEIPT DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120228 + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "RECEIPT DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120228, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "total_amount_transferred": { + "title": "TOTAL AMOUNT TRANSFERRED", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 30000 + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "TOTAL AMOUNT TRANSFERRED", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 30000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total Amount Transferred", + "FIELD_FORM_ASSOCIATION": null + } + }, + "voter_registration_amount": { + "title": "VOTER REGISTRATION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 7500 + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "VOTER REGISTRATION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 7500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total Amount Transferred for Voter Registration", + "FIELD_FORM_ASSOCIATION": null + } + }, + "voter_id_amount": { + "title": "VOTER ID AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 7500 + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "VOTER ID AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 7500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total Amount Transferred for Voter ID", + "FIELD_FORM_ASSOCIATION": null + } + }, + "gotv_amount": { + "title": "GOTV AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 7500 + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "GOTV AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 7500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total Amount Transferred for GOTV", + "FIELD_FORM_ASSOCIATION": null + } + }, + "generic_campaign_amount": { + "title": "GENERIC CAMPAIGN AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 7500 + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "GENERIC CAMPAIGN AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 7500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total Amount Transferred for Generic Campaign Activity", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchH6.json b/schema/backlog/SchH6.json new file mode 100644 index 00000000..bac6b4b0 --- /dev/null +++ b/schema/backlog/SchH6.json @@ -0,0 +1,662 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchH6.json", + "version": "8.3.0.1", + "title": "FEC Sch H6", + "description": "SCHEDULE H6 - DISBURSEMENTS OF FEDERAL AND LEVIN FUNDS FOR ALLOCATED FEDERAL ELECTION ACTIVITY", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "payee_organization_name", + "payee_last_name", + "payee_first_name" + ], + "fec_recommended": [ + "payee_street_1", + "payee_city", + "payee_state", + "payee_zip", + "expenditure_date", + "total_fed-levin_amount", + "federal_share", + "levin_share", + "activity_event_total_ytd", + "yes_no_activity_is_voter_registration", + "yes_no_activity_gotv", + "yes_no_activity_is_voter_id", + "yes_no_activity_is_generic_campaign" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "H6" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H6", + "VALUE_REFERENCE": "H6", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": "C00123456", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "H6123456789-3456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H6123456789-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must contain a valid tran id", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "schedule of related tran id", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": "CAN,CCM,...", + "RULE_REFERENCE": "Edit: Entity", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_organization_name": { + "title": "PAYEE ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "PAYEE ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if NOT [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_last_name": { + "title": "PAYEE LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "PAYEE LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_first_name": { + "title": "PAYEE FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "PAYEE FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Required if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_middle_name": { + "title": "PAYEE MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "PAYEE MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_prefix": { + "title": "PAYEE PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "PAYEE PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_suffix": { + "title": "PAYEE SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "PAYEE SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Optional if [IND|CAN]", + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_1": { + "title": "PAYEE STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "Suite 16" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "PAYEE STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Suite 16", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_street_2": { + "title": "PAYEE STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "30 Oak Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "PAYEE STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": "30 Oak Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_city": { + "title": "PAYEE CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Springfield" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "PAYEE CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Springfield", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_state": { + "title": "PAYEE STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "MA" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "PAYEE STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "MA", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "payee_zip": { + "title": "PAYEE ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 1012 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "PAYEE ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 1012, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "account_event_identifier": { + "title": "ACCOUNT/EVENT IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "ACCOUNT/EVENT IDENTIFIER", + "TYPE": "A/N-90", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "(Activity or Event Identifier)", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_date": { + "title": "EXPENDITURE DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120720 + ], + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "EXPENDITURE DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120720, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "total_fed-levin_amount": { + "title": "TOTAL FED-LEVIN AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 10000 + ], + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "TOTAL FED-LEVIN AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 10000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "federal_share": { + "title": "FEDERAL SHARE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 5000 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "FEDERAL SHARE", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 5000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "levin_share": { + "title": "LEVIN SHARE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 5000 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "LEVIN SHARE", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 5000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "activity_event_total_ytd": { + "title": "ACTIVITY/EVENT TOTAL YTD", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 30000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "ACTIVITY/EVENT TOTAL YTD", + "TYPE": "AMT-12", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 30000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "expenditure_purpose_descrip": { + "title": "EXPENDITURE PURPOSE DESCRIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "examples": [ + "Repay Loan" + ], + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "EXPENDITURE PURPOSE DESCRIP", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": "Repay Loan", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "category_code": { + "title": "CATEGORY CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + 1 + ], + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "CATEGORY CODE", + "TYPE": "A/N-3", + "REQUIRED": null, + "SAMPLE_DATA": 1, + "VALUE_REFERENCE": "001, 002, ... 010", + "RULE_REFERENCE": "Category Code values 001-010", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_activity_is_voter_registration": { + "title": "YES/NO (Activity Is Voter Registration)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "YES/NO (Activity Is Voter Registration)", + "TYPE": "A/N-1", + "REQUIRED": "X(warning)\n(see rule ref)", + "SAMPLE_DATA": "", + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "One Act/Event required, but only one may be selected", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_activity_gotv": { + "title": "YES/NO (Activity GOTV)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "YES/NO (Activity GOTV)", + "TYPE": "A/N-1", + "REQUIRED": "X(warning)\n(see rule ref)", + "SAMPLE_DATA": "", + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "One Act/Event required, but only one may be selected", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_activity_is_voter_id": { + "title": "YES/NO (Activity Is Voter ID)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "examples": [ + "X" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "YES/NO (Activity Is Voter ID)", + "TYPE": "A/N-1", + "REQUIRED": "X(warning)\n(see rule ref)", + "SAMPLE_DATA": "X", + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "One Act/Event required, but only one may be selected", + "FIELD_FORM_ASSOCIATION": null + } + }, + "yes_no_activity_is_generic_campaign": { + "title": "YES/NO (Activity is Generic Campaign)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "YES/NO (Activity is Generic Campaign)", + "TYPE": "A/N-1", + "REQUIRED": "X(warning)\n(see rule ref)", + "SAMPLE_DATA": "", + "VALUE_REFERENCE": "X=yes", + "RULE_REFERENCE": "One Act/Event required, but only one may be selected", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/SchL.json b/schema/backlog/SchL.json new file mode 100644 index 00000000..09e7ec01 --- /dev/null +++ b/schema/backlog/SchL.json @@ -0,0 +1,745 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/SchL.json", + "version": "8.3.0.1", + "title": "FEC Sch L", + "description": "SCHEDULE L - ADDITIONAL SUMMARY REPORT OF RECEIPTS AND DISBURSEMENTS FOR AN\n UNAUTHORIZED COMMITTEE REPORTING A NON-FEDERAL ACCOUNT FOR SHARED\n FEDERAL ELECTION ACTIVITY ", + "type": "object", + "required": [ + "form_type", + "filer_committee_id", + "transaction_id_number", + "record_id_number_for_account_name" + ], + "fec_recommended": [ + "account_name", + "coverage_from_date", + "coverage_through_date" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SL" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SL", + "VALUE_REFERENCE": "SL", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id": { + "title": "FILER COMMITTEE ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "L123456789-3456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "L123456789-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "record_id_number_for_account_name": { + "title": "RECORD ID NUMBER (for account name)", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "123xyzABC" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "RECORD ID NUMBER (for account name)", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123xyzABC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique for the life of the report", + "FIELD_FORM_ASSOCIATION": null + } + }, + "account_name": { + "title": "ACCOUNT NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "ACCOUNT NAME", + "TYPE": "A/N-90", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_from_date": { + "title": "COVERAGE FROM DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120911 + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "COVERAGE FROM DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120911, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "coverage_through_date": { + "title": "COVERAGE THROUGH DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120911 + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "COVERAGE THROUGH DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 20120911, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L1a_itemized_receipts_from_persons": { + "title": "1a. Itemized Receipts From Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1123123.45 + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "1a. Itemized Receipts From Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 1123123.45, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total on Sch AL1A", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L1b_unitemized_receipts_from_persons": { + "title": "1b. Unitemized Receipts From Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "1b. Unitemized Receipts From Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L1c_total_receipts_from_persons": { + "title": "1c. Total Receipts From Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "1c. Total Receipts From Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 1a + 1b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L2_other_receipts": { + "title": "2. OTHER RECEIPTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "2. OTHER RECEIPTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= Total of Sch AL2", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L3_total_receipts": { + "title": "3. TOTAL RECEIPTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "3. TOTAL RECEIPTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 1c + 2", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L4a_voter_registration_disbursements": { + "title": "4(a). Voter Registration DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "4(a). Voter Registration DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L4b_voter_id_disbursements": { + "title": "4(b). Voter ID DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "4(b). Voter ID DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L4c_gotv_disbursements": { + "title": "4(c). GOTV DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "4(c). GOTV DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L4d_generic_campaign_disbursements": { + "title": "4(d). Generic Campaign DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "4(d). Generic Campaign DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 4a + 4b + 4c + 4d", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L4e_line_4_total": { + "title": "4(e) Line 4 Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "4(e) Line 4 Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_other_disbursements": { + "title": "5. OTHER DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "5. OTHER DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_total_disbursements": { + "title": "6. TOTAL DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 19, + "FIELD_DESCRIPTION": "6. TOTAL DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 4e + 5", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_cash_on_hand_beginning": { + "title": "7. CASH ON HAND (Beginning)", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 20, + "FIELD_DESCRIPTION": "7. CASH ON HAND (Beginning)", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_receipts": { + "title": "8. RECEIPTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "8. RECEIPTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 3", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_subtotal": { + "title": "9. SUBTOTAL", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "9. SUBTOTAL", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 7 + 8", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_disbursements": { + "title": "10. DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "10. DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11_ending_cash_on_hand": { + "title": "11. ENDING CASH ON HAND", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "11. ENDING CASH ON HAND", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 9 - 10;", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L1a_itemized_receipts_from_persons-DUPLICATE": { + "title": "1a. Itemized Receipts From Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 25, + "FIELD_DESCRIPTION": "1a. Itemized Receipts From Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L1b_unitemized_receipts_from_persons-DUPLICATE": { + "title": "1b. Unitemized Receipts From Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 26, + "FIELD_DESCRIPTION": "1b. Unitemized Receipts From Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L1c_total_receipts_from_persons-DUPLICATE": { + "title": "1c. Total Receipts From Persons", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "1c. Total Receipts From Persons", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 1a + 1b", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L2_other_receipts-DUPLICATE": { + "title": "2. OTHER RECEIPTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "2. OTHER RECEIPTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L3_total_receipts-DUPLICATE": { + "title": "3. TOTAL RECEIPTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 29, + "FIELD_DESCRIPTION": "3. TOTAL RECEIPTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 1c + 2", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L4a_voter_registration_disbursements-DUPLICATE": { + "title": "4(a). Voter Registration DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 30, + "FIELD_DESCRIPTION": "4(a). Voter Registration DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L4b_voter_id_disbursements-DUPLICATE": { + "title": "4(b). Voter ID DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 31, + "FIELD_DESCRIPTION": "4(b). Voter ID DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L4c_gotv_disbursements-DUPLICATE": { + "title": "4(c). GOTV DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 32, + "FIELD_DESCRIPTION": "4(c). GOTV DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L4d_generic_campaign_disbursements-DUPLICATE": { + "title": "4(d). Generic Campaign DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 33, + "FIELD_DESCRIPTION": "4(d). Generic Campaign DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 4a + 4b + 4c", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L4e_line_4_total-DUPLICATE": { + "title": "4(e) Line 4 Total", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 34, + "FIELD_DESCRIPTION": "4(e) Line 4 Total", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L5_other_disbursements-DUPLICATE": { + "title": "5. OTHER DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 35, + "FIELD_DESCRIPTION": "5. OTHER DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L6_total_disbursements-DUPLICATE": { + "title": "6. TOTAL DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 36, + "FIELD_DESCRIPTION": "6. TOTAL DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 4d + 5", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L7_cash_on_hand_as_of_jan_1": { + "title": "7. CASH ON HAND as of Jan 1", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 37, + "FIELD_DESCRIPTION": "7. CASH ON HAND as of Jan 1", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "L8_receipts-DUPLICATE": { + "title": "8. RECEIPTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 38, + "FIELD_DESCRIPTION": "8. RECEIPTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 3", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L9_subtotal-DUPLICATE": { + "title": "9. SUBTOTAL", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 39, + "FIELD_DESCRIPTION": "9. SUBTOTAL", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 7 + 8", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L10_disbursements-DUPLICATE": { + "title": "10. DISBURSEMENTS", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 40, + "FIELD_DESCRIPTION": "10. DISBURSEMENTS", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 6", + "FIELD_FORM_ASSOCIATION": null + } + }, + "L11_ending_cash_on_hand-DUPLICATE": { + "title": "11. ENDING CASH ON HAND", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 41, + "FIELD_DESCRIPTION": "11. ENDING CASH ON HAND", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "= 9 - 10", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/ScheduleC2.json b/schema/backlog/ScheduleC2.json new file mode 100644 index 00000000..68d3a73d --- /dev/null +++ b/schema/backlog/ScheduleC2.json @@ -0,0 +1,380 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/ScheduleC2.json", + "version": "v0.0.0.0", + "title": "FEC Schedule C2", + "description": "SCHEDULE C2 - LOAN GUARANTOR NAME & ADDRESS INFORMATION \n (SUPPLEMENTARY FOR INFORMATION FOUND ON SCHEDULE C)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_id_number", + "back_reference_tran_id_number", + "guarantor_last_name", + "guarantor_first_name" + ], + "fec_recommended": [ + "guarantor_street_1", + "guarantor_city", + "guarantor_state", + "guarantor_zip", + "guarantor_employer", + "guarantor_occupation" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SC2/9" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SC2/9", + "VALUE_REFERENCE": "SC2/[line# ref]", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "C123456789-3456-001" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C123456789-3456-001", + "VALUE_REFERENCE": "May be a combination of Parent SC/ TranID + a unique ID for this Child SC1/ record", + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "C123456789-3456" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C123456789-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related SC/{***} Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_last_name": { + "title": "GUARANTOR LAST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Smith" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "GUARANTOR LAST NAME", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Smith", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_first_name": { + "title": "GUARANTOR FIRST NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "John" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "GUARANTOR FIRST NAME", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_middle_name": { + "title": "GUARANTOR MIDDLE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "W" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "GUARANTOR MIDDLE NAME", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "W", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_prefix": { + "title": "GUARANTOR PREFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Dr" + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "GUARANTOR PREFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Dr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_suffix": { + "title": "GUARANTOR SUFFIX", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 10, + "pattern": "^[ A-z0-9]{0,10}$", + "examples": [ + "Jr" + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "GUARANTOR SUFFIX", + "TYPE": "A/N-10", + "REQUIRED": null, + "SAMPLE_DATA": "Jr", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_street_1": { + "title": "GUARANTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "GUARANTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_street_2": { + "title": "GUARANTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "GUARANTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_city": { + "title": "GUARANTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 12, + "FIELD_DESCRIPTION": "GUARANTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_state": { + "title": "GUARANTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 13, + "FIELD_DESCRIPTION": "GUARANTOR STATE", + "TYPE": "A-2", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_zip": { + "title": "GUARANTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "GUARANTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (warning)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_employer": { + "title": "GUARANTOR EMPLOYER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "XYZ Company" + ], + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "GUARANTOR EMPLOYER", + "TYPE": "A/N-38", + "REQUIRED": "X(warn if > $200)", + "SAMPLE_DATA": "XYZ Company", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guarantor_occupation": { + "title": "GUARANTOR OCCUPATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 38, + "pattern": "^[ A-z0-9]{0,38}$", + "examples": [ + "QC Inspector" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "GUARANTOR OCCUPATION", + "TYPE": "A/N-38", + "REQUIRED": "X(warn if > $200)", + "SAMPLE_DATA": "QC Inspector", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "guaranteed_amount": { + "title": "GUARANTEED AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "GUARANTEED AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": null, + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/TRAN.json b/schema/backlog/TRAN.json new file mode 100644 index 00000000..62493bfa --- /dev/null +++ b/schema/backlog/TRAN.json @@ -0,0 +1,450 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/TRAN.json", + "version": "v0.0.0.0", + "title": "FEC Transfer", + "description": "Transfer (12)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "TRAN" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "TRAN", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization": { + "title": "CONTRIBUTOR ORGANIZATION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "John Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "John Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_fec_id": { + "title": "DONOR COMMITTEE FEC ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "fec_spec": { + "COL_SEQ": 27, + "FIELD_DESCRIPTION": "DONOR COMMITTEE FEC ID", + "TYPE": "A/N-9", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "donor_committee_name": { + "title": "DONOR COMMITTEE NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Action PAC" + ], + "fec_spec": { + "COL_SEQ": 28, + "FIELD_DESCRIPTION": "DONOR COMMITTEE NAME", + "TYPE": "A/N-200", + "REQUIRED": "Conditional Warning", + "SAMPLE_DATA": "Action PAC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/TRANF_FRM_LEV.json b/schema/backlog/TRANF_FRM_LEV.json new file mode 100644 index 00000000..cdb7a611 --- /dev/null +++ b/schema/backlog/TRANF_FRM_LEV.json @@ -0,0 +1,247 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/TRANF_FRM_LEV.json", + "version": "v0.0.0.0", + "title": "FEC Transfer from Levin", + "description": "SCHEDULE H5 - TRANSFERS FROM NON-FEDERAL ACCOUNT FOR SHARED FEDERAL ELECTION ACTIVITY (Line 18b)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id_number", + "account_name", + "receipt_date", + "total_amount_transferred", + "voter_registration_amount", + "voter_id_amount", + "gotv_amount", + "generic_campaign_amount" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "H5" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H5", + "VALUE_REFERENCE": "H5", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "TRANF_FRM_LEV" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "TRANF_FRM_LEV", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "H3123789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H3123789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "account_name": { + "title": "ACCOUNT NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "ACCOUNT NAME", + "TYPE": "A/N-90", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_date": { + "title": "RECEIPT DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120228 + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "RECEIPT DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120228, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "total_amount_transferred": { + "title": "TOTAL AMOUNT TRANSFERRED", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 30000 + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "TOTAL AMOUNT TRANSFERRED", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 30000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total Amount Transferred", + "FIELD_FORM_ASSOCIATION": null + } + }, + "voter_registration_amount": { + "title": "VOTER REGISTRATION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 7500 + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "VOTER REGISTRATION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 7500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total Amount Transferred for Voter Registration", + "FIELD_FORM_ASSOCIATION": null + } + }, + "voter_id_amount": { + "title": "VOTER ID AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 7500 + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "VOTER ID AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 7500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total Amount Transferred for Voter ID", + "FIELD_FORM_ASSOCIATION": null + } + }, + "gotv_amount": { + "title": "GOTV AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 7500 + ], + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "GOTV AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 7500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total Amount Transferred for GOTV", + "FIELD_FORM_ASSOCIATION": null + } + }, + "generic_campaign_amount": { + "title": "GENERIC CAMPAIGN AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 7500 + ], + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "GENERIC CAMPAIGN AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 7500, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Total Amount Transferred for Generic Campaign Activity", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/TRANF_FRM_NON.json b/schema/backlog/TRANF_FRM_NON.json new file mode 100644 index 00000000..8d274ffd --- /dev/null +++ b/schema/backlog/TRANF_FRM_NON.json @@ -0,0 +1,242 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/TRANF_FRM_NON.json", + "version": "v0.0.0.0", + "title": "FEC Transfer from Nonfed", + "description": "SCHEDULE H3 - TRANSFERS FROM NON-FEDERAL ACCOUNTS (Line 18a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id_number", + "back_reference_tran_id", + "account_name", + "event_type", + "receipt_date", + "total_amount_transferred", + "transferred_amount" + ], + "fec_recommended": [ + "event_activity_id_name" + ], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "H3" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H3", + "VALUE_REFERENCE": "H3", + "RULE_REFERENCE": "Appendix C", + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "TRANF_FRM_NON" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "TRANF_FRM_NON", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "H21234-3456" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H21234-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id": { + "title": "BACK REFERENCE TRAN ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "H31234-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "H31234-1234", + "VALUE_REFERENCE": "Ref to TRAN ID of Type=AD record", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "account_name": { + "title": "ACCOUNT NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "ACCOUNT NAME", + "TYPE": "A/N-90", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Repeat all recs", + "FIELD_FORM_ASSOCIATION": null + } + }, + "event_type": { + "title": "EVENT TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "DF" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "EVENT TYPE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "DF", + "VALUE_REFERENCE": "Post-BCRA code values: AD=ADministrative;\nGV=Generic Voter Drive;\nDF=Direct Fundraising;\nDC=Direct Candidate Support;\nEA=Exempt Activities;\nPC=Public Communications Referring\n Only to Party (made by PAC)", + "RULE_REFERENCE": "Note: H3 records for all Event Types must have a Back Reference Tran ID (field #4) that points to the Transaction ID (field #3) of the ADministrative H3 record. {One AD record is required and any number of \"non-AD\" records are optional.}", + "FIELD_FORM_ASSOCIATION": null + } + }, + "event_activity_id_name": { + "title": "EVENT/ACTIVITY ID/NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 90, + "pattern": "^[ A-z0-9]{0,90}$", + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "EVENT/ACTIVITY ID/NAME", + "TYPE": "A/N-90", + "REQUIRED": "X (warn if Type = [DF|DC])", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_date": { + "title": "RECEIPT DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120214 + ], + "fec_spec": { + "COL_SEQ": 9, + "FIELD_DESCRIPTION": "RECEIPT DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120214, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": "Repeat all recs", + "FIELD_FORM_ASSOCIATION": null + } + }, + "total_amount_transferred": { + "title": "TOTAL AMOUNT TRANSFERRED", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 10, + "FIELD_DESCRIPTION": "TOTAL AMOUNT TRANSFERRED", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Repeat all recs", + "FIELD_FORM_ASSOCIATION": null + } + }, + "transferred_amount": { + "title": "TRANSFERRED AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "fec_spec": { + "COL_SEQ": 11, + "FIELD_DESCRIPTION": "TRANSFERRED AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Breakdown Amt for Items: i, ii, iii, iv)a), iv)b), ... v)a), v)b), ... & vi.", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/TRIB_REC.json b/schema/backlog/TRIB_REC.json new file mode 100644 index 00000000..2086717e --- /dev/null +++ b/schema/backlog/TRIB_REC.json @@ -0,0 +1,412 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/TRIB_REC.json", + "version": "v0.0.0.0", + "title": "FEC Tribal Receipt", + "description": "Tribal Receipt (11a)", + "type": "object", + "required": [ + "form_type", + "filer_committee_id_number", + "transaction_type_identifier", + "transaction_id", + "entity_type", + "contributor_organization_name", + "contributor_street_1", + "contributor_city", + "contributor_state", + "contributor_zip", + "contribution_date", + "contribution_amount", + "contribution_aggregate", + "receipt_description" + ], + "fec_recommended": [], + "properties": { + "form_type": { + "title": "FORM TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "FORM TYPE", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_type_identifier": { + "title": "TRANSACTION TYPE IDENTIFIER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 12, + "pattern": "^[ A-z0-9]{0,12}$", + "examples": [ + "TRIB_REC" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION TYPE IDENTIFIER", + "TYPE": "A/N-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "TRIB_REC", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id": { + "title": "TRANSACTION ID", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A56123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "TRANSACTION ID", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "A56123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-1234" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": null, + "SAMPLE_DATA": "A123456789-1234", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Reference to the Tran ID of a Related Record", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched_name": { + "title": "BACK REFERENCE SCHED NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED NAME", + "TYPE": "A/N-8", + "REQUIRED": null, + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "SA[line# ref]", + "RULE_REFERENCE": "Ref to the Schedule that has the Related Record. SA3L must be used \nwith the F3L", + "FIELD_FORM_ASSOCIATION": null + } + }, + "entity_type": { + "title": "ENTITY TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 3, + "pattern": "^[ A-z0-9]{0,3}$", + "examples": [ + "IND" + ], + "fec_spec": { + "COL_SEQ": 7, + "FIELD_DESCRIPTION": "ENTITY TYPE", + "TYPE": "A/N-3", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "IND", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_organization_name": { + "title": "CONTRIBUTOR ORGANIZATION NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 200, + "pattern": "^[ A-z0-9]{0,200}$", + "examples": [ + "Jo Smith & Co." + ], + "fec_spec": { + "COL_SEQ": 8, + "FIELD_DESCRIPTION": "CONTRIBUTOR ORGANIZATION NAME", + "TYPE": "A/N-200", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Jo Smith & Co.", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_1": { + "title": "CONTRIBUTOR STREET 1", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "examples": [ + "123 Main Street" + ], + "fec_spec": { + "COL_SEQ": 14, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 1", + "TYPE": "A/N-34", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "123 Main Street", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_street_2": { + "title": "CONTRIBUTOR STREET 2", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 34, + "pattern": "^[ A-z0-9]{0,34}$", + "fec_spec": { + "COL_SEQ": 15, + "FIELD_DESCRIPTION": "CONTRIBUTOR STREET 2", + "TYPE": "A/N-34", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_city": { + "title": "CONTRIBUTOR CITY", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 30, + "pattern": "^[ A-z0-9]{0,30}$", + "examples": [ + "Anytown" + ], + "fec_spec": { + "COL_SEQ": 16, + "FIELD_DESCRIPTION": "CONTRIBUTOR CITY", + "TYPE": "A/N-30", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "Anytown", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_state": { + "title": "CONTRIBUTOR STATE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 2, + "pattern": "^[ A-z0-9]{0,2}$", + "examples": [ + "WA" + ], + "fec_spec": { + "COL_SEQ": 17, + "FIELD_DESCRIPTION": "CONTRIBUTOR STATE", + "TYPE": "A/N-2", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "WA", + "VALUE_REFERENCE": "AK,AL,...,ZZ", + "RULE_REFERENCE": "Edit: ST", + "FIELD_FORM_ASSOCIATION": null + } + }, + "contributor_zip": { + "title": "CONTRIBUTOR ZIP", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + 981110123 + ], + "fec_spec": { + "COL_SEQ": 18, + "FIELD_DESCRIPTION": "CONTRIBUTOR ZIP", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 981110123, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_date": { + "title": "CONTRIBUTION DATE", + "description": "", + "type": "integer", + "minimum": 0, + "maximum": 99999999, + "examples": [ + 20120615 + ], + "fec_spec": { + "COL_SEQ": 21, + "FIELD_DESCRIPTION": "CONTRIBUTION DATE", + "TYPE": "NUM-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 20120615, + "VALUE_REFERENCE": "YYYYMMDD", + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_amount": { + "title": "CONTRIBUTION AMOUNT", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 250 + ], + "fec_spec": { + "COL_SEQ": 22, + "FIELD_DESCRIPTION": "CONTRIBUTION AMOUNT", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 250, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "contribution_aggregate": { + "title": "CONTRIBUTION AGGREGATE", + "description": "", + "type": "number", + "minimum": 0, + "maximum": 999999999999, + "examples": [ + 1000 + ], + "fec_spec": { + "COL_SEQ": 23, + "FIELD_DESCRIPTION": "CONTRIBUTION AGGREGATE", + "TYPE": "AMT-12", + "REQUIRED": "X (error)", + "SAMPLE_DATA": 1000, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "YTD", + "FIELD_FORM_ASSOCIATION": null + } + }, + "receipt_description": { + "title": "RECEIPT DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 24, + "FIELD_DESCRIPTION": "RECEIPT DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": "X (error)", + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Description: Tribal Receipt", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_code": { + "title": "MEMO CODE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 1, + "pattern": "^[ A-z0-9]{0,1}$", + "fec_spec": { + "COL_SEQ": 44, + "FIELD_DESCRIPTION": "MEMO CODE", + "TYPE": "A/N-1", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": "X", + "RULE_REFERENCE": "X = True", + "FIELD_FORM_ASSOCIATION": null + } + }, + "memo_text_description": { + "title": "MEMO TEXT/DESCRIPTION", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 100, + "pattern": "^[ A-z0-9]{0,100}$", + "fec_spec": { + "COL_SEQ": 45, + "FIELD_DESCRIPTION": "MEMO TEXT/DESCRIPTION", + "TYPE": "A/N-100", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/schema/backlog/Text.json b/schema/backlog/Text.json new file mode 100644 index 00000000..dd160e89 --- /dev/null +++ b/schema/backlog/Text.json @@ -0,0 +1,142 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + "$id": "https://github.com/fecgov/fecfile-validate/blob/main/schema/Text.json", + "version": "8.3.0.1", + "title": "FEC Text", + "description": "TEXT - MISC. TEXT RELATED TO A REPORT, SCHEDULE OR ITEMIZATION", + "type": "object", + "required": [ + "rec_type", + "filer_committee_id_number", + "transaction_id_number", + "back_reference_tran_id_number", + "back_reference_sched__form_name" + ], + "fec_recommended": [], + "properties": { + "rec_type": { + "title": "REC TYPE", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4, + "pattern": "^[ A-z0-9]{0,4}$", + "examples": [ + "TEXT" + ], + "fec_spec": { + "COL_SEQ": 1, + "FIELD_DESCRIPTION": "REC TYPE", + "TYPE": "A/N-4", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "TEXT", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "filer_committee_id_number": { + "title": "FILER COMMITTEE ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 9, + "pattern": "^[ A-z0-9]{0,9}$", + "examples": [ + "C00123456" + ], + "fec_spec": { + "COL_SEQ": 2, + "FIELD_DESCRIPTION": "FILER COMMITTEE ID NUMBER", + "TYPE": "A/N-9", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "C00123456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": null, + "FIELD_FORM_ASSOCIATION": null + } + }, + "transaction_id_number": { + "title": "TRANSACTION ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "T123456789-3456" + ], + "fec_spec": { + "COL_SEQ": 3, + "FIELD_DESCRIPTION": "TRANSACTION ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "T123456789-3456", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "must be unique and UPPER CASE for the life of the report (original + all amendments)", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_tran_id_number": { + "title": "BACK REFERENCE TRAN ID NUMBER", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 20, + "pattern": "^[ A-z0-9]{0,20}$", + "examples": [ + "A123456789-6543" + ], + "fec_spec": { + "COL_SEQ": 4, + "FIELD_DESCRIPTION": "BACK REFERENCE TRAN ID NUMBER", + "TYPE": "A/N-20", + "REQUIRED": "X (error if supplied incorrectly or supplied with Form Name in Field# 5)", + "SAMPLE_DATA": "A123456789-6543", + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "If Back-Reference TranID is supplied, it must exist within file along with corresponding Schedule Name (Field# 5).\n \nIf Sched/Form Name (Field# 5) references the Form (F3XN,F3N..etc), this field must be blank", + "FIELD_FORM_ASSOCIATION": null + } + }, + "back_reference_sched__form_name": { + "title": "BACK REFERENCE SCHED / FORM NAME", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 8, + "pattern": "^[ A-z0-9]{0,8}$", + "examples": [ + "SA11AI" + ], + "fec_spec": { + "COL_SEQ": 5, + "FIELD_DESCRIPTION": "BACK REFERENCE SCHED / FORM NAME", + "TYPE": "A/N-8", + "REQUIRED": "X (error)", + "SAMPLE_DATA": "SA11AI", + "VALUE_REFERENCE": "F3XN,SB21B,\nSC/10, \u2026", + "RULE_REFERENCE": "Should be a valid, coded value equal to the REC TYPE of the form or schedule to which this text record is related.", + "FIELD_FORM_ASSOCIATION": null + } + }, + "text4000": { + "title": "TEXT4000", + "description": "", + "type": "string", + "minLength": 0, + "maxLength": 4000, + "pattern": "^[ A-z0-9]{0,4000}$", + "fec_spec": { + "COL_SEQ": 6, + "FIELD_DESCRIPTION": "TEXT4000", + "TYPE": "A/N-4000", + "REQUIRED": null, + "SAMPLE_DATA": null, + "VALUE_REFERENCE": null, + "RULE_REFERENCE": "Unformatted Text {text may not contain formatting characters such as tabs and line-feeds}", + "FIELD_FORM_ASSOCIATION": null + } + } + }, + "additionalProperties": false +} \ No newline at end of file diff --git a/settings.py b/settings.py deleted file mode 100644 index 457dc7a6..00000000 --- a/settings.py +++ /dev/null @@ -1,9 +0,0 @@ -import os - -API_URL = os.environ.get('FEC_VALIDATE_URL', '127.0.0.1') -API_PORT = int(os.environ.get('FEC_VALIDATE_PORT', 8091)) - -LANGUAGE_CODE = 'en-us' - -# TIME_ZONE = 'UTC' -TIME_ZONE = "America/New_York" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 4cfd8bd9..00000000 --- a/setup.cfg +++ /dev/null @@ -1,5 +0,0 @@ -[flake8] -# for additional go to https://flake8.pycqa.org/en/latest/user/error-codes.html -ignore = E501,W504,W503 -exclude = .venv,__pycache__ -max-complexity = 10 \ No newline at end of file diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 00000000..f9cb9438 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1,19 @@ +sonar.projectKey=fecgov_fecfile-validate +sonar.organization=fecgov + +# This is the name and version displayed in the SonarCloud UI. +sonar.projectName=fecfile-validate +#sonar.projectVersion=1.0 + +# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. +sonar.sources=. +sonar.python.coverage.reportPaths=coverage.xml +sonar.python.version=3 + +# Encoding of the source code. Default is default system encoding +#sonar.sourceEncoding=UTF-8 + + +sonar.host.url=https://sonarcloud.io + + diff --git a/successful_test.sh b/successful_test.sh deleted file mode 100644 index 2a9e9962..00000000 --- a/successful_test.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -text_file="reports/$1-$2-flake8.txt" -xml_file="reports/$1-$2-flake8_junit.xml" - -project_dir="." - -virtualenv -p python3.7 .venv -source .venv/bin/activate -pip3 install flake8 flake8-junit-report pep8 pep8-naming -mkdir -p reports -flake8 --exit-zero $project_dir --output-file $text_file -flake8_junit $text_file $xml_file -deactivate - -if [ ! -s $text_file ]; then - count=$( find . -type f -name "*.py" | grep -v '.venv' | wc -l ) - echo '' - for i in $( find . -type f -name "*.py" | grep -v '.venv' );do - echo '' >> $xml_file - done - echo "" >> $xml_file - -fi -rm -fr .venv \ No newline at end of file diff --git a/tests/sample_F3X.json b/tests/sample_F3X.json new file mode 100644 index 00000000..30821142 --- /dev/null +++ b/tests/sample_F3X.json @@ -0,0 +1,8 @@ +{ + "form_type": "F3XN", + "filer_committee_id_number": "C00000012", + "committee_name": "Foes of Pat", + "treasurer_last_name": "Smith", + "treasurer_first_name": "Patrick", + "date_signed": 20040729 +} \ No newline at end of file diff --git a/tests/test_F3X.py b/tests/test_F3X.py new file mode 100644 index 00000000..51cc2e57 --- /dev/null +++ b/tests/test_F3X.py @@ -0,0 +1,38 @@ +import pytest +import json +import os +from fecfile_validate.form3x import validate + + +@pytest.fixture +def sample_f3x(): + with open( + os.path.join(os.path.dirname(__file__), 'sample_F3X.json') + ) as f: + form_data = json.load(f) + return form_data + + +def test_is_correct(sample_f3x): + assert validate(sample_f3x) == [] + + +def test_missing_required_field(sample_f3x): + # Create error by removing FORM_TYPE + sample_f3x['form_type'] = "" + + errors = validate(sample_f3x) + assert errors[0].schema_path[1] == 'form_type' + assert errors[0].schema_path[2] == 'enum' + assert errors[0].message == "'' is not one of ['F3XN', 'F3XA', 'F3XT']" + + +def test_invalid_string_character(sample_f3x): + # Create error by adding a '$' to COMMITTEE_NAME + sample_f3x['committee_name'] = "Foe$ of Pat" + message_match = "'Foe$ of Pat' does not match '^[ A-z0-9]{0,200}$'" + + errors = validate(sample_f3x) + assert errors[0].schema_path[1] == 'committee_name' + assert errors[0].schema_path[2] == 'pattern' + assert errors[0].message == message_match diff --git a/tests/test_validate.py b/tests/test_validate.py deleted file mode 100644 index 11bf39cb..00000000 --- a/tests/test_validate.py +++ /dev/null @@ -1,6 +0,0 @@ -from api.validate import check_null_value - - -def test_check_null_value(): - assert check_null_value(7) == 7 - assert check_null_value("null") is None