Skip to content

Commit fc0d496

Browse files
Merge branch 'main' into viz-patterns
2 parents 4b48736 + 36f228b commit fc0d496

File tree

11 files changed

+883
-0
lines changed

11 files changed

+883
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"$id": "https://calm.finos.org/draft/2183/meta/calm-timeline.json",
4+
"$vocabulary": {
5+
"https://json-schema.org/draft/2020-12/vocab/core": true,
6+
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
7+
"https://json-schema.org/draft/2020-12/vocab/validation": true,
8+
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
9+
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
10+
"https://json-schema.org/draft/2020-12/vocab/content": true,
11+
"https://calm.finos.org/draft/2183/meta/core.json": true
12+
},
13+
"$dynamicAnchor": "meta",
14+
"title": "Common Architecture Language Model (CALM) Timelines Schema",
15+
"allOf": [
16+
{
17+
"$ref": "https://json-schema.org/draft/2020-12/schema"
18+
},
19+
{
20+
"$ref": "https://calm.finos.org/draft/2183/meta/timeline.json"
21+
}
22+
]
23+
}

calm/draft/2183/meta/calm.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"$id": "https://calm.finos.org/draft/2183/meta/calm.json",
4+
"$vocabulary": {
5+
"https://json-schema.org/draft/2020-12/vocab/core": true,
6+
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
7+
"https://json-schema.org/draft/2020-12/vocab/validation": true,
8+
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
9+
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
10+
"https://json-schema.org/draft/2020-12/vocab/content": true,
11+
"https://calm.finos.org/draft/2183/meta/core.json": true
12+
},
13+
"$dynamicAnchor": "meta",
14+
"title": "Common Architecture Language Model (CALM) Schema",
15+
"allOf": [
16+
{
17+
"$ref": "https://json-schema.org/draft/2020-12/schema"
18+
},
19+
{
20+
"$ref": "https://calm.finos.org/draft/2183/meta/core.json"
21+
}
22+
]
23+
}
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/2183/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/draft/2183/meta/control.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"$id": "https://calm.finos.org/draft/2183/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": [
29+
"config-url"
30+
]
31+
},
32+
{
33+
"required": [
34+
"config"
35+
]
36+
}
37+
]
38+
},
39+
"controls": {
40+
"type": "object",
41+
"patternProperties": {
42+
"^[a-zA-Z0-9-]+$": {
43+
"type": "object",
44+
"properties": {
45+
"description": {
46+
"type": "string",
47+
"description": "A description of a control and how it applies to a given architecture"
48+
},
49+
"requirements": {
50+
"type": "array",
51+
"items": {
52+
"$ref": "#/defs/control-detail"
53+
}
54+
}
55+
},
56+
"required": [
57+
"description",
58+
"requirements"
59+
]
60+
}
61+
}
62+
}
63+
}
64+
}

0 commit comments

Comments
 (0)