Skip to content

Commit

Permalink
[US_IX] Adding raw data configs for jail credit time (Recidiviz/recid…
Browse files Browse the repository at this point in the history
…iviz-data#29371)

## Description of the change

this adds raw data configs for four tables:

- `scl_Credit`
- `scl_CreditBase`
- `scl_CreditDetail`
- `scl_CreditDetailType`

## Type of change

> All pull requests must have at least one of the following labels
applied (otherwise the PR will fail):

| Label | Description |
|-----------------------------
|-----------------------------------------------------------------------------------------------------------
|
| Type: Bug | non-breaking change that fixes an issue |
| Type: Feature | non-breaking change that adds functionality |
| Type: Breaking Change | fix or feature that would cause existing
functionality to not work as expected |
| Type: Non-breaking refactor | change addresses some tech debt item or
prepares for a later change, but does not change functionality |
| Type: Configuration Change | adjusts configuration to achieve some end
related to functionality, development, performance, or security |
| Type: Dependency Upgrade | upgrades a project dependency - these
changes are not included in release notes |

## Related issues

Closes #XXXX

## Checklists

### Development

**This box MUST be checked by the submitter prior to merging**:
- [x] **Double- and triple-checked that there is no Personally
Identifiable Information (PII) being mistakenly added in this pull
request**

These boxes should be checked by the submitter prior to merging:
- [x] Tests have been written to cover the code changed/added as part of
this pull request

### Code review

These boxes should be checked by reviewers prior to merging:

- [ ] This pull request has a descriptive title and information useful
to a reviewer
- [ ] Potential security implications or infrastructural changes have
been considered, if relevant

GitOrigin-RevId: 47afb935f6920626b06549daeb39ee6866ad66a4
  • Loading branch information
santymendoza authored and Helper Bot committed May 10, 2024
1 parent de6f771 commit f785532
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 0 deletions.
@@ -0,0 +1,28 @@
# yaml-language-server: $schema=./../../../raw_data/yaml_schema/schema.json
file_tag: scl_Credit
file_description: |-
Table containing information on good credit time
data_classification: source
primary_key_cols:
- CreditId
columns:
- name: CreditId
description: ID assigned to credit
- name: SentenceOrderId
description: ID of sentence order credit is assigned to
- name: CreditBaseId
description: ID of credit base (joins on scl_CreditBase)
- name: Locking
description: Locking number for record
- name: InsertDate
description: Timestamp for record creation.
field_type: datetime
- name: InsertUserId
description: User who first inserted record
is_pii: True
- name: UpdateDate
description: Date record last updated
field_type: datetime
- name: UpdateUserId
description: User who last updated record
is_pii: True
@@ -0,0 +1,35 @@
# yaml-language-server: $schema=./../../../raw_data/yaml_schema/schema.json
file_tag: scl_CreditBase
file_description: |-
Table that contains information on credit base.
data_classification: source
primary_key_cols:
- CreditBaseId
columns:
- name: CreditBaseId
description: ID asssigned to credit base
- name: CreditBaseName
description: String name of credit base
- name: Inactive
description: |-
TODO(#15329): Fill in column description
- name: Locking
description: Locking number for record
- name: InsertDate
description: Timestamp for record creation.
field_type: datetime
- name: InsertUserId
description: User who first inserted record
is_pii: True
- name: UpdateDate
description: Date record last updated
field_type: datetime
- name: UpdateUserId
description: User who last updated record
is_pii: True
- name: SystemRow
description: |-
TODO(#15329): Fill in column description
- name: IsCustom
description: |-
TODO(#15329): Fill in column description
@@ -0,0 +1,33 @@
# yaml-language-server: $schema=./../../../raw_data/yaml_schema/schema.json
file_tag: scl_CreditDetail
file_description: |-
Table containing information on credit detail
data_classification: source
primary_key_cols:
- CreditDetailId
columns:
- name: CreditDetailId
description: ID of credit detail
- name: CreditId
description: The ID of the credit
- name: CreditDetailTypeId
description: Type of credit detail. (joins on scl_CreditDetailType)
- name: SubmittedDate
description: Date record was submitted
field_type: datetime
- name: DurationDay
description: Duration in days
- name: Locking
description: Locking number for record
- name: InsertDate
description: Timestamp for record creation
field_type: datetime
- name: InsertUserId
description: User who first inserted record
is_pii: True
- name: UpdateDate
description: Date record last updated
field_type: datetime
- name: UpdateUserId
description: User who last updated record
is_pii: True
@@ -0,0 +1,35 @@
# yaml-language-server: $schema=./../../../raw_data/yaml_schema/schema.json
file_tag: scl_CreditDetailType
file_description: |-
Table that contains information on credit detail type.
data_classification: source
primary_key_cols:
- CreditDetailTypeId
columns:
- name: CreditDetailTypeId
description: The ID assigned to the credit detail type
- name: CreditDetailTypeName
description: The string name of the credit detail type
- name: Inactive
description: |-
TODO(#15329): Fill in column description
- name: Locking
description: Locking number for record
- name: InsertDate
description: Timestamp for record creation.
field_type: datetime
- name: InsertUserId
description: User who first inserted record
is_pii: True
- name: UpdateDate
description: Date record last updated
field_type: datetime
- name: UpdateUserId
description: User who last updated record
is_pii: True
- name: SystemRow
description: |-
TODO(#15329): Fill in column description
- name: IsCustom
description: |-
TODO(#15329): Fill in column description

0 comments on commit f785532

Please sign in to comment.