Skip to content

Commit

Permalink
[ODS-6525] Bring in final set of DS 5.2 updates (#1186)
Browse files Browse the repository at this point in the history
  • Loading branch information
semalaiappan authored Nov 21, 2024
1 parent 146a7a2 commit f5f76ac
Show file tree
Hide file tree
Showing 101 changed files with 12,615 additions and 7,308 deletions.
2,728 changes: 1,724 additions & 1,004 deletions Application/EdFi.Ods.Standard/Standard/5.2.0/Artifacts/Metadata/ApiModel.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
<Claim name="http://ed-fi.org/ods/identity/claims/assessmentAdministrationAssessmentBatteryPart" />
<Claim name="http://ed-fi.org/ods/identity/claims/assessmentBatteryPart" />
<Claim name="http://ed-fi.org/ods/identity/claims/assessmentBatteryPartObjectiveAssessment" />
<Claim name="http://ed-fi.org/ods/identity/claims/assesssmentAdministrationParticipation" />
<Claim name="http://ed-fi.org/ods/identity/claims/assesssmentAdministrationParticipationAdministrationPointOfContact" />
<Claim name="http://ed-fi.org/ods/identity/claims/assessmentAdministrationParticipation" />
<Claim name="http://ed-fi.org/ods/identity/claims/assessmentAdministrationParticipationAdministrationPointOfContact" />
<Claim name="http://ed-fi.org/ods/identity/claims/studentAssessmentRegistration" />
<Claim name="http://ed-fi.org/ods/identity/claims/studentAssessmentRegistrationAssessmentAccommodation" />
<Claim name="http://ed-fi.org/ods/identity/claims/studentAssessmentRegistrationAssessmentCustomization" />
Expand Down Expand Up @@ -130,7 +130,9 @@
</ClaimSet>
</ClaimSets>
<Claims>
<Claim name="http://ed-fi.org/ods/identity/claims/Section504DisabilityTypeDescriptor" />
<Claim name="http://ed-fi.org/ods/identity/claims/Section504DisabilityDescriptor" />
<Claim name="http://ed-fi.org/ods/identity/claims/DualCreditTypeDescriptor" />
<Claim name="http://ed-fi.org/ods/identity/claims/DualCreditInstitutionDescriptor" />
</Claims>
</Claim>
<Claim name="http://ed-fi.org/ods/identity/claims/domains/relationshipBasedData">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,45 +225,99 @@ GO
ALTER TABLE [edfi].[AssessmentAdministration] ADD CONSTRAINT [AssessmentAdministration_DF_LastModifiedDate] DEFAULT (getutcdate()) FOR [LastModifiedDate]
GO

-- Table [edfi].[AssessmentAdministrationAssessmentAdminstrationPeriod] --
CREATE TABLE [edfi].[AssessmentAdministrationAssessmentAdminstrationPeriod] (
-- Table [edfi].[AssessmentAdministrationAssessmentBatteryPart] --
CREATE TABLE [edfi].[AssessmentAdministrationAssessmentBatteryPart] (
[AdministrationIdentifier] [NVARCHAR](255) NOT NULL,
[AssessmentIdentifier] [NVARCHAR](60) NOT NULL,
[AssigningEducationOrganizationId] [BIGINT] NOT NULL,
[Namespace] [NVARCHAR](255) NOT NULL,
[BeginDate] [DATE] NOT NULL,
[EndDate] [DATE] NULL,
[AssessmentBatteryPartName] [NVARCHAR](65) NOT NULL,
[CreateDate] [DATETIME2] NOT NULL,
CONSTRAINT [AssessmentAdministrationAssessmentAdminstrationPeriod_PK] PRIMARY KEY CLUSTERED (
CONSTRAINT [AssessmentAdministrationAssessmentBatteryPart_PK] PRIMARY KEY CLUSTERED (
[AdministrationIdentifier] ASC,
[AssessmentIdentifier] ASC,
[AssigningEducationOrganizationId] ASC,
[Namespace] ASC,
[BeginDate] ASC
[AssessmentBatteryPartName] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [edfi].[AssessmentAdministrationAssessmentAdminstrationPeriod] ADD CONSTRAINT [AssessmentAdministrationAssessmentAdminstrationPeriod_DF_CreateDate] DEFAULT (getutcdate()) FOR [CreateDate]
ALTER TABLE [edfi].[AssessmentAdministrationAssessmentBatteryPart] ADD CONSTRAINT [AssessmentAdministrationAssessmentBatteryPart_DF_CreateDate] DEFAULT (getutcdate()) FOR [CreateDate]
GO

-- Table [edfi].[AssessmentAdministrationAssessmentBatteryPart] --
CREATE TABLE [edfi].[AssessmentAdministrationAssessmentBatteryPart] (
-- Table [edfi].[AssessmentAdministrationParticipation] --
CREATE TABLE [edfi].[AssessmentAdministrationParticipation] (
[AdministrationIdentifier] [NVARCHAR](255) NOT NULL,
[AssessmentIdentifier] [NVARCHAR](60) NOT NULL,
[AssigningEducationOrganizationId] [BIGINT] NOT NULL,
[Namespace] [NVARCHAR](255) NOT NULL,
[AssessmentBatteryPartName] [NVARCHAR](65) NOT NULL,
[ParticipatingEducationOrganizationId] [BIGINT] NOT NULL,
[Discriminator] [NVARCHAR](128) NULL,
[CreateDate] [DATETIME2] NOT NULL,
CONSTRAINT [AssessmentAdministrationAssessmentBatteryPart_PK] PRIMARY KEY CLUSTERED (
[LastModifiedDate] [DATETIME2] NOT NULL,
[Id] [UNIQUEIDENTIFIER] NOT NULL,
CONSTRAINT [AssessmentAdministrationParticipation_PK] PRIMARY KEY CLUSTERED (
[AdministrationIdentifier] ASC,
[AssessmentIdentifier] ASC,
[AssigningEducationOrganizationId] ASC,
[Namespace] ASC,
[AssessmentBatteryPartName] ASC
[ParticipatingEducationOrganizationId] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [edfi].[AssessmentAdministrationAssessmentBatteryPart] ADD CONSTRAINT [AssessmentAdministrationAssessmentBatteryPart_DF_CreateDate] DEFAULT (getutcdate()) FOR [CreateDate]
ALTER TABLE [edfi].[AssessmentAdministrationParticipation] ADD CONSTRAINT [AssessmentAdministrationParticipation_DF_CreateDate] DEFAULT (getutcdate()) FOR [CreateDate]
GO
ALTER TABLE [edfi].[AssessmentAdministrationParticipation] ADD CONSTRAINT [AssessmentAdministrationParticipation_DF_Id] DEFAULT (newid()) FOR [Id]
GO
ALTER TABLE [edfi].[AssessmentAdministrationParticipation] ADD CONSTRAINT [AssessmentAdministrationParticipation_DF_LastModifiedDate] DEFAULT (getutcdate()) FOR [LastModifiedDate]
GO

-- Table [edfi].[AssessmentAdministrationParticipationAdministrationPointOfContact] --
CREATE TABLE [edfi].[AssessmentAdministrationParticipationAdministrationPointOfContact] (
[AdministrationIdentifier] [NVARCHAR](255) NOT NULL,
[AssessmentIdentifier] [NVARCHAR](60) NOT NULL,
[AssigningEducationOrganizationId] [BIGINT] NOT NULL,
[Namespace] [NVARCHAR](255) NOT NULL,
[ParticipatingEducationOrganizationId] [BIGINT] NOT NULL,
[EducationOrganizationId] [BIGINT] NOT NULL,
[ElectronicMailAddress] [NVARCHAR](128) NOT NULL,
[FirstName] [NVARCHAR](75) NOT NULL,
[LastSurname] [NVARCHAR](75) NOT NULL,
[LoginId] [NVARCHAR](60) NULL,
[CreateDate] [DATETIME2] NOT NULL,
CONSTRAINT [AssessmentAdministrationParticipationAdministrationPointOfContact_PK] PRIMARY KEY CLUSTERED (
[AdministrationIdentifier] ASC,
[AssessmentIdentifier] ASC,
[AssigningEducationOrganizationId] ASC,
[Namespace] ASC,
[ParticipatingEducationOrganizationId] ASC,
[EducationOrganizationId] ASC,
[ElectronicMailAddress] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [edfi].[AssessmentAdministrationParticipationAdministrationPointOfContact] ADD CONSTRAINT [AssessmentAdministrationParticipationAdministrationPointOfContact_DF_CreateDate] DEFAULT (getutcdate()) FOR [CreateDate]
GO

-- Table [edfi].[AssessmentAdministrationPeriod] --
CREATE TABLE [edfi].[AssessmentAdministrationPeriod] (
[AdministrationIdentifier] [NVARCHAR](255) NOT NULL,
[AssessmentIdentifier] [NVARCHAR](60) NOT NULL,
[AssigningEducationOrganizationId] [BIGINT] NOT NULL,
[Namespace] [NVARCHAR](255) NOT NULL,
[BeginDate] [DATE] NOT NULL,
[EndDate] [DATE] NULL,
[CreateDate] [DATETIME2] NOT NULL,
CONSTRAINT [AssessmentAdministrationPeriod_PK] PRIMARY KEY CLUSTERED (
[AdministrationIdentifier] ASC,
[AssessmentIdentifier] ASC,
[AssigningEducationOrganizationId] ASC,
[Namespace] ASC,
[BeginDate] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [edfi].[AssessmentAdministrationPeriod] ADD CONSTRAINT [AssessmentAdministrationPeriod_DF_CreateDate] DEFAULT (getutcdate()) FOR [CreateDate]
GO

-- Table [edfi].[AssessmentAssessedGradeLevel] --
Expand Down Expand Up @@ -681,60 +735,6 @@ GO
ALTER TABLE [edfi].[AssessmentSection] ADD CONSTRAINT [AssessmentSection_DF_CreateDate] DEFAULT (getutcdate()) FOR [CreateDate]
GO

-- Table [edfi].[AssesssmentAdministrationParticipation] --
CREATE TABLE [edfi].[AssesssmentAdministrationParticipation] (
[AdministrationIdentifier] [NVARCHAR](255) NOT NULL,
[AssessmentIdentifier] [NVARCHAR](60) NOT NULL,
[AssigningEducationOrganizationId] [BIGINT] NOT NULL,
[Namespace] [NVARCHAR](255) NOT NULL,
[ParticipatingEducationOrganizationId] [BIGINT] NOT NULL,
[Discriminator] [NVARCHAR](128) NULL,
[CreateDate] [DATETIME2] NOT NULL,
[LastModifiedDate] [DATETIME2] NOT NULL,
[Id] [UNIQUEIDENTIFIER] NOT NULL,
CONSTRAINT [AssesssmentAdministrationParticipation_PK] PRIMARY KEY CLUSTERED (
[AdministrationIdentifier] ASC,
[AssessmentIdentifier] ASC,
[AssigningEducationOrganizationId] ASC,
[Namespace] ASC,
[ParticipatingEducationOrganizationId] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [edfi].[AssesssmentAdministrationParticipation] ADD CONSTRAINT [AssesssmentAdministrationParticipation_DF_CreateDate] DEFAULT (getutcdate()) FOR [CreateDate]
GO
ALTER TABLE [edfi].[AssesssmentAdministrationParticipation] ADD CONSTRAINT [AssesssmentAdministrationParticipation_DF_Id] DEFAULT (newid()) FOR [Id]
GO
ALTER TABLE [edfi].[AssesssmentAdministrationParticipation] ADD CONSTRAINT [AssesssmentAdministrationParticipation_DF_LastModifiedDate] DEFAULT (getutcdate()) FOR [LastModifiedDate]
GO

-- Table [edfi].[AssesssmentAdministrationParticipationAdministrationPointOfContact] --
CREATE TABLE [edfi].[AssesssmentAdministrationParticipationAdministrationPointOfContact] (
[AdministrationIdentifier] [NVARCHAR](255) NOT NULL,
[AssessmentIdentifier] [NVARCHAR](60) NOT NULL,
[AssigningEducationOrganizationId] [BIGINT] NOT NULL,
[Namespace] [NVARCHAR](255) NOT NULL,
[ParticipatingEducationOrganizationId] [BIGINT] NOT NULL,
[EducationOrganizationId] [BIGINT] NOT NULL,
[ElectronicMailAddress] [NVARCHAR](128) NOT NULL,
[FirstName] [NVARCHAR](75) NOT NULL,
[LastSurname] [NVARCHAR](75) NOT NULL,
[LoginId] [NVARCHAR](60) NULL,
[CreateDate] [DATETIME2] NOT NULL,
CONSTRAINT [AssesssmentAdministrationParticipationAdministrationPointOfContact_PK] PRIMARY KEY CLUSTERED (
[AdministrationIdentifier] ASC,
[AssessmentIdentifier] ASC,
[AssigningEducationOrganizationId] ASC,
[Namespace] ASC,
[ParticipatingEducationOrganizationId] ASC,
[EducationOrganizationId] ASC,
[ElectronicMailAddress] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [edfi].[AssesssmentAdministrationParticipationAdministrationPointOfContact] ADD CONSTRAINT [AssesssmentAdministrationParticipationAdministrationPointOfContact_DF_CreateDate] DEFAULT (getutcdate()) FOR [CreateDate]
GO

-- Table [edfi].[AssignmentLateStatusDescriptor] --
CREATE TABLE [edfi].[AssignmentLateStatusDescriptor] (
[AssignmentLateStatusDescriptorId] [INT] NOT NULL,
Expand Down Expand Up @@ -2610,6 +2610,24 @@ CREATE TABLE [edfi].[DisplacedStudentStatusDescriptor] (
) ON [PRIMARY]
GO

-- Table [edfi].[DualCreditInstitutionDescriptor] --
CREATE TABLE [edfi].[DualCreditInstitutionDescriptor] (
[DualCreditInstitutionDescriptorId] [INT] NOT NULL,
CONSTRAINT [DualCreditInstitutionDescriptor_PK] PRIMARY KEY CLUSTERED (
[DualCreditInstitutionDescriptorId] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO

-- Table [edfi].[DualCreditTypeDescriptor] --
CREATE TABLE [edfi].[DualCreditTypeDescriptor] (
[DualCreditTypeDescriptorId] [INT] NOT NULL,
CONSTRAINT [DualCreditTypeDescriptor_PK] PRIMARY KEY CLUSTERED (
[DualCreditTypeDescriptorId] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO

-- Table [edfi].[EducationalEnvironmentDescriptor] --
CREATE TABLE [edfi].[EducationalEnvironmentDescriptor] (
[EducationalEnvironmentDescriptorId] [INT] NOT NULL,
Expand Down Expand Up @@ -6392,11 +6410,11 @@ GO
ALTER TABLE [edfi].[Section] ADD CONSTRAINT [Section_DF_LastModifiedDate] DEFAULT (getutcdate()) FOR [LastModifiedDate]
GO

-- Table [edfi].[Section504DisabilityTypeDescriptor] --
CREATE TABLE [edfi].[Section504DisabilityTypeDescriptor] (
[Section504DisabilityTypeDescriptorId] [INT] NOT NULL,
CONSTRAINT [Section504DisabilityTypeDescriptor_PK] PRIMARY KEY CLUSTERED (
[Section504DisabilityTypeDescriptorId] ASC
-- Table [edfi].[Section504DisabilityDescriptor] --
CREATE TABLE [edfi].[Section504DisabilityDescriptor] (
[Section504DisabilityDescriptorId] [INT] NOT NULL,
CONSTRAINT [Section504DisabilityDescriptor_PK] PRIMARY KEY CLUSTERED (
[Section504DisabilityDescriptorId] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
Expand Down Expand Up @@ -8017,6 +8035,8 @@ CREATE TABLE [edfi].[StudentAssessmentRegistration] (
[EntryDate] [DATE] NOT NULL,
[PlatformTypeDescriptorId] [INT] NULL,
[ReportingEducationOrganizationId] [BIGINT] NULL,
[ScheduledEducationOrganizationId] [BIGINT] NULL,
[ScheduledStudentUSI] [INT] NULL,
[SchoolId] [BIGINT] NOT NULL,
[TestingEducationOrganizationId] [BIGINT] NULL,
[Discriminator] [NVARCHAR](128) NULL,
Expand Down Expand Up @@ -8536,6 +8556,26 @@ GO
ALTER TABLE [edfi].[StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCode] ADD CONSTRAINT [StudentDisciplineIncidentBehaviorAssociationDisciplineIncidentParticipationCode_DF_CreateDate] DEFAULT (getutcdate()) FOR [CreateDate]
GO

-- Table [edfi].[StudentDisciplineIncidentBehaviorAssociationWeapon] --
CREATE TABLE [edfi].[StudentDisciplineIncidentBehaviorAssociationWeapon] (
[BehaviorDescriptorId] [INT] NOT NULL,
[IncidentIdentifier] [NVARCHAR](36) NOT NULL,
[SchoolId] [BIGINT] NOT NULL,
[StudentUSI] [INT] NOT NULL,
[WeaponDescriptorId] [INT] NOT NULL,
[CreateDate] [DATETIME2] NOT NULL,
CONSTRAINT [StudentDisciplineIncidentBehaviorAssociationWeapon_PK] PRIMARY KEY CLUSTERED (
[BehaviorDescriptorId] ASC,
[IncidentIdentifier] ASC,
[SchoolId] ASC,
[StudentUSI] ASC,
[WeaponDescriptorId] ASC
) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
ALTER TABLE [edfi].[StudentDisciplineIncidentBehaviorAssociationWeapon] ADD CONSTRAINT [StudentDisciplineIncidentBehaviorAssociationWeapon_DF_CreateDate] DEFAULT (getutcdate()) FOR [CreateDate]
GO

-- Table [edfi].[StudentDisciplineIncidentNonOffenderAssociation] --
CREATE TABLE [edfi].[StudentDisciplineIncidentNonOffenderAssociation] (
[IncidentIdentifier] [NVARCHAR](36) NOT NULL,
Expand Down Expand Up @@ -9944,7 +9984,7 @@ CREATE TABLE [edfi].[StudentSection504ProgramAssociation] (
[ProgramTypeDescriptorId] [INT] NOT NULL,
[StudentUSI] [INT] NOT NULL,
[AccommodationPlan] [BIT] NULL,
[Section504DisabilityTypeDescriptorId] [INT] NULL,
[Section504DisabilityDescriptorId] [INT] NULL,
[Section504Eligibility] [BIT] NOT NULL,
[Section504EligibilityDecisionDate] [DATE] NULL,
[Section504MeetingDate] [DATE] NULL,
Expand All @@ -9969,6 +10009,11 @@ CREATE TABLE [edfi].[StudentSectionAssociation] (
[SessionName] [NVARCHAR](60) NOT NULL,
[StudentUSI] [INT] NOT NULL,
[AttemptStatusDescriptorId] [INT] NULL,
[DualCreditEducationOrganizationId] [BIGINT] NULL,
[DualCreditIndicator] [BIT] NULL,
[DualCreditInstitutionDescriptorId] [INT] NULL,
[DualCreditTypeDescriptorId] [INT] NULL,
[DualHighSchoolCreditIndicator] [BIT] NULL,
[EndDate] [DATE] NULL,
[HomeroomIndicator] [BIT] NULL,
[RepeatIdentifierDescriptorId] [INT] NULL,
Expand Down Expand Up @@ -10107,7 +10152,9 @@ CREATE TABLE [edfi].[StudentSpecialEducationProgramAssociation] (
[LastEvaluationDate] [DATE] NULL,
[MedicallyFragile] [BIT] NULL,
[MultiplyDisabled] [BIT] NULL,
[ReductionInHoursPerWeekComparedToPeers] [DECIMAL](5, 2) NULL,
[SchoolHoursPerWeek] [DECIMAL](5, 2) NULL,
[ShortenedSchoolDayIndicator] [BIT] NULL,
[SpecialEducationExitDate] [DATE] NULL,
[SpecialEducationExitExplained] [NVARCHAR](1024) NULL,
[SpecialEducationExitReasonDescriptorId] [INT] NULL,
Expand Down
Loading

0 comments on commit f5f76ac

Please sign in to comment.