Skip to content

Commit 4607763

Browse files
chore: update code.json schema (#105)
Co-authored-by: sachin-panayil <79382140+sachin-panayil@users.noreply.github.com>
1 parent 0a50f3e commit 4607763

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

src/types/CodeJSONSchema.ts

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// DO NOT EDIT - AUTOMATICALLY GENERATED FILE!!!
2-
// Schema Version: 2.0.0
2+
// Schema Version: 2.1.0
33

44
import { z } from "zod";
55

@@ -127,6 +127,7 @@ export const CodeJSONSchema = z
127127
"github.com/CMS-Enterprise",
128128
"github.com/Enterprise-CMCS",
129129
"github.com/DSACMS",
130+
"github.com/MeasureAuthoringTool",
130131
"github.cms.gov",
131132
"CCSQ GitHub",
132133
])
@@ -395,13 +396,32 @@ export const CodeJSONSchema = z
395396
)
396397
.optional(),
397398
subsetInHealthcare: z
398-
.array(z.enum(["policy", "operational", "medicare", "medicaid"]))
399+
.array(
400+
z.enum([
401+
"policy",
402+
"operational",
403+
"medicare",
404+
"medicaid",
405+
"SNAP",
406+
"TANF",
407+
"human-benefit-services",
408+
]),
409+
)
399410
.refine((items) => new Set(items).size === items.length, {
400411
message: "Array must contain unique values",
401412
})
402413
.describe("Healthcare-related subset"),
403414
userType: z
404-
.array(z.enum(["providers", "patients", "government"]))
415+
.array(
416+
z.enum([
417+
"providers",
418+
"patients",
419+
"government",
420+
"applicants",
421+
"beneficiaries",
422+
"enrollees",
423+
]),
424+
)
405425
.refine((items) => new Set(items).size === items.length, {
406426
message: "Array must contain unique values",
407427
})

0 commit comments

Comments
 (0)