diff --git a/.github/workflows/json-schema-tests.yml b/.github/workflows/json-schema-tests.yml index 323f923..7d3699e 100644 --- a/.github/workflows/json-schema-tests.yml +++ b/.github/workflows/json-schema-tests.yml @@ -1,10 +1,10 @@ name: json-schema-tests on: - pull_request: - types: [opened, synchronize] + pull_request: + types: [opened, synchronize] # Paths can be used to only trigger actions when you have edited checklist files - branches: - - 'main' + branches: + - "main" permissions: contents: read @@ -22,7 +22,7 @@ jobs: with: comment: "true" json_schema_version: "draft-2020-12" - + schema-tests: runs-on: ubuntu-latest steps: @@ -32,7 +32,7 @@ jobs: uses: sourcemeta/jsonschema@v11.1.1 - name: Run generic schema unit tests - run: jsonschema test tests/gov-schema.json --resolve schemas/schema-2.0.0.json - + run: jsonschema test tests/gov-schema.json --resolve schemas/schema-0.1.0.json + - name: Run CMS schema unit tests - run: jsonschema test tests/cms-schema.json --resolve schemas/cms/schema-2.1.0.json \ No newline at end of file + run: jsonschema test tests/cms-schema.json --resolve schemas/cms/schema-2.2.0.json diff --git a/schemas/schema-1.0.0.json b/schemas/cms/gov-schema-1.0.0.json similarity index 100% rename from schemas/schema-1.0.0.json rename to schemas/cms/gov-schema-1.0.0.json diff --git a/schemas/schema-2.0.0.json b/schemas/cms/gov-schema-2.0.0.json similarity index 100% rename from schemas/schema-2.0.0.json rename to schemas/cms/gov-schema-2.0.0.json diff --git a/schemas/cms/schema-2.2.0.json b/schemas/cms/schema-2.2.0.json new file mode 100644 index 0000000..38d09a8 --- /dev/null +++ b/schemas/cms/schema-2.2.0.json @@ -0,0 +1,528 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://dsacms.github.io/code-json-schema.json", + "title": "CMS code.json metadata", + "description": "A metadata standard for software repositories of CMS", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the project or software" + }, + "identifier": { + "type": "string", + "description": "Persistent unique ID; tracks assets across renames/migrations" + }, + "version": { + "type": "string", + "description": "The version for this release. For example, '1.0.0'." + }, + "description": { + "type": "string", + "description": "A one or two sentence description of the software." + }, + "longDescription": { + "type": "string", + "description": "Provide longer description of the software, between 150 and 10000 chars. It is meant to provide an overview of the capabilities of the software for a potential user.", + "minLength": 150, + "maxLength": 10000 + }, + "organization": { + "type": "string", + "description": "The organization or component within the agency to which the releases listed belong.", + "enum": [ + "Centers for Medicare & Medicaid Services" + ] + }, + "status": { + "type": "string", + "enum": [ + "Ideation", + "Development", + "Alpha", + "Beta", + "Release Candidate", + "Production", + "Archival" + ], + "description": "Development status of the project" + }, + "permissions": { + "type": "object", + "description": "An object containing description of the usage/restrictions regarding the release", + "properties": { + "licenses": { + "type": "array", + "description": "License(s) for the release", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "CC0-1.0", + "Apache-2.0", + "MIT", + "MPL-2.0", + "GPL-2.0-only", + "GPL-3.0-only", + "GPL-3.0-or-later", + "LGPL-2.1-only", + "LGPL-3.0-only", + "BSD-2-Clause", + "BSD-3-Clause", + "EPL-2.0", + "Other", + "None" + ], + "description": "An abbreviation for the name of the license" + }, + "URL": { + "type": "string", + "format": "uri", + "description": "The URL of the release license in the repository" + } + }, + "required": [ + "name", + "URL" + ], + "additionalProperties": false + } + }, + "usageType": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "openSource", + "governmentWideReuse", + "exemptByNationalSecurity", + "exemptByNationalIntelligence", + "exemptByFOIA", + "exemptByEAR", + "exemptByITAR", + "exemptByTSA", + "exemptByClassifiedInformation", + "exemptByPrivacyRisk", + "exemptByDisposableCode", + "exemptByExperimentalCode", + "exemptByCommercialSoftware" + ] + }, + "description": "A list of enumerated values which describes the usage permissions for the release: (1) openSource: Open source; (2) governmentWideReuse: Government-wide reuse; (3) exemptByNationalSecurity: The source code is primarily for use in national security system as defined in section 11103 of title 40, USC; (4) exemptByNationalIntelligence: The source code is developed by an agency or part of an agency that is an element of the intelligence community, as defined in section 3(4) of the National Security Act of 1947; (5) exemptByFOIA: The source code is exempt under the Freedom of Information Act; (6) exemptByEAR: The source code is exempt under the Export Administration Regulations; (7) exemptByITAR: The source code is exempt under the the International Traffic in Arms Regulations; (8) exemptByTSA: The source code is exempt under the regulations of the Transportation Security Administration relating to the protection of Sensitive Security Information; (9) exemptByClassifiedInformation: The source code is exempt under the Federal laws and regulations governing the sharing of classified information not covered by exemptByNationalSecurity, exemptByNationalIntelligence, exemptbyFOIA, exemptByEAR, exemptByITAR, and exemptByTSA; (10) exemptByPrivacyRisk: The sharing or public accessibility of the source code would create an identifiable risk to the privacy of an individual; (11) exemptByDisposableCode: The source code is disposable in nature, meaning it was written for a one-time or short-term purpose and is not intended to be reused or maintained (e.g., a throwaway script or one-off utility); (12) exemptByExperimentalCode: The source code is solely exploratory in nature, including source code written by a developer experimenting with a new language or library, and is not intended for production or public reuse; (13) exemptByCommercialSoftware: The source code is commercial computer software, commercial off-the-shelf (COTS) software, or configuration scripts for such software" + }, + "exemptionText": { + "type": [ + "string", + "null" + ], + "description": "If an exemption is listed in the 'usageType' field, this field should include a one- or two- sentence justification for the exemption used." + } + }, + "additionalProperties": false, + "required": [ + "licenses", + "usageType" + ] + }, + "reuseFrequency": { + "type": "object", + "description": "Measures frequency of code reuse in various forms. (e.g. forks, downloads, clones)", + "properties": { + "forks": { + "type": "integer", + "minimum": 0 + }, + "clones": { + "type": "integer", + "minimum": 0 + }, + "downloads": { + "type": "integer", + "minimum": 0 + } + }, + "additionalProperties": true + }, + "repositoryURL": { + "type": "string", + "format": "uri", + "description": "The URL of the public release repository for open source repositories. This field is not required for repositories that are only available as government-wide reuse or are closed (pursuant to one of the exemptions). It can be listed as 'private' for repositories that are closed." + }, + "repositoryHost": { + "type": "string", + "description": "Location where source code is hosted", + "enum": [ + "github.com/CMSgov", + "github.com/CMS-Enterprise", + "github.com/Enterprise-CMCS", + "github.com/DSACMS", + "github.com/MeasureAuthoringTool", + "github.cms.gov", + "CCSQ GitHub" + ] + }, + "repositoryVisibility": { + "type": "string", + "enum": [ + "public", + "private" + ], + "description": "Visibility of repository" + }, + "homepageURL": { + "type": "string", + "format": "uri", + "description": "The URL of the public release homepage." + }, + "downloadURL": { + "type": "string", + "format": "uri", + "description": "The URL where a distribution of the release can be found." + }, + "disclaimerURL": { + "type": "string", + "format": "uri", + "description": "The URL where disclaimer language regarding the release can be found." + }, + "disclaimerText": { + "type": "string", + "description": "Short paragraph that includes disclaimer language to accompany the release." + }, + "vcs": { + "type": "string", + "description": "Version control system used", + "enum": [ + "git", + "hg", + "svn", + "rcs", + "bzr", + "none" + ] + }, + "laborHours": { + "type": "number", + "minimum": 0, + "description": "Labor hours invested in the project. Calculated using COCOMO measured by the SCC tool: https://github.com/boyter/scc?tab=readme-ov-file#cocomo" + }, + "platforms": { + "type": "array", + "description": "Platforms supported by the project", + "items": { + "type": "string", + "enum": [ + "web", + "windows", + "mac", + "linux", + "ios", + "android", + "other" + ] + }, + "uniqueItems": true + }, + "categories": { + "type": "array", + "description": "Categories the project belongs to. Select from: https://yml.publiccode.tools/categories-list.html", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "softwareType": { + "type": "string", + "description": "Type of software", + "enum": [ + "standalone/mobile", + "standalone/iot", + "standalone/desktop", + "standalone/web", + "standalone/backend", + "standalone/other", + "addon", + "library", + "configurationFiles" + ] + }, + "languages": { + "type": "array", + "description": "Programming languages that make up the codebase", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "maintenance": { + "type": "string", + "description": "The dedicated staff that keeps the software up-to-date, if any", + "enum": [ + "internal", + "contract", + "community", + "none" + ] + }, + "contractNumber": { + "type": "array", + "description": "Contract number(s) under which the project was developed", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "SBOM": { + "type": "string", + "description": "Link of the upstream repositories and dependencies used, in the form of a Software Bill of Materials/SBOM. If the software does not have a SBOM, enter 'None'. (i.e. Github provides an SBOM: https://github.com/$ORG_NAME/$REPO_NAME/network/dependencies)" + }, + "relatedCode": { + "type": "array", + "description": "An array of affiliated government repositories that may be a part of the same project. For example, relatedCode for 'code-gov-front-end' would include 'code-gov-api' and 'code-gov-api-client'.", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the code repository, project, library or release." + }, + "URL": { + "type": "string", + "format": "uri", + "description": "The URL where the code repository, project, library or release can be found." + }, + "isGovernmentRepo": { + "type": "boolean", + "description": "True or False. Is the code repository owned or managed by a federal agency?" + } + }, + "additionalProperties": false + } + }, + "reusedCode": { + "type": "array", + "description": "An array of government source code, libraries, frameworks, APIs, platforms or other software used in this release. For example, US Web Design Standards, cloud.gov, Federalist, Digital Services Playbook, Analytics Reporter.", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the software used in this release." + }, + "URL": { + "type": "string", + "format": "uri", + "description": "The URL where the software can be found." + } + }, + "additionalProperties": false + } + }, + "partners": { + "type": "array", + "description": "An array of objects including an acronym for each agency partnering on the release and the contact email at such agency.", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The acronym describing the partner agency." + }, + "email": { + "type": "string", + "description": "The email address for the point of contact at the partner agency." + } + }, + "additionalProperties": false + } + }, + "date": { + "type": "object", + "description": "A date object describing the release", + "properties": { + "created": { + "type": "string", + "format": "date-time", + "description": "Creation date of project." + }, + "lastModified": { + "type": "string", + "format": "date-time", + "description": "Date when the project was last modified" + }, + "metadataLastUpdated": { + "type": "string", + "format": "date-time", + "description": "Date when metadata was last updated" + } + }, + "additionalProperties": false + }, + "tags": { + "type": "array", + "description": "Topics and keywords associated with the project to improve search and discoverability", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "contact": { + "type": "object", + "description": "Point of contact for the release", + "properties": { + "email": { + "type": "string", + "format": "email", + "description": "Email address of the point of contact" + }, + "name": { + "type": "string", + "description": "Name of the point of contact" + } + }, + "additionalProperties": false + }, + "feedbackMechanism": { + "type": "string", + "format": "uri", + "description": "Method a repository receives feedback from the community (i.e. URL to GitHub repository issues page)" + }, + "AIUseCaseID": { + "type": "string", + "description": "The software's ID in the AI Use Case Inventory. If the software is not currently listed in the inventory, enter '0'." + }, + "localisation": { + "type": "boolean", + "description": "Indicates if the project supports multiple languages" + }, + "repositoryType": { + "type": "string", + "description": "Purpose and functionality of the repository", + "enum": [ + "package", + "website", + "standards", + "libraries", + "data", + "application", + "tools", + "APIs" + ] + }, + "userInput": { + "type": "boolean", + "description": "Does the software accept user input?" + }, + "fismaLevel": { + "type": "string", + "description": "Level of security categorization assigned to an information system under the Federal Information Security Modernization Act (FISMA): https://security.cms.gov/learn/federal-information-security-modernization-act-fisma", + "enum": [ + "low", + "moderate", + "high" + ] + }, + "group": { + "type": "string", + "description": "Home Department / Org / Group associated with the project" + }, + "projects": { + "type": "array", + "description": "Project(s) that is associated or related to the repository, if any (e.g. Bluebutton, MPSM)", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "systems": { + "type": "array", + "description": "CMS systems that the repository interfaces with or depends on, if any (e.g. IDR, PECOS)", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "subsetInHealthcare": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "policy", + "operational", + "medicare", + "medicaid", + "SNAP", + "TANF", + "human-benefit-services" + ] + }, + "description": "Healthcare-related subset", + "uniqueItems": true + }, + "userType": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "providers", + "patients", + "government", + "applicants", + "beneficiaries", + "enrollees" + ] + }, + "description": "Types of users who interact with the software", + "uniqueItems": true + }, + "maturityModelTier": { + "type": "integer", + "enum": [ + 0, + 1, + 2, + 3, + 4 + ], + "description": "Maturity model tier according to the CMS Open Source Repository Maturity Model Framework: https://github.com/DSACMS/repo-scaffolder/blob/main/maturity-model-tiers.md" + } + }, + "required": [ + "name", + "identifier", + "description", + "longDescription", + "organization", + "status", + "permissions", + "reuseFrequency", + "repositoryURL", + "repositoryHost", + "repositoryVisibility", + "vcs", + "laborHours", + "platforms", + "categories", + "softwareType", + "languages", + "maintenance", + "contractNumber", + "SBOM", + "date", + "tags", + "contact", + "feedbackMechanism", + "AIUseCaseID", + "localisation", + "repositoryType", + "userInput", + "fismaLevel", + "group", + "projects", + "subsetInHealthcare", + "userType", + "maturityModelTier" + ], + "additionalProperties": false +} \ No newline at end of file diff --git a/schemas/schema-0.1.0.json b/schemas/schema-0.1.0.json new file mode 100644 index 0000000..20d5771 --- /dev/null +++ b/schemas/schema-0.1.0.json @@ -0,0 +1,349 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://gsa-share-it.github.io/code-json-schema.json", + "title": "code.json metadata", + "description": "A metadata standard for software repositories", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the project or software" + }, + "identifier": { + "type": "string", + "description": "Persistent unique ID; tracks assets across renames/migrations" + }, + "version": { + "type": "string", + "description": "The version for this release. For example, '1.0.0'." + }, + "description": { + "type": "string", + "description": "A one or two sentence description of the software." + }, + "organization": { + "type": "string", + "description": "The organization or component within the agency to which the releases listed belong. For example, '18F' or 'Navy'." + }, + "status": { + "type": "string", + "enum": [ + "Ideation", + "Development", + "Alpha", + "Beta", + "Release Candidate", + "Production", + "Archival" + ], + "description": "Development status of the project" + }, + "permissions": { + "type": "object", + "description": "An object containing description of the usage/restrictions regarding the release", + "properties": { + "licenses": { + "type": "array", + "description": "License(s) for the release", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "enum": [ + "CC0-1.0", + "Apache-2.0", + "MIT", + "MPL-2.0", + "GPL-2.0-only", + "GPL-3.0-only", + "GPL-3.0-or-later", + "LGPL-2.1-only", + "LGPL-3.0-only", + "BSD-2-Clause", + "BSD-3-Clause", + "EPL-2.0", + "Other", + "None" + ], + "description": "An abbreviation for the name of the license" + }, + "URL": { + "type": "string", + "format": "uri", + "description": "The URL of the release license in the repository" + } + }, + "required": [ + "name", + "URL" + ], + "additionalProperties": false + } + }, + "usageType": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "openSource", + "governmentWideReuse", + "exemptByNationalSecurity", + "exemptByNationalIntelligence", + "exemptByFOIA", + "exemptByEAR", + "exemptByITAR", + "exemptByTSA", + "exemptByClassifiedInformation", + "exemptByPrivacyRisk", + "exemptByDisposableCode", + "exemptByExperimentalCode", + "exemptByCommercialSoftware" + ] + }, + "description": "A list of enumerated values which describes the usage permissions for the release: (1) openSource: Open source; (2) governmentWideReuse: Government-wide reuse; (3) exemptByNationalSecurity: The source code is primarily for use in national security system as defined in section 11103 of title 40, USC; (4) exemptByNationalIntelligence: The source code is developed by an agency or part of an agency that is an element of the intelligence community, as defined in section 3(4) of the National Security Act of 1947; (5) exemptByFOIA: The source code is exempt under the Freedom of Information Act; (6) exemptByEAR: The source code is exempt under the Export Administration Regulations; (7) exemptByITAR: The source code is exempt under the the International Traffic in Arms Regulations; (8) exemptByTSA: The source code is exempt under the regulations of the Transportation Security Administration relating to the protection of Sensitive Security Information; (9) exemptByClassifiedInformation: The source code is exempt under the Federal laws and regulations governing the sharing of classified information not covered by exemptByNationalSecurity, exemptByNationalIntelligence, exemptbyFOIA, exemptByEAR, exemptByITAR, and exemptByTSA; (10) exemptByPrivacyRisk: The sharing or public accessibility of the source code would create an identifiable risk to the privacy of an individual; (11) exemptByDisposableCode: The source code is disposable in nature, meaning it was written for a one-time or short-term purpose and is not intended to be reused or maintained; (12) exemptByExperimentalCode: The source code is solely exploratory in nature, including source code written by a developer experimenting with a new language or library, and is not intended for production or public reuse; (13) exemptByCommercialSoftware: The source code is commercial computer software, commercial off-the-shelf (COTS) software, or configuration scripts for such software" + }, + "exemptionText": { + "type": [ + "string", + "null" + ], + "description": "If an exemption is listed in the 'usageType' field, this field should include a one- or two- sentence justification for the exemption used." + } + }, + "additionalProperties": false, + "required": [ + "licenses", + "usageType" + ] + }, + "reuseFrequency": { + "type": "object", + "description": "Measures frequency of code reuse in various forms. (e.g. forks, downloads, clones)", + "properties": { + "forks": { + "type": "integer", + "minimum": 0 + }, + "clones": { + "type": "integer", + "minimum": 0 + }, + "downloads": { + "type": "integer", + "minimum": 0 + } + }, + "additionalProperties": true + }, + "repositoryURL": { + "type": "string", + "format": "uri", + "description": "The URL of the public release repository for open source repositories. This field is not required for repositories that are only available as government-wide reuse or are closed (pursuant to one of the exemptions). It can be listed as 'private' for repositories that are closed." + }, + "repositoryVisibility": { + "type": "string", + "enum": [ + "public", + "private" + ], + "description": "Visibility of repository" + }, + "homepageURL": { + "type": "string", + "format": "uri", + "description": "The URL of the public release homepage." + }, + "downloadURL": { + "type": "string", + "format": "uri", + "description": "The URL where a distribution of the release can be found." + }, + "disclaimerURL": { + "type": "string", + "format": "uri", + "description": "The URL where disclaimer language regarding the release can be found." + }, + "disclaimerText": { + "type": "string", + "description": "Short paragraph that includes disclaimer language to accompany the release." + }, + "vcs": { + "type": "string", + "description": "Version control system used", + "enum": [ + "git", + "hg", + "svn", + "rcs", + "bzr", + "none" + ] + }, + "laborHours": { + "type": "number", + "minimum": 0, + "description": "Labor hours invested in the project. Calculated using COCOMO measured by the SCC tool: https://github.com/boyter/scc?tab=readme-ov-file#cocomo" + }, + "languages": { + "type": "array", + "description": "Programming languages that make up the codebase", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "maintenance": { + "type": "string", + "description": "The dedicated staff that keeps the software up-to-date, if any", + "enum": [ + "internal", + "contract", + "community", + "none" + ] + }, + "contractNumber": { + "type": "array", + "description": "Contract number(s) under which the project was developed", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "SBOM": { + "type": "string", + "description": "Link of the upstream repositories and dependencies used, in the form of a Software Bill of Materials/SBOM. If the software does not have a SBOM, enter 'None'. (i.e. Github provides an SBOM: https://github.com/$ORG_NAME/$REPO_NAME/network/dependencies)" + }, + "relatedCode": { + "type": "array", + "description": "An array of affiliated government repositories that may be a part of the same project. For example, relatedCode for 'code-gov-front-end' would include 'code-gov-api' and 'code-gov-api-client'.", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the code repository, project, library or release." + }, + "URL": { + "type": "string", + "format": "uri", + "description": "The URL where the code repository, project, library or release can be found." + }, + "isGovernmentRepo": { + "type": "boolean", + "description": "True or False. Is the code repository owned or managed by a federal agency?" + } + }, + "additionalProperties": false + } + }, + "reusedCode": { + "type": "array", + "description": "An array of government source code, libraries, frameworks, APIs, platforms or other software used in this release. For example, US Web Design Standards, cloud.gov, Federalist, Digital Services Playbook, Analytics Reporter.", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the software used in this release." + }, + "URL": { + "type": "string", + "format": "uri", + "description": "The URL where the software can be found." + } + }, + "additionalProperties": false + } + }, + "partners": { + "type": "array", + "description": "An array of objects including an acronym for each agency partnering on the release and the contact email at such agency.", + "items": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The acronym describing the partner agency." + }, + "email": { + "type": "string", + "description": "The email address for the point of contact at the partner agency." + } + }, + "additionalProperties": false + } + }, + "date": { + "type": "object", + "description": "A date object describing the release", + "properties": { + "created": { + "type": "string", + "format": "date-time", + "description": "Creation date of project." + }, + "lastModified": { + "type": "string", + "format": "date-time", + "description": "Date when the project was last modified" + }, + "metadataLastUpdated": { + "type": "string", + "format": "date-time", + "description": "Date when metadata was last updated" + } + }, + "additionalProperties": false + }, + "tags": { + "type": "array", + "description": "Topics and keywords associated with the project to improve search and discoverability", + "items": { + "type": "string" + }, + "uniqueItems": true + }, + "contact": { + "type": "object", + "description": "Point of contact for the release", + "properties": { + "email": { + "type": "string", + "format": "email", + "description": "Email address of the point of contact" + }, + "name": { + "type": "string", + "description": "Name of the point of contact" + } + }, + "additionalProperties": false + }, + "feedbackMechanism": { + "type": "string", + "format": "uri", + "description": "Method a repository receives feedback from the community (i.e. URL to GitHub repository issues page)" + }, + "AIUseCaseID": { + "type": "string", + "description": "The software's ID in the AI Use Case Inventory. If the software is not currently listed in the inventory, enter '0'." + } + }, + "required": [ + "name", + "identifier", + "organization", + "status", + "permissions", + "reuseFrequency", + "repositoryURL", + "repositoryVisibility", + "maintenance", + "contractNumber", + "contact", + "feedbackMechanism" + ], + "additionalProperties": true +} \ No newline at end of file diff --git a/tests/cms-schema.json b/tests/cms-schema.json index 3a352cf..5325bb8 100644 --- a/tests/cms-schema.json +++ b/tests/cms-schema.json @@ -1,5 +1,5 @@ { - "target": "../schemas/cms/schema-2.1.0.json", + "target": "../schemas/cms/schema-2.2.0.json", "$comment": "This test suite validates code.json files for compliance with the CMS schema requirements.", "tests": [ { diff --git a/tests/examples/codejson-example-dedupliFHIR.json b/tests/examples/codejson-example-dedupliFHIR.json index 3b3a7e5..d95fbd9 100644 --- a/tests/examples/codejson-example-dedupliFHIR.json +++ b/tests/examples/codejson-example-dedupliFHIR.json @@ -1,5 +1,6 @@ { "name": "dedupliFHIR", + "identifier": "dedupliFHIR", "description": "Prototype for basic deduplication and aggregation of eCQM data", "longDescription": "A CLI bundled with an Electron.js front-end that provides data-linkage and AI deduplication for reported Accountable Care Organization (ACO) data at scale.", "status": "Production", diff --git a/tests/examples/codejson-example-metrics.json b/tests/examples/codejson-example-metrics.json index bebfda7..8071e88 100644 --- a/tests/examples/codejson-example-metrics.json +++ b/tests/examples/codejson-example-metrics.json @@ -1,5 +1,6 @@ { "name": "metrics", + "identifier": "metrics", "description": "CMS Open Source Repository Metrics Website", "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.", "status": "Production", diff --git a/tests/gov-schema.json b/tests/gov-schema.json index 9fc981c..2c56c31 100644 --- a/tests/gov-schema.json +++ b/tests/gov-schema.json @@ -1,5 +1,5 @@ { - "target": "../schemas/schema-2.0.0.json", + "target": "../schemas/schema-0.1.0.json", "$comment": "This test suite validates CMS code.json files for compliance with the generic schema, ensuring alignment with federal government metadata standards.", "tests": [ {