Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions calm/release/1.1/meta/decorators.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://calm.finos.org/release/1.1/meta/decorators.json",
"title": "Common Architecture Language Model Decorators",
"description": "Decorators attach supplementary information to multiple nodes and relationships simultaneously, enabling cross-cutting concerns like guides, threat models, business context, and deployment information",
"defs": {
"decorator": {
"type": "object",
"properties": {
"unique-id": {
"type": "string",
"description": "Unique identifier for this decorator"
},
"type": {
"anyOf": [
{
"enum": [
"guide",
"business",
"threat-model",
"security",
"deployment",
"operational",
"observability"
]
},
{
"type": "string"
}
],
"description": "Type of decorator - predefined types or custom string"
},
"applies-to": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"description": "Array of unique-ids referencing nodes, relationships, flows, or other architecture elements"
},
"data": {
"type": "object",
"description": "Free-form JSON object containing the decorator's data"
}
},
"required": [
"unique-id",
"type",
"applies-to",
"data"
],
"additionalProperties": false
},
"decorators": {
"type": "array",
"items": {
"$ref": "#/defs/decorator"
}
}
}
}
Loading