forked from finos/architecture-as-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sanitize-adr-inputs
- Loading branch information
Showing
15 changed files
with
1,173 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -275,4 +275,4 @@ | |
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://calm.finos.org/draft/2025-03/meta/calm.json", | ||
|
||
"$vocabulary": { | ||
"https://json-schema.org/draft/2020-12/vocab/core": true, | ||
"https://json-schema.org/draft/2020-12/vocab/applicator": true, | ||
"https://json-schema.org/draft/2020-12/vocab/validation": true, | ||
"https://json-schema.org/draft/2020-12/vocab/meta-data": true, | ||
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true, | ||
"https://json-schema.org/draft/2020-12/vocab/content": true, | ||
"https://calm.finos.org/draft/2025-03/meta/core.json": true | ||
}, | ||
"$dynamicAnchor": "meta", | ||
|
||
"title": "Common Architecture Language Model (CALM) Schema", | ||
"allOf": [ | ||
{"$ref": "https://json-schema.org/draft/2020-12/schema"}, | ||
{"$ref": "https://calm.finos.org/draft/2025-03/meta/core.json"} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://calm.finos.org/draft/2025-03/meta/control-requirement.json", | ||
"title": "Common Architecture Language Model Control Requirement", | ||
"description": "Schema for defining control requirements within the Common Architecture Language Model.", | ||
"type": "object", | ||
"properties": { | ||
"control-id": { | ||
"type": "string", | ||
"description": "The unique identifier of this control, which has the potential to be used for linking evidence" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "The name of the control requirement that provides contextual meaning within a given domain" | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "A more detailed description of the control and information on what a developer needs to consider" | ||
} | ||
}, | ||
"required": [ | ||
"control-id", | ||
"name", | ||
"description" | ||
], | ||
"examples": [ | ||
{ | ||
"control-id": "CR-001", | ||
"name": "Access Control", | ||
"description": "Ensure that access to sensitive information is restricted." | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://calm.finos.org/draft/2025-03/meta/control.json", | ||
"title": "Common Architecture Language Model Controls", | ||
"description": "Controls model requirements for domains. For example, a security domain contains a series of control requirements", | ||
"defs": { | ||
"control-detail": { | ||
"type": "object", | ||
"properties": { | ||
"control-requirement-url": { | ||
"type": "string", | ||
"description": "The requirement schema that specifies how a control should be defined" | ||
}, | ||
"control-config-url": { | ||
"type": "string", | ||
"description": "The configuration of how the control requirement schema is met" | ||
} | ||
}, | ||
"required": [ | ||
"control-requirement-url" | ||
] | ||
}, | ||
"controls": { | ||
"type": "object", | ||
"patternProperties": { | ||
"^[a-zA-Z0-9-]+$": { | ||
"type": "object", | ||
"properties": { | ||
"description": { | ||
"type": "string", | ||
"description": "A description of a control and how it applies to a given architecture" | ||
}, | ||
"requirements": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/defs/control-detail" | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"description", | ||
"requirements" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.