Skip to content

Commit 8cb84bc

Browse files
refactor(calm): Reinstated calm/drafts/2025-03 as requested
1 parent 5999a13 commit 8cb84bc

File tree

52 files changed

+4610
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+4610
-0
lines changed

calm/draft/2025-03/meta/calm.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"$id": "https://calm.finos.org/draft/2025-03/meta/calm.json",
4+
5+
"$vocabulary": {
6+
"https://json-schema.org/draft/2020-12/vocab/core": true,
7+
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
8+
"https://json-schema.org/draft/2020-12/vocab/validation": true,
9+
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
10+
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
11+
"https://json-schema.org/draft/2020-12/vocab/content": true,
12+
"https://calm.finos.org/draft/2025-03/meta/core.json": true
13+
},
14+
"$dynamicAnchor": "meta",
15+
16+
"title": "Common Architecture Language Model (CALM) Schema",
17+
"allOf": [
18+
{"$ref": "https://json-schema.org/draft/2020-12/schema"},
19+
{"$ref": "https://calm.finos.org/draft/2025-03/meta/core.json"}
20+
]
21+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"$id": "https://calm.finos.org/draft/2025-03/meta/control-requirement.json",
4+
"title": "Common Architecture Language Model Control Requirement",
5+
"description": "Schema for defining control requirements within the Common Architecture Language Model.",
6+
"type": "object",
7+
"properties": {
8+
"control-id": {
9+
"type": "string",
10+
"description": "The unique identifier of this control, which has the potential to be used for linking evidence"
11+
},
12+
"name": {
13+
"type": "string",
14+
"description": "The name of the control requirement that provides contextual meaning within a given domain"
15+
},
16+
"description": {
17+
"type": "string",
18+
"description": "A more detailed description of the control and information on what a developer needs to consider"
19+
}
20+
},
21+
"required": [
22+
"control-id",
23+
"name",
24+
"description"
25+
],
26+
"examples": [
27+
{
28+
"control-id": "CR-001",
29+
"name": "Access Control",
30+
"description": "Ensure that access to sensitive information is restricted."
31+
}
32+
]
33+
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"$id": "https://calm.finos.org/draft/2025-03/meta/control.json",
4+
"title": "Common Architecture Language Model Controls",
5+
"description": "Controls model requirements for domains. For example, a security domain contains a series of control requirements",
6+
"defs": {
7+
"control-detail": {
8+
"type": "object",
9+
"properties": {
10+
"control-requirement-url": {
11+
"type": "string",
12+
"description": "The requirement schema that specifies how a control should be defined"
13+
},
14+
"control-config-url": {
15+
"type": "string",
16+
"description": "The configuration of how the control requirement schema is met"
17+
}
18+
},
19+
"required": [
20+
"control-requirement-url"
21+
]
22+
},
23+
"controls": {
24+
"type": "object",
25+
"patternProperties": {
26+
"^[a-zA-Z0-9-]+$": {
27+
"type": "object",
28+
"properties": {
29+
"description": {
30+
"type": "string",
31+
"description": "A description of a control and how it applies to a given architecture"
32+
},
33+
"requirements": {
34+
"type": "array",
35+
"items": {
36+
"$ref": "#/defs/control-detail"
37+
}
38+
}
39+
},
40+
"required": [
41+
"description",
42+
"requirements"
43+
]
44+
}
45+
}
46+
}
47+
}
48+
}

0 commit comments

Comments
 (0)