@millstone/synapse-schemas 0.4.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "adr.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "90_Architecture/ADRs",
6
+ "displayLabel": "ADR",
7
+ "cmsCollection": "adrs"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,5 +1,10 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "x-synapse": {
4
+ "folder": "120_Legal/agreements",
5
+ "displayLabel": "Agreement",
6
+ "cmsCollection": "agreements"
7
+ },
3
8
  "title": "Independent Contractor Agreement",
4
9
  "type": "object",
5
10
  "required": [
@@ -9,21 +9,7 @@
9
9
  },
10
10
  "type": {
11
11
  "type": "string",
12
- "enum": [
13
- "policy",
14
- "standard",
15
- "process",
16
- "sop",
17
- "runbook",
18
- "system",
19
- "adr",
20
- "prd",
21
- "capability",
22
- "tdd",
23
- "meeting",
24
- "scorecard",
25
- "reference"
26
- ]
12
+ "minLength": 1
27
13
  },
28
14
  "title": {
29
15
  "type": "string",
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "capability.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "110_Capabilities",
6
+ "displayLabel": "Capability",
7
+ "cmsCollection": "capabilities"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "meeting.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "60_Meetings",
6
+ "displayLabel": "Meeting",
7
+ "cmsCollection": "meetings"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "policy.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "10_Policies",
6
+ "displayLabel": "Policy",
7
+ "cmsCollection": "policies"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "prd.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "100_Products/PRDs",
6
+ "displayLabel": "PRD",
7
+ "cmsCollection": "prds"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "process.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "30_Processes",
6
+ "displayLabel": "Process",
7
+ "cmsCollection": "processes"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "reference.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "200_References",
6
+ "displayLabel": "Reference",
7
+ "cmsCollection": "references"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "runbook.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "50_Runbooks",
6
+ "displayLabel": "Runbook",
7
+ "cmsCollection": "runbooks"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "scorecard.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "80_Scorecards",
6
+ "displayLabel": "Scorecard",
7
+ "cmsCollection": "scorecards"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "sop.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "40_SOPs",
6
+ "displayLabel": "SOP",
7
+ "cmsCollection": "sops"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "sow.schema.json",
4
+ "x-synapse": {
5
+ "folder": "120_Legal/SOWs",
6
+ "displayLabel": "SOW",
7
+ "cmsCollection": "sows"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "standard.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "20_Standards",
6
+ "displayLabel": "Standard",
7
+ "cmsCollection": "standards"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "system.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "70_Systems",
6
+ "displayLabel": "System",
7
+ "cmsCollection": "systems"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "$id": "tdd.schema.json",
3
3
  "$schema": "https://json-schema.org/draft/2020-12/schema",
4
+ "x-synapse": {
5
+ "folder": "90_Architecture/TDDs",
6
+ "displayLabel": "TDD",
7
+ "cmsCollection": "tdds"
8
+ },
4
9
  "allOf": [
5
10
  {
6
11
  "$ref": "base.schema.json"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@millstone/synapse-schemas",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "JSON Schema definitions for Synapse documentation framework",
5
5
  "type": "module",
6
6
  "main": "index.js",