|
1 | 1 | # Examples of code.json |
2 | 2 |
|
3 | | -Below are good examples of metadata in CMS code.json files. We hope it helps when creating your repository-level code.json file. |
| 3 | +Below are examples of well-structured and comprehensive metadata in CMS code.json files. These examples demonstrate best practices for repository-level metadata documentation. |
| 4 | + |
| 5 | +For additional reference, the [tests directory](../schemas/tests) contain unit tests of code.json files from various DSACMS repositories. These tests help ensure consistency and compliance as we make future updates to the schemas. |
| 6 | + |
| 7 | +We encourage you to review these examples and tests when creating or updating your repository-level code.json file to maintain consistency with federal standards. |
4 | 8 |
|
5 | 9 | ## Example 1: [DedupliFHIR](https://github.com/DSACMS/dedupliFHIR) |
6 | 10 |
|
7 | 11 | DedupliFHIR is a desktop app tool that uses AI deduplication to identify duplicates in patient records. It is a [tier 3](https://github.com/DSACMS/repo-scaffolder/blob/dev/maturity-model-tiers.md#tier-information) project launched in production that receives user input. |
8 | 12 |
|
9 | | -``` |
10 | | -{ |
11 | | - "name": "dedupliFHIR", |
12 | | - "description": "Prototype for basic deduplication and aggregation of eCQM data", |
13 | | - "longDescription": "A CLI bundled with an electron front-end that provides data-linkage and AI deduplication for reported ACO data at scale.", |
14 | | - "status": "Production", |
15 | | - "permissions": { |
16 | | - "license": [ |
17 | | - { |
18 | | - "name": "CC0 1.0 Universal", |
19 | | - "URL": "https://github.com/DSACMS/dedupliFHIR/blob/main/LICENSE" |
20 | | - } |
21 | | - ], |
22 | | - "usageType": "openSource", |
23 | | - "exemptionText": "" |
24 | | - }, |
25 | | - "organization": "Centers for Medicare & Medicaid Services", |
26 | | - "repositoryURL": "https://github.com/DSACMS/dedupliFHIR", |
27 | | - "projectURL": "", |
28 | | - "repositoryHost": "github.com/DSACMS", |
29 | | - "repositoryVisibility": "public", |
30 | | - "vcs": "git", |
31 | | - "laborHours": 4271, |
32 | | - "reuseFrequency": { |
33 | | - "forks": 3, |
34 | | - "clones": 0 |
35 | | - }, |
36 | | - "platforms": [ |
37 | | - "windows", |
38 | | - "mac", |
39 | | - "linux" |
40 | | - ], |
41 | | - "categories": [ |
42 | | - "data-analytics", |
43 | | - "application-development", |
44 | | - "data-collection" |
45 | | - ], |
46 | | - "softwareType": "standalone/desktop", |
47 | | - "languages": [ |
48 | | - "Python", |
49 | | - "JavaScript", |
50 | | - "HTML", |
51 | | - "CSS", |
52 | | - "Shell", |
53 | | - "Makefile" |
54 | | - ], |
55 | | - "maintenance": "internal", |
56 | | - "contractNumber": [], |
57 | | - "date": { |
58 | | - "created": "2023-06-22T17:08:19Z", |
59 | | - "lastModified": "2025-02-13T18:44:26Z", |
60 | | - "metaDataLastUpdated": "2025-06-10T14:55:32.836Z" |
61 | | - }, |
62 | | - "tags": [ |
63 | | - "AI", |
64 | | - "deduplication", |
65 | | - "data", |
66 | | - "ACA", |
67 | | - "FHIR", |
68 | | - "featured" |
69 | | - ], |
70 | | - "contact": { |
71 | | - "email": "opensource@cms.hhs.gov", |
72 | | - "name": "CMS Open Source Team" |
73 | | - }, |
74 | | - "feedbackMechanisms": "https://github.com/DSACMS/dedupliFHIR/issues", |
75 | | - "AIUseCaseID": "0", |
76 | | - "localisation": false, |
77 | | - "repositoryType": "application", |
78 | | - "userInput": "true", |
79 | | - "fismaLevel": "Moderate", |
80 | | - "group": "CMS/OA/DSAC", |
81 | | - "projects": [], |
82 | | - "systems": [], |
83 | | - "upstream": "https://github.com/DSACMS/dedupliFHIR/network/dependencies", |
84 | | - "subsetInHealthcare": [ |
85 | | - "Operational" |
86 | | - ], |
87 | | - "userType": [ |
88 | | - "Providers" |
89 | | - ], |
90 | | - "maturityModelTier": "3" |
91 | | -} |
92 | | -``` |
| 13 | +Link to code.json file: [codejson-example-dedupliFHIR.json](https://github.com/DSACMS/gov-codejson/blob/main/tests/examples/codejson-example-dedupliFHIR.json) |
93 | 14 |
|
94 | 15 | ## Example 2: [CMS Metrics Website](https://github.com/DSACMS/metrics) |
95 | 16 |
|
96 | 17 | The CMS Metrics Website is a [tier 3](https://github.com/DSACMS/repo-scaffolder/blob/dev/maturity-model-tiers.md#tier-information) project where government employees can view repository metrics on CMS open source projects, currently maintained by the CMS OSPO. |
97 | 18 |
|
98 | | -``` |
99 | | -{ |
100 | | - "name": "metrics", |
101 | | - "description": "CMS Open Source Repository Metrics Website", |
102 | | - "longDescription": "The CMS Repository Metrics Website shows an overview of software development activity across open source projects within a specified organization. It is designed for developers and program managers interested in monitoring health and activity of CMS open source repositories.", |
103 | | - "status": "Production", |
104 | | - "permissions": { |
105 | | - "license": [ |
106 | | - { |
107 | | - "name": "CC0 1.0 Universal", |
108 | | - "URL": "https://github.com/DSACMS/metrics/blob/main/LICENSE.md" |
109 | | - } |
110 | | - ], |
111 | | - "usageType": "openSource", |
112 | | - "exemptionText": "" |
113 | | - }, |
114 | | - "organization": "Centers for Medicare & Medicaid Services", |
115 | | - "repositoryURL": "https://github.com/DSACMS/metrics", |
116 | | - "projectURL": "https://dsacms.github.io/metrics/", |
117 | | - "repositoryHost": "github.com/DSACMS", |
118 | | - "repositoryVisibility": "public", |
119 | | - "vcs": "git", |
120 | | - "laborHours": 20722, |
121 | | - "reuseFrequency": { |
122 | | - "forks": 4, |
123 | | - "clones": 0 |
124 | | - }, |
125 | | - "platforms": [ |
126 | | - "web" |
127 | | - ], |
128 | | - "categories": [ |
129 | | - "data-visualization", |
130 | | - "data-analytics" |
131 | | - ], |
132 | | - "softwareType": "standalone/web", |
133 | | - "languages": [ |
134 | | - "Liquid", |
135 | | - "JavaScript", |
136 | | - "CSS", |
137 | | - "Python", |
138 | | - "Shell" |
139 | | - ], |
140 | | - "maintenance": "internal", |
141 | | - "contractNumber": [], |
142 | | - "date": { |
143 | | - "created": "2023-07-18T14:10:58Z", |
144 | | - "lastModified": "2025-06-01T11:36:12Z", |
145 | | - "metaDataLastUpdated": "2025-06-06T16:36:38.949Z" |
146 | | - }, |
147 | | - "tags": [ |
148 | | - "metrics", |
149 | | - "ospo", |
150 | | - "repository", |
151 | | - "featured" |
152 | | - ], |
153 | | - "contact": { |
154 | | - "email": "opensource@cms.hhs.gov", |
155 | | - "name": "CMS/OA/DSAC/OSPO" |
156 | | - }, |
157 | | - "feedbackMechanisms": "https://github.com/DSACMS/metrics/issues", |
158 | | - "AIUseCaseID": "0", |
159 | | - "localisation": false, |
160 | | - "repositoryType": "website", |
161 | | - "userInput": "No", |
162 | | - "fismaLevel": "Low", |
163 | | - "group": "CMS/OA/DSAC", |
164 | | - "projects": [], |
165 | | - "systems": [], |
166 | | - "upstream": "https://github.com/DSACMS/metrics/network/dependencies", |
167 | | - "subsetInHealthcare": [ |
168 | | - "Operational" |
169 | | - ], |
170 | | - "userType": [ |
171 | | - "Government" |
172 | | - ], |
173 | | - "maturityModelTier": 3 |
174 | | -} |
175 | | -``` |
| 19 | +Link to code.json file: [codejson-example-metrics.json](https://github.com/DSACMS/gov-codejson/blob/main/tests/examples/codejson-example-metrics.json) |
| 20 | + |
| 21 | +## Example 3: [gov-codejson](https://github.com/DSACMS/gov-codejson) |
| 22 | + |
| 23 | +gov-codejson (this repository!) is a [tier 3](https://github.com/DSACMS/repo-scaffolder/blob/dev/maturity-model-tiers.md#tier-information) project containing documentation on the code.json metadata standard, currently maintained by the federal government community. |
| 24 | + |
| 25 | +Link to code.json file: [code.json](https://github.com/DSACMS/gov-codejson/blob/main/code.json) |
0 commit comments