File size: 1,583 Bytes
6f2b0b0
 
 
 
c1239e9
 
 
 
 
 
 
 
 
 
 
 
6f2b0b0
c1239e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6f2b0b0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "config": {
      "enum": [
        "rag",
        "build_buy",
        "framework",
        "architecture"
      ]
    },
    "decision_job": {
      "const": "PATH_SELECTION"
    },
    "limitations": {
      "items": {
        "minLength": 1,
        "type": "string"
      },
      "minItems": 1,
      "type": "array"
    },
    "payload_json": {
      "minLength": 1,
      "type": "string"
    },
    "record_id": {
      "minLength": 1,
      "type": "string"
    },
    "record_type": {
      "minLength": 1,
      "type": "string"
    },
    "review_status": {
      "const": "NOT_REVIEWED"
    },
    "snapshot_at": {
      "minLength": 1,
      "type": "string"
    },
    "source_commit_sha": {
      "pattern": "^[a-f0-9]{40}$",
      "type": [
        "string",
        "null"
      ]
    },
    "source_data_hash": {
      "pattern": "^sha256:[a-f0-9]{64}$",
      "type": "string"
    },
    "source_url": {
      "pattern": "^https://",
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "const": "DRAFT"
    },
    "verified_at": {
      "type": "null"
    }
  },
  "required": [
    "record_id",
    "config",
    "record_type",
    "decision_job",
    "payload_json",
    "limitations",
    "source_commit_sha",
    "source_url",
    "source_data_hash",
    "review_status",
    "status",
    "verified_at",
    "snapshot_at"
  ],
  "title": "decision-rules candidate 2.0.0-candidate.1",
  "type": "object"
}