Skip to content

Commit

Permalink
Merge branch 'main' into sanitize-adr-inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
jpgough-ms authored Feb 27, 2025
2 parents 1d08997 + 3a166cf commit b321452
Show file tree
Hide file tree
Showing 15 changed files with 1,173 additions and 11 deletions.
2 changes: 1 addition & 1 deletion calm/draft/2025-01/meta/core.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,4 @@
}
}
}
}
}
21 changes: 21 additions & 0 deletions calm/draft/2025-03/meta/calm.json
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"}
]
}
33 changes: 33 additions & 0 deletions calm/draft/2025-03/meta/control-requirement.json
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."
}
]
}
48 changes: 48 additions & 0 deletions calm/draft/2025-03/meta/control.json
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"
]
}
}
}
}
}
Loading

0 comments on commit b321452

Please sign in to comment.