From ab34df799b8c3a35d175d79010d23957a4c01786 Mon Sep 17 00:00:00 2001 From: Jim Gough Date: Tue, 3 Sep 2024 14:55:58 +0100 Subject: [PATCH] Create a resiliency domain, README to coordinate contributions, and a core schema for shared types in #349 --- domains/resiliency/README.md | 1 + .../resiliency/schemas/resiliency-core.json | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 domains/resiliency/README.md create mode 100644 domains/resiliency/schemas/resiliency-core.json diff --git a/domains/resiliency/README.md b/domains/resiliency/README.md new file mode 100644 index 00000000..7a327813 --- /dev/null +++ b/domains/resiliency/README.md @@ -0,0 +1 @@ +# Resiliency Domain \ No newline at end of file diff --git a/domains/resiliency/schemas/resiliency-core.json b/domains/resiliency/schemas/resiliency-core.json new file mode 100644 index 00000000..b9bf3e84 --- /dev/null +++ b/domains/resiliency/schemas/resiliency-core.json @@ -0,0 +1,42 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/domains/resiliency/schemas/resiliency-core.json", + "title": "Core definitions for use in the resiliency domain", + "defs": { + "resiliency-requirement-type": { + "enum" : [ + "Policy", + "Business", + "Implementation" + ] + }, + "criticality-rating": { + "enum": [ + "tier1", + "tier2", + "tier3" + ] + }, + "application-mode": { + "enum": [ + "mandatory", + "optional" + ] + }, + "criticality-definition": { + "type": "object", + "properties" : { + "application-mode": { + "$ref": "#/defs/application-mode" + }, + "criticality-rating": { + "$ref": "#/defs/criticality-rating" + } + }, + "required": [ + "application-mode", + "criticality-rating" + ] + } + } +} \ No newline at end of file