Skip to content

Commit 7a10589

Browse files
feat(calm): Add CALM Schema v1.1 baseline
1 parent d18ee0a commit 7a10589

File tree

9 files changed

+723
-0
lines changed

9 files changed

+723
-0
lines changed

calm/release/1.1/RELEASE_NOTES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# CALM Schema v1.1 Release Notes
2+
3+
## Change Log
4+
### 2025-11-17
5+
Initial creation of release-1.1 schema to manage proposed changes, only change is schema reference from 1.0 -> 1.1

calm/release/1.1/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/release/1.1/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/release/1.1/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/release/1.1/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/release/1.1/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+
}

calm/release/1.1/meta/control.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"$id": "https://calm.finos.org/release/1.1/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+
"requirement-url": {
11+
"type": "string",
12+
"description": "The requirement schema that specifies how a control should be defined"
13+
},
14+
"config-url": {
15+
"type": "string",
16+
"description": "The configuration of how the control requirement schema is met"
17+
},
18+
"config": {
19+
"type": "object",
20+
"description": "Inline configuration of how the control requirement schema is met"
21+
}
22+
},
23+
"required": [
24+
"requirement-url"
25+
],
26+
"oneOf": [
27+
{
28+
"required": ["config-url"]
29+
},
30+
{
31+
"required": ["config"]
32+
}
33+
]
34+
},
35+
"controls": {
36+
"type": "object",
37+
"patternProperties": {
38+
"^[a-zA-Z0-9-]+$": {
39+
"type": "object",
40+
"properties": {
41+
"description": {
42+
"type": "string",
43+
"description": "A description of a control and how it applies to a given architecture"
44+
},
45+
"requirements": {
46+
"type": "array",
47+
"items": {
48+
"$ref": "#/defs/control-detail"
49+
}
50+
}
51+
},
52+
"required": [
53+
"description",
54+
"requirements"
55+
]
56+
}
57+
}
58+
}
59+
}
60+
}

0 commit comments

Comments
 (0)