StatPan commited on
Commit
b81d518
·
verified ·
1 Parent(s): 775043b

Publish verified Datapan Registry payload

Browse files
Files changed (35) hide show
  1. RELEASE_NOTES.md +27 -0
  2. examples/diagnostic-envelope/approval-propagating.json +110 -0
  3. examples/diagnostic-envelope/approval-required.json +84 -0
  4. examples/diagnostic-envelope/contract-drift.json +81 -0
  5. examples/diagnostic-envelope/credential-invalid.json +80 -0
  6. examples/diagnostic-envelope/invalid-input.json +81 -0
  7. examples/diagnostic-envelope/provider-outage.json +131 -0
  8. examples/diagnostic-envelope/rate-limited.json +80 -0
  9. examples/diagnostic-envelope/ready.json +75 -0
  10. examples/diagnostic-envelope/semantic-quality.json +106 -0
  11. examples/diagnostic-envelope/stale-data.json +88 -0
  12. examples/diagnostic-envelope/unknown.json +77 -0
  13. manifest.json +140 -19
  14. policy/data-go-kr-diagnostic-evidence-mapping.v1.json +1057 -0
  15. policy/diagnostic-cause-action-vocabulary.v1.json +74 -0
  16. policy/diagnostic-envelope-consumer-contract.v1.json +204 -0
  17. reports/credential-runtime-manual-review-acceptance-packet.json +2 -2
  18. reports/credential-runtime-manual-review-acceptance.json +1 -1
  19. reports/credential-runtime-manual-review-decision.json +5 -5
  20. reports/diagnostic-consumer-compatibility/datapan-cli.v1.json +79 -0
  21. reports/diagnostic-consumer-compatibility/datapan-health.v1.json +81 -0
  22. reports/diagnostic-consumer-compatibility/datapan-web.v1.json +81 -0
  23. reports/diagnostic-publication-readiness.json +172 -0
  24. reports/latest-release-readiness.json +5 -5
  25. reports/latest-release-verification.json +218 -38
  26. reports/registry-impact-plan.json +1 -1
  27. reports/release-assembly-receipt.json +18 -18
  28. reports/release-consumer-compatibility.json +11 -11
  29. reports/release-distribution-footprint.json +3 -3
  30. reports/source-report-inventory.json +3 -3
  31. reports/source-runtime-remediation-map.json +1 -1
  32. schemas/datapan.diagnostic-envelope.v1.schema.json +3606 -0
  33. schemas/datapan.diagnostic-publication-readiness.v1.schema.json +93 -0
  34. schemas/datapan.release-manifest.v1.schema.json +6 -0
  35. schemas/index.json +21 -3
RELEASE_NOTES.md CHANGED
@@ -73,3 +73,30 @@ Unadapted external probe reasons:
73
  datapan catalog release verify --manifest manifest.json --output reports/latest-release-verification.json --json
74
  datapan catalog release readiness --manifest manifest.json --output reports/latest-release-readiness.json --json
75
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  datapan catalog release verify --manifest manifest.json --output reports/latest-release-verification.json --json
74
  datapan catalog release readiness --manifest manifest.json --output reports/latest-release-readiness.json --json
75
  ```
76
+
77
+ ## Diagnostic contract v1 (prepared, not yet published)
78
+
79
+ This release change prepares the stable diagnostic envelope schema, bounded
80
+ cause/action vocabulary, data.go.kr evidence mapping, deterministic examples,
81
+ and compatibility evidence for Datapan CLI, Healthcheck, and Web. Every public
82
+ artifact is bound by `manifest.json`; the schema is additionally bound by
83
+ `schemas/index.json`. `reports/diagnostic-publication-readiness.json` pins the
84
+ accepted candidate binding and #571 merge commit while explicitly denying
85
+ publishing, runtime, live-history, and consumer-deployment authority.
86
+
87
+ Registry owns immutable diagnostic facts, vocabulary, evidence shapes, and
88
+ artifact identity. Consumers own live inference, presentation, user-specific
89
+ state, and mutable history. Unknown cause/action IDs must fall back to
90
+ `unknown` / `gather_more_evidence`; existing v1 identifiers cannot be removed,
91
+ redefined, or extended in place.
92
+
93
+ Tagging, GitHub Release creation, Hugging Face publication, and Web rollout are
94
+ separate post-merge gates. After an explicit publication, operators must run
95
+ anonymous `verify-remote` with the full nonzero payload revision and require
96
+ the exact manifest-bound diagnostic paths and SHA-256 values. Datapan Web may
97
+ adopt the immutable artifacts only after that proof succeeds.
98
+
99
+ The workflow's automatic expected-revision receipt verifies baseline immutable
100
+ distribution integrity but does not supply the checked-in required PATH/SHA-256
101
+ set. It therefore does not replace or satisfy the separate post-public Web
102
+ adoption gate.
examples/diagnostic-envelope/approval-propagating.json ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope.v1",
3
+ "assessed_at": "2026-07-16T00:05:00Z",
4
+ "fixture": {
5
+ "status": "deterministic_example",
6
+ "scenario_id": "approval-propagating",
7
+ "snapshot_at": "2026-07-16T00:05:00Z"
8
+ },
9
+ "subject": {
10
+ "source_id": "data_go_kr",
11
+ "dataset_id": "fixture-dataset-propagating",
12
+ "operation_id": "fixture-operation-propagating",
13
+ "provider_id": "data_go_kr"
14
+ },
15
+ "cause": {
16
+ "code": "approval_propagating",
17
+ "determination": "inferred",
18
+ "layer": "access",
19
+ "explanation_id": "diagnosis.approval_propagating"
20
+ },
21
+ "ownership": {
22
+ "accountable_party": "data_go_kr",
23
+ "support_reference_id": "data-go-kr:approval-sync"
24
+ },
25
+ "actions": {
26
+ "recommended": [
27
+ {
28
+ "action_id": "wait_for_approval_sync",
29
+ "actor": "user",
30
+ "rationale_id": "action.wait_for_approval_sync"
31
+ }
32
+ ],
33
+ "avoid": [
34
+ {
35
+ "action_id": "reissue_credential",
36
+ "actor": "user",
37
+ "rationale_id": "avoid.reissue_restarts_sync"
38
+ }
39
+ ]
40
+ },
41
+ "evidence_refs": [
42
+ {
43
+ "kind": "approval_record",
44
+ "ref_id": "approval:fixture-operation-propagating:pending-sync",
45
+ "authority": "data_go_kr_portal",
46
+ "scope": {
47
+ "level": "operation",
48
+ "subject_ref": "envelope_subject"
49
+ },
50
+ "version": "portal-snapshot-v1",
51
+ "approval": {
52
+ "state": "approved_pending_sync",
53
+ "effective_scope": {
54
+ "level": "operation",
55
+ "subject_ref": "envelope_subject"
56
+ }
57
+ },
58
+ "supports": [
59
+ "cause",
60
+ "scope",
61
+ "determination",
62
+ "ownership",
63
+ "action"
64
+ ],
65
+ "timing": {
66
+ "basis": "relative_to_assessed_at",
67
+ "observed_age_seconds": 60,
68
+ "validity": "current_at_assessment",
69
+ "validity_policy_version": "portal-snapshot-v1",
70
+ "remaining_validity_seconds": 604800
71
+ }
72
+ },
73
+ {
74
+ "kind": "provider_response",
75
+ "ref_id": "provider-response:http-401",
76
+ "authority": "provider",
77
+ "scope": {
78
+ "level": "operation",
79
+ "subject_ref": "envelope_subject"
80
+ },
81
+ "version": "error-taxonomy-v1",
82
+ "response": {
83
+ "http_status": 401,
84
+ "provider_class": "unclassified",
85
+ "policy_version": "error-taxonomy-v1"
86
+ },
87
+ "supports": [
88
+ "cause",
89
+ "determination"
90
+ ],
91
+ "timing": {
92
+ "basis": "relative_to_assessed_at",
93
+ "observed_age_seconds": 0,
94
+ "validity": "current_at_assessment",
95
+ "validity_policy_version": "error-taxonomy-v1",
96
+ "remaining_validity_seconds": 300
97
+ }
98
+ }
99
+ ],
100
+ "redaction": {
101
+ "secret_values_present": false,
102
+ "secret_hashes_present": false,
103
+ "authorization_headers_present": false,
104
+ "credential_bearing_urls_present": false,
105
+ "raw_provider_text_present": false,
106
+ "raw_provider_urls_present": false,
107
+ "response_bodies_present": false,
108
+ "user_identity_present": false
109
+ }
110
+ }
examples/diagnostic-envelope/approval-required.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope.v1",
3
+ "assessed_at": "2026-07-16T00:00:00Z",
4
+ "fixture": {
5
+ "status": "deterministic_example",
6
+ "scenario_id": "approval-required",
7
+ "snapshot_at": "2026-07-16T00:00:00Z"
8
+ },
9
+ "subject": {
10
+ "source_id": "data_go_kr",
11
+ "dataset_id": "fixture-dataset-approval",
12
+ "operation_id": "fixture-operation-approval",
13
+ "provider_id": "data_go_kr"
14
+ },
15
+ "cause": {
16
+ "code": "approval_required",
17
+ "determination": "observed",
18
+ "layer": "access",
19
+ "explanation_id": "diagnosis.approval_required"
20
+ },
21
+ "ownership": {
22
+ "accountable_party": "user",
23
+ "support_reference_id": "data-go-kr:application"
24
+ },
25
+ "actions": {
26
+ "recommended": [
27
+ {
28
+ "action_id": "apply_for_operation",
29
+ "actor": "user",
30
+ "rationale_id": "action.apply_for_operation"
31
+ }
32
+ ],
33
+ "avoid": [
34
+ {
35
+ "action_id": "reissue_credential",
36
+ "actor": "user",
37
+ "rationale_id": "avoid.reissue_does_not_grant_operation"
38
+ }
39
+ ]
40
+ },
41
+ "evidence_refs": [
42
+ {
43
+ "kind": "approval_record",
44
+ "ref_id": "approval:fixture-operation-approval:not-applied",
45
+ "authority": "data_go_kr_portal",
46
+ "scope": {
47
+ "level": "operation",
48
+ "subject_ref": "envelope_subject"
49
+ },
50
+ "version": "portal-snapshot-v1",
51
+ "approval": {
52
+ "state": "not_applied",
53
+ "effective_scope": {
54
+ "level": "operation",
55
+ "subject_ref": "envelope_subject"
56
+ }
57
+ },
58
+ "supports": [
59
+ "cause",
60
+ "scope",
61
+ "determination",
62
+ "ownership",
63
+ "action"
64
+ ],
65
+ "timing": {
66
+ "basis": "relative_to_assessed_at",
67
+ "observed_age_seconds": 0,
68
+ "validity": "current_at_assessment",
69
+ "validity_policy_version": "portal-snapshot-v1",
70
+ "remaining_validity_seconds": 604800
71
+ }
72
+ }
73
+ ],
74
+ "redaction": {
75
+ "secret_values_present": false,
76
+ "secret_hashes_present": false,
77
+ "authorization_headers_present": false,
78
+ "credential_bearing_urls_present": false,
79
+ "raw_provider_text_present": false,
80
+ "raw_provider_urls_present": false,
81
+ "response_bodies_present": false,
82
+ "user_identity_present": false
83
+ }
84
+ }
examples/diagnostic-envelope/contract-drift.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope.v1",
3
+ "assessed_at": "2026-07-16T00:30:00Z",
4
+ "fixture": {
5
+ "status": "deterministic_example",
6
+ "scenario_id": "contract-drift",
7
+ "snapshot_at": "2026-07-16T00:30:00Z"
8
+ },
9
+ "subject": {
10
+ "source_id": "data_go_kr",
11
+ "dataset_id": "fixture-dataset-contract",
12
+ "operation_id": "fixture-operation-contract",
13
+ "provider_id": "data_go_kr"
14
+ },
15
+ "cause": {
16
+ "code": "contract_drift",
17
+ "determination": "inferred",
18
+ "layer": "response_contract",
19
+ "explanation_id": "diagnosis.contract_drift"
20
+ },
21
+ "ownership": {
22
+ "accountable_party": "shared"
23
+ },
24
+ "actions": {
25
+ "recommended": [
26
+ {
27
+ "action_id": "refresh_contract",
28
+ "actor": "datapan_cli",
29
+ "rationale_id": "action.refresh_response_contract"
30
+ }
31
+ ],
32
+ "avoid": [
33
+ {
34
+ "action_id": "reissue_credential",
35
+ "actor": "user",
36
+ "rationale_id": "avoid.contract_drift_not_credential"
37
+ }
38
+ ]
39
+ },
40
+ "evidence_refs": [
41
+ {
42
+ "kind": "response_contract",
43
+ "ref_id": "contract:fixture-operation-contract:shape-mismatch",
44
+ "authority": "consumer_validation",
45
+ "scope": {
46
+ "level": "response",
47
+ "subject_ref": "envelope_subject",
48
+ "detail_id": "fixture-operation-contract"
49
+ },
50
+ "version": "response-contract-v1",
51
+ "contract_assertion": {
52
+ "result": "mismatch",
53
+ "policy_version": "response-contract-v1"
54
+ },
55
+ "supports": [
56
+ "cause",
57
+ "scope",
58
+ "determination",
59
+ "ownership",
60
+ "action"
61
+ ],
62
+ "timing": {
63
+ "basis": "relative_to_assessed_at",
64
+ "observed_age_seconds": 0,
65
+ "validity": "current_at_assessment",
66
+ "validity_policy_version": "response-contract-v1",
67
+ "remaining_validity_seconds": 3600
68
+ }
69
+ }
70
+ ],
71
+ "redaction": {
72
+ "secret_values_present": false,
73
+ "secret_hashes_present": false,
74
+ "authorization_headers_present": false,
75
+ "credential_bearing_urls_present": false,
76
+ "raw_provider_text_present": false,
77
+ "raw_provider_urls_present": false,
78
+ "response_bodies_present": false,
79
+ "user_identity_present": false
80
+ }
81
+ }
examples/diagnostic-envelope/credential-invalid.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope.v1",
3
+ "assessed_at": "2026-07-16T00:10:00Z",
4
+ "fixture": {
5
+ "status": "deterministic_example",
6
+ "scenario_id": "credential-invalid",
7
+ "snapshot_at": "2026-07-16T00:10:00Z"
8
+ },
9
+ "subject": {
10
+ "source_id": "data_go_kr",
11
+ "dataset_id": "fixture-dataset-access-invalid",
12
+ "operation_id": "fixture-operation-access-invalid",
13
+ "provider_id": "data_go_kr"
14
+ },
15
+ "cause": {
16
+ "code": "credential_invalid",
17
+ "determination": "observed",
18
+ "layer": "access",
19
+ "explanation_id": "diagnosis.credential_invalid"
20
+ },
21
+ "ownership": {
22
+ "accountable_party": "user"
23
+ },
24
+ "actions": {
25
+ "recommended": [
26
+ {
27
+ "action_id": "verify_credential_configuration",
28
+ "actor": "user",
29
+ "rationale_id": "action.verify_credential_configuration"
30
+ }
31
+ ],
32
+ "avoid": [
33
+ {
34
+ "action_id": "assume_provider_outage",
35
+ "actor": "user",
36
+ "rationale_id": "avoid.credential_rejection_is_not_outage"
37
+ }
38
+ ]
39
+ },
40
+ "evidence_refs": [
41
+ {
42
+ "kind": "provider_response",
43
+ "ref_id": "provider-response:http-401",
44
+ "authority": "provider",
45
+ "scope": {
46
+ "level": "operation",
47
+ "subject_ref": "envelope_subject"
48
+ },
49
+ "version": "error-taxonomy-v1",
50
+ "response": {
51
+ "http_status": 401,
52
+ "provider_class": "credential_rejected",
53
+ "policy_version": "error-taxonomy-v1"
54
+ },
55
+ "supports": [
56
+ "cause",
57
+ "determination",
58
+ "ownership",
59
+ "action"
60
+ ],
61
+ "timing": {
62
+ "basis": "relative_to_assessed_at",
63
+ "observed_age_seconds": 0,
64
+ "validity": "current_at_assessment",
65
+ "validity_policy_version": "error-taxonomy-v1",
66
+ "remaining_validity_seconds": 300
67
+ }
68
+ }
69
+ ],
70
+ "redaction": {
71
+ "secret_values_present": false,
72
+ "secret_hashes_present": false,
73
+ "authorization_headers_present": false,
74
+ "credential_bearing_urls_present": false,
75
+ "raw_provider_text_present": false,
76
+ "raw_provider_urls_present": false,
77
+ "response_bodies_present": false,
78
+ "user_identity_present": false
79
+ }
80
+ }
examples/diagnostic-envelope/invalid-input.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope.v1",
3
+ "assessed_at": "2026-07-16T00:15:00Z",
4
+ "fixture": {
5
+ "status": "deterministic_example",
6
+ "scenario_id": "invalid-input",
7
+ "snapshot_at": "2026-07-16T00:15:00Z"
8
+ },
9
+ "subject": {
10
+ "source_id": "data_go_kr",
11
+ "dataset_id": "fixture-dataset-input",
12
+ "operation_id": "fixture-operation-input",
13
+ "provider_id": "data_go_kr"
14
+ },
15
+ "cause": {
16
+ "code": "invalid_input",
17
+ "determination": "observed",
18
+ "layer": "request",
19
+ "explanation_id": "diagnosis.invalid_input"
20
+ },
21
+ "ownership": {
22
+ "accountable_party": "user"
23
+ },
24
+ "actions": {
25
+ "recommended": [
26
+ {
27
+ "action_id": "verify_request_parameters",
28
+ "actor": "user",
29
+ "rationale_id": "action.verify_request_parameters"
30
+ }
31
+ ],
32
+ "avoid": [
33
+ {
34
+ "action_id": "assume_provider_outage",
35
+ "actor": "user",
36
+ "rationale_id": "avoid.input_error_is_not_outage"
37
+ }
38
+ ]
39
+ },
40
+ "evidence_refs": [
41
+ {
42
+ "kind": "request_validation",
43
+ "ref_id": "request-validation:missing-required-params",
44
+ "authority": "datapan_cli",
45
+ "scope": {
46
+ "level": "request",
47
+ "subject_ref": "envelope_subject",
48
+ "detail_id": "fixture-request-input"
49
+ },
50
+ "version": "registry-required-params-v1",
51
+ "request_validation": {
52
+ "result": "failed",
53
+ "failure_class": "invalid_input",
54
+ "policy_version": "registry-required-params-v1"
55
+ },
56
+ "supports": [
57
+ "cause",
58
+ "determination",
59
+ "ownership",
60
+ "action"
61
+ ],
62
+ "timing": {
63
+ "basis": "relative_to_assessed_at",
64
+ "observed_age_seconds": 0,
65
+ "validity": "current_at_assessment",
66
+ "validity_policy_version": "registry-required-params-v1",
67
+ "remaining_validity_seconds": 3600
68
+ }
69
+ }
70
+ ],
71
+ "redaction": {
72
+ "secret_values_present": false,
73
+ "secret_hashes_present": false,
74
+ "authorization_headers_present": false,
75
+ "credential_bearing_urls_present": false,
76
+ "raw_provider_text_present": false,
77
+ "raw_provider_urls_present": false,
78
+ "response_bodies_present": false,
79
+ "user_identity_present": false
80
+ }
81
+ }
examples/diagnostic-envelope/provider-outage.json ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope.v1",
3
+ "assessed_at": "2026-07-16T00:25:00Z",
4
+ "fixture": {
5
+ "status": "deterministic_example",
6
+ "scenario_id": "provider-outage",
7
+ "snapshot_at": "2026-07-16T00:25:00Z"
8
+ },
9
+ "subject": {
10
+ "source_id": "data_go_kr",
11
+ "dataset_id": "fixture-dataset-outage",
12
+ "operation_id": "fixture-operation-outage",
13
+ "provider_id": "data_go_kr"
14
+ },
15
+ "cause": {
16
+ "code": "provider_outage",
17
+ "determination": "inferred",
18
+ "layer": "provider",
19
+ "explanation_id": "diagnosis.provider_outage"
20
+ },
21
+ "ownership": {
22
+ "accountable_party": "provider",
23
+ "support_reference_id": "provider:service-operator"
24
+ },
25
+ "actions": {
26
+ "recommended": [
27
+ {
28
+ "action_id": "check_provider_status",
29
+ "actor": "user",
30
+ "rationale_id": "action.check_provider_status"
31
+ }
32
+ ],
33
+ "avoid": [
34
+ {
35
+ "action_id": "reissue_credential",
36
+ "actor": "user",
37
+ "rationale_id": "avoid.outage_not_fixed_by_key"
38
+ }
39
+ ]
40
+ },
41
+ "evidence_refs": [
42
+ {
43
+ "kind": "provider_response",
44
+ "ref_id": "provider-response:http-401",
45
+ "authority": "provider",
46
+ "scope": {
47
+ "level": "operation",
48
+ "subject_ref": "envelope_subject"
49
+ },
50
+ "version": "error-taxonomy-v1",
51
+ "response": {
52
+ "http_status": 401,
53
+ "provider_class": "unclassified",
54
+ "policy_version": "error-taxonomy-v1"
55
+ },
56
+ "supports": [
57
+ "scope"
58
+ ],
59
+ "timing": {
60
+ "basis": "relative_to_assessed_at",
61
+ "observed_age_seconds": 0,
62
+ "validity": "current_at_assessment",
63
+ "validity_policy_version": "error-taxonomy-v1",
64
+ "remaining_validity_seconds": 300
65
+ }
66
+ },
67
+ {
68
+ "kind": "health_observation",
69
+ "ref_id": "health:fixture-operation-outage:unavailable",
70
+ "authority": "datapan_health",
71
+ "scope": {
72
+ "level": "operation",
73
+ "subject_ref": "envelope_subject"
74
+ },
75
+ "version": "health-probe-v1",
76
+ "health_correlation": {
77
+ "state": "unavailable",
78
+ "probe_policy_version": "health-probe-v1"
79
+ },
80
+ "supports": [
81
+ "cause",
82
+ "determination",
83
+ "ownership",
84
+ "action"
85
+ ],
86
+ "timing": {
87
+ "basis": "relative_to_assessed_at",
88
+ "observed_age_seconds": 60,
89
+ "validity": "current_at_assessment",
90
+ "validity_policy_version": "health-probe-v1",
91
+ "remaining_validity_seconds": 900
92
+ }
93
+ },
94
+ {
95
+ "kind": "provider_notice",
96
+ "ref_id": "provider-notice:fixture-service-suspension",
97
+ "authority": "provider",
98
+ "scope": {
99
+ "level": "operation",
100
+ "subject_ref": "envelope_subject"
101
+ },
102
+ "version": "notice-snapshot-v1",
103
+ "notice": {
104
+ "state": "service_suspended",
105
+ "notice_version": "notice-snapshot-v1"
106
+ },
107
+ "supports": [
108
+ "cause",
109
+ "determination",
110
+ "ownership"
111
+ ],
112
+ "timing": {
113
+ "basis": "relative_to_assessed_at",
114
+ "observed_age_seconds": 120,
115
+ "validity": "current_at_assessment",
116
+ "validity_policy_version": "notice-snapshot-v1",
117
+ "remaining_validity_seconds": 86400
118
+ }
119
+ }
120
+ ],
121
+ "redaction": {
122
+ "secret_values_present": false,
123
+ "secret_hashes_present": false,
124
+ "authorization_headers_present": false,
125
+ "credential_bearing_urls_present": false,
126
+ "raw_provider_text_present": false,
127
+ "raw_provider_urls_present": false,
128
+ "response_bodies_present": false,
129
+ "user_identity_present": false
130
+ }
131
+ }
examples/diagnostic-envelope/rate-limited.json ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope.v1",
3
+ "assessed_at": "2026-07-16T00:20:00Z",
4
+ "fixture": {
5
+ "status": "deterministic_example",
6
+ "scenario_id": "rate-limited",
7
+ "snapshot_at": "2026-07-16T00:20:00Z"
8
+ },
9
+ "subject": {
10
+ "source_id": "data_go_kr",
11
+ "dataset_id": "fixture-dataset-limit",
12
+ "operation_id": "fixture-operation-limit",
13
+ "provider_id": "data_go_kr"
14
+ },
15
+ "cause": {
16
+ "code": "rate_limited",
17
+ "determination": "observed",
18
+ "layer": "provider",
19
+ "explanation_id": "diagnosis.rate_limited"
20
+ },
21
+ "ownership": {
22
+ "accountable_party": "shared"
23
+ },
24
+ "actions": {
25
+ "recommended": [
26
+ {
27
+ "action_id": "retry_with_backoff",
28
+ "actor": "datapan_cli",
29
+ "rationale_id": "action.retry_with_backoff"
30
+ }
31
+ ],
32
+ "avoid": [
33
+ {
34
+ "action_id": "retry_immediately",
35
+ "actor": "datapan_cli",
36
+ "rationale_id": "avoid.immediate_retry_increases_pressure"
37
+ }
38
+ ]
39
+ },
40
+ "evidence_refs": [
41
+ {
42
+ "kind": "provider_response",
43
+ "ref_id": "provider-response:http-429",
44
+ "authority": "provider",
45
+ "scope": {
46
+ "level": "operation",
47
+ "subject_ref": "envelope_subject"
48
+ },
49
+ "version": "error-taxonomy-v1",
50
+ "response": {
51
+ "http_status": 429,
52
+ "provider_class": "rate_limited",
53
+ "policy_version": "error-taxonomy-v1"
54
+ },
55
+ "supports": [
56
+ "cause",
57
+ "determination",
58
+ "ownership",
59
+ "action"
60
+ ],
61
+ "timing": {
62
+ "basis": "relative_to_assessed_at",
63
+ "observed_age_seconds": 0,
64
+ "validity": "current_at_assessment",
65
+ "validity_policy_version": "error-taxonomy-v1",
66
+ "remaining_validity_seconds": 300
67
+ }
68
+ }
69
+ ],
70
+ "redaction": {
71
+ "secret_values_present": false,
72
+ "secret_hashes_present": false,
73
+ "authorization_headers_present": false,
74
+ "credential_bearing_urls_present": false,
75
+ "raw_provider_text_present": false,
76
+ "raw_provider_urls_present": false,
77
+ "response_bodies_present": false,
78
+ "user_identity_present": false
79
+ }
80
+ }
examples/diagnostic-envelope/ready.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope.v1",
3
+ "assessed_at": "2026-07-16T00:45:00Z",
4
+ "fixture": {
5
+ "status": "deterministic_example",
6
+ "scenario_id": "ready",
7
+ "snapshot_at": "2026-07-16T00:45:00Z"
8
+ },
9
+ "subject": {
10
+ "source_id": "data_go_kr",
11
+ "dataset_id": "fixture-dataset-ready",
12
+ "operation_id": "fixture-operation-ready",
13
+ "provider_id": "data_go_kr"
14
+ },
15
+ "cause": {
16
+ "code": "ready",
17
+ "determination": "observed",
18
+ "layer": "validation",
19
+ "explanation_id": "diagnosis.ready"
20
+ },
21
+ "ownership": {
22
+ "accountable_party": "shared"
23
+ },
24
+ "actions": {
25
+ "recommended": [
26
+ {
27
+ "action_id": "continue_to_reuse",
28
+ "actor": "user",
29
+ "rationale_id": "action.continue_to_reuse"
30
+ }
31
+ ],
32
+ "avoid": []
33
+ },
34
+ "evidence_refs": [
35
+ {
36
+ "kind": "validation_result",
37
+ "ref_id": "validation:fixture-operation-ready:l3-passed",
38
+ "authority": "datapan_cli",
39
+ "scope": {
40
+ "level": "operation",
41
+ "subject_ref": "envelope_subject"
42
+ },
43
+ "version": "health-probe-v1",
44
+ "validation": {
45
+ "required_level": "L3",
46
+ "achieved_level": "L3",
47
+ "policy_version": "registry-operation-policy-v1",
48
+ "result": "passed"
49
+ },
50
+ "supports": [
51
+ "cause",
52
+ "scope",
53
+ "determination",
54
+ "action"
55
+ ],
56
+ "timing": {
57
+ "basis": "relative_to_assessed_at",
58
+ "observed_age_seconds": 0,
59
+ "validity": "current_at_assessment",
60
+ "validity_policy_version": "health-probe-v1",
61
+ "remaining_validity_seconds": 3600
62
+ }
63
+ }
64
+ ],
65
+ "redaction": {
66
+ "secret_values_present": false,
67
+ "secret_hashes_present": false,
68
+ "authorization_headers_present": false,
69
+ "credential_bearing_urls_present": false,
70
+ "raw_provider_text_present": false,
71
+ "raw_provider_urls_present": false,
72
+ "response_bodies_present": false,
73
+ "user_identity_present": false
74
+ }
75
+ }
examples/diagnostic-envelope/semantic-quality.json ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope.v1",
3
+ "assessed_at": "2026-07-16T00:35:00Z",
4
+ "fixture": {
5
+ "status": "deterministic_example",
6
+ "scenario_id": "semantic-quality",
7
+ "snapshot_at": "2026-07-16T00:35:00Z"
8
+ },
9
+ "subject": {
10
+ "source_id": "data_go_kr",
11
+ "dataset_id": "fixture-dataset-quality",
12
+ "operation_id": "fixture-operation-quality",
13
+ "provider_id": "data_go_kr"
14
+ },
15
+ "cause": {
16
+ "code": "semantic_quality",
17
+ "determination": "inferred",
18
+ "layer": "data_quality",
19
+ "explanation_id": "diagnosis.semantic_quality"
20
+ },
21
+ "ownership": {
22
+ "accountable_party": "provider"
23
+ },
24
+ "actions": {
25
+ "recommended": [
26
+ {
27
+ "action_id": "inspect_data_quality",
28
+ "actor": "user",
29
+ "rationale_id": "action.inspect_zero_or_missing_data"
30
+ }
31
+ ],
32
+ "avoid": [
33
+ {
34
+ "action_id": "treat_transport_success_as_data_success",
35
+ "actor": "user",
36
+ "rationale_id": "avoid.http-200_does_not_prove_semantic_quality"
37
+ }
38
+ ]
39
+ },
40
+ "evidence_refs": [
41
+ {
42
+ "kind": "provider_response",
43
+ "ref_id": "provider-response:http-200-empty",
44
+ "authority": "provider",
45
+ "scope": {
46
+ "level": "operation",
47
+ "subject_ref": "envelope_subject"
48
+ },
49
+ "version": "response-envelope-v1",
50
+ "response": {
51
+ "http_status": 200,
52
+ "provider_class": "success",
53
+ "policy_version": "response-envelope-v1"
54
+ },
55
+ "supports": [
56
+ "scope"
57
+ ],
58
+ "timing": {
59
+ "basis": "relative_to_assessed_at",
60
+ "observed_age_seconds": 0,
61
+ "validity": "current_at_assessment",
62
+ "validity_policy_version": "response-envelope-v1",
63
+ "remaining_validity_seconds": 300
64
+ }
65
+ },
66
+ {
67
+ "kind": "data_quality_assertion",
68
+ "ref_id": "quality:expected-entity-missing",
69
+ "authority": "consumer_validation",
70
+ "scope": {
71
+ "level": "data_quality",
72
+ "subject_ref": "envelope_subject",
73
+ "detail_id": "fixture-operation-quality:expected-entity"
74
+ },
75
+ "version": "quality-policy-v1",
76
+ "quality_assertion": {
77
+ "kind": "missing_expected_entity",
78
+ "result": "failed",
79
+ "policy_version": "quality-policy-v1"
80
+ },
81
+ "supports": [
82
+ "cause",
83
+ "determination",
84
+ "ownership",
85
+ "action"
86
+ ],
87
+ "timing": {
88
+ "basis": "relative_to_assessed_at",
89
+ "observed_age_seconds": 0,
90
+ "validity": "current_at_assessment",
91
+ "validity_policy_version": "quality-policy-v1",
92
+ "remaining_validity_seconds": 3600
93
+ }
94
+ }
95
+ ],
96
+ "redaction": {
97
+ "secret_values_present": false,
98
+ "secret_hashes_present": false,
99
+ "authorization_headers_present": false,
100
+ "credential_bearing_urls_present": false,
101
+ "raw_provider_text_present": false,
102
+ "raw_provider_urls_present": false,
103
+ "response_bodies_present": false,
104
+ "user_identity_present": false
105
+ }
106
+ }
examples/diagnostic-envelope/stale-data.json ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope.v1",
3
+ "assessed_at": "2026-07-16T00:40:00Z",
4
+ "fixture": {
5
+ "status": "deterministic_example",
6
+ "scenario_id": "stale-data",
7
+ "snapshot_at": "2026-07-16T00:40:00Z"
8
+ },
9
+ "subject": {
10
+ "source_id": "data_go_kr",
11
+ "dataset_id": "fixture-dataset-stale",
12
+ "operation_id": "fixture-operation-stale",
13
+ "provider_id": "data_go_kr"
14
+ },
15
+ "cause": {
16
+ "code": "stale_data",
17
+ "determination": "observed",
18
+ "layer": "data_quality",
19
+ "explanation_id": "diagnosis.stale_data"
20
+ },
21
+ "ownership": {
22
+ "accountable_party": "provider"
23
+ },
24
+ "actions": {
25
+ "recommended": [
26
+ {
27
+ "action_id": "inspect_data_quality",
28
+ "actor": "user",
29
+ "rationale_id": "action.inspect_reference_date"
30
+ }
31
+ ],
32
+ "avoid": [
33
+ {
34
+ "action_id": "treat_transport_success_as_data_success",
35
+ "actor": "user",
36
+ "rationale_id": "avoid.http-200_does_not_prove_freshness"
37
+ }
38
+ ]
39
+ },
40
+ "evidence_refs": [
41
+ {
42
+ "kind": "data_quality_assertion",
43
+ "ref_id": "quality:fixture-operation-stale:freshness",
44
+ "authority": "consumer_validation",
45
+ "scope": {
46
+ "level": "data_quality",
47
+ "subject_ref": "envelope_subject",
48
+ "detail_id": "fixture-operation-stale:reference-time"
49
+ },
50
+ "version": "freshness-assertion-v1",
51
+ "quality_assertion": {
52
+ "kind": "freshness",
53
+ "result": "failed",
54
+ "policy_version": "freshness-assertion-v1"
55
+ },
56
+ "freshness": {
57
+ "policy_version": "daily-update-v1",
58
+ "reference_time": "2026-07-16T00:40:00Z",
59
+ "actual_time": "2026-07-13T00:00:00Z",
60
+ "maximum_age_seconds": 86400,
61
+ "state": "stale"
62
+ },
63
+ "supports": [
64
+ "cause",
65
+ "determination",
66
+ "ownership",
67
+ "action"
68
+ ],
69
+ "timing": {
70
+ "basis": "relative_to_assessed_at",
71
+ "observed_age_seconds": 0,
72
+ "validity": "current_at_assessment",
73
+ "validity_policy_version": "freshness-assertion-v1",
74
+ "remaining_validity_seconds": 3600
75
+ }
76
+ }
77
+ ],
78
+ "redaction": {
79
+ "secret_values_present": false,
80
+ "secret_hashes_present": false,
81
+ "authorization_headers_present": false,
82
+ "credential_bearing_urls_present": false,
83
+ "raw_provider_text_present": false,
84
+ "raw_provider_urls_present": false,
85
+ "response_bodies_present": false,
86
+ "user_identity_present": false
87
+ }
88
+ }
examples/diagnostic-envelope/unknown.json ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope.v1",
3
+ "assessed_at": "2026-07-16T00:50:00Z",
4
+ "fixture": {
5
+ "status": "deterministic_example",
6
+ "scenario_id": "unknown",
7
+ "snapshot_at": "2026-07-16T00:50:00Z"
8
+ },
9
+ "subject": {
10
+ "source_id": "data_go_kr",
11
+ "dataset_id": "fixture-dataset-unknown",
12
+ "operation_id": "fixture-operation-unknown",
13
+ "provider_id": "data_go_kr"
14
+ },
15
+ "cause": {
16
+ "code": "unknown",
17
+ "determination": "unknown",
18
+ "layer": "unknown",
19
+ "explanation_id": "diagnosis.unknown"
20
+ },
21
+ "ownership": {
22
+ "accountable_party": "unknown"
23
+ },
24
+ "actions": {
25
+ "recommended": [
26
+ {
27
+ "action_id": "gather_more_evidence",
28
+ "actor": "datapan_cli",
29
+ "rationale_id": "action.gather_more_evidence"
30
+ }
31
+ ],
32
+ "avoid": [
33
+ {
34
+ "action_id": "assume_provider_outage",
35
+ "actor": "user",
36
+ "rationale_id": "avoid.ambiguous_symptom_is_not_outage"
37
+ }
38
+ ]
39
+ },
40
+ "evidence_refs": [
41
+ {
42
+ "kind": "provider_response",
43
+ "ref_id": "provider-response:unclassified",
44
+ "authority": "provider",
45
+ "scope": {
46
+ "level": "operation",
47
+ "subject_ref": "envelope_subject"
48
+ },
49
+ "version": "error-taxonomy-v1",
50
+ "response": {
51
+ "http_status": 500,
52
+ "provider_class": "unclassified",
53
+ "policy_version": "error-taxonomy-v1"
54
+ },
55
+ "supports": [
56
+ "scope"
57
+ ],
58
+ "timing": {
59
+ "basis": "relative_to_assessed_at",
60
+ "observed_age_seconds": 0,
61
+ "validity": "current_at_assessment",
62
+ "validity_policy_version": "error-taxonomy-v1",
63
+ "remaining_validity_seconds": 300
64
+ }
65
+ }
66
+ ],
67
+ "redaction": {
68
+ "secret_values_present": false,
69
+ "secret_hashes_present": false,
70
+ "authorization_headers_present": false,
71
+ "credential_bearing_urls_present": false,
72
+ "raw_provider_text_present": false,
73
+ "raw_provider_urls_present": false,
74
+ "response_bodies_present": false,
75
+ "user_identity_present": false
76
+ }
77
+ }
manifest.json CHANGED
@@ -5,7 +5,7 @@
5
  "provider": "data.go.kr",
6
  "source_registry": "data/data-go-kr.registry.json",
7
  "output_dir": ".",
8
- "artifact_count": 140,
9
  "artifacts": [
10
  {
11
  "path": "schemas/datapan.adapter-targets.v1.schema.json",
@@ -76,8 +76,8 @@
76
  {
77
  "path": "schemas/datapan.release-manifest.v1.schema.json",
78
  "kind": "schema",
79
- "bytes": 4015,
80
- "sha256": "ec9139be5c9563a4766bf1f2f02c25353f07bb5153f48087a5544237133eac6a"
81
  },
82
  {
83
  "path": "schemas/datapan.release-readiness.v1.schema.json",
@@ -517,12 +517,24 @@
517
  "bytes": 4831,
518
  "sha256": "ceeca44135f8abd510dc0e1ded45ab4f0bbc02d0b75484cbccc7f01745f1e0f0"
519
  },
 
 
 
 
 
 
 
 
 
 
 
 
520
  {
521
  "path": "schemas/index.json",
522
  "kind": "schema_index",
523
  "schema": "https://schemas.datapan.dev/datapan.schema-index.v1.schema.json",
524
- "bytes": 34697,
525
- "sha256": "30ad7a17bc18a28fd9901245a9c1bb6dce9cd38a7a20982e682506b76d9cc68a"
526
  },
527
  {
528
  "path": "data/data-go-kr.registry.json",
@@ -599,7 +611,7 @@
599
  "kind": "source_runtime_remediation_map",
600
  "schema": "https://schemas.datapan.dev/datapan.source-runtime-remediation-map.v1.schema.json",
601
  "bytes": 8075,
602
- "sha256": "6b96a84d9868c2728f6b59b33b2bcf2d172a74dce96c8d4fe318d6ed24a35200"
603
  },
604
  {
605
  "path": "reports/operation-denominator-rollup.json",
@@ -682,29 +694,29 @@
682
  "path": "reports/credential-runtime-manual-review-decision.json",
683
  "kind": "credential_runtime_manual_review_decision",
684
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-decision.v1.schema.json",
685
- "bytes": 1711,
686
- "sha256": "a220ab52b0aa224540d83d7096328f4aa3fa76ad74ce8acaec858567a94a2a2a"
687
  },
688
  {
689
  "path": "reports/credential-runtime-manual-review-acceptance.json",
690
  "kind": "credential_runtime_manual_review_acceptance",
691
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-acceptance.v1.schema.json",
692
- "bytes": 4525,
693
- "sha256": "56746df6379708e6b97099bdd200d195862d85415237b51bdd822c641efe954e"
694
  },
695
  {
696
  "path": "reports/credential-runtime-manual-review-acceptance-packet.json",
697
  "kind": "credential_runtime_manual_review_acceptance_packet",
698
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-acceptance-packet.v1.schema.json",
699
  "bytes": 3988,
700
- "sha256": "734f4456f760f09e5171ad6d1198b47aa0aeac16e8dc553f3fb965f075dd3c75"
701
  },
702
  {
703
  "path": "reports/registry-impact-plan.json",
704
  "kind": "registry_impact_plan",
705
  "schema": "https://schemas.datapan.dev/datapan.registry-impact-plan.v1.schema.json",
706
  "bytes": 11519,
707
- "sha256": "27c82ee32828acd041ac39930789c0248b7e59da15ddcde73f838083dbb60c92"
708
  },
709
  {
710
  "path": "reports/source-reference-drift.json",
@@ -718,7 +730,7 @@
718
  "kind": "source_report_inventory",
719
  "schema": "https://schemas.datapan.dev/datapan.source-report-inventory.v1.schema.json",
720
  "bytes": 61997,
721
- "sha256": "422bfb849a784367c55cc17a0a4b3b856d0a4bedea77d3480ffa1984c5dea649"
722
  },
723
  {
724
  "path": "reports/dependencies.json",
@@ -787,15 +799,15 @@
787
  "path": "reports/release-consumer-compatibility.json",
788
  "kind": "consumer_compatibility",
789
  "schema": "https://schemas.datapan.dev/datapan.release-consumer-compatibility.v1.schema.json",
790
- "bytes": 26615,
791
- "sha256": "3b659f315363f9789efbaeeb4fdc4cebe0fa089a11159d84114fdc7bc0c09bff"
792
  },
793
  {
794
  "path": "reports/release-distribution-footprint.json",
795
  "kind": "release_distribution_footprint",
796
  "schema": "https://schemas.datapan.dev/datapan.release-distribution-footprint.v1.schema.json",
797
  "bytes": 2141,
798
- "sha256": "a3a6126a9b6f580c635548402c977a055f7e9671c11185c54e260dadf952728a"
799
  },
800
  {
801
  "path": "reports/release-shard-consumer-proof.json",
@@ -844,7 +856,7 @@
844
  "kind": "release_assembly_receipt",
845
  "schema": "https://schemas.datapan.dev/datapan.release-assembly-receipt.v1.schema.json",
846
  "bytes": 34969,
847
- "sha256": "42599d25566c1300a74b9fa4a18bd67bd0b68beccba9d85d29515af8b8c0d3f7"
848
  },
849
  {
850
  "path": "reports/unadapted-external-probe.json",
@@ -869,8 +881,8 @@
869
  {
870
  "path": "RELEASE_NOTES.md",
871
  "kind": "release_notes",
872
- "bytes": 3230,
873
- "sha256": "ee11fef6e6e6939046cd97fc70f7ca71219f7e76185c1f4a29b66aaf00420203"
874
  },
875
  {
876
  "path": "policy/source-refresh.json",
@@ -899,6 +911,115 @@
899
  "schema": "https://schemas.datapan.dev/datapan.failure-recovery-rollup.v1.schema.json",
900
  "bytes": 9840,
901
  "sha256": "44ef581d6ab0102659d3da43ede8f38f81ecb0fd957dc48baa888dfc947c378d"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
902
  }
903
  ]
904
  }
 
5
  "provider": "data.go.kr",
6
  "source_registry": "data/data-go-kr.registry.json",
7
  "output_dir": ".",
8
+ "artifact_count": 160,
9
  "artifacts": [
10
  {
11
  "path": "schemas/datapan.adapter-targets.v1.schema.json",
 
76
  {
77
  "path": "schemas/datapan.release-manifest.v1.schema.json",
78
  "kind": "schema",
79
+ "bytes": 4270,
80
+ "sha256": "f0dd62db932f61f6ee9348e0a1f59d6ea94a2a0f7fe9cb1bbb6b76242a120b03"
81
  },
82
  {
83
  "path": "schemas/datapan.release-readiness.v1.schema.json",
 
517
  "bytes": 4831,
518
  "sha256": "ceeca44135f8abd510dc0e1ded45ab4f0bbc02d0b75484cbccc7f01745f1e0f0"
519
  },
520
+ {
521
+ "path": "schemas/datapan.diagnostic-envelope.v1.schema.json",
522
+ "kind": "schema",
523
+ "bytes": 93289,
524
+ "sha256": "0782ed2150a31471645d3cf79a4ac0e63c1ba85ea31eb7b06cf39e7de9fb96fc"
525
+ },
526
+ {
527
+ "path": "schemas/datapan.diagnostic-publication-readiness.v1.schema.json",
528
+ "kind": "schema",
529
+ "bytes": 3183,
530
+ "sha256": "cf08ea3e578edc2530f0e29e2900e157e2c5dd0615c02efe51b3f552220fe836"
531
+ },
532
  {
533
  "path": "schemas/index.json",
534
  "kind": "schema_index",
535
  "schema": "https://schemas.datapan.dev/datapan.schema-index.v1.schema.json",
536
+ "bytes": 35518,
537
+ "sha256": "117e0b0ee681ec861ecd0015faa6ceabeaf47e615179c224266b354571b5a608"
538
  },
539
  {
540
  "path": "data/data-go-kr.registry.json",
 
611
  "kind": "source_runtime_remediation_map",
612
  "schema": "https://schemas.datapan.dev/datapan.source-runtime-remediation-map.v1.schema.json",
613
  "bytes": 8075,
614
+ "sha256": "7b65d98286bb0ab686d8bf396bb1d107ae939d197973237d0954f304284aafdc"
615
  },
616
  {
617
  "path": "reports/operation-denominator-rollup.json",
 
694
  "path": "reports/credential-runtime-manual-review-decision.json",
695
  "kind": "credential_runtime_manual_review_decision",
696
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-decision.v1.schema.json",
697
+ "bytes": 1782,
698
+ "sha256": "9157b32d246db0b504d108be55c2291625053e7268b5080f44e250d1429d6435"
699
  },
700
  {
701
  "path": "reports/credential-runtime-manual-review-acceptance.json",
702
  "kind": "credential_runtime_manual_review_acceptance",
703
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-acceptance.v1.schema.json",
704
+ "bytes": 4596,
705
+ "sha256": "86e85bf62b4617013b587746f116bd433b4002e9ec8359f27a88a67b73ea452a"
706
  },
707
  {
708
  "path": "reports/credential-runtime-manual-review-acceptance-packet.json",
709
  "kind": "credential_runtime_manual_review_acceptance_packet",
710
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-acceptance-packet.v1.schema.json",
711
  "bytes": 3988,
712
+ "sha256": "b506f757ebdae70b0f1ee15d94ce29e39c8cc2668a3bba3b7bacef755cdc5a14"
713
  },
714
  {
715
  "path": "reports/registry-impact-plan.json",
716
  "kind": "registry_impact_plan",
717
  "schema": "https://schemas.datapan.dev/datapan.registry-impact-plan.v1.schema.json",
718
  "bytes": 11519,
719
+ "sha256": "a2e0609209a8e1b0b2c15100b05d501b76243d17975e8d8d2a2590954fc1c1f3"
720
  },
721
  {
722
  "path": "reports/source-reference-drift.json",
 
730
  "kind": "source_report_inventory",
731
  "schema": "https://schemas.datapan.dev/datapan.source-report-inventory.v1.schema.json",
732
  "bytes": 61997,
733
+ "sha256": "64e595911dde126b3e7885d805a588ec547b0d924380ca8a12db0e233fd39c38"
734
  },
735
  {
736
  "path": "reports/dependencies.json",
 
799
  "path": "reports/release-consumer-compatibility.json",
800
  "kind": "consumer_compatibility",
801
  "schema": "https://schemas.datapan.dev/datapan.release-consumer-compatibility.v1.schema.json",
802
+ "bytes": 26686,
803
+ "sha256": "63ae7a6e6777e441d88d7a69fa0d1db77b9112851772db7ee7cbac816cd6a230"
804
  },
805
  {
806
  "path": "reports/release-distribution-footprint.json",
807
  "kind": "release_distribution_footprint",
808
  "schema": "https://schemas.datapan.dev/datapan.release-distribution-footprint.v1.schema.json",
809
  "bytes": 2141,
810
+ "sha256": "d7e0927ffc748ec7819190e264b9f77114868f4235e6612efd1911f93df8613d"
811
  },
812
  {
813
  "path": "reports/release-shard-consumer-proof.json",
 
856
  "kind": "release_assembly_receipt",
857
  "schema": "https://schemas.datapan.dev/datapan.release-assembly-receipt.v1.schema.json",
858
  "bytes": 34969,
859
+ "sha256": "46617948cf85c04dafb7764efd521d3fe35d89e07a7b5eeb8ce08c6a5005b9c4"
860
  },
861
  {
862
  "path": "reports/unadapted-external-probe.json",
 
881
  {
882
  "path": "RELEASE_NOTES.md",
883
  "kind": "release_notes",
884
+ "bytes": 4779,
885
+ "sha256": "b03646e3567a6b7a2d877ce112710843bf884753208bcab3e3a977d7a5f2ae2a"
886
  },
887
  {
888
  "path": "policy/source-refresh.json",
 
911
  "schema": "https://schemas.datapan.dev/datapan.failure-recovery-rollup.v1.schema.json",
912
  "bytes": 9840,
913
  "sha256": "44ef581d6ab0102659d3da43ede8f38f81ecb0fd957dc48baa888dfc947c378d"
914
+ },
915
+ {
916
+ "path": "policy/diagnostic-envelope-consumer-contract.v1.json",
917
+ "kind": "diagnostic_consumer_contract",
918
+ "bytes": 6994,
919
+ "sha256": "39357f2b154bba54487acce5a5707c71755ce01abb0478e8bf0fff41a35dab91"
920
+ },
921
+ {
922
+ "path": "policy/diagnostic-cause-action-vocabulary.v1.json",
923
+ "kind": "diagnostic_vocabulary",
924
+ "bytes": 3081,
925
+ "sha256": "aa03c42960a59725b829b934ad07548dacb8f149c7a920a35a9e32c0459b49fc"
926
+ },
927
+ {
928
+ "path": "policy/data-go-kr-diagnostic-evidence-mapping.v1.json",
929
+ "kind": "diagnostic_evidence_mapping",
930
+ "bytes": 27117,
931
+ "sha256": "c79d9a5afe2702b22cf49fff97178b4f79ffc16eaa4624b68f826fb8c9509273"
932
+ },
933
+ {
934
+ "path": "reports/diagnostic-consumer-compatibility/datapan-cli.v1.json",
935
+ "kind": "diagnostic_consumer_compatibility",
936
+ "bytes": 2601,
937
+ "sha256": "56bd0403c8f8cb5148c534e19c00d627b23dc9c2fb83a8c026fa5c717dea695e"
938
+ },
939
+ {
940
+ "path": "reports/diagnostic-consumer-compatibility/datapan-health.v1.json",
941
+ "kind": "diagnostic_consumer_compatibility",
942
+ "bytes": 2686,
943
+ "sha256": "8b159c7978b7e1209b1eba35dd8b3943f007b554b0814e9c6d14ecc740df4b3e"
944
+ },
945
+ {
946
+ "path": "reports/diagnostic-consumer-compatibility/datapan-web.v1.json",
947
+ "kind": "diagnostic_consumer_compatibility",
948
+ "bytes": 2654,
949
+ "sha256": "747e9c8adbe3e46204d40055e6fca19aad4d8389d2db58fd302630503929834f"
950
+ },
951
+ {
952
+ "path": "examples/diagnostic-envelope/approval-propagating.json",
953
+ "kind": "diagnostic_example",
954
+ "bytes": 3004,
955
+ "sha256": "fe000f4082f948d6a96f045d7fae91c6bdf7288c6746196a8c7b0868d6416099"
956
+ },
957
+ {
958
+ "path": "examples/diagnostic-envelope/approval-required.json",
959
+ "kind": "diagnostic_example",
960
+ "bytes": 2247,
961
+ "sha256": "d11fc4e18aee6fe1a7f5c9c0a94a1e6e1bae0177447f2f6bcc0dddbe6961e7d3"
962
+ },
963
+ {
964
+ "path": "examples/diagnostic-envelope/contract-drift.json",
965
+ "kind": "diagnostic_example",
966
+ "bytes": 2205,
967
+ "sha256": "13bc8af8c6b1540ef91a49f60ed9aab5514fabee3316868dc9f946adbe1da470"
968
+ },
969
+ {
970
+ "path": "examples/diagnostic-envelope/credential-invalid.json",
971
+ "kind": "diagnostic_example",
972
+ "bytes": 2164,
973
+ "sha256": "c5796d7bf59c6f282f9f75b14717a51ff716859e06f6325e784c48d507816497"
974
+ },
975
+ {
976
+ "path": "examples/diagnostic-envelope/invalid-input.json",
977
+ "kind": "diagnostic_example",
978
+ "bytes": 2209,
979
+ "sha256": "80adb4fce6ede5c34223468bf26b69e90c20c92d74661777c458a5238ad6ab07"
980
+ },
981
+ {
982
+ "path": "examples/diagnostic-envelope/provider-outage.json",
983
+ "kind": "diagnostic_example",
984
+ "bytes": 3588,
985
+ "sha256": "33c0160c4cf136b34dc3befa1ff5803c71f3c37d7946fa2b56e70c69d4be6200"
986
+ },
987
+ {
988
+ "path": "examples/diagnostic-envelope/rate-limited.json",
989
+ "kind": "diagnostic_example",
990
+ "bytes": 2108,
991
+ "sha256": "8be4fb69e91ae42c2a03510458b9b9fd23cf4780d551ea1ddaa505c8bc40d318"
992
+ },
993
+ {
994
+ "path": "examples/diagnostic-envelope/ready.json",
995
+ "kind": "diagnostic_example",
996
+ "bytes": 1967,
997
+ "sha256": "7ae2306176bdd007ca2a4ca822240e4e515c76967b2af0c816584463aee420fc"
998
+ },
999
+ {
1000
+ "path": "examples/diagnostic-envelope/semantic-quality.json",
1001
+ "kind": "diagnostic_example",
1002
+ "bytes": 2966,
1003
+ "sha256": "06fcc308aa039861b38f6da2fee8f23150ea7d2cac998b5d9e05b011ca1ca9b0"
1004
+ },
1005
+ {
1006
+ "path": "examples/diagnostic-envelope/stale-data.json",
1007
+ "kind": "diagnostic_example",
1008
+ "bytes": 2465,
1009
+ "sha256": "f4cc2d0f34bdfb74bbed9a3bcb5cad7b0f5444fa5ded6ca1742c916799aecf92"
1010
+ },
1011
+ {
1012
+ "path": "examples/diagnostic-envelope/unknown.json",
1013
+ "kind": "diagnostic_example",
1014
+ "bytes": 2035,
1015
+ "sha256": "e0635cf4980438141007607c66eca821383f605393a69bdb03522b3873c1dcf0"
1016
+ },
1017
+ {
1018
+ "path": "reports/diagnostic-publication-readiness.json",
1019
+ "kind": "diagnostic_publication_readiness",
1020
+ "schema": "https://schemas.datapan.dev/datapan.diagnostic-publication-readiness.v1.schema.json",
1021
+ "bytes": 6331,
1022
+ "sha256": "43d58d995f0bd05ecd5785073922f9bf7e6655cfb9498501f625f35842d50ebf"
1023
  }
1024
  ]
1025
  }
policy/data-go-kr-diagnostic-evidence-mapping.v1.json ADDED
@@ -0,0 +1,1057 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.data-go-kr-diagnostic-evidence-mapping.v1",
3
+ "status": "stable",
4
+ "provider": "data.go.kr",
5
+ "envelope_schema": "schemas/datapan.diagnostic-envelope.v1.schema.json",
6
+ "authority_boundary": {
7
+ "registry_role": "static_contract_and_deterministic_proof_only",
8
+ "runtime_inference_owner": "consumer",
9
+ "publishing_allowed": false,
10
+ "runtime_evidence_storage_allowed": false
11
+ },
12
+ "authoritative_inputs": [
13
+ {
14
+ "path": "reports/data-go-kr/error-action-catalog.json",
15
+ "schema_version": "datapan.error-action-catalog.v1",
16
+ "sha256": "6ebc5df47d73192e08727c4d4669c80b76a7b493a27574bf897e863307a1bb45"
17
+ },
18
+ {
19
+ "path": "reports/error-action-routing-rollup.json",
20
+ "schema_version": "datapan.error-action-routing-rollup.v1",
21
+ "sha256": "d66a5d68ecab483354d1c48c9ce4f443eff77e84cf747ca1bb25c452ca5d8cf1"
22
+ },
23
+ {
24
+ "path": "reports/health-probe-catalog.json",
25
+ "schema_version": "datapan.health-probe-catalog.v1",
26
+ "sha256": "e84f0da2f532a32833def1118a4610bf2322f370783d120b84cf85306d244840"
27
+ },
28
+ {
29
+ "path": "sources/data_go_kr.json",
30
+ "schema_version": "datapan.source-profile.v1",
31
+ "sha256": "ab6f6b24f7556e16deac864ad0b349021023ef40a374f3555ca54e37c22ccbc6"
32
+ },
33
+ {
34
+ "path": "schemas/datapan.source-profile.v1.schema.json",
35
+ "schema_version": "json-schema-draft-2020-12",
36
+ "sha256": "ce01786b97680a16d0e58fdee8377502d5888deb72e03fee50344fcd5b89a2cf"
37
+ },
38
+ {
39
+ "path": "data/data-go-kr.registry.json",
40
+ "schema_version": "datapan.data-go-kr-registry-array.v1",
41
+ "sha256": "eeda72ee8590f458de8d75703662578e80edf3e61282f0e5e67547c4f6e5f644"
42
+ }
43
+ ],
44
+ "resolution_policy": {
45
+ "subject_binding": "exact_source_provider_dataset_operation_match",
46
+ "invalid_evidence": "exclude",
47
+ "candidate_only_selector": "forbidden",
48
+ "multiple_eligible_specific_causes": "unknown",
49
+ "no_eligible_specific_cause": "unknown",
50
+ "unknown_determination": "unknown",
51
+ "unknown_action": "gather_more_evidence"
52
+ },
53
+ "operation_application_path_contract": {
54
+ "status": "dataset_application_entry_available",
55
+ "route_kind": "dataset_application_entry",
56
+ "direct_submission_url": false,
57
+ "template": "https://www.data.go.kr/data/{dataset_id}/openapi.do",
58
+ "required_subject": {
59
+ "source_id": "data_go_kr",
60
+ "provider_id": "data_go_kr",
61
+ "dataset_id_pattern": "^[0-9]{8}$"
62
+ },
63
+ "registry_identity": {
64
+ "artifact": "data/data-go-kr.registry.json",
65
+ "dataset_id_field": "/id",
66
+ "source_system_field": "/operations/*/source/system",
67
+ "source_system_equals": "data.go.kr"
68
+ },
69
+ "generic_reference_rejected": "sources/data_go_kr.json#/references/key_request_url",
70
+ "invalid_subject_result": {
71
+ "cause": "unknown",
72
+ "determination": "unknown",
73
+ "recommended_action": "gather_more_evidence",
74
+ "avoid_actions": [
75
+ "assume_provider_outage"
76
+ ]
77
+ }
78
+ },
79
+ "evidence_predicates": {
80
+ "approval_not_applied": {
81
+ "kind": "approval_record",
82
+ "authorities": [
83
+ "data_go_kr_portal",
84
+ "provider_portal"
85
+ ],
86
+ "scope_level": "operation",
87
+ "max_age_seconds": 604800,
88
+ "supports": [
89
+ "cause",
90
+ "determination",
91
+ "ownership",
92
+ "action"
93
+ ],
94
+ "matches": {
95
+ "/approval/state": "not_applied",
96
+ "/approval/effective_scope/level": "operation",
97
+ "/approval/effective_scope/subject_ref": "envelope_subject"
98
+ }
99
+ },
100
+ "approval_pending_sync": {
101
+ "kind": "approval_record",
102
+ "authorities": [
103
+ "data_go_kr_portal",
104
+ "provider_portal"
105
+ ],
106
+ "scope_level": "operation",
107
+ "max_age_seconds": 604800,
108
+ "supports": [
109
+ "cause",
110
+ "determination",
111
+ "ownership",
112
+ "action"
113
+ ],
114
+ "matches": {
115
+ "/approval/state": "approved_pending_sync",
116
+ "/approval/effective_scope/level": "operation",
117
+ "/approval/effective_scope/subject_ref": "envelope_subject"
118
+ }
119
+ },
120
+ "credential_rejected": {
121
+ "kind": "provider_response",
122
+ "authorities": [
123
+ "provider",
124
+ "datapan_cli"
125
+ ],
126
+ "scope_level": "operation",
127
+ "max_age_seconds": 300,
128
+ "supports": [
129
+ "cause",
130
+ "determination",
131
+ "action"
132
+ ],
133
+ "matches": {
134
+ "/response/provider_class": "credential_rejected"
135
+ }
136
+ },
137
+ "credential_configuration_failed": {
138
+ "kind": "request_validation",
139
+ "authorities": [
140
+ "datapan_cli"
141
+ ],
142
+ "scope_level": "request",
143
+ "max_age_seconds": 300,
144
+ "supports": [
145
+ "cause",
146
+ "determination",
147
+ "action"
148
+ ],
149
+ "matches": {
150
+ "/request_validation/result": "failed",
151
+ "/request_validation/failure_class": "credential_configuration"
152
+ }
153
+ },
154
+ "invalid_input_failed": {
155
+ "kind": "request_validation",
156
+ "authorities": [
157
+ "datapan_cli"
158
+ ],
159
+ "scope_level": "request",
160
+ "max_age_seconds": 300,
161
+ "supports": [
162
+ "cause",
163
+ "determination",
164
+ "action"
165
+ ],
166
+ "matches": {
167
+ "/request_validation/result": "failed",
168
+ "/request_validation/failure_class": "invalid_input"
169
+ }
170
+ },
171
+ "rate_limited": {
172
+ "kind": "provider_response",
173
+ "authorities": [
174
+ "provider",
175
+ "datapan_cli"
176
+ ],
177
+ "scope_level": "operation",
178
+ "max_age_seconds": 300,
179
+ "supports": [
180
+ "cause",
181
+ "determination",
182
+ "action"
183
+ ],
184
+ "matches": {
185
+ "/response/provider_class": "rate_limited"
186
+ }
187
+ },
188
+ "health_unavailable": {
189
+ "kind": "health_observation",
190
+ "authorities": [
191
+ "datapan_health"
192
+ ],
193
+ "scope_level": "operation",
194
+ "max_age_seconds": 900,
195
+ "supports": [
196
+ "cause",
197
+ "determination",
198
+ "ownership",
199
+ "action"
200
+ ],
201
+ "matches": {
202
+ "/health_correlation/state": "unavailable"
203
+ }
204
+ },
205
+ "health_degraded": {
206
+ "kind": "health_observation",
207
+ "authorities": [
208
+ "datapan_health"
209
+ ],
210
+ "scope_level": "operation",
211
+ "max_age_seconds": 900,
212
+ "supports": [
213
+ "cause",
214
+ "determination",
215
+ "ownership",
216
+ "action"
217
+ ],
218
+ "matches": {
219
+ "/health_correlation/state": "degraded"
220
+ }
221
+ },
222
+ "notice_suspended": {
223
+ "kind": "provider_notice",
224
+ "authorities": [
225
+ "provider",
226
+ "provider_portal"
227
+ ],
228
+ "scope_level": "operation",
229
+ "max_age_seconds": 86400,
230
+ "supports": [
231
+ "cause",
232
+ "determination",
233
+ "ownership",
234
+ "action"
235
+ ],
236
+ "matches": {
237
+ "/notice/state": "service_suspended"
238
+ }
239
+ },
240
+ "notice_degraded": {
241
+ "kind": "provider_notice",
242
+ "authorities": [
243
+ "provider",
244
+ "provider_portal"
245
+ ],
246
+ "scope_level": "operation",
247
+ "max_age_seconds": 86400,
248
+ "supports": [
249
+ "cause",
250
+ "determination",
251
+ "ownership",
252
+ "action"
253
+ ],
254
+ "matches": {
255
+ "/notice/state": "degraded"
256
+ }
257
+ },
258
+ "service_unavailable": {
259
+ "kind": "provider_response",
260
+ "authorities": [
261
+ "provider",
262
+ "datapan_cli"
263
+ ],
264
+ "scope_level": "operation",
265
+ "max_age_seconds": 300,
266
+ "supports": [
267
+ "cause",
268
+ "determination",
269
+ "action"
270
+ ],
271
+ "matches": {
272
+ "/response/provider_class": "service_unavailable"
273
+ }
274
+ },
275
+ "contract_mismatch": {
276
+ "kind": "response_contract",
277
+ "authorities": [
278
+ "consumer_validation",
279
+ "datapan_cli",
280
+ "datapan_web"
281
+ ],
282
+ "scope_level": "response",
283
+ "max_age_seconds": 604800,
284
+ "supports": [
285
+ "cause",
286
+ "determination",
287
+ "action"
288
+ ],
289
+ "matches": {
290
+ "/contract_assertion/result": "mismatch"
291
+ }
292
+ },
293
+ "quality_missing_entity": {
294
+ "kind": "data_quality_assertion",
295
+ "authorities": [
296
+ "consumer_validation",
297
+ "datapan_cli",
298
+ "datapan_health",
299
+ "datapan_web"
300
+ ],
301
+ "scope_level": "data_quality",
302
+ "max_age_seconds": 604800,
303
+ "supports": [
304
+ "cause",
305
+ "determination",
306
+ "action"
307
+ ],
308
+ "matches": {
309
+ "/quality_assertion/kind": "missing_expected_entity",
310
+ "/quality_assertion/result": "failed"
311
+ }
312
+ },
313
+ "quality_empty_result": {
314
+ "kind": "data_quality_assertion",
315
+ "authorities": [
316
+ "consumer_validation",
317
+ "datapan_cli",
318
+ "datapan_health",
319
+ "datapan_web"
320
+ ],
321
+ "scope_level": "data_quality",
322
+ "max_age_seconds": 604800,
323
+ "supports": [
324
+ "cause",
325
+ "determination",
326
+ "action"
327
+ ],
328
+ "matches": {
329
+ "/quality_assertion/kind": "empty_result",
330
+ "/quality_assertion/result": "failed"
331
+ }
332
+ },
333
+ "quality_other": {
334
+ "kind": "data_quality_assertion",
335
+ "authorities": [
336
+ "consumer_validation",
337
+ "datapan_cli",
338
+ "datapan_health",
339
+ "datapan_web"
340
+ ],
341
+ "scope_level": "data_quality",
342
+ "max_age_seconds": 604800,
343
+ "supports": [
344
+ "cause",
345
+ "determination",
346
+ "action"
347
+ ],
348
+ "matches": {
349
+ "/quality_assertion/kind": "other",
350
+ "/quality_assertion/result": "failed"
351
+ }
352
+ },
353
+ "quality_stale": {
354
+ "kind": "data_quality_assertion",
355
+ "authorities": [
356
+ "consumer_validation",
357
+ "datapan_cli",
358
+ "datapan_health",
359
+ "datapan_web"
360
+ ],
361
+ "scope_level": "data_quality",
362
+ "max_age_seconds": 604800,
363
+ "supports": [
364
+ "cause",
365
+ "determination",
366
+ "action"
367
+ ],
368
+ "matches": {
369
+ "/quality_assertion/kind": "freshness",
370
+ "/quality_assertion/result": "failed",
371
+ "/freshness/state": "stale"
372
+ }
373
+ },
374
+ "validation_passed": {
375
+ "kind": "validation_result",
376
+ "authorities": [
377
+ "datapan_cli",
378
+ "datapan_health",
379
+ "consumer_validation"
380
+ ],
381
+ "scope_level": "operation",
382
+ "max_age_seconds": 604800,
383
+ "supports": [
384
+ "cause",
385
+ "determination",
386
+ "action"
387
+ ],
388
+ "matches": {
389
+ "/validation/result": "passed"
390
+ }
391
+ },
392
+ "generic_http_401": {
393
+ "kind": "provider_response",
394
+ "authorities": [
395
+ "provider",
396
+ "datapan_cli"
397
+ ],
398
+ "scope_level": "operation",
399
+ "max_age_seconds": 300,
400
+ "supports": [],
401
+ "matches": {
402
+ "/response/http_status": 401,
403
+ "/response/provider_class": "unclassified"
404
+ }
405
+ },
406
+ "generic_http_403": {
407
+ "kind": "provider_response",
408
+ "authorities": [
409
+ "provider",
410
+ "datapan_cli"
411
+ ],
412
+ "scope_level": "operation",
413
+ "max_age_seconds": 300,
414
+ "supports": [],
415
+ "matches": {
416
+ "/response/http_status": 403,
417
+ "/response/provider_class": "unclassified"
418
+ }
419
+ },
420
+ "generic_http_404": {
421
+ "kind": "provider_response",
422
+ "authorities": [
423
+ "provider",
424
+ "datapan_cli"
425
+ ],
426
+ "scope_level": "operation",
427
+ "max_age_seconds": 300,
428
+ "supports": [],
429
+ "matches": {
430
+ "/response/http_status": 404,
431
+ "/response/provider_class": "unclassified"
432
+ }
433
+ },
434
+ "rule_code30": {
435
+ "kind": "registry_rule",
436
+ "authorities": [
437
+ "registry"
438
+ ],
439
+ "scope_level": "operation",
440
+ "max_age_seconds": 604800,
441
+ "supports": [],
442
+ "matches": {
443
+ "/ref_id": "registry-rule:data-go-kr-service-key-not-registered"
444
+ }
445
+ },
446
+ "rule_service_key_message": {
447
+ "kind": "registry_rule",
448
+ "authorities": [
449
+ "registry"
450
+ ],
451
+ "scope_level": "operation",
452
+ "max_age_seconds": 604800,
453
+ "supports": [],
454
+ "matches": {
455
+ "/ref_id": "registry-rule:data-go-kr-service-key-message"
456
+ }
457
+ },
458
+ "rule_timeout": {
459
+ "kind": "registry_rule",
460
+ "authorities": [
461
+ "registry"
462
+ ],
463
+ "scope_level": "operation",
464
+ "max_age_seconds": 604800,
465
+ "supports": [],
466
+ "matches": {
467
+ "/ref_id": "registry-rule:data-go-kr-external-timeout"
468
+ }
469
+ },
470
+ "rule_404": {
471
+ "kind": "registry_rule",
472
+ "authorities": [
473
+ "registry"
474
+ ],
475
+ "scope_level": "operation",
476
+ "max_age_seconds": 604800,
477
+ "supports": [],
478
+ "matches": {
479
+ "/ref_id": "registry-rule:data-go-kr-external-http-404"
480
+ }
481
+ },
482
+ "rule_parse": {
483
+ "kind": "registry_rule",
484
+ "authorities": [
485
+ "registry"
486
+ ],
487
+ "scope_level": "operation",
488
+ "max_age_seconds": 604800,
489
+ "supports": [],
490
+ "matches": {
491
+ "/ref_id": "registry-rule:data-go-kr-parse-error"
492
+ }
493
+ }
494
+ },
495
+ "cause_mappings": [
496
+ {
497
+ "cause": "approval_required",
498
+ "source_basis": [
499
+ {
500
+ "type": "registry_rule",
501
+ "artifact": "reports/data-go-kr/error-action-catalog.json",
502
+ "json_pointer": "/rules/5",
503
+ "expected": {
504
+ "rule_id": "data-go-kr-approval-required"
505
+ }
506
+ },
507
+ {
508
+ "type": "registry_fact",
509
+ "artifact": "sources/data_go_kr.json",
510
+ "json_pointer": "/auth/approval_scope",
511
+ "equals": "operation"
512
+ },
513
+ {
514
+ "type": "registry_dataset_identity",
515
+ "artifact": "data/data-go-kr.registry.json",
516
+ "dataset_id_field": "/id",
517
+ "source_system_field": "/operations/*/source/system",
518
+ "source_system_equals": "data.go.kr"
519
+ }
520
+ ],
521
+ "selector_groups": [
522
+ [
523
+ "approval_not_applied"
524
+ ]
525
+ ],
526
+ "corroborator_groups": [],
527
+ "result": {
528
+ "determination": "observed",
529
+ "accountable_party": "user",
530
+ "recommended_action": "apply_for_operation",
531
+ "avoid_actions": [
532
+ "reissue_credential"
533
+ ]
534
+ }
535
+ },
536
+ {
537
+ "cause": "approval_propagating",
538
+ "source_basis": [
539
+ {
540
+ "type": "registry_fact",
541
+ "artifact": "sources/data_go_kr.json",
542
+ "json_pointer": "/auth/approval_scope",
543
+ "equals": "operation"
544
+ }
545
+ ],
546
+ "selector_groups": [
547
+ [
548
+ "approval_pending_sync"
549
+ ]
550
+ ],
551
+ "corroborator_groups": [
552
+ [
553
+ "generic_http_401",
554
+ "generic_http_403"
555
+ ]
556
+ ],
557
+ "result": {
558
+ "determination": "inferred",
559
+ "accountable_party": "data_go_kr",
560
+ "recommended_action": "wait_for_approval_sync",
561
+ "avoid_actions": [
562
+ "reissue_credential"
563
+ ]
564
+ }
565
+ },
566
+ {
567
+ "cause": "credential_invalid",
568
+ "source_basis": [
569
+ {
570
+ "type": "registry_rule",
571
+ "artifact": "reports/data-go-kr/error-action-catalog.json",
572
+ "json_pointer": "/rules/0",
573
+ "expected": {
574
+ "rule_id": "data-go-kr-service-key-not-registered"
575
+ }
576
+ },
577
+ {
578
+ "type": "consumer_evidence",
579
+ "kind": "provider_response"
580
+ },
581
+ {
582
+ "type": "consumer_evidence",
583
+ "kind": "request_validation"
584
+ }
585
+ ],
586
+ "selector_groups": [
587
+ [
588
+ "credential_rejected",
589
+ "credential_configuration_failed"
590
+ ]
591
+ ],
592
+ "corroborator_groups": [],
593
+ "result": {
594
+ "determination": "observed",
595
+ "accountable_party": "user",
596
+ "recommended_action": "verify_credential_configuration",
597
+ "avoid_actions": [
598
+ "assume_provider_outage"
599
+ ]
600
+ }
601
+ },
602
+ {
603
+ "cause": "invalid_input",
604
+ "source_basis": [
605
+ {
606
+ "type": "registry_rule",
607
+ "artifact": "reports/data-go-kr/error-action-catalog.json",
608
+ "json_pointer": "/rules/6",
609
+ "expected": {
610
+ "rule_id": "data-go-kr-missing-required-params"
611
+ }
612
+ },
613
+ {
614
+ "type": "consumer_evidence",
615
+ "kind": "request_validation"
616
+ }
617
+ ],
618
+ "selector_groups": [
619
+ [
620
+ "invalid_input_failed"
621
+ ]
622
+ ],
623
+ "corroborator_groups": [],
624
+ "result": {
625
+ "determination": "observed",
626
+ "accountable_party": "user",
627
+ "recommended_action": "verify_request_parameters",
628
+ "avoid_actions": [
629
+ "assume_provider_outage"
630
+ ]
631
+ }
632
+ },
633
+ {
634
+ "cause": "rate_limited",
635
+ "source_basis": [
636
+ {
637
+ "type": "registry_rule",
638
+ "artifact": "reports/data-go-kr/error-action-catalog.json",
639
+ "json_pointer": "/rules/2",
640
+ "expected": {
641
+ "rule_id": "data-go-kr-http-429"
642
+ }
643
+ },
644
+ {
645
+ "type": "consumer_evidence",
646
+ "kind": "provider_response"
647
+ }
648
+ ],
649
+ "selector_groups": [
650
+ [
651
+ "rate_limited"
652
+ ]
653
+ ],
654
+ "corroborator_groups": [],
655
+ "result": {
656
+ "determination": "observed",
657
+ "accountable_party": "shared",
658
+ "recommended_action": "retry_with_backoff",
659
+ "avoid_actions": [
660
+ "retry_immediately"
661
+ ]
662
+ }
663
+ },
664
+ {
665
+ "cause": "provider_outage",
666
+ "source_basis": [
667
+ {
668
+ "type": "registry_fact",
669
+ "artifact": "reports/health-probe-catalog.json",
670
+ "json_pointer": "/receipt_contract/policy_authority",
671
+ "equals": "datapan-registry"
672
+ },
673
+ {
674
+ "type": "consumer_evidence",
675
+ "kind": "health_observation"
676
+ },
677
+ {
678
+ "type": "consumer_evidence",
679
+ "kind": "provider_notice"
680
+ },
681
+ {
682
+ "type": "consumer_evidence",
683
+ "kind": "provider_response"
684
+ }
685
+ ],
686
+ "selector_groups": [
687
+ [
688
+ "health_unavailable",
689
+ "health_degraded",
690
+ "notice_suspended",
691
+ "notice_degraded",
692
+ "service_unavailable"
693
+ ]
694
+ ],
695
+ "corroborator_groups": [],
696
+ "result": {
697
+ "determination": "inferred",
698
+ "accountable_party": "provider",
699
+ "recommended_action": "check_provider_status",
700
+ "avoid_actions": []
701
+ },
702
+ "result_variants": [
703
+ {
704
+ "when_any": [
705
+ "notice_suspended",
706
+ "notice_degraded"
707
+ ],
708
+ "determination": "observed",
709
+ "avoid_actions": [
710
+ "reissue_credential"
711
+ ]
712
+ },
713
+ {
714
+ "when_any": [
715
+ "health_unavailable",
716
+ "health_degraded"
717
+ ],
718
+ "determination": "inferred",
719
+ "avoid_actions": [
720
+ "reissue_credential"
721
+ ]
722
+ },
723
+ {
724
+ "when_any": [
725
+ "service_unavailable"
726
+ ],
727
+ "determination": "inferred",
728
+ "avoid_actions": []
729
+ }
730
+ ]
731
+ },
732
+ {
733
+ "cause": "contract_drift",
734
+ "source_basis": [
735
+ {
736
+ "type": "consumer_evidence",
737
+ "kind": "response_contract"
738
+ }
739
+ ],
740
+ "selector_groups": [
741
+ [
742
+ "contract_mismatch"
743
+ ]
744
+ ],
745
+ "corroborator_groups": [],
746
+ "result": {
747
+ "determination": "inferred",
748
+ "accountable_party": "shared",
749
+ "recommended_action": "refresh_contract",
750
+ "avoid_actions": [
751
+ "reissue_credential"
752
+ ]
753
+ }
754
+ },
755
+ {
756
+ "cause": "semantic_quality",
757
+ "source_basis": [
758
+ {
759
+ "type": "consumer_evidence",
760
+ "kind": "data_quality_assertion"
761
+ }
762
+ ],
763
+ "selector_groups": [
764
+ [
765
+ "quality_missing_entity",
766
+ "quality_empty_result",
767
+ "quality_other"
768
+ ]
769
+ ],
770
+ "corroborator_groups": [],
771
+ "result": {
772
+ "determination": "inferred",
773
+ "accountable_party": "provider",
774
+ "recommended_action": "inspect_data_quality",
775
+ "avoid_actions": [
776
+ "treat_transport_success_as_data_success"
777
+ ]
778
+ }
779
+ },
780
+ {
781
+ "cause": "stale_data",
782
+ "source_basis": [
783
+ {
784
+ "type": "consumer_evidence",
785
+ "kind": "data_quality_assertion"
786
+ }
787
+ ],
788
+ "selector_groups": [
789
+ [
790
+ "quality_stale"
791
+ ]
792
+ ],
793
+ "corroborator_groups": [],
794
+ "result": {
795
+ "determination": "observed",
796
+ "accountable_party": "provider",
797
+ "recommended_action": "inspect_data_quality",
798
+ "avoid_actions": [
799
+ "treat_transport_success_as_data_success"
800
+ ]
801
+ }
802
+ },
803
+ {
804
+ "cause": "ready",
805
+ "source_basis": [
806
+ {
807
+ "type": "registry_fact",
808
+ "artifact": "reports/health-probe-catalog.json",
809
+ "json_pointer": "/receipt_contract/policy_authority",
810
+ "equals": "datapan-registry"
811
+ },
812
+ {
813
+ "type": "consumer_evidence",
814
+ "kind": "validation_result"
815
+ }
816
+ ],
817
+ "selector_groups": [
818
+ [
819
+ "validation_passed"
820
+ ]
821
+ ],
822
+ "corroborator_groups": [],
823
+ "result": {
824
+ "determination": "observed",
825
+ "accountable_party": "shared",
826
+ "recommended_action": "continue_to_reuse",
827
+ "avoid_actions": []
828
+ }
829
+ },
830
+ {
831
+ "cause": "unknown",
832
+ "source_basis": [
833
+ {
834
+ "type": "resolution_policy",
835
+ "ref": "no_or_conflicting_specific_cause"
836
+ }
837
+ ],
838
+ "selector_groups": [],
839
+ "corroborator_groups": [],
840
+ "result": {
841
+ "determination": "unknown",
842
+ "accountable_party": "unknown",
843
+ "recommended_action": "gather_more_evidence",
844
+ "avoid_actions": [
845
+ "assume_provider_outage"
846
+ ]
847
+ }
848
+ }
849
+ ],
850
+ "proof_cases": [
851
+ {
852
+ "case_id": "approval-required-dataset-entry",
853
+ "fixture": "approval-required.json",
854
+ "include_kinds": [
855
+ "approval_record"
856
+ ],
857
+ "subject_overrides": {
858
+ "dataset_id": "15000017"
859
+ },
860
+ "expected": {
861
+ "cause": "approval_required",
862
+ "determination": "observed",
863
+ "recommended_action": "apply_for_operation",
864
+ "avoid_actions": [
865
+ "reissue_credential"
866
+ ],
867
+ "application_entry": {
868
+ "kind": "dataset_application_entry",
869
+ "url": "https://www.data.go.kr/data/15000017/openapi.do",
870
+ "direct_submission_url": false
871
+ }
872
+ }
873
+ },
874
+ {
875
+ "case_id": "approval-same-operation-current",
876
+ "fixture": "approval-propagating.json",
877
+ "include_kinds": [
878
+ "approval_record",
879
+ "provider_response"
880
+ ],
881
+ "expected": {
882
+ "cause": "approval_propagating",
883
+ "determination": "inferred",
884
+ "recommended_action": "wait_for_approval_sync",
885
+ "avoid_actions": [
886
+ "reissue_credential"
887
+ ]
888
+ }
889
+ },
890
+ {
891
+ "case_id": "approval-cross-operation",
892
+ "fixture": "approval-propagating.json",
893
+ "include_kinds": [
894
+ "approval_record",
895
+ "provider_response"
896
+ ],
897
+ "binding_operation_override": "another-operation",
898
+ "expected": {
899
+ "cause": "unknown",
900
+ "determination": "unknown",
901
+ "recommended_action": "gather_more_evidence",
902
+ "avoid_actions": [
903
+ "assume_provider_outage"
904
+ ]
905
+ }
906
+ },
907
+ {
908
+ "case_id": "health-outage",
909
+ "fixture": "provider-outage.json",
910
+ "include_kinds": [
911
+ "health_observation"
912
+ ],
913
+ "expected": {
914
+ "cause": "provider_outage",
915
+ "determination": "inferred",
916
+ "recommended_action": "check_provider_status",
917
+ "avoid_actions": [
918
+ "reissue_credential"
919
+ ]
920
+ }
921
+ },
922
+ {
923
+ "case_id": "notice-outage",
924
+ "fixture": "provider-outage.json",
925
+ "include_kinds": [
926
+ "provider_notice"
927
+ ],
928
+ "mutations": [
929
+ {
930
+ "kind": "provider_notice",
931
+ "json_pointer": "/supports",
932
+ "value": [
933
+ "cause",
934
+ "determination",
935
+ "ownership",
936
+ "action"
937
+ ]
938
+ }
939
+ ],
940
+ "expected": {
941
+ "cause": "provider_outage",
942
+ "determination": "observed",
943
+ "recommended_action": "check_provider_status",
944
+ "avoid_actions": [
945
+ "reissue_credential"
946
+ ]
947
+ }
948
+ },
949
+ {
950
+ "case_id": "response-only-outage",
951
+ "fixture": "provider-outage.json",
952
+ "include_kinds": [
953
+ "provider_response"
954
+ ],
955
+ "mutations": [
956
+ {
957
+ "kind": "provider_response",
958
+ "json_pointer": "/response/provider_class",
959
+ "value": "service_unavailable"
960
+ },
961
+ {
962
+ "kind": "provider_response",
963
+ "json_pointer": "/supports",
964
+ "value": [
965
+ "cause",
966
+ "determination",
967
+ "action"
968
+ ]
969
+ }
970
+ ],
971
+ "expected": {
972
+ "cause": "provider_outage",
973
+ "determination": "inferred",
974
+ "recommended_action": "check_provider_status",
975
+ "avoid_actions": []
976
+ }
977
+ },
978
+ {
979
+ "case_id": "stale-health",
980
+ "fixture": "provider-outage.json",
981
+ "include_kinds": [
982
+ "health_observation"
983
+ ],
984
+ "mutations": [
985
+ {
986
+ "kind": "health_observation",
987
+ "json_pointer": "/timing/observed_age_seconds",
988
+ "value": 901
989
+ }
990
+ ],
991
+ "expected": {
992
+ "cause": "unknown",
993
+ "determination": "unknown",
994
+ "recommended_action": "gather_more_evidence",
995
+ "avoid_actions": [
996
+ "assume_provider_outage"
997
+ ]
998
+ }
999
+ },
1000
+ {
1001
+ "case_id": "expired-health",
1002
+ "fixture": "provider-outage.json",
1003
+ "include_kinds": [
1004
+ "health_observation"
1005
+ ],
1006
+ "mutations": [
1007
+ {
1008
+ "kind": "health_observation",
1009
+ "json_pointer": "/timing/remaining_validity_seconds",
1010
+ "value": 0
1011
+ }
1012
+ ],
1013
+ "expected": {
1014
+ "cause": "unknown",
1015
+ "determination": "unknown",
1016
+ "recommended_action": "gather_more_evidence",
1017
+ "avoid_actions": [
1018
+ "assume_provider_outage"
1019
+ ]
1020
+ }
1021
+ },
1022
+ {
1023
+ "case_id": "single-timeout",
1024
+ "fixture": "unknown.json",
1025
+ "include_kinds": [],
1026
+ "synthetic_evidence": [
1027
+ {
1028
+ "kind": "registry_rule",
1029
+ "ref_id": "registry-rule:data-go-kr-external-timeout",
1030
+ "authority": "registry",
1031
+ "timing": {
1032
+ "basis": "relative_to_assessed_at",
1033
+ "observed_age_seconds": 0,
1034
+ "validity": "current_at_assessment",
1035
+ "validity_policy_version": "fixture-v1",
1036
+ "remaining_validity_seconds": 60
1037
+ },
1038
+ "scope": {
1039
+ "level": "operation",
1040
+ "subject_ref": "envelope_subject"
1041
+ },
1042
+ "supports": [
1043
+ "scope"
1044
+ ]
1045
+ }
1046
+ ],
1047
+ "expected": {
1048
+ "cause": "unknown",
1049
+ "determination": "unknown",
1050
+ "recommended_action": "gather_more_evidence",
1051
+ "avoid_actions": [
1052
+ "assume_provider_outage"
1053
+ ]
1054
+ }
1055
+ }
1056
+ ]
1057
+ }
policy/diagnostic-cause-action-vocabulary.v1.json ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-cause-action-vocabulary.v1",
3
+ "status": "stable",
4
+ "generated_at": "2026-07-16T10:30:00Z",
5
+ "source_contract": {
6
+ "path": "policy/diagnostic-envelope-consumer-contract.v1.json",
7
+ "bytes": 6994,
8
+ "sha256": "39357f2b154bba54487acce5a5707c71755ce01abb0478e8bf0fff41a35dab91"
9
+ },
10
+ "causes": [
11
+ {
12
+ "code": "approval_required",
13
+ "minimum_evidence": "authoritative approval_record state=not_applied",
14
+ "required_action": "apply_for_operation"
15
+ },
16
+ {
17
+ "code": "approval_propagating",
18
+ "minimum_evidence": "current authoritative operation-bound approval_record state=approved_pending_sync plus a current same-subject unclassified HTTP 401/403 provider response",
19
+ "required_action": "wait_for_approval_sync",
20
+ "required_avoid_action": "reissue_credential"
21
+ },
22
+ {
23
+ "code": "credential_invalid",
24
+ "minimum_evidence": "typed provider response class=credential_rejected or failed CLI request validation class=credential_configuration",
25
+ "required_action": "verify_credential_configuration"
26
+ },
27
+ {
28
+ "code": "invalid_input",
29
+ "minimum_evidence": "failed CLI request validation class=invalid_input with policy version",
30
+ "required_action": "verify_request_parameters"
31
+ },
32
+ {
33
+ "code": "rate_limited",
34
+ "minimum_evidence": "typed provider response class=rate_limited with policy version",
35
+ "required_action": "retry_with_backoff"
36
+ },
37
+ {
38
+ "code": "provider_outage",
39
+ "minimum_evidence": "current bounded unavailable/degraded Health correlation, direct provider notice, or typed provider response class=service_unavailable; observed determination requires the direct notice",
40
+ "required_action": "check_provider_status"
41
+ },
42
+ {
43
+ "code": "contract_drift",
44
+ "minimum_evidence": "response contract assertion result=mismatch with policy version",
45
+ "required_action": "refresh_contract"
46
+ },
47
+ {
48
+ "code": "semantic_quality",
49
+ "minimum_evidence": "data quality assertion result=failed with semantic assertion kind and policy version",
50
+ "required_action": "inspect_data_quality",
51
+ "required_avoid_action": "treat_transport_success_as_data_success"
52
+ },
53
+ {
54
+ "code": "stale_data",
55
+ "minimum_evidence": "quality assertion kind=freshness result=failed plus reference_time, actual_time, maximum_age_seconds, and stale state",
56
+ "required_action": "inspect_data_quality"
57
+ },
58
+ {
59
+ "code": "ready",
60
+ "minimum_evidence": "operation-scoped versioned validation_result passed at required level",
61
+ "required_action": "continue_to_reuse"
62
+ },
63
+ {
64
+ "code": "unknown",
65
+ "minimum_evidence": "bounded evidence that does not support a more specific cause",
66
+ "required_action": "gather_more_evidence"
67
+ }
68
+ ],
69
+ "compatibility": {
70
+ "unknown_code_behavior": "map_to_unknown_and_gather_more_evidence",
71
+ "same_version_enum_additions_allowed": false,
72
+ "deprecation": "publish_a_new_version_before_removing_or_redefining_any_id"
73
+ }
74
+ }
policy/diagnostic-envelope-consumer-contract.v1.json ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-envelope-consumer-contract.v1",
3
+ "status": "stable",
4
+ "envelope_schema": "schemas/datapan.diagnostic-envelope.v1.schema.json",
5
+ "required_consumers": [
6
+ "datapan-cli",
7
+ "datapan-health",
8
+ "datapan-web"
9
+ ],
10
+ "required_fields": [
11
+ "schema_version",
12
+ "assessed_at",
13
+ "subject.source_id",
14
+ "subject.provider_id",
15
+ "subject.dataset_id",
16
+ "subject.operation_id",
17
+ "cause.code",
18
+ "cause.determination",
19
+ "cause.layer",
20
+ "cause.explanation_id",
21
+ "ownership.accountable_party",
22
+ "actions.recommended",
23
+ "actions.avoid",
24
+ "evidence_refs[].kind",
25
+ "evidence_refs[].ref_id",
26
+ "evidence_refs[].authority",
27
+ "evidence_refs[].timing",
28
+ "evidence_refs[].scope",
29
+ "evidence_refs[].supports",
30
+ "redaction"
31
+ ],
32
+ "optional_fields": [
33
+ "fixture",
34
+ "ownership.support_reference_id",
35
+ "evidence_refs[].version",
36
+ "evidence_refs[].scope.detail_id"
37
+ ],
38
+ "validation_contract": {
39
+ "validator": "json-schema-draft-2020-12",
40
+ "single_required_artifact": "schemas/datapan.diagnostic-envelope.v1.schema.json",
41
+ "additional_semantic_validator_required": false,
42
+ "scope_binding": "evidence scope subject_ref=envelope_subject; each evidence kind has one allowed non-source level and no duplicated subject identity is accepted",
43
+ "time_binding": "non-negative observed_age_seconds relative to assessed_at plus current_at_assessment validity and remaining_validity_seconds greater than zero",
44
+ "identifier_profile": "bounded lowercase authority IDs with colon-separated segments; URLs, slash paths, free text, and credential-labeled segments are invalid",
45
+ "action_binding": "cause-specific exact action objects bind action_id, actor, and rationale_id; contradictory extra actions are invalid",
46
+ "ready_level_order_encoded_in_schema": true,
47
+ "evidence_payload_is_kind_exclusive": true
48
+ },
49
+ "evidence_variants": {
50
+ "registry_rule": {
51
+ "required_payload": null,
52
+ "allowed_authorities": [
53
+ "registry"
54
+ ],
55
+ "allowed_scope_level": "operation"
56
+ },
57
+ "registry_operation": {
58
+ "required_payload": null,
59
+ "allowed_authorities": [
60
+ "registry"
61
+ ],
62
+ "allowed_scope_level": "operation"
63
+ },
64
+ "approval_record": {
65
+ "required_payload": "approval",
66
+ "allowed_authorities": [
67
+ "data_go_kr_portal",
68
+ "provider_portal"
69
+ ],
70
+ "allowed_scope_level": "operation"
71
+ },
72
+ "request_validation": {
73
+ "required_payload": "request_validation",
74
+ "allowed_authorities": [
75
+ "datapan_cli"
76
+ ],
77
+ "allowed_scope_level": "request"
78
+ },
79
+ "provider_response": {
80
+ "required_payload": "response",
81
+ "allowed_authorities": [
82
+ "provider",
83
+ "datapan_cli"
84
+ ],
85
+ "allowed_scope_level": "operation"
86
+ },
87
+ "health_observation": {
88
+ "required_payload": "health_correlation",
89
+ "allowed_authorities": [
90
+ "datapan_health"
91
+ ],
92
+ "allowed_scope_level": "operation"
93
+ },
94
+ "provider_notice": {
95
+ "required_payload": "notice",
96
+ "allowed_authorities": [
97
+ "provider",
98
+ "provider_portal"
99
+ ],
100
+ "allowed_scope_level": "operation"
101
+ },
102
+ "response_contract": {
103
+ "required_payload": "contract_assertion",
104
+ "allowed_authorities": [
105
+ "consumer_validation",
106
+ "datapan_cli",
107
+ "datapan_web"
108
+ ],
109
+ "allowed_scope_level": "response"
110
+ },
111
+ "data_quality_assertion": {
112
+ "required_payload": "quality_assertion",
113
+ "optional_payload": "freshness",
114
+ "allowed_authorities": [
115
+ "consumer_validation",
116
+ "datapan_cli",
117
+ "datapan_health",
118
+ "datapan_web"
119
+ ],
120
+ "allowed_scope_level": "data_quality"
121
+ },
122
+ "validation_result": {
123
+ "required_payload": "validation",
124
+ "allowed_authorities": [
125
+ "datapan_cli",
126
+ "datapan_health",
127
+ "consumer_validation"
128
+ ],
129
+ "allowed_scope_level": "operation"
130
+ }
131
+ },
132
+ "compatibility": {
133
+ "certainty_axis": [
134
+ "observed",
135
+ "inferred",
136
+ "unknown"
137
+ ],
138
+ "numeric_or_probability_confidence_allowed": false,
139
+ "unknown_cause_representation": "unknown",
140
+ "same_version_shape_changes_allowed_after_publication": false,
141
+ "same_version_enum_additions_allowed_after_publication": false,
142
+ "draft_instances_are_runtime_authority": false,
143
+ "registry_owns_live_inference": false
144
+ },
145
+ "cause_catalog": [
146
+ {
147
+ "code": "approval_required",
148
+ "minimum_evidence": "authoritative approval_record state=not_applied",
149
+ "required_action": "apply_for_operation"
150
+ },
151
+ {
152
+ "code": "approval_propagating",
153
+ "minimum_evidence": "current authoritative operation-bound approval_record state=approved_pending_sync plus a current same-subject unclassified HTTP 401/403 provider response",
154
+ "required_action": "wait_for_approval_sync",
155
+ "required_avoid_action": "reissue_credential"
156
+ },
157
+ {
158
+ "code": "credential_invalid",
159
+ "minimum_evidence": "typed provider response class=credential_rejected or failed CLI request validation class=credential_configuration",
160
+ "required_action": "verify_credential_configuration"
161
+ },
162
+ {
163
+ "code": "invalid_input",
164
+ "minimum_evidence": "failed CLI request validation class=invalid_input with policy version",
165
+ "required_action": "verify_request_parameters"
166
+ },
167
+ {
168
+ "code": "rate_limited",
169
+ "minimum_evidence": "typed provider response class=rate_limited with policy version",
170
+ "required_action": "retry_with_backoff"
171
+ },
172
+ {
173
+ "code": "provider_outage",
174
+ "minimum_evidence": "current bounded unavailable/degraded Health correlation, direct provider notice, or typed provider response class=service_unavailable; observed determination requires the direct notice",
175
+ "required_action": "check_provider_status"
176
+ },
177
+ {
178
+ "code": "contract_drift",
179
+ "minimum_evidence": "response contract assertion result=mismatch with policy version",
180
+ "required_action": "refresh_contract"
181
+ },
182
+ {
183
+ "code": "semantic_quality",
184
+ "minimum_evidence": "data quality assertion result=failed with semantic assertion kind and policy version",
185
+ "required_action": "inspect_data_quality",
186
+ "required_avoid_action": "treat_transport_success_as_data_success"
187
+ },
188
+ {
189
+ "code": "stale_data",
190
+ "minimum_evidence": "quality assertion kind=freshness result=failed plus reference_time, actual_time, maximum_age_seconds, and stale state",
191
+ "required_action": "inspect_data_quality"
192
+ },
193
+ {
194
+ "code": "ready",
195
+ "minimum_evidence": "operation-scoped versioned validation_result passed at required level",
196
+ "required_action": "continue_to_reuse"
197
+ },
198
+ {
199
+ "code": "unknown",
200
+ "minimum_evidence": "bounded evidence that does not support a more specific cause",
201
+ "required_action": "gather_more_evidence"
202
+ }
203
+ ]
204
+ }
reports/credential-runtime-manual-review-acceptance-packet.json CHANGED
@@ -30,7 +30,7 @@
30
  "handoff_path": "reports/credential-runtime-review-handoff.json",
31
  "handoff_sha256": "7d8e645a0f58469fabe3f9289e20ea6835c81e088dd363519d015d1d0f501beb",
32
  "compatibility_path": "reports/release-consumer-compatibility.json",
33
- "compatibility_sha256": "cbe9e4ca130cc4caff8c62528b4d4065b36bc425eb96655f6b6b0fa5f212d5cc"
34
  },
35
  "required_human_inputs": [
36
  {
@@ -61,7 +61,7 @@
61
  "reviewed_at": "<ISO-8601 UTC timestamp>",
62
  "reason": "<manual-review acceptance reason>",
63
  "handoff_sha256": "7d8e645a0f58469fabe3f9289e20ea6835c81e088dd363519d015d1d0f501beb",
64
- "compatibility_sha256": "cbe9e4ca130cc4caff8c62528b4d4065b36bc425eb96655f6b6b0fa5f212d5cc",
65
  "expires_at": "<ISO-8601 UTC timestamp>",
66
  "revalidation_triggers": [
67
  "credential_runtime_review_handoff_changed",
 
30
  "handoff_path": "reports/credential-runtime-review-handoff.json",
31
  "handoff_sha256": "7d8e645a0f58469fabe3f9289e20ea6835c81e088dd363519d015d1d0f501beb",
32
  "compatibility_path": "reports/release-consumer-compatibility.json",
33
+ "compatibility_sha256": "ce272b8f641feb45b3d679f2602f1579dce3ffad3379b7ff3801bd0cd745384c"
34
  },
35
  "required_human_inputs": [
36
  {
 
61
  "reviewed_at": "<ISO-8601 UTC timestamp>",
62
  "reason": "<manual-review acceptance reason>",
63
  "handoff_sha256": "7d8e645a0f58469fabe3f9289e20ea6835c81e088dd363519d015d1d0f501beb",
64
+ "compatibility_sha256": "ce272b8f641feb45b3d679f2602f1579dce3ffad3379b7ff3801bd0cd745384c",
65
  "expires_at": "<ISO-8601 UTC timestamp>",
66
  "revalidation_triggers": [
67
  "credential_runtime_review_handoff_changed",
reports/credential-runtime-manual-review-acceptance.json CHANGED
@@ -17,7 +17,7 @@
17
  "acceptance_status": "accepted",
18
  "acceptance_decision": "accepted_manual_review_release_boundary",
19
  "decision_status": "accepted",
20
- "decision_reason": "The accountable release owner re-accepts the current manual-review release boundary for additive manifest-bound KOSIS source provenance; no existing consumer or credential/runtime boundary change.",
21
  "credential_handoff_status": "relief_ready",
22
  "pending_review_sources": 0,
23
  "reviewed_receipts_checked_in": 5,
 
17
  "acceptance_status": "accepted",
18
  "acceptance_decision": "accepted_manual_review_release_boundary",
19
  "decision_status": "accepted",
20
+ "decision_reason": "The accountable release owner re-accepts the current manual-review release boundary for additive, pre-publication diagnostic artifacts. Credential and runtime policy are unchanged; tag, publication, anonymous fetch, and consumer rollout remain separate blocked gates.",
21
  "credential_handoff_status": "relief_ready",
22
  "pending_review_sources": 0,
23
  "reviewed_receipts_checked_in": 5,
reports/credential-runtime-manual-review-decision.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "schema_version": "datapan.credential-runtime-manual-review-decision.v1",
3
- "generated_at": "2026-07-15T13:52:38Z",
4
  "goal_issue": 344,
5
  "decision_ticket": 391,
6
  "provider": "datapan-registry",
@@ -19,11 +19,11 @@
19
  "accepted": true,
20
  "decision_status": "accepted",
21
  "reviewer": "StatPan",
22
- "reviewed_at": "2026-07-15T13:52:38Z",
23
- "reason": "The accountable release owner re-accepts the current manual-review release boundary for additive manifest-bound KOSIS source provenance; no existing consumer or credential/runtime boundary change.",
24
  "handoff_sha256": "7d8e645a0f58469fabe3f9289e20ea6835c81e088dd363519d015d1d0f501beb",
25
- "compatibility_sha256": "cbe9e4ca130cc4caff8c62528b4d4065b36bc425eb96655f6b6b0fa5f212d5cc",
26
- "expires_at": "2026-08-14T13:52:38Z",
27
  "revalidation_triggers": [
28
  "credential_receipt_state_changes",
29
  "consumer_compatibility_changes",
 
1
  {
2
  "schema_version": "datapan.credential-runtime-manual-review-decision.v1",
3
+ "generated_at": "2026-07-16T10:30:00Z",
4
  "goal_issue": 344,
5
  "decision_ticket": 391,
6
  "provider": "datapan-registry",
 
19
  "accepted": true,
20
  "decision_status": "accepted",
21
  "reviewer": "StatPan",
22
+ "reviewed_at": "2026-07-16T10:30:00Z",
23
+ "reason": "The accountable release owner re-accepts the current manual-review release boundary for additive, pre-publication diagnostic artifacts. Credential and runtime policy are unchanged; tag, publication, anonymous fetch, and consumer rollout remain separate blocked gates.",
24
  "handoff_sha256": "7d8e645a0f58469fabe3f9289e20ea6835c81e088dd363519d015d1d0f501beb",
25
+ "compatibility_sha256": "ce272b8f641feb45b3d679f2602f1579dce3ffad3379b7ff3801bd0cd745384c",
26
+ "expires_at": "2026-08-15T10:30:00Z",
27
  "revalidation_triggers": [
28
  "credential_receipt_state_changes",
29
  "consumer_compatibility_changes",
reports/diagnostic-consumer-compatibility/datapan-cli.v1.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-consumer-compatibility.v1",
3
+ "status": "stable",
4
+ "consumer": "datapan-cli",
5
+ "schema_contract": {
6
+ "path": "schemas/datapan.diagnostic-envelope.v1.schema.json",
7
+ "sha256": "0782ed2150a31471645d3cf79a4ac0e63c1ba85ea31eb7b06cf39e7de9fb96fc"
8
+ },
9
+ "mapping_contract": {
10
+ "path": "policy/data-go-kr-diagnostic-evidence-mapping.v1.json",
11
+ "sha256": "c79d9a5afe2702b22cf49fff97178b4f79ffc16eaa4624b68f826fb8c9509273"
12
+ },
13
+ "production_status": {
14
+ "currently_proven": [],
15
+ "required_after_dependencies": [
16
+ "StatPan/datapan-cli#160"
17
+ ]
18
+ },
19
+ "producer_evidence": [
20
+ "request_validation",
21
+ "provider_response",
22
+ "validation_result",
23
+ "data_quality_assertion"
24
+ ],
25
+ "accepted_causes": [
26
+ "approval_required",
27
+ "approval_propagating",
28
+ "credential_invalid",
29
+ "invalid_input",
30
+ "rate_limited",
31
+ "provider_outage",
32
+ "contract_drift",
33
+ "semantic_quality",
34
+ "stale_data",
35
+ "ready",
36
+ "unknown"
37
+ ],
38
+ "accepted_action_variants": [
39
+ "approval_propagating:wait_for_approval_sync:avoid_reissue_credential",
40
+ "provider_outage:health_or_notice:avoid_reissue_credential",
41
+ "provider_outage:response_only:no_avoid_reissue_credential",
42
+ "unknown:gather_more_evidence"
43
+ ],
44
+ "fixture_contracts": [
45
+ "approval-required.json",
46
+ "approval-propagating.json",
47
+ "credential-invalid.json",
48
+ "invalid-input.json",
49
+ "rate-limited.json",
50
+ "provider-outage.json",
51
+ "contract-drift.json",
52
+ "semantic-quality.json",
53
+ "stale-data.json",
54
+ "ready.json",
55
+ "unknown.json"
56
+ ],
57
+ "operation_application_path": {
58
+ "status": "dataset_application_entry_available",
59
+ "route_kind": "dataset_application_entry",
60
+ "direct_submission_url": false,
61
+ "template": "https://www.data.go.kr/data/{dataset_id}/openapi.do",
62
+ "subject_requirements": "data_go_kr_exact_numeric_registry_dataset",
63
+ "generic_reference_rejected": "sources/data_go_kr.json#/references/key_request_url",
64
+ "on_invalid_subject": "unknown_gather_more_evidence"
65
+ },
66
+ "obligations": {
67
+ "action": "exact_mapping_result",
68
+ "scope": "exact_bound_subject",
69
+ "timing": "current_positive_validity",
70
+ "redaction": "envelope_redaction_contract",
71
+ "unknown_fallback": "unknown_gather_more_evidence"
72
+ },
73
+ "publication_proof": {
74
+ "candidate_binding_sha256": "ac847cb158eb432e72e78d194a94542db5860062b9b869c42f6d736e4f649016",
75
+ "candidate_merge_commit": "114c4e4a043bc495ada04e5c85fe8bed4eaf1fc3",
76
+ "scope": "prepublication_consumer_compatibility",
77
+ "runtime_authority": false
78
+ }
79
+ }
reports/diagnostic-consumer-compatibility/datapan-health.v1.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-consumer-compatibility.v1",
3
+ "status": "stable",
4
+ "consumer": "datapan-health",
5
+ "schema_contract": {
6
+ "path": "schemas/datapan.diagnostic-envelope.v1.schema.json",
7
+ "sha256": "0782ed2150a31471645d3cf79a4ac0e63c1ba85ea31eb7b06cf39e7de9fb96fc"
8
+ },
9
+ "mapping_contract": {
10
+ "path": "policy/data-go-kr-diagnostic-evidence-mapping.v1.json",
11
+ "sha256": "c79d9a5afe2702b22cf49fff97178b4f79ffc16eaa4624b68f826fb8c9509273"
12
+ },
13
+ "production_status": {
14
+ "currently_proven": [],
15
+ "required_after_dependencies": [
16
+ "StatPan/datapan-health#19",
17
+ "StatPan/datapan-health#20",
18
+ "StatPan/datapan-health#21",
19
+ "StatPan/datapan-health#22"
20
+ ]
21
+ },
22
+ "producer_evidence": [
23
+ "health_observation",
24
+ "validation_result",
25
+ "data_quality_assertion"
26
+ ],
27
+ "accepted_causes": [
28
+ "approval_required",
29
+ "approval_propagating",
30
+ "credential_invalid",
31
+ "invalid_input",
32
+ "rate_limited",
33
+ "provider_outage",
34
+ "contract_drift",
35
+ "semantic_quality",
36
+ "stale_data",
37
+ "ready",
38
+ "unknown"
39
+ ],
40
+ "accepted_action_variants": [
41
+ "approval_propagating:wait_for_approval_sync:avoid_reissue_credential",
42
+ "provider_outage:health_or_notice:avoid_reissue_credential",
43
+ "provider_outage:response_only:no_avoid_reissue_credential",
44
+ "unknown:gather_more_evidence"
45
+ ],
46
+ "fixture_contracts": [
47
+ "approval-required.json",
48
+ "approval-propagating.json",
49
+ "credential-invalid.json",
50
+ "invalid-input.json",
51
+ "rate-limited.json",
52
+ "provider-outage.json",
53
+ "contract-drift.json",
54
+ "semantic-quality.json",
55
+ "stale-data.json",
56
+ "ready.json",
57
+ "unknown.json"
58
+ ],
59
+ "operation_application_path": {
60
+ "status": "dataset_application_entry_available",
61
+ "route_kind": "dataset_application_entry",
62
+ "direct_submission_url": false,
63
+ "template": "https://www.data.go.kr/data/{dataset_id}/openapi.do",
64
+ "subject_requirements": "data_go_kr_exact_numeric_registry_dataset",
65
+ "generic_reference_rejected": "sources/data_go_kr.json#/references/key_request_url",
66
+ "on_invalid_subject": "unknown_gather_more_evidence"
67
+ },
68
+ "obligations": {
69
+ "action": "exact_mapping_result",
70
+ "scope": "exact_bound_subject",
71
+ "timing": "current_positive_validity",
72
+ "redaction": "envelope_redaction_contract",
73
+ "unknown_fallback": "unknown_gather_more_evidence"
74
+ },
75
+ "publication_proof": {
76
+ "candidate_binding_sha256": "ac847cb158eb432e72e78d194a94542db5860062b9b869c42f6d736e4f649016",
77
+ "candidate_merge_commit": "114c4e4a043bc495ada04e5c85fe8bed4eaf1fc3",
78
+ "scope": "prepublication_consumer_compatibility",
79
+ "runtime_authority": false
80
+ }
81
+ }
reports/diagnostic-consumer-compatibility/datapan-web.v1.json ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-consumer-compatibility.v1",
3
+ "status": "stable",
4
+ "consumer": "datapan-web",
5
+ "schema_contract": {
6
+ "path": "schemas/datapan.diagnostic-envelope.v1.schema.json",
7
+ "sha256": "0782ed2150a31471645d3cf79a4ac0e63c1ba85ea31eb7b06cf39e7de9fb96fc"
8
+ },
9
+ "mapping_contract": {
10
+ "path": "policy/data-go-kr-diagnostic-evidence-mapping.v1.json",
11
+ "sha256": "c79d9a5afe2702b22cf49fff97178b4f79ffc16eaa4624b68f826fb8c9509273"
12
+ },
13
+ "production_status": {
14
+ "currently_proven": [],
15
+ "required_after_dependencies": [
16
+ "StatPan/datapan#7",
17
+ "StatPan/datapan#8",
18
+ "StatPan/datapan#9",
19
+ "StatPan/datapan#10",
20
+ "StatPan/datapan#11"
21
+ ]
22
+ },
23
+ "producer_evidence": [
24
+ "response_contract",
25
+ "data_quality_assertion"
26
+ ],
27
+ "accepted_causes": [
28
+ "approval_required",
29
+ "approval_propagating",
30
+ "credential_invalid",
31
+ "invalid_input",
32
+ "rate_limited",
33
+ "provider_outage",
34
+ "contract_drift",
35
+ "semantic_quality",
36
+ "stale_data",
37
+ "ready",
38
+ "unknown"
39
+ ],
40
+ "accepted_action_variants": [
41
+ "approval_propagating:wait_for_approval_sync:avoid_reissue_credential",
42
+ "provider_outage:health_or_notice:avoid_reissue_credential",
43
+ "provider_outage:response_only:no_avoid_reissue_credential",
44
+ "unknown:gather_more_evidence"
45
+ ],
46
+ "fixture_contracts": [
47
+ "approval-required.json",
48
+ "approval-propagating.json",
49
+ "credential-invalid.json",
50
+ "invalid-input.json",
51
+ "rate-limited.json",
52
+ "provider-outage.json",
53
+ "contract-drift.json",
54
+ "semantic-quality.json",
55
+ "stale-data.json",
56
+ "ready.json",
57
+ "unknown.json"
58
+ ],
59
+ "operation_application_path": {
60
+ "status": "dataset_application_entry_available",
61
+ "route_kind": "dataset_application_entry",
62
+ "direct_submission_url": false,
63
+ "template": "https://www.data.go.kr/data/{dataset_id}/openapi.do",
64
+ "subject_requirements": "data_go_kr_exact_numeric_registry_dataset",
65
+ "generic_reference_rejected": "sources/data_go_kr.json#/references/key_request_url",
66
+ "on_invalid_subject": "unknown_gather_more_evidence"
67
+ },
68
+ "obligations": {
69
+ "action": "exact_mapping_result",
70
+ "scope": "exact_bound_subject",
71
+ "timing": "current_positive_validity",
72
+ "redaction": "envelope_redaction_contract",
73
+ "unknown_fallback": "unknown_gather_more_evidence"
74
+ },
75
+ "publication_proof": {
76
+ "candidate_binding_sha256": "ac847cb158eb432e72e78d194a94542db5860062b9b869c42f6d736e4f649016",
77
+ "candidate_merge_commit": "114c4e4a043bc495ada04e5c85fe8bed4eaf1fc3",
78
+ "scope": "prepublication_consumer_compatibility",
79
+ "runtime_authority": false
80
+ }
81
+ }
reports/diagnostic-publication-readiness.json ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": "datapan.diagnostic-publication-readiness.v1",
3
+ "generated_at": "2026-07-16T10:30:00Z",
4
+ "status": "prepared_for_exact_head_review",
5
+ "candidate": {
6
+ "source_head": "5343ebc4477640409d76cac5bee71e0824e48d59",
7
+ "merge_commit": "114c4e4a043bc495ada04e5c85fe8bed4eaf1fc3",
8
+ "binding_sha256": "ac847cb158eb432e72e78d194a94542db5860062b9b869c42f6d736e4f649016",
9
+ "source": {
10
+ "path": "drafts/diagnostic-envelope/release-candidate/diagnostic-release-candidate.v1.json",
11
+ "bytes": 6116,
12
+ "sha256": "9af6d9a339139ef10cdca50f6a2502b63940d74eb33b1bf9297beac97cbf2dd6"
13
+ }
14
+ },
15
+ "artifacts": [
16
+ {
17
+ "path": "examples/diagnostic-envelope/approval-propagating.json",
18
+ "kind": "diagnostic_example",
19
+ "bytes": 3004,
20
+ "sha256": "fe000f4082f948d6a96f045d7fae91c6bdf7288c6746196a8c7b0868d6416099"
21
+ },
22
+ {
23
+ "path": "examples/diagnostic-envelope/approval-required.json",
24
+ "kind": "diagnostic_example",
25
+ "bytes": 2247,
26
+ "sha256": "d11fc4e18aee6fe1a7f5c9c0a94a1e6e1bae0177447f2f6bcc0dddbe6961e7d3"
27
+ },
28
+ {
29
+ "path": "examples/diagnostic-envelope/contract-drift.json",
30
+ "kind": "diagnostic_example",
31
+ "bytes": 2205,
32
+ "sha256": "13bc8af8c6b1540ef91a49f60ed9aab5514fabee3316868dc9f946adbe1da470"
33
+ },
34
+ {
35
+ "path": "examples/diagnostic-envelope/credential-invalid.json",
36
+ "kind": "diagnostic_example",
37
+ "bytes": 2164,
38
+ "sha256": "c5796d7bf59c6f282f9f75b14717a51ff716859e06f6325e784c48d507816497"
39
+ },
40
+ {
41
+ "path": "examples/diagnostic-envelope/invalid-input.json",
42
+ "kind": "diagnostic_example",
43
+ "bytes": 2209,
44
+ "sha256": "80adb4fce6ede5c34223468bf26b69e90c20c92d74661777c458a5238ad6ab07"
45
+ },
46
+ {
47
+ "path": "examples/diagnostic-envelope/provider-outage.json",
48
+ "kind": "diagnostic_example",
49
+ "bytes": 3588,
50
+ "sha256": "33c0160c4cf136b34dc3befa1ff5803c71f3c37d7946fa2b56e70c69d4be6200"
51
+ },
52
+ {
53
+ "path": "examples/diagnostic-envelope/rate-limited.json",
54
+ "kind": "diagnostic_example",
55
+ "bytes": 2108,
56
+ "sha256": "8be4fb69e91ae42c2a03510458b9b9fd23cf4780d551ea1ddaa505c8bc40d318"
57
+ },
58
+ {
59
+ "path": "examples/diagnostic-envelope/ready.json",
60
+ "kind": "diagnostic_example",
61
+ "bytes": 1967,
62
+ "sha256": "7ae2306176bdd007ca2a4ca822240e4e515c76967b2af0c816584463aee420fc"
63
+ },
64
+ {
65
+ "path": "examples/diagnostic-envelope/semantic-quality.json",
66
+ "kind": "diagnostic_example",
67
+ "bytes": 2966,
68
+ "sha256": "06fcc308aa039861b38f6da2fee8f23150ea7d2cac998b5d9e05b011ca1ca9b0"
69
+ },
70
+ {
71
+ "path": "examples/diagnostic-envelope/stale-data.json",
72
+ "kind": "diagnostic_example",
73
+ "bytes": 2465,
74
+ "sha256": "f4cc2d0f34bdfb74bbed9a3bcb5cad7b0f5444fa5ded6ca1742c916799aecf92"
75
+ },
76
+ {
77
+ "path": "examples/diagnostic-envelope/unknown.json",
78
+ "kind": "diagnostic_example",
79
+ "bytes": 2035,
80
+ "sha256": "e0635cf4980438141007607c66eca821383f605393a69bdb03522b3873c1dcf0"
81
+ },
82
+ {
83
+ "path": "policy/data-go-kr-diagnostic-evidence-mapping.v1.json",
84
+ "kind": "diagnostic_evidence_mapping",
85
+ "bytes": 27117,
86
+ "sha256": "c79d9a5afe2702b22cf49fff97178b4f79ffc16eaa4624b68f826fb8c9509273"
87
+ },
88
+ {
89
+ "path": "policy/diagnostic-cause-action-vocabulary.v1.json",
90
+ "kind": "diagnostic_vocabulary",
91
+ "bytes": 3081,
92
+ "sha256": "aa03c42960a59725b829b934ad07548dacb8f149c7a920a35a9e32c0459b49fc"
93
+ },
94
+ {
95
+ "path": "policy/diagnostic-envelope-consumer-contract.v1.json",
96
+ "kind": "diagnostic_consumer_contract",
97
+ "bytes": 6994,
98
+ "sha256": "39357f2b154bba54487acce5a5707c71755ce01abb0478e8bf0fff41a35dab91"
99
+ },
100
+ {
101
+ "path": "reports/diagnostic-consumer-compatibility/datapan-cli.v1.json",
102
+ "kind": "diagnostic_consumer_compatibility",
103
+ "bytes": 2601,
104
+ "sha256": "56bd0403c8f8cb5148c534e19c00d627b23dc9c2fb83a8c026fa5c717dea695e"
105
+ },
106
+ {
107
+ "path": "reports/diagnostic-consumer-compatibility/datapan-health.v1.json",
108
+ "kind": "diagnostic_consumer_compatibility",
109
+ "bytes": 2686,
110
+ "sha256": "8b159c7978b7e1209b1eba35dd8b3943f007b554b0814e9c6d14ecc740df4b3e"
111
+ },
112
+ {
113
+ "path": "reports/diagnostic-consumer-compatibility/datapan-web.v1.json",
114
+ "kind": "diagnostic_consumer_compatibility",
115
+ "bytes": 2654,
116
+ "sha256": "747e9c8adbe3e46204d40055e6fca19aad4d8389d2db58fd302630503929834f"
117
+ },
118
+ {
119
+ "path": "schemas/datapan.diagnostic-envelope.v1.schema.json",
120
+ "kind": "schema",
121
+ "bytes": 93289,
122
+ "sha256": "0782ed2150a31471645d3cf79a4ac0e63c1ba85ea31eb7b06cf39e7de9fb96fc"
123
+ },
124
+ {
125
+ "path": "schemas/datapan.diagnostic-publication-readiness.v1.schema.json",
126
+ "kind": "schema",
127
+ "bytes": 3183,
128
+ "sha256": "cf08ea3e578edc2530f0e29e2900e157e2c5dd0615c02efe51b3f552220fe836"
129
+ }
130
+ ],
131
+ "exclusion_policy": {
132
+ "status": "passed",
133
+ "forbidden": [
134
+ "credentials_or_secret_hashes",
135
+ "authorization_headers",
136
+ "credential_bearing_urls",
137
+ "raw_provider_response_bodies",
138
+ "live_status_history",
139
+ "user_telemetry"
140
+ ]
141
+ },
142
+ "gates": {
143
+ "exact_head_independent_review": "pending",
144
+ "hosted_ci": "pending",
145
+ "tag_or_github_release": "not_authorized",
146
+ "immutable_distribution_publication": "not_authorized",
147
+ "anonymous_immutable_fetch": "blocked_until_publication",
148
+ "datapan_web_adoption": "blocked_until_anonymous_immutable_fetch"
149
+ },
150
+ "authority": {
151
+ "publishing_allowed": false,
152
+ "runtime_authority": false,
153
+ "live_history_authority": false,
154
+ "consumer_deployment_allowed": false
155
+ },
156
+ "anonymous_fetch_handoff": {
157
+ "tool": "scripts/huggingface_registry_distribution.py verify-remote",
158
+ "requirements": [
159
+ "anonymous_http",
160
+ "full_nonzero_immutable_payload_revision",
161
+ "release_manifest_identity_match",
162
+ "all_diagnostic_artifact_bytes_and_sha256_match"
163
+ ]
164
+ },
165
+ "web_adoption_handoff": {
166
+ "repository": "StatPan/datapan",
167
+ "consumer": "datapan-web",
168
+ "state": "post_publication_blocked",
169
+ "unblock_on": "anonymous_immutable_fetch_verified_for_every_artifact",
170
+ "ownership": "Web owns presentation and mutable history; Registry owns facts, vocabulary, and immutable artifact identity."
171
+ }
172
+ }
reports/latest-release-readiness.json CHANGED
@@ -2,7 +2,7 @@
2
  "manifest": "../manifest.json",
3
  "root": "..",
4
  "schema_version": "datapan.release-readiness.v1",
5
- "generated_at": "2026-07-15T13:59:02Z",
6
  "datapan_version": "0.1.0-dev",
7
  "provider": "data.go.kr",
8
  "ready": true,
@@ -15,7 +15,7 @@
15
  "missing_required_artifacts": 0,
16
  "recommended_artifacts": 3,
17
  "missing_recommended_artifacts": 0,
18
- "schema_artifacts": 85,
19
  "registry_specs": 12060
20
  },
21
  "gates": [
@@ -24,8 +24,8 @@
24
  "status": "pass",
25
  "severity": "required",
26
  "message": "release manifest checksums and schema-bound artifacts verified",
27
- "expected": 140,
28
- "actual": 140
29
  },
30
  {
31
  "id": "required_artifact_schema_index",
@@ -223,7 +223,7 @@
223
  "severity": "required",
224
  "message": "release includes all Datapan schema files known to this CLI",
225
  "expected": 20,
226
- "actual": 85
227
  },
228
  {
229
  "id": "registry_has_specs",
 
2
  "manifest": "../manifest.json",
3
  "root": "..",
4
  "schema_version": "datapan.release-readiness.v1",
5
+ "generated_at": "2026-07-18T05:34:27Z",
6
  "datapan_version": "0.1.0-dev",
7
  "provider": "data.go.kr",
8
  "ready": true,
 
15
  "missing_required_artifacts": 0,
16
  "recommended_artifacts": 3,
17
  "missing_recommended_artifacts": 0,
18
+ "schema_artifacts": 87,
19
  "registry_specs": 12060
20
  },
21
  "gates": [
 
24
  "status": "pass",
25
  "severity": "required",
26
  "message": "release manifest checksums and schema-bound artifacts verified",
27
+ "expected": 160,
28
+ "actual": 160
29
  },
30
  {
31
  "id": "required_artifact_schema_index",
 
223
  "severity": "required",
224
  "message": "release includes all Datapan schema files known to this CLI",
225
  "expected": 20,
226
+ "actual": 87
227
  },
228
  {
229
  "id": "registry_has_specs",
reports/latest-release-verification.json CHANGED
@@ -3,8 +3,8 @@
3
  "root": "..",
4
  "schema_version": "datapan.release-verification.v1",
5
  "manifest_schema_version": "datapan.release-manifest.v1",
6
- "artifact_count": 140,
7
- "checked": 140,
8
  "failed": 0,
9
  "ok": true,
10
  "results": [
@@ -111,10 +111,10 @@
111
  "path": "schemas/datapan.release-manifest.v1.schema.json",
112
  "kind": "schema",
113
  "status": "verified",
114
- "expected_bytes": 4015,
115
- "actual_bytes": 4015,
116
- "expected_sha256": "ec9139be5c9563a4766bf1f2f02c25353f07bb5153f48087a5544237133eac6a",
117
- "actual_sha256": "ec9139be5c9563a4766bf1f2f02c25353f07bb5153f48087a5544237133eac6a"
118
  },
119
  {
120
  "path": "schemas/datapan.release-readiness.v1.schema.json",
@@ -773,14 +773,32 @@
773
  "expected_sha256": "ceeca44135f8abd510dc0e1ded45ab4f0bbc02d0b75484cbccc7f01745f1e0f0",
774
  "actual_sha256": "ceeca44135f8abd510dc0e1ded45ab4f0bbc02d0b75484cbccc7f01745f1e0f0"
775
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
776
  {
777
  "path": "schemas/index.json",
778
  "kind": "schema_index",
779
  "status": "verified",
780
- "expected_bytes": 34697,
781
- "actual_bytes": 34697,
782
- "expected_sha256": "30ad7a17bc18a28fd9901245a9c1bb6dce9cd38a7a20982e682506b76d9cc68a",
783
- "actual_sha256": "30ad7a17bc18a28fd9901245a9c1bb6dce9cd38a7a20982e682506b76d9cc68a"
784
  },
785
  {
786
  "path": "data/data-go-kr.registry.json",
@@ -878,8 +896,8 @@
878
  "status": "verified",
879
  "expected_bytes": 8075,
880
  "actual_bytes": 8075,
881
- "expected_sha256": "6b96a84d9868c2728f6b59b33b2bcf2d172a74dce96c8d4fe318d6ed24a35200",
882
- "actual_sha256": "6b96a84d9868c2728f6b59b33b2bcf2d172a74dce96c8d4fe318d6ed24a35200"
883
  },
884
  {
885
  "path": "reports/operation-denominator-rollup.json",
@@ -984,19 +1002,19 @@
984
  "path": "reports/credential-runtime-manual-review-decision.json",
985
  "kind": "credential_runtime_manual_review_decision",
986
  "status": "verified",
987
- "expected_bytes": 1711,
988
- "actual_bytes": 1711,
989
- "expected_sha256": "a220ab52b0aa224540d83d7096328f4aa3fa76ad74ce8acaec858567a94a2a2a",
990
- "actual_sha256": "a220ab52b0aa224540d83d7096328f4aa3fa76ad74ce8acaec858567a94a2a2a"
991
  },
992
  {
993
  "path": "reports/credential-runtime-manual-review-acceptance.json",
994
  "kind": "credential_runtime_manual_review_acceptance",
995
  "status": "verified",
996
- "expected_bytes": 4525,
997
- "actual_bytes": 4525,
998
- "expected_sha256": "56746df6379708e6b97099bdd200d195862d85415237b51bdd822c641efe954e",
999
- "actual_sha256": "56746df6379708e6b97099bdd200d195862d85415237b51bdd822c641efe954e"
1000
  },
1001
  {
1002
  "path": "reports/credential-runtime-manual-review-acceptance-packet.json",
@@ -1004,8 +1022,8 @@
1004
  "status": "verified",
1005
  "expected_bytes": 3988,
1006
  "actual_bytes": 3988,
1007
- "expected_sha256": "734f4456f760f09e5171ad6d1198b47aa0aeac16e8dc553f3fb965f075dd3c75",
1008
- "actual_sha256": "734f4456f760f09e5171ad6d1198b47aa0aeac16e8dc553f3fb965f075dd3c75"
1009
  },
1010
  {
1011
  "path": "reports/registry-impact-plan.json",
@@ -1013,8 +1031,8 @@
1013
  "status": "verified",
1014
  "expected_bytes": 11519,
1015
  "actual_bytes": 11519,
1016
- "expected_sha256": "27c82ee32828acd041ac39930789c0248b7e59da15ddcde73f838083dbb60c92",
1017
- "actual_sha256": "27c82ee32828acd041ac39930789c0248b7e59da15ddcde73f838083dbb60c92"
1018
  },
1019
  {
1020
  "path": "reports/source-reference-drift.json",
@@ -1031,8 +1049,8 @@
1031
  "status": "verified",
1032
  "expected_bytes": 61997,
1033
  "actual_bytes": 61997,
1034
- "expected_sha256": "422bfb849a784367c55cc17a0a4b3b856d0a4bedea77d3480ffa1984c5dea649",
1035
- "actual_sha256": "422bfb849a784367c55cc17a0a4b3b856d0a4bedea77d3480ffa1984c5dea649"
1036
  },
1037
  {
1038
  "path": "reports/dependencies.json",
@@ -1119,10 +1137,10 @@
1119
  "path": "reports/release-consumer-compatibility.json",
1120
  "kind": "consumer_compatibility",
1121
  "status": "verified",
1122
- "expected_bytes": 26615,
1123
- "actual_bytes": 26615,
1124
- "expected_sha256": "3b659f315363f9789efbaeeb4fdc4cebe0fa089a11159d84114fdc7bc0c09bff",
1125
- "actual_sha256": "3b659f315363f9789efbaeeb4fdc4cebe0fa089a11159d84114fdc7bc0c09bff"
1126
  },
1127
  {
1128
  "path": "reports/release-distribution-footprint.json",
@@ -1130,8 +1148,8 @@
1130
  "status": "verified",
1131
  "expected_bytes": 2141,
1132
  "actual_bytes": 2141,
1133
- "expected_sha256": "a3a6126a9b6f580c635548402c977a055f7e9671c11185c54e260dadf952728a",
1134
- "actual_sha256": "a3a6126a9b6f580c635548402c977a055f7e9671c11185c54e260dadf952728a"
1135
  },
1136
  {
1137
  "path": "reports/release-shard-consumer-proof.json",
@@ -1193,8 +1211,8 @@
1193
  "status": "verified",
1194
  "expected_bytes": 34969,
1195
  "actual_bytes": 34969,
1196
- "expected_sha256": "42599d25566c1300a74b9fa4a18bd67bd0b68beccba9d85d29515af8b8c0d3f7",
1197
- "actual_sha256": "42599d25566c1300a74b9fa4a18bd67bd0b68beccba9d85d29515af8b8c0d3f7"
1198
  },
1199
  {
1200
  "path": "reports/unadapted-external-probe.json",
@@ -1227,10 +1245,10 @@
1227
  "path": "RELEASE_NOTES.md",
1228
  "kind": "release_notes",
1229
  "status": "verified",
1230
- "expected_bytes": 3230,
1231
- "actual_bytes": 3230,
1232
- "expected_sha256": "ee11fef6e6e6939046cd97fc70f7ca71219f7e76185c1f4a29b66aaf00420203",
1233
- "actual_sha256": "ee11fef6e6e6939046cd97fc70f7ca71219f7e76185c1f4a29b66aaf00420203"
1234
  },
1235
  {
1236
  "path": "policy/source-refresh.json",
@@ -1267,6 +1285,168 @@
1267
  "actual_bytes": 9840,
1268
  "expected_sha256": "44ef581d6ab0102659d3da43ede8f38f81ecb0fd957dc48baa888dfc947c378d",
1269
  "actual_sha256": "44ef581d6ab0102659d3da43ede8f38f81ecb0fd957dc48baa888dfc947c378d"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1270
  }
1271
  ]
1272
  }
 
3
  "root": "..",
4
  "schema_version": "datapan.release-verification.v1",
5
  "manifest_schema_version": "datapan.release-manifest.v1",
6
+ "artifact_count": 160,
7
+ "checked": 160,
8
  "failed": 0,
9
  "ok": true,
10
  "results": [
 
111
  "path": "schemas/datapan.release-manifest.v1.schema.json",
112
  "kind": "schema",
113
  "status": "verified",
114
+ "expected_bytes": 4270,
115
+ "actual_bytes": 4270,
116
+ "expected_sha256": "f0dd62db932f61f6ee9348e0a1f59d6ea94a2a0f7fe9cb1bbb6b76242a120b03",
117
+ "actual_sha256": "f0dd62db932f61f6ee9348e0a1f59d6ea94a2a0f7fe9cb1bbb6b76242a120b03"
118
  },
119
  {
120
  "path": "schemas/datapan.release-readiness.v1.schema.json",
 
773
  "expected_sha256": "ceeca44135f8abd510dc0e1ded45ab4f0bbc02d0b75484cbccc7f01745f1e0f0",
774
  "actual_sha256": "ceeca44135f8abd510dc0e1ded45ab4f0bbc02d0b75484cbccc7f01745f1e0f0"
775
  },
776
+ {
777
+ "path": "schemas/datapan.diagnostic-envelope.v1.schema.json",
778
+ "kind": "schema",
779
+ "status": "verified",
780
+ "expected_bytes": 93289,
781
+ "actual_bytes": 93289,
782
+ "expected_sha256": "0782ed2150a31471645d3cf79a4ac0e63c1ba85ea31eb7b06cf39e7de9fb96fc",
783
+ "actual_sha256": "0782ed2150a31471645d3cf79a4ac0e63c1ba85ea31eb7b06cf39e7de9fb96fc"
784
+ },
785
+ {
786
+ "path": "schemas/datapan.diagnostic-publication-readiness.v1.schema.json",
787
+ "kind": "schema",
788
+ "status": "verified",
789
+ "expected_bytes": 3183,
790
+ "actual_bytes": 3183,
791
+ "expected_sha256": "cf08ea3e578edc2530f0e29e2900e157e2c5dd0615c02efe51b3f552220fe836",
792
+ "actual_sha256": "cf08ea3e578edc2530f0e29e2900e157e2c5dd0615c02efe51b3f552220fe836"
793
+ },
794
  {
795
  "path": "schemas/index.json",
796
  "kind": "schema_index",
797
  "status": "verified",
798
+ "expected_bytes": 35518,
799
+ "actual_bytes": 35518,
800
+ "expected_sha256": "117e0b0ee681ec861ecd0015faa6ceabeaf47e615179c224266b354571b5a608",
801
+ "actual_sha256": "117e0b0ee681ec861ecd0015faa6ceabeaf47e615179c224266b354571b5a608"
802
  },
803
  {
804
  "path": "data/data-go-kr.registry.json",
 
896
  "status": "verified",
897
  "expected_bytes": 8075,
898
  "actual_bytes": 8075,
899
+ "expected_sha256": "7b65d98286bb0ab686d8bf396bb1d107ae939d197973237d0954f304284aafdc",
900
+ "actual_sha256": "7b65d98286bb0ab686d8bf396bb1d107ae939d197973237d0954f304284aafdc"
901
  },
902
  {
903
  "path": "reports/operation-denominator-rollup.json",
 
1002
  "path": "reports/credential-runtime-manual-review-decision.json",
1003
  "kind": "credential_runtime_manual_review_decision",
1004
  "status": "verified",
1005
+ "expected_bytes": 1782,
1006
+ "actual_bytes": 1782,
1007
+ "expected_sha256": "9157b32d246db0b504d108be55c2291625053e7268b5080f44e250d1429d6435",
1008
+ "actual_sha256": "9157b32d246db0b504d108be55c2291625053e7268b5080f44e250d1429d6435"
1009
  },
1010
  {
1011
  "path": "reports/credential-runtime-manual-review-acceptance.json",
1012
  "kind": "credential_runtime_manual_review_acceptance",
1013
  "status": "verified",
1014
+ "expected_bytes": 4596,
1015
+ "actual_bytes": 4596,
1016
+ "expected_sha256": "86e85bf62b4617013b587746f116bd433b4002e9ec8359f27a88a67b73ea452a",
1017
+ "actual_sha256": "86e85bf62b4617013b587746f116bd433b4002e9ec8359f27a88a67b73ea452a"
1018
  },
1019
  {
1020
  "path": "reports/credential-runtime-manual-review-acceptance-packet.json",
 
1022
  "status": "verified",
1023
  "expected_bytes": 3988,
1024
  "actual_bytes": 3988,
1025
+ "expected_sha256": "b506f757ebdae70b0f1ee15d94ce29e39c8cc2668a3bba3b7bacef755cdc5a14",
1026
+ "actual_sha256": "b506f757ebdae70b0f1ee15d94ce29e39c8cc2668a3bba3b7bacef755cdc5a14"
1027
  },
1028
  {
1029
  "path": "reports/registry-impact-plan.json",
 
1031
  "status": "verified",
1032
  "expected_bytes": 11519,
1033
  "actual_bytes": 11519,
1034
+ "expected_sha256": "a2e0609209a8e1b0b2c15100b05d501b76243d17975e8d8d2a2590954fc1c1f3",
1035
+ "actual_sha256": "a2e0609209a8e1b0b2c15100b05d501b76243d17975e8d8d2a2590954fc1c1f3"
1036
  },
1037
  {
1038
  "path": "reports/source-reference-drift.json",
 
1049
  "status": "verified",
1050
  "expected_bytes": 61997,
1051
  "actual_bytes": 61997,
1052
+ "expected_sha256": "64e595911dde126b3e7885d805a588ec547b0d924380ca8a12db0e233fd39c38",
1053
+ "actual_sha256": "64e595911dde126b3e7885d805a588ec547b0d924380ca8a12db0e233fd39c38"
1054
  },
1055
  {
1056
  "path": "reports/dependencies.json",
 
1137
  "path": "reports/release-consumer-compatibility.json",
1138
  "kind": "consumer_compatibility",
1139
  "status": "verified",
1140
+ "expected_bytes": 26686,
1141
+ "actual_bytes": 26686,
1142
+ "expected_sha256": "63ae7a6e6777e441d88d7a69fa0d1db77b9112851772db7ee7cbac816cd6a230",
1143
+ "actual_sha256": "63ae7a6e6777e441d88d7a69fa0d1db77b9112851772db7ee7cbac816cd6a230"
1144
  },
1145
  {
1146
  "path": "reports/release-distribution-footprint.json",
 
1148
  "status": "verified",
1149
  "expected_bytes": 2141,
1150
  "actual_bytes": 2141,
1151
+ "expected_sha256": "d7e0927ffc748ec7819190e264b9f77114868f4235e6612efd1911f93df8613d",
1152
+ "actual_sha256": "d7e0927ffc748ec7819190e264b9f77114868f4235e6612efd1911f93df8613d"
1153
  },
1154
  {
1155
  "path": "reports/release-shard-consumer-proof.json",
 
1211
  "status": "verified",
1212
  "expected_bytes": 34969,
1213
  "actual_bytes": 34969,
1214
+ "expected_sha256": "46617948cf85c04dafb7764efd521d3fe35d89e07a7b5eeb8ce08c6a5005b9c4",
1215
+ "actual_sha256": "46617948cf85c04dafb7764efd521d3fe35d89e07a7b5eeb8ce08c6a5005b9c4"
1216
  },
1217
  {
1218
  "path": "reports/unadapted-external-probe.json",
 
1245
  "path": "RELEASE_NOTES.md",
1246
  "kind": "release_notes",
1247
  "status": "verified",
1248
+ "expected_bytes": 4779,
1249
+ "actual_bytes": 4779,
1250
+ "expected_sha256": "b03646e3567a6b7a2d877ce112710843bf884753208bcab3e3a977d7a5f2ae2a",
1251
+ "actual_sha256": "b03646e3567a6b7a2d877ce112710843bf884753208bcab3e3a977d7a5f2ae2a"
1252
  },
1253
  {
1254
  "path": "policy/source-refresh.json",
 
1285
  "actual_bytes": 9840,
1286
  "expected_sha256": "44ef581d6ab0102659d3da43ede8f38f81ecb0fd957dc48baa888dfc947c378d",
1287
  "actual_sha256": "44ef581d6ab0102659d3da43ede8f38f81ecb0fd957dc48baa888dfc947c378d"
1288
+ },
1289
+ {
1290
+ "path": "policy/diagnostic-envelope-consumer-contract.v1.json",
1291
+ "kind": "diagnostic_consumer_contract",
1292
+ "status": "verified",
1293
+ "expected_bytes": 6994,
1294
+ "actual_bytes": 6994,
1295
+ "expected_sha256": "39357f2b154bba54487acce5a5707c71755ce01abb0478e8bf0fff41a35dab91",
1296
+ "actual_sha256": "39357f2b154bba54487acce5a5707c71755ce01abb0478e8bf0fff41a35dab91"
1297
+ },
1298
+ {
1299
+ "path": "policy/diagnostic-cause-action-vocabulary.v1.json",
1300
+ "kind": "diagnostic_vocabulary",
1301
+ "status": "verified",
1302
+ "expected_bytes": 3081,
1303
+ "actual_bytes": 3081,
1304
+ "expected_sha256": "aa03c42960a59725b829b934ad07548dacb8f149c7a920a35a9e32c0459b49fc",
1305
+ "actual_sha256": "aa03c42960a59725b829b934ad07548dacb8f149c7a920a35a9e32c0459b49fc"
1306
+ },
1307
+ {
1308
+ "path": "policy/data-go-kr-diagnostic-evidence-mapping.v1.json",
1309
+ "kind": "diagnostic_evidence_mapping",
1310
+ "status": "verified",
1311
+ "expected_bytes": 27117,
1312
+ "actual_bytes": 27117,
1313
+ "expected_sha256": "c79d9a5afe2702b22cf49fff97178b4f79ffc16eaa4624b68f826fb8c9509273",
1314
+ "actual_sha256": "c79d9a5afe2702b22cf49fff97178b4f79ffc16eaa4624b68f826fb8c9509273"
1315
+ },
1316
+ {
1317
+ "path": "reports/diagnostic-consumer-compatibility/datapan-cli.v1.json",
1318
+ "kind": "diagnostic_consumer_compatibility",
1319
+ "status": "verified",
1320
+ "expected_bytes": 2601,
1321
+ "actual_bytes": 2601,
1322
+ "expected_sha256": "56bd0403c8f8cb5148c534e19c00d627b23dc9c2fb83a8c026fa5c717dea695e",
1323
+ "actual_sha256": "56bd0403c8f8cb5148c534e19c00d627b23dc9c2fb83a8c026fa5c717dea695e"
1324
+ },
1325
+ {
1326
+ "path": "reports/diagnostic-consumer-compatibility/datapan-health.v1.json",
1327
+ "kind": "diagnostic_consumer_compatibility",
1328
+ "status": "verified",
1329
+ "expected_bytes": 2686,
1330
+ "actual_bytes": 2686,
1331
+ "expected_sha256": "8b159c7978b7e1209b1eba35dd8b3943f007b554b0814e9c6d14ecc740df4b3e",
1332
+ "actual_sha256": "8b159c7978b7e1209b1eba35dd8b3943f007b554b0814e9c6d14ecc740df4b3e"
1333
+ },
1334
+ {
1335
+ "path": "reports/diagnostic-consumer-compatibility/datapan-web.v1.json",
1336
+ "kind": "diagnostic_consumer_compatibility",
1337
+ "status": "verified",
1338
+ "expected_bytes": 2654,
1339
+ "actual_bytes": 2654,
1340
+ "expected_sha256": "747e9c8adbe3e46204d40055e6fca19aad4d8389d2db58fd302630503929834f",
1341
+ "actual_sha256": "747e9c8adbe3e46204d40055e6fca19aad4d8389d2db58fd302630503929834f"
1342
+ },
1343
+ {
1344
+ "path": "examples/diagnostic-envelope/approval-propagating.json",
1345
+ "kind": "diagnostic_example",
1346
+ "status": "verified",
1347
+ "expected_bytes": 3004,
1348
+ "actual_bytes": 3004,
1349
+ "expected_sha256": "fe000f4082f948d6a96f045d7fae91c6bdf7288c6746196a8c7b0868d6416099",
1350
+ "actual_sha256": "fe000f4082f948d6a96f045d7fae91c6bdf7288c6746196a8c7b0868d6416099"
1351
+ },
1352
+ {
1353
+ "path": "examples/diagnostic-envelope/approval-required.json",
1354
+ "kind": "diagnostic_example",
1355
+ "status": "verified",
1356
+ "expected_bytes": 2247,
1357
+ "actual_bytes": 2247,
1358
+ "expected_sha256": "d11fc4e18aee6fe1a7f5c9c0a94a1e6e1bae0177447f2f6bcc0dddbe6961e7d3",
1359
+ "actual_sha256": "d11fc4e18aee6fe1a7f5c9c0a94a1e6e1bae0177447f2f6bcc0dddbe6961e7d3"
1360
+ },
1361
+ {
1362
+ "path": "examples/diagnostic-envelope/contract-drift.json",
1363
+ "kind": "diagnostic_example",
1364
+ "status": "verified",
1365
+ "expected_bytes": 2205,
1366
+ "actual_bytes": 2205,
1367
+ "expected_sha256": "13bc8af8c6b1540ef91a49f60ed9aab5514fabee3316868dc9f946adbe1da470",
1368
+ "actual_sha256": "13bc8af8c6b1540ef91a49f60ed9aab5514fabee3316868dc9f946adbe1da470"
1369
+ },
1370
+ {
1371
+ "path": "examples/diagnostic-envelope/credential-invalid.json",
1372
+ "kind": "diagnostic_example",
1373
+ "status": "verified",
1374
+ "expected_bytes": 2164,
1375
+ "actual_bytes": 2164,
1376
+ "expected_sha256": "c5796d7bf59c6f282f9f75b14717a51ff716859e06f6325e784c48d507816497",
1377
+ "actual_sha256": "c5796d7bf59c6f282f9f75b14717a51ff716859e06f6325e784c48d507816497"
1378
+ },
1379
+ {
1380
+ "path": "examples/diagnostic-envelope/invalid-input.json",
1381
+ "kind": "diagnostic_example",
1382
+ "status": "verified",
1383
+ "expected_bytes": 2209,
1384
+ "actual_bytes": 2209,
1385
+ "expected_sha256": "80adb4fce6ede5c34223468bf26b69e90c20c92d74661777c458a5238ad6ab07",
1386
+ "actual_sha256": "80adb4fce6ede5c34223468bf26b69e90c20c92d74661777c458a5238ad6ab07"
1387
+ },
1388
+ {
1389
+ "path": "examples/diagnostic-envelope/provider-outage.json",
1390
+ "kind": "diagnostic_example",
1391
+ "status": "verified",
1392
+ "expected_bytes": 3588,
1393
+ "actual_bytes": 3588,
1394
+ "expected_sha256": "33c0160c4cf136b34dc3befa1ff5803c71f3c37d7946fa2b56e70c69d4be6200",
1395
+ "actual_sha256": "33c0160c4cf136b34dc3befa1ff5803c71f3c37d7946fa2b56e70c69d4be6200"
1396
+ },
1397
+ {
1398
+ "path": "examples/diagnostic-envelope/rate-limited.json",
1399
+ "kind": "diagnostic_example",
1400
+ "status": "verified",
1401
+ "expected_bytes": 2108,
1402
+ "actual_bytes": 2108,
1403
+ "expected_sha256": "8be4fb69e91ae42c2a03510458b9b9fd23cf4780d551ea1ddaa505c8bc40d318",
1404
+ "actual_sha256": "8be4fb69e91ae42c2a03510458b9b9fd23cf4780d551ea1ddaa505c8bc40d318"
1405
+ },
1406
+ {
1407
+ "path": "examples/diagnostic-envelope/ready.json",
1408
+ "kind": "diagnostic_example",
1409
+ "status": "verified",
1410
+ "expected_bytes": 1967,
1411
+ "actual_bytes": 1967,
1412
+ "expected_sha256": "7ae2306176bdd007ca2a4ca822240e4e515c76967b2af0c816584463aee420fc",
1413
+ "actual_sha256": "7ae2306176bdd007ca2a4ca822240e4e515c76967b2af0c816584463aee420fc"
1414
+ },
1415
+ {
1416
+ "path": "examples/diagnostic-envelope/semantic-quality.json",
1417
+ "kind": "diagnostic_example",
1418
+ "status": "verified",
1419
+ "expected_bytes": 2966,
1420
+ "actual_bytes": 2966,
1421
+ "expected_sha256": "06fcc308aa039861b38f6da2fee8f23150ea7d2cac998b5d9e05b011ca1ca9b0",
1422
+ "actual_sha256": "06fcc308aa039861b38f6da2fee8f23150ea7d2cac998b5d9e05b011ca1ca9b0"
1423
+ },
1424
+ {
1425
+ "path": "examples/diagnostic-envelope/stale-data.json",
1426
+ "kind": "diagnostic_example",
1427
+ "status": "verified",
1428
+ "expected_bytes": 2465,
1429
+ "actual_bytes": 2465,
1430
+ "expected_sha256": "f4cc2d0f34bdfb74bbed9a3bcb5cad7b0f5444fa5ded6ca1742c916799aecf92",
1431
+ "actual_sha256": "f4cc2d0f34bdfb74bbed9a3bcb5cad7b0f5444fa5ded6ca1742c916799aecf92"
1432
+ },
1433
+ {
1434
+ "path": "examples/diagnostic-envelope/unknown.json",
1435
+ "kind": "diagnostic_example",
1436
+ "status": "verified",
1437
+ "expected_bytes": 2035,
1438
+ "actual_bytes": 2035,
1439
+ "expected_sha256": "e0635cf4980438141007607c66eca821383f605393a69bdb03522b3873c1dcf0",
1440
+ "actual_sha256": "e0635cf4980438141007607c66eca821383f605393a69bdb03522b3873c1dcf0"
1441
+ },
1442
+ {
1443
+ "path": "reports/diagnostic-publication-readiness.json",
1444
+ "kind": "diagnostic_publication_readiness",
1445
+ "status": "verified",
1446
+ "expected_bytes": 6331,
1447
+ "actual_bytes": 6331,
1448
+ "expected_sha256": "43d58d995f0bd05ecd5785073922f9bf7e6655cfb9498501f625f35842d50ebf",
1449
+ "actual_sha256": "43d58d995f0bd05ecd5785073922f9bf7e6655cfb9498501f625f35842d50ebf"
1450
  }
1451
  ]
1452
  }
reports/registry-impact-plan.json CHANGED
@@ -32,7 +32,7 @@
32
  "path": "reports/source-report-inventory.json",
33
  "schema": "https://schemas.datapan.dev/datapan.source-report-inventory.v1.schema.json",
34
  "bytes": 61997,
35
- "sha256": "422bfb849a784367c55cc17a0a4b3b856d0a4bedea77d3480ffa1984c5dea649"
36
  }
37
  ],
38
  "summary": {
 
32
  "path": "reports/source-report-inventory.json",
33
  "schema": "https://schemas.datapan.dev/datapan.source-report-inventory.v1.schema.json",
34
  "bytes": 61997,
35
+ "sha256": "64e595911dde126b3e7885d805a588ec547b0d924380ca8a12db0e233fd39c38"
36
  }
37
  ],
38
  "summary": {
reports/release-assembly-receipt.json CHANGED
@@ -25,7 +25,7 @@
25
  "manifest": {
26
  "path": "manifest.json",
27
  "generated_at": "2026-07-11T10:28:35Z",
28
- "artifact_count": 140,
29
  "source_registry": "data/data-go-kr.registry.json"
30
  },
31
  "readiness": {
@@ -107,8 +107,8 @@
107
  "evidence_artifacts": [
108
  {
109
  "path": "schemas/index.json",
110
- "bytes": 34697,
111
- "sha256": "30ad7a17bc18a28fd9901245a9c1bb6dce9cd38a7a20982e682506b76d9cc68a",
112
  "manifest_bound": true,
113
  "kind": "schema_index",
114
  "schema": "https://schemas.datapan.dev/datapan.schema-index.v1.schema.json"
@@ -145,8 +145,8 @@
145
  "evidence_artifacts": [
146
  {
147
  "path": "docs/release-ledger-ownership.json",
148
- "bytes": 20581,
149
- "sha256": "30356b1ceeff10e1329fcf91265b68a98a812681cce7679e98742be2e9995105",
150
  "manifest_bound": false
151
  }
152
  ]
@@ -193,7 +193,7 @@
193
  {
194
  "path": "reports/source-report-inventory.json",
195
  "bytes": 61997,
196
- "sha256": "422bfb849a784367c55cc17a0a4b3b856d0a4bedea77d3480ffa1984c5dea649",
197
  "manifest_bound": true,
198
  "kind": "source_report_inventory",
199
  "schema": "https://schemas.datapan.dev/datapan.source-report-inventory.v1.schema.json"
@@ -249,7 +249,7 @@
249
  {
250
  "path": "reports/registry-impact-plan.json",
251
  "bytes": 11519,
252
- "sha256": "27c82ee32828acd041ac39930789c0248b7e59da15ddcde73f838083dbb60c92",
253
  "manifest_bound": true,
254
  "kind": "registry_impact_plan",
255
  "schema": "https://schemas.datapan.dev/datapan.registry-impact-plan.v1.schema.json"
@@ -282,7 +282,7 @@
282
  {
283
  "path": "reports/source-runtime-remediation-map.json",
284
  "bytes": 8075,
285
- "sha256": "6b96a84d9868c2728f6b59b33b2bcf2d172a74dce96c8d4fe318d6ed24a35200",
286
  "manifest_bound": true,
287
  "kind": "source_runtime_remediation_map",
288
  "schema": "https://schemas.datapan.dev/datapan.source-runtime-remediation-map.v1.schema.json"
@@ -465,16 +465,16 @@
465
  },
466
  {
467
  "path": "reports/credential-runtime-manual-review-decision.json",
468
- "bytes": 1711,
469
- "sha256": "a220ab52b0aa224540d83d7096328f4aa3fa76ad74ce8acaec858567a94a2a2a",
470
  "manifest_bound": true,
471
  "kind": "credential_runtime_manual_review_decision",
472
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-decision.v1.schema.json"
473
  },
474
  {
475
  "path": "reports/credential-runtime-manual-review-acceptance.json",
476
- "bytes": 4525,
477
- "sha256": "56746df6379708e6b97099bdd200d195862d85415237b51bdd822c641efe954e",
478
  "manifest_bound": true,
479
  "kind": "credential_runtime_manual_review_acceptance",
480
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-acceptance.v1.schema.json"
@@ -482,7 +482,7 @@
482
  {
483
  "path": "reports/credential-runtime-manual-review-acceptance-packet.json",
484
  "bytes": 3988,
485
- "sha256": "734f4456f760f09e5171ad6d1198b47aa0aeac16e8dc553f3fb965f075dd3c75",
486
  "manifest_bound": true,
487
  "kind": "credential_runtime_manual_review_acceptance_packet",
488
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-acceptance-packet.v1.schema.json"
@@ -525,15 +525,15 @@
525
  {
526
  "path": "reports/release-distribution-footprint.json",
527
  "bytes": 2141,
528
- "sha256": "a3a6126a9b6f580c635548402c977a055f7e9671c11185c54e260dadf952728a",
529
  "manifest_bound": true,
530
  "kind": "release_distribution_footprint",
531
  "schema": "https://schemas.datapan.dev/datapan.release-distribution-footprint.v1.schema.json"
532
  },
533
  {
534
  "path": "reports/release-consumer-compatibility.json",
535
- "bytes": 26615,
536
- "sha256": "3b659f315363f9789efbaeeb4fdc4cebe0fa089a11159d84114fdc7bc0c09bff",
537
  "manifest_bound": true,
538
  "kind": "consumer_compatibility",
539
  "schema": "https://schemas.datapan.dev/datapan.release-consumer-compatibility.v1.schema.json"
@@ -727,8 +727,8 @@
727
  "evidence_artifacts": [
728
  {
729
  "path": "docs/release-ledger-goal-completion-audit.json",
730
- "bytes": 25557,
731
- "sha256": "5a7e0e83a1b79cc4ba93f421cba148bda9196f2056b8e6883613f7cafa88f05d",
732
  "manifest_bound": false
733
  },
734
  {
 
25
  "manifest": {
26
  "path": "manifest.json",
27
  "generated_at": "2026-07-11T10:28:35Z",
28
+ "artifact_count": 160,
29
  "source_registry": "data/data-go-kr.registry.json"
30
  },
31
  "readiness": {
 
107
  "evidence_artifacts": [
108
  {
109
  "path": "schemas/index.json",
110
+ "bytes": 35518,
111
+ "sha256": "117e0b0ee681ec861ecd0015faa6ceabeaf47e615179c224266b354571b5a608",
112
  "manifest_bound": true,
113
  "kind": "schema_index",
114
  "schema": "https://schemas.datapan.dev/datapan.schema-index.v1.schema.json"
 
145
  "evidence_artifacts": [
146
  {
147
  "path": "docs/release-ledger-ownership.json",
148
+ "bytes": 22248,
149
+ "sha256": "bef2d1b0d5a37848be20a4cfd89d8d06dbaa73a3f78ca54fec1f4710e63dc37f",
150
  "manifest_bound": false
151
  }
152
  ]
 
193
  {
194
  "path": "reports/source-report-inventory.json",
195
  "bytes": 61997,
196
+ "sha256": "64e595911dde126b3e7885d805a588ec547b0d924380ca8a12db0e233fd39c38",
197
  "manifest_bound": true,
198
  "kind": "source_report_inventory",
199
  "schema": "https://schemas.datapan.dev/datapan.source-report-inventory.v1.schema.json"
 
249
  {
250
  "path": "reports/registry-impact-plan.json",
251
  "bytes": 11519,
252
+ "sha256": "a2e0609209a8e1b0b2c15100b05d501b76243d17975e8d8d2a2590954fc1c1f3",
253
  "manifest_bound": true,
254
  "kind": "registry_impact_plan",
255
  "schema": "https://schemas.datapan.dev/datapan.registry-impact-plan.v1.schema.json"
 
282
  {
283
  "path": "reports/source-runtime-remediation-map.json",
284
  "bytes": 8075,
285
+ "sha256": "7b65d98286bb0ab686d8bf396bb1d107ae939d197973237d0954f304284aafdc",
286
  "manifest_bound": true,
287
  "kind": "source_runtime_remediation_map",
288
  "schema": "https://schemas.datapan.dev/datapan.source-runtime-remediation-map.v1.schema.json"
 
465
  },
466
  {
467
  "path": "reports/credential-runtime-manual-review-decision.json",
468
+ "bytes": 1782,
469
+ "sha256": "9157b32d246db0b504d108be55c2291625053e7268b5080f44e250d1429d6435",
470
  "manifest_bound": true,
471
  "kind": "credential_runtime_manual_review_decision",
472
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-decision.v1.schema.json"
473
  },
474
  {
475
  "path": "reports/credential-runtime-manual-review-acceptance.json",
476
+ "bytes": 4596,
477
+ "sha256": "86e85bf62b4617013b587746f116bd433b4002e9ec8359f27a88a67b73ea452a",
478
  "manifest_bound": true,
479
  "kind": "credential_runtime_manual_review_acceptance",
480
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-acceptance.v1.schema.json"
 
482
  {
483
  "path": "reports/credential-runtime-manual-review-acceptance-packet.json",
484
  "bytes": 3988,
485
+ "sha256": "b506f757ebdae70b0f1ee15d94ce29e39c8cc2668a3bba3b7bacef755cdc5a14",
486
  "manifest_bound": true,
487
  "kind": "credential_runtime_manual_review_acceptance_packet",
488
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-acceptance-packet.v1.schema.json"
 
525
  {
526
  "path": "reports/release-distribution-footprint.json",
527
  "bytes": 2141,
528
+ "sha256": "d7e0927ffc748ec7819190e264b9f77114868f4235e6612efd1911f93df8613d",
529
  "manifest_bound": true,
530
  "kind": "release_distribution_footprint",
531
  "schema": "https://schemas.datapan.dev/datapan.release-distribution-footprint.v1.schema.json"
532
  },
533
  {
534
  "path": "reports/release-consumer-compatibility.json",
535
+ "bytes": 26686,
536
+ "sha256": "63ae7a6e6777e441d88d7a69fa0d1db77b9112851772db7ee7cbac816cd6a230",
537
  "manifest_bound": true,
538
  "kind": "consumer_compatibility",
539
  "schema": "https://schemas.datapan.dev/datapan.release-consumer-compatibility.v1.schema.json"
 
727
  "evidence_artifacts": [
728
  {
729
  "path": "docs/release-ledger-goal-completion-audit.json",
730
+ "bytes": 25628,
731
+ "sha256": "a63140e36da249395b3ba69f8c8af1200f94bf5afd8b56218f7b5f4339994b7a",
732
  "manifest_bound": false
733
  },
734
  {
reports/release-consumer-compatibility.json CHANGED
@@ -7,7 +7,7 @@
7
  "manifest": {
8
  "path": "manifest.json",
9
  "generated_at": "2026-07-11T10:28:35Z",
10
- "artifact_count": 140,
11
  "evidence_contracts": 18
12
  },
13
  "readiness": {
@@ -104,7 +104,7 @@
104
  "kind": "source_runtime_remediation_map",
105
  "schema": "https://schemas.datapan.dev/datapan.source-runtime-remediation-map.v1.schema.json",
106
  "bytes": 8075,
107
- "sha256": "6b96a84d9868c2728f6b59b33b2bcf2d172a74dce96c8d4fe318d6ed24a35200",
108
  "required": true
109
  },
110
  {
@@ -166,8 +166,8 @@
166
  "path": "reports/credential-runtime-manual-review-decision.json",
167
  "kind": "credential_runtime_manual_review_decision",
168
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-decision.v1.schema.json",
169
- "bytes": 1711,
170
- "sha256": "a220ab52b0aa224540d83d7096328f4aa3fa76ad74ce8acaec858567a94a2a2a",
171
  "required": true
172
  },
173
  {
@@ -175,8 +175,8 @@
175
  "path": "reports/credential-runtime-manual-review-acceptance.json",
176
  "kind": "credential_runtime_manual_review_acceptance",
177
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-acceptance.v1.schema.json",
178
- "bytes": 4525,
179
- "sha256": "56746df6379708e6b97099bdd200d195862d85415237b51bdd822c641efe954e",
180
  "required": true
181
  },
182
  {
@@ -194,7 +194,7 @@
194
  "kind": "registry_impact_plan",
195
  "schema": "https://schemas.datapan.dev/datapan.registry-impact-plan.v1.schema.json",
196
  "bytes": 11519,
197
- "sha256": "27c82ee32828acd041ac39930789c0248b7e59da15ddcde73f838083dbb60c92",
198
  "required": true
199
  },
200
  {
@@ -212,7 +212,7 @@
212
  "kind": "source_report_inventory",
213
  "schema": "https://schemas.datapan.dev/datapan.source-report-inventory.v1.schema.json",
214
  "bytes": 61997,
215
- "sha256": "422bfb849a784367c55cc17a0a4b3b856d0a4bedea77d3480ffa1984c5dea649",
216
  "required": true
217
  },
218
  {
@@ -221,7 +221,7 @@
221
  "kind": "release_distribution_footprint",
222
  "schema": "https://schemas.datapan.dev/datapan.release-distribution-footprint.v1.schema.json",
223
  "bytes": 2141,
224
- "sha256": "a3a6126a9b6f580c635548402c977a055f7e9671c11185c54e260dadf952728a",
225
  "required": true
226
  },
227
  {
@@ -366,7 +366,7 @@
366
  "credential_handoff_relief_decision": "allowed_by_all_reviewed_validated_receipts",
367
  "manual_review_decision_status": "accepted",
368
  "manual_review_decision_accepted": true,
369
- "manual_review_decision_reason": "The accountable release owner re-accepts the current manual-review release boundary for additive manifest-bound KOSIS source provenance; no existing consumer or credential/runtime boundary change.",
370
  "manual_review_decision_boundary_accepted": true,
371
  "manual_review_acceptance_status": "accepted",
372
  "manual_review_acceptance_accepted": true,
@@ -476,7 +476,7 @@
476
  ],
477
  "release_distribution_footprint": "reports/release-distribution-footprint.json",
478
  "canonical_registry_bytes": 137735169,
479
- "manifest_bound_bytes_excluding_self": 173774585,
480
  "large_monolith_threshold_bytes": 100000000,
481
  "registry_footprint_status": "large_monolith_shard_additive",
482
  "canonical_registry_required": true,
 
7
  "manifest": {
8
  "path": "manifest.json",
9
  "generated_at": "2026-07-11T10:28:35Z",
10
+ "artifact_count": 160,
11
  "evidence_contracts": 18
12
  },
13
  "readiness": {
 
104
  "kind": "source_runtime_remediation_map",
105
  "schema": "https://schemas.datapan.dev/datapan.source-runtime-remediation-map.v1.schema.json",
106
  "bytes": 8075,
107
+ "sha256": "7b65d98286bb0ab686d8bf396bb1d107ae939d197973237d0954f304284aafdc",
108
  "required": true
109
  },
110
  {
 
166
  "path": "reports/credential-runtime-manual-review-decision.json",
167
  "kind": "credential_runtime_manual_review_decision",
168
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-decision.v1.schema.json",
169
+ "bytes": 1782,
170
+ "sha256": "9157b32d246db0b504d108be55c2291625053e7268b5080f44e250d1429d6435",
171
  "required": true
172
  },
173
  {
 
175
  "path": "reports/credential-runtime-manual-review-acceptance.json",
176
  "kind": "credential_runtime_manual_review_acceptance",
177
  "schema": "https://schemas.datapan.dev/datapan.credential-runtime-manual-review-acceptance.v1.schema.json",
178
+ "bytes": 4596,
179
+ "sha256": "86e85bf62b4617013b587746f116bd433b4002e9ec8359f27a88a67b73ea452a",
180
  "required": true
181
  },
182
  {
 
194
  "kind": "registry_impact_plan",
195
  "schema": "https://schemas.datapan.dev/datapan.registry-impact-plan.v1.schema.json",
196
  "bytes": 11519,
197
+ "sha256": "a2e0609209a8e1b0b2c15100b05d501b76243d17975e8d8d2a2590954fc1c1f3",
198
  "required": true
199
  },
200
  {
 
212
  "kind": "source_report_inventory",
213
  "schema": "https://schemas.datapan.dev/datapan.source-report-inventory.v1.schema.json",
214
  "bytes": 61997,
215
+ "sha256": "64e595911dde126b3e7885d805a588ec547b0d924380ca8a12db0e233fd39c38",
216
  "required": true
217
  },
218
  {
 
221
  "kind": "release_distribution_footprint",
222
  "schema": "https://schemas.datapan.dev/datapan.release-distribution-footprint.v1.schema.json",
223
  "bytes": 2141,
224
+ "sha256": "d7e0927ffc748ec7819190e264b9f77114868f4235e6612efd1911f93df8613d",
225
  "required": true
226
  },
227
  {
 
366
  "credential_handoff_relief_decision": "allowed_by_all_reviewed_validated_receipts",
367
  "manual_review_decision_status": "accepted",
368
  "manual_review_decision_accepted": true,
369
+ "manual_review_decision_reason": "The accountable release owner re-accepts the current manual-review release boundary for additive, pre-publication diagnostic artifacts. Credential and runtime policy are unchanged; tag, publication, anonymous fetch, and consumer rollout remain separate blocked gates.",
370
  "manual_review_decision_boundary_accepted": true,
371
  "manual_review_acceptance_status": "accepted",
372
  "manual_review_acceptance_accepted": true,
 
476
  ],
477
  "release_distribution_footprint": "reports/release-distribution-footprint.json",
478
  "canonical_registry_bytes": 137735169,
479
+ "manifest_bound_bytes_excluding_self": 173952317,
480
  "large_monolith_threshold_bytes": 100000000,
481
  "registry_footprint_status": "large_monolith_shard_additive",
482
  "canonical_registry_required": true,
reports/release-distribution-footprint.json CHANGED
@@ -9,9 +9,9 @@
9
  "self_artifact_excluded": true
10
  },
11
  "summary": {
12
- "artifact_count": 140,
13
- "schema_artifacts": 85,
14
- "manifest_bound_bytes_excluding_self": 173774585,
15
  "canonical_registry_path": "data/data-go-kr.registry.json",
16
  "canonical_registry_bytes": 137735169,
17
  "large_monolith_threshold_bytes": 100000000,
 
9
  "self_artifact_excluded": true
10
  },
11
  "summary": {
12
+ "artifact_count": 160,
13
+ "schema_artifacts": 87,
14
+ "manifest_bound_bytes_excluding_self": 173952317,
15
  "canonical_registry_path": "data/data-go-kr.registry.json",
16
  "canonical_registry_bytes": 137735169,
17
  "large_monolith_threshold_bytes": 100000000,
reports/source-report-inventory.json CHANGED
@@ -46,9 +46,9 @@
46
  ],
47
  "schema_index_input": {
48
  "path": "schemas/index.json",
49
- "schemas": 85,
50
- "bytes": 34697,
51
- "sha256": "30ad7a17bc18a28fd9901245a9c1bb6dce9cd38a7a20982e682506b76d9cc68a"
52
  },
53
  "recommended_reports": [
54
  "adapter-targets.json",
 
46
  ],
47
  "schema_index_input": {
48
  "path": "schemas/index.json",
49
+ "schemas": 87,
50
+ "bytes": 35518,
51
+ "sha256": "117e0b0ee681ec861ecd0015faa6ceabeaf47e615179c224266b354571b5a608"
52
  },
53
  "recommended_reports": [
54
  "adapter-targets.json",
reports/source-runtime-remediation-map.json CHANGED
@@ -47,7 +47,7 @@
47
  "path": "reports/registry-impact-plan.json",
48
  "schema": "https://schemas.datapan.dev/datapan.registry-impact-plan.v1.schema.json",
49
  "bytes": 11519,
50
- "sha256": "27c82ee32828acd041ac39930789c0248b7e59da15ddcde73f838083dbb60c92"
51
  }
52
  ],
53
  "routing_evidence": {
 
47
  "path": "reports/registry-impact-plan.json",
48
  "schema": "https://schemas.datapan.dev/datapan.registry-impact-plan.v1.schema.json",
49
  "bytes": 11519,
50
+ "sha256": "a2e0609209a8e1b0b2c15100b05d501b76243d17975e8d8d2a2590954fc1c1f3"
51
  }
52
  ],
53
  "routing_evidence": {
schemas/datapan.diagnostic-envelope.v1.schema.json ADDED
@@ -0,0 +1,3606 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.datapan.dev/datapan.diagnostic-envelope.v1.schema.json",
4
+ "title": "Datapan Diagnostic Envelope v1",
5
+ "description": "A redaction-safe diagnosis contract with no credential or raw-content fields. It carries bounded conclusions, structured authority identifiers, typed evidence references, and producer redaction attestations.",
6
+ "$comment": "Stable public contract. Registry owns the bounded vocabulary and evidence shape; consumers own live inference, presentation, and mutable history.",
7
+ "type": "object",
8
+ "additionalProperties": false,
9
+ "required": [
10
+ "schema_version",
11
+ "assessed_at",
12
+ "subject",
13
+ "cause",
14
+ "ownership",
15
+ "actions",
16
+ "evidence_refs",
17
+ "redaction"
18
+ ],
19
+ "properties": {
20
+ "schema_version": {
21
+ "const": "datapan.diagnostic-envelope.v1"
22
+ },
23
+ "assessed_at": {
24
+ "type": "string",
25
+ "format": "date-time"
26
+ },
27
+ "fixture": {
28
+ "$ref": "#/$defs/fixture"
29
+ },
30
+ "subject": {
31
+ "$ref": "#/$defs/subject"
32
+ },
33
+ "cause": {
34
+ "$ref": "#/$defs/cause"
35
+ },
36
+ "ownership": {
37
+ "$ref": "#/$defs/ownership"
38
+ },
39
+ "actions": {
40
+ "$ref": "#/$defs/actions"
41
+ },
42
+ "evidence_refs": {
43
+ "type": "array",
44
+ "minItems": 1,
45
+ "items": {
46
+ "$ref": "#/$defs/evidence_ref"
47
+ }
48
+ },
49
+ "redaction": {
50
+ "$ref": "#/$defs/redaction"
51
+ }
52
+ },
53
+ "allOf": [
54
+ {
55
+ "if": {
56
+ "properties": {
57
+ "cause": {
58
+ "properties": {
59
+ "code": {
60
+ "const": "unknown"
61
+ }
62
+ },
63
+ "required": [
64
+ "code"
65
+ ]
66
+ }
67
+ }
68
+ },
69
+ "then": {
70
+ "properties": {
71
+ "cause": {
72
+ "properties": {
73
+ "determination": {
74
+ "const": "unknown"
75
+ },
76
+ "layer": {
77
+ "const": "unknown"
78
+ }
79
+ }
80
+ },
81
+ "ownership": {
82
+ "properties": {
83
+ "accountable_party": {
84
+ "const": "unknown"
85
+ }
86
+ }
87
+ },
88
+ "actions": {
89
+ "properties": {
90
+ "recommended": {
91
+ "contains": {
92
+ "properties": {
93
+ "action_id": {
94
+ "const": "gather_more_evidence"
95
+ }
96
+ },
97
+ "required": [
98
+ "action_id"
99
+ ]
100
+ }
101
+ }
102
+ }
103
+ }
104
+ }
105
+ },
106
+ "else": {
107
+ "properties": {
108
+ "cause": {
109
+ "properties": {
110
+ "determination": {
111
+ "enum": [
112
+ "observed",
113
+ "inferred"
114
+ ]
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ },
121
+ {
122
+ "if": {
123
+ "properties": {
124
+ "cause": {
125
+ "properties": {
126
+ "code": {
127
+ "const": "approval_required"
128
+ }
129
+ },
130
+ "required": [
131
+ "code"
132
+ ]
133
+ }
134
+ }
135
+ },
136
+ "then": {
137
+ "properties": {
138
+ "actions": {
139
+ "properties": {
140
+ "recommended": {
141
+ "contains": {
142
+ "properties": {
143
+ "action_id": {
144
+ "const": "apply_for_operation"
145
+ }
146
+ },
147
+ "required": [
148
+ "action_id"
149
+ ]
150
+ }
151
+ }
152
+ }
153
+ },
154
+ "evidence_refs": {
155
+ "contains": {
156
+ "properties": {
157
+ "kind": {
158
+ "const": "approval_record"
159
+ },
160
+ "scope": {
161
+ "properties": {
162
+ "level": {
163
+ "const": "operation"
164
+ },
165
+ "subject_ref": {
166
+ "const": "envelope_subject"
167
+ }
168
+ }
169
+ },
170
+ "approval": {
171
+ "properties": {
172
+ "state": {
173
+ "const": "not_applied"
174
+ },
175
+ "effective_scope": {
176
+ "properties": {
177
+ "level": {
178
+ "const": "operation"
179
+ },
180
+ "subject_ref": {
181
+ "const": "envelope_subject"
182
+ }
183
+ }
184
+ }
185
+ },
186
+ "required": [
187
+ "state",
188
+ "effective_scope"
189
+ ]
190
+ },
191
+ "supports": {
192
+ "allOf": [
193
+ {
194
+ "contains": {
195
+ "const": "cause"
196
+ }
197
+ },
198
+ {
199
+ "contains": {
200
+ "const": "action"
201
+ }
202
+ },
203
+ {
204
+ "contains": {
205
+ "const": "determination"
206
+ }
207
+ }
208
+ ]
209
+ }
210
+ },
211
+ "required": [
212
+ "kind",
213
+ "scope",
214
+ "approval",
215
+ "supports"
216
+ ]
217
+ }
218
+ }
219
+ }
220
+ }
221
+ },
222
+ {
223
+ "if": {
224
+ "properties": {
225
+ "cause": {
226
+ "properties": {
227
+ "code": {
228
+ "const": "approval_propagating"
229
+ }
230
+ },
231
+ "required": [
232
+ "code"
233
+ ]
234
+ }
235
+ }
236
+ },
237
+ "then": {
238
+ "properties": {
239
+ "actions": {
240
+ "properties": {
241
+ "recommended": {
242
+ "contains": {
243
+ "properties": {
244
+ "action_id": {
245
+ "const": "wait_for_approval_sync"
246
+ }
247
+ },
248
+ "required": [
249
+ "action_id"
250
+ ]
251
+ }
252
+ },
253
+ "avoid": {
254
+ "contains": {
255
+ "properties": {
256
+ "action_id": {
257
+ "const": "reissue_credential"
258
+ }
259
+ },
260
+ "required": [
261
+ "action_id"
262
+ ]
263
+ }
264
+ }
265
+ }
266
+ },
267
+ "evidence_refs": {
268
+ "contains": {
269
+ "properties": {
270
+ "kind": {
271
+ "const": "approval_record"
272
+ },
273
+ "authority": {
274
+ "enum": [
275
+ "data_go_kr_portal",
276
+ "provider_portal"
277
+ ]
278
+ },
279
+ "approval": {
280
+ "properties": {
281
+ "state": {
282
+ "const": "approved_pending_sync"
283
+ },
284
+ "effective_scope": {
285
+ "properties": {
286
+ "level": {
287
+ "const": "operation"
288
+ },
289
+ "subject_ref": {
290
+ "const": "envelope_subject"
291
+ }
292
+ },
293
+ "required": [
294
+ "level",
295
+ "subject_ref"
296
+ ]
297
+ }
298
+ },
299
+ "required": [
300
+ "state",
301
+ "effective_scope"
302
+ ]
303
+ },
304
+ "scope": {
305
+ "properties": {
306
+ "level": {
307
+ "const": "operation"
308
+ },
309
+ "subject_ref": {
310
+ "const": "envelope_subject"
311
+ }
312
+ },
313
+ "required": [
314
+ "level",
315
+ "subject_ref"
316
+ ]
317
+ },
318
+ "timing": {
319
+ "properties": {
320
+ "validity": {
321
+ "const": "current_at_assessment"
322
+ }
323
+ }
324
+ },
325
+ "supports": {
326
+ "allOf": [
327
+ {
328
+ "contains": {
329
+ "const": "cause"
330
+ }
331
+ },
332
+ {
333
+ "contains": {
334
+ "const": "action"
335
+ }
336
+ },
337
+ {
338
+ "contains": {
339
+ "const": "determination"
340
+ }
341
+ }
342
+ ]
343
+ }
344
+ },
345
+ "required": [
346
+ "kind",
347
+ "authority",
348
+ "timing",
349
+ "scope",
350
+ "approval",
351
+ "supports"
352
+ ]
353
+ }
354
+ }
355
+ }
356
+ }
357
+ },
358
+ {
359
+ "if": {
360
+ "properties": {
361
+ "cause": {
362
+ "properties": {
363
+ "code": {
364
+ "const": "credential_invalid"
365
+ }
366
+ },
367
+ "required": [
368
+ "code"
369
+ ]
370
+ }
371
+ }
372
+ },
373
+ "then": {
374
+ "properties": {
375
+ "cause": {
376
+ "properties": {
377
+ "layer": {
378
+ "const": "access"
379
+ }
380
+ }
381
+ },
382
+ "actions": {
383
+ "properties": {
384
+ "recommended": {
385
+ "contains": {
386
+ "properties": {
387
+ "action_id": {
388
+ "const": "verify_credential_configuration"
389
+ }
390
+ },
391
+ "required": [
392
+ "action_id"
393
+ ]
394
+ }
395
+ }
396
+ }
397
+ },
398
+ "evidence_refs": {
399
+ "contains": {
400
+ "anyOf": [
401
+ {
402
+ "properties": {
403
+ "kind": {
404
+ "const": "provider_response"
405
+ },
406
+ "response": {
407
+ "properties": {
408
+ "provider_class": {
409
+ "const": "credential_rejected"
410
+ }
411
+ },
412
+ "required": [
413
+ "provider_class"
414
+ ]
415
+ }
416
+ },
417
+ "required": [
418
+ "kind",
419
+ "response"
420
+ ]
421
+ },
422
+ {
423
+ "properties": {
424
+ "kind": {
425
+ "const": "request_validation"
426
+ },
427
+ "request_validation": {
428
+ "properties": {
429
+ "result": {
430
+ "const": "failed"
431
+ },
432
+ "failure_class": {
433
+ "const": "credential_configuration"
434
+ }
435
+ },
436
+ "required": [
437
+ "result",
438
+ "failure_class",
439
+ "policy_version"
440
+ ]
441
+ }
442
+ },
443
+ "required": [
444
+ "kind",
445
+ "request_validation"
446
+ ]
447
+ }
448
+ ]
449
+ }
450
+ }
451
+ }
452
+ }
453
+ },
454
+ {
455
+ "if": {
456
+ "properties": {
457
+ "cause": {
458
+ "properties": {
459
+ "code": {
460
+ "const": "invalid_input"
461
+ }
462
+ },
463
+ "required": [
464
+ "code"
465
+ ]
466
+ }
467
+ }
468
+ },
469
+ "then": {
470
+ "properties": {
471
+ "actions": {
472
+ "properties": {
473
+ "recommended": {
474
+ "contains": {
475
+ "properties": {
476
+ "action_id": {
477
+ "const": "verify_request_parameters"
478
+ }
479
+ },
480
+ "required": [
481
+ "action_id"
482
+ ]
483
+ }
484
+ }
485
+ }
486
+ },
487
+ "evidence_refs": {
488
+ "contains": {
489
+ "properties": {
490
+ "kind": {
491
+ "const": "request_validation"
492
+ },
493
+ "request_validation": {
494
+ "properties": {
495
+ "result": {
496
+ "const": "failed"
497
+ },
498
+ "failure_class": {
499
+ "const": "invalid_input"
500
+ }
501
+ },
502
+ "required": [
503
+ "result",
504
+ "failure_class",
505
+ "policy_version"
506
+ ]
507
+ },
508
+ "supports": {
509
+ "allOf": [
510
+ {
511
+ "contains": {
512
+ "const": "cause"
513
+ }
514
+ },
515
+ {
516
+ "contains": {
517
+ "const": "action"
518
+ }
519
+ },
520
+ {
521
+ "contains": {
522
+ "const": "determination"
523
+ }
524
+ }
525
+ ]
526
+ }
527
+ },
528
+ "required": [
529
+ "kind",
530
+ "request_validation",
531
+ "supports"
532
+ ]
533
+ }
534
+ }
535
+ }
536
+ }
537
+ },
538
+ {
539
+ "if": {
540
+ "properties": {
541
+ "cause": {
542
+ "properties": {
543
+ "code": {
544
+ "const": "rate_limited"
545
+ }
546
+ },
547
+ "required": [
548
+ "code"
549
+ ]
550
+ }
551
+ }
552
+ },
553
+ "then": {
554
+ "properties": {
555
+ "actions": {
556
+ "properties": {
557
+ "recommended": {
558
+ "contains": {
559
+ "properties": {
560
+ "action_id": {
561
+ "const": "retry_with_backoff"
562
+ }
563
+ },
564
+ "required": [
565
+ "action_id"
566
+ ]
567
+ }
568
+ }
569
+ }
570
+ },
571
+ "evidence_refs": {
572
+ "contains": {
573
+ "properties": {
574
+ "kind": {
575
+ "const": "provider_response"
576
+ },
577
+ "response": {
578
+ "properties": {
579
+ "provider_class": {
580
+ "const": "rate_limited"
581
+ }
582
+ },
583
+ "required": [
584
+ "provider_class",
585
+ "policy_version"
586
+ ]
587
+ },
588
+ "supports": {
589
+ "allOf": [
590
+ {
591
+ "contains": {
592
+ "const": "cause"
593
+ }
594
+ },
595
+ {
596
+ "contains": {
597
+ "const": "action"
598
+ }
599
+ },
600
+ {
601
+ "contains": {
602
+ "const": "determination"
603
+ }
604
+ }
605
+ ]
606
+ }
607
+ },
608
+ "required": [
609
+ "kind",
610
+ "response",
611
+ "supports"
612
+ ]
613
+ }
614
+ }
615
+ }
616
+ }
617
+ },
618
+ {
619
+ "if": {
620
+ "properties": {
621
+ "cause": {
622
+ "properties": {
623
+ "code": {
624
+ "const": "provider_outage"
625
+ }
626
+ },
627
+ "required": [
628
+ "code"
629
+ ]
630
+ }
631
+ }
632
+ },
633
+ "then": {
634
+ "properties": {
635
+ "ownership": {
636
+ "properties": {
637
+ "accountable_party": {
638
+ "enum": [
639
+ "data_go_kr",
640
+ "provider",
641
+ "shared"
642
+ ]
643
+ }
644
+ }
645
+ },
646
+ "evidence_refs": {
647
+ "contains": {
648
+ "anyOf": [
649
+ {
650
+ "properties": {
651
+ "kind": {
652
+ "const": "health_observation"
653
+ },
654
+ "health_correlation": {
655
+ "properties": {
656
+ "state": {
657
+ "enum": [
658
+ "unavailable",
659
+ "degraded"
660
+ ]
661
+ }
662
+ },
663
+ "required": [
664
+ "state",
665
+ "probe_policy_version"
666
+ ]
667
+ }
668
+ },
669
+ "required": [
670
+ "kind",
671
+ "health_correlation"
672
+ ]
673
+ },
674
+ {
675
+ "properties": {
676
+ "kind": {
677
+ "const": "provider_notice"
678
+ },
679
+ "notice": {
680
+ "properties": {
681
+ "state": {
682
+ "enum": [
683
+ "service_suspended",
684
+ "degraded"
685
+ ]
686
+ }
687
+ },
688
+ "required": [
689
+ "state",
690
+ "notice_version"
691
+ ]
692
+ }
693
+ },
694
+ "required": [
695
+ "kind",
696
+ "notice"
697
+ ]
698
+ },
699
+ {
700
+ "properties": {
701
+ "kind": {
702
+ "const": "provider_response"
703
+ },
704
+ "response": {
705
+ "properties": {
706
+ "provider_class": {
707
+ "const": "service_unavailable"
708
+ }
709
+ },
710
+ "required": [
711
+ "provider_class",
712
+ "policy_version"
713
+ ]
714
+ }
715
+ },
716
+ "required": [
717
+ "kind",
718
+ "response"
719
+ ]
720
+ }
721
+ ]
722
+ }
723
+ }
724
+ }
725
+ }
726
+ },
727
+ {
728
+ "if": {
729
+ "properties": {
730
+ "cause": {
731
+ "properties": {
732
+ "code": {
733
+ "const": "provider_outage"
734
+ }
735
+ },
736
+ "required": [
737
+ "code"
738
+ ]
739
+ },
740
+ "actions": {
741
+ "properties": {
742
+ "avoid": {
743
+ "contains": {
744
+ "properties": {
745
+ "action_id": {
746
+ "const": "reissue_credential"
747
+ }
748
+ },
749
+ "required": [
750
+ "action_id"
751
+ ]
752
+ }
753
+ }
754
+ },
755
+ "required": [
756
+ "avoid"
757
+ ]
758
+ }
759
+ },
760
+ "required": [
761
+ "cause",
762
+ "actions"
763
+ ]
764
+ },
765
+ "then": {
766
+ "properties": {
767
+ "evidence_refs": {
768
+ "contains": {
769
+ "anyOf": [
770
+ {
771
+ "properties": {
772
+ "kind": {
773
+ "const": "health_observation"
774
+ },
775
+ "health_correlation": {
776
+ "properties": {
777
+ "state": {
778
+ "enum": [
779
+ "unavailable",
780
+ "degraded"
781
+ ]
782
+ }
783
+ },
784
+ "required": [
785
+ "state",
786
+ "probe_policy_version"
787
+ ]
788
+ }
789
+ },
790
+ "required": [
791
+ "kind",
792
+ "health_correlation"
793
+ ]
794
+ },
795
+ {
796
+ "properties": {
797
+ "kind": {
798
+ "const": "provider_notice"
799
+ },
800
+ "notice": {
801
+ "properties": {
802
+ "state": {
803
+ "enum": [
804
+ "service_suspended",
805
+ "degraded"
806
+ ]
807
+ }
808
+ },
809
+ "required": [
810
+ "state",
811
+ "notice_version"
812
+ ]
813
+ }
814
+ },
815
+ "required": [
816
+ "kind",
817
+ "notice"
818
+ ]
819
+ }
820
+ ]
821
+ }
822
+ }
823
+ }
824
+ }
825
+ },
826
+ {
827
+ "if": {
828
+ "properties": {
829
+ "cause": {
830
+ "properties": {
831
+ "code": {
832
+ "const": "contract_drift"
833
+ }
834
+ },
835
+ "required": [
836
+ "code"
837
+ ]
838
+ }
839
+ }
840
+ },
841
+ "then": {
842
+ "properties": {
843
+ "cause": {
844
+ "properties": {
845
+ "layer": {
846
+ "const": "response_contract"
847
+ }
848
+ }
849
+ },
850
+ "actions": {
851
+ "properties": {
852
+ "recommended": {
853
+ "contains": {
854
+ "properties": {
855
+ "action_id": {
856
+ "const": "refresh_contract"
857
+ }
858
+ },
859
+ "required": [
860
+ "action_id"
861
+ ]
862
+ }
863
+ }
864
+ }
865
+ },
866
+ "evidence_refs": {
867
+ "contains": {
868
+ "properties": {
869
+ "kind": {
870
+ "const": "response_contract"
871
+ },
872
+ "contract_assertion": {
873
+ "properties": {
874
+ "result": {
875
+ "const": "mismatch"
876
+ }
877
+ },
878
+ "required": [
879
+ "result",
880
+ "policy_version"
881
+ ]
882
+ },
883
+ "supports": {
884
+ "allOf": [
885
+ {
886
+ "contains": {
887
+ "const": "cause"
888
+ }
889
+ },
890
+ {
891
+ "contains": {
892
+ "const": "action"
893
+ }
894
+ },
895
+ {
896
+ "contains": {
897
+ "const": "determination"
898
+ }
899
+ }
900
+ ]
901
+ }
902
+ },
903
+ "required": [
904
+ "kind",
905
+ "contract_assertion",
906
+ "supports"
907
+ ]
908
+ }
909
+ }
910
+ }
911
+ }
912
+ },
913
+ {
914
+ "if": {
915
+ "properties": {
916
+ "cause": {
917
+ "properties": {
918
+ "code": {
919
+ "const": "semantic_quality"
920
+ }
921
+ },
922
+ "required": [
923
+ "code"
924
+ ]
925
+ }
926
+ }
927
+ },
928
+ "then": {
929
+ "properties": {
930
+ "cause": {
931
+ "properties": {
932
+ "layer": {
933
+ "const": "data_quality"
934
+ }
935
+ }
936
+ },
937
+ "actions": {
938
+ "properties": {
939
+ "recommended": {
940
+ "contains": {
941
+ "properties": {
942
+ "action_id": {
943
+ "const": "inspect_data_quality"
944
+ }
945
+ },
946
+ "required": [
947
+ "action_id"
948
+ ]
949
+ }
950
+ },
951
+ "avoid": {
952
+ "contains": {
953
+ "properties": {
954
+ "action_id": {
955
+ "const": "treat_transport_success_as_data_success"
956
+ }
957
+ },
958
+ "required": [
959
+ "action_id"
960
+ ]
961
+ }
962
+ }
963
+ }
964
+ },
965
+ "evidence_refs": {
966
+ "contains": {
967
+ "properties": {
968
+ "kind": {
969
+ "const": "data_quality_assertion"
970
+ },
971
+ "quality_assertion": {
972
+ "properties": {
973
+ "kind": {
974
+ "enum": [
975
+ "missing_expected_entity",
976
+ "empty_result",
977
+ "other"
978
+ ]
979
+ },
980
+ "result": {
981
+ "const": "failed"
982
+ }
983
+ },
984
+ "required": [
985
+ "kind",
986
+ "result",
987
+ "policy_version"
988
+ ]
989
+ },
990
+ "supports": {
991
+ "allOf": [
992
+ {
993
+ "contains": {
994
+ "const": "cause"
995
+ }
996
+ },
997
+ {
998
+ "contains": {
999
+ "const": "action"
1000
+ }
1001
+ },
1002
+ {
1003
+ "contains": {
1004
+ "const": "determination"
1005
+ }
1006
+ }
1007
+ ]
1008
+ }
1009
+ },
1010
+ "required": [
1011
+ "kind",
1012
+ "quality_assertion",
1013
+ "supports"
1014
+ ]
1015
+ }
1016
+ }
1017
+ }
1018
+ }
1019
+ },
1020
+ {
1021
+ "if": {
1022
+ "properties": {
1023
+ "cause": {
1024
+ "properties": {
1025
+ "code": {
1026
+ "const": "stale_data"
1027
+ }
1028
+ },
1029
+ "required": [
1030
+ "code"
1031
+ ]
1032
+ }
1033
+ }
1034
+ },
1035
+ "then": {
1036
+ "properties": {
1037
+ "cause": {
1038
+ "properties": {
1039
+ "layer": {
1040
+ "const": "data_quality"
1041
+ }
1042
+ }
1043
+ },
1044
+ "actions": {
1045
+ "properties": {
1046
+ "recommended": {
1047
+ "contains": {
1048
+ "properties": {
1049
+ "action_id": {
1050
+ "const": "inspect_data_quality"
1051
+ }
1052
+ },
1053
+ "required": [
1054
+ "action_id"
1055
+ ]
1056
+ }
1057
+ }
1058
+ }
1059
+ },
1060
+ "evidence_refs": {
1061
+ "contains": {
1062
+ "properties": {
1063
+ "kind": {
1064
+ "const": "data_quality_assertion"
1065
+ },
1066
+ "quality_assertion": {
1067
+ "properties": {
1068
+ "kind": {
1069
+ "const": "freshness"
1070
+ },
1071
+ "result": {
1072
+ "const": "failed"
1073
+ }
1074
+ },
1075
+ "required": [
1076
+ "kind",
1077
+ "result",
1078
+ "policy_version"
1079
+ ]
1080
+ },
1081
+ "freshness": {
1082
+ "properties": {
1083
+ "state": {
1084
+ "const": "stale"
1085
+ }
1086
+ },
1087
+ "required": [
1088
+ "policy_version",
1089
+ "reference_time",
1090
+ "actual_time",
1091
+ "maximum_age_seconds",
1092
+ "state"
1093
+ ]
1094
+ },
1095
+ "supports": {
1096
+ "allOf": [
1097
+ {
1098
+ "contains": {
1099
+ "const": "cause"
1100
+ }
1101
+ },
1102
+ {
1103
+ "contains": {
1104
+ "const": "action"
1105
+ }
1106
+ },
1107
+ {
1108
+ "contains": {
1109
+ "const": "determination"
1110
+ }
1111
+ }
1112
+ ]
1113
+ }
1114
+ },
1115
+ "required": [
1116
+ "kind",
1117
+ "quality_assertion",
1118
+ "freshness",
1119
+ "supports"
1120
+ ]
1121
+ }
1122
+ }
1123
+ }
1124
+ }
1125
+ },
1126
+ {
1127
+ "if": {
1128
+ "properties": {
1129
+ "cause": {
1130
+ "properties": {
1131
+ "code": {
1132
+ "const": "ready"
1133
+ }
1134
+ },
1135
+ "required": [
1136
+ "code"
1137
+ ]
1138
+ }
1139
+ }
1140
+ },
1141
+ "then": {
1142
+ "properties": {
1143
+ "cause": {
1144
+ "properties": {
1145
+ "layer": {
1146
+ "const": "validation"
1147
+ },
1148
+ "determination": {
1149
+ "const": "observed"
1150
+ }
1151
+ }
1152
+ },
1153
+ "actions": {
1154
+ "properties": {
1155
+ "recommended": {
1156
+ "contains": {
1157
+ "properties": {
1158
+ "action_id": {
1159
+ "const": "continue_to_reuse"
1160
+ }
1161
+ },
1162
+ "required": [
1163
+ "action_id"
1164
+ ]
1165
+ }
1166
+ }
1167
+ }
1168
+ },
1169
+ "evidence_refs": {
1170
+ "contains": {
1171
+ "properties": {
1172
+ "kind": {
1173
+ "const": "validation_result"
1174
+ },
1175
+ "scope": {
1176
+ "properties": {
1177
+ "level": {
1178
+ "const": "operation"
1179
+ },
1180
+ "subject_ref": {
1181
+ "const": "envelope_subject"
1182
+ }
1183
+ },
1184
+ "required": [
1185
+ "level",
1186
+ "subject_ref"
1187
+ ]
1188
+ },
1189
+ "validation": {
1190
+ "properties": {
1191
+ "result": {
1192
+ "const": "passed"
1193
+ }
1194
+ },
1195
+ "required": [
1196
+ "required_level",
1197
+ "achieved_level",
1198
+ "policy_version",
1199
+ "result"
1200
+ ]
1201
+ },
1202
+ "supports": {
1203
+ "allOf": [
1204
+ {
1205
+ "contains": {
1206
+ "const": "cause"
1207
+ }
1208
+ },
1209
+ {
1210
+ "contains": {
1211
+ "const": "action"
1212
+ }
1213
+ },
1214
+ {
1215
+ "contains": {
1216
+ "const": "determination"
1217
+ }
1218
+ }
1219
+ ]
1220
+ }
1221
+ },
1222
+ "required": [
1223
+ "kind",
1224
+ "scope",
1225
+ "validation",
1226
+ "supports"
1227
+ ]
1228
+ }
1229
+ }
1230
+ }
1231
+ }
1232
+ },
1233
+ {
1234
+ "if": {
1235
+ "properties": {
1236
+ "cause": {
1237
+ "properties": {
1238
+ "code": {
1239
+ "not": {
1240
+ "const": "unknown"
1241
+ }
1242
+ }
1243
+ },
1244
+ "required": [
1245
+ "code"
1246
+ ]
1247
+ }
1248
+ },
1249
+ "required": [
1250
+ "cause"
1251
+ ]
1252
+ },
1253
+ "then": {
1254
+ "properties": {
1255
+ "subject": {
1256
+ "required": [
1257
+ "operation_id"
1258
+ ]
1259
+ }
1260
+ }
1261
+ }
1262
+ },
1263
+ {
1264
+ "if": {
1265
+ "properties": {
1266
+ "cause": {
1267
+ "properties": {
1268
+ "code": {
1269
+ "const": "approval_propagating"
1270
+ }
1271
+ },
1272
+ "required": [
1273
+ "code"
1274
+ ]
1275
+ }
1276
+ }
1277
+ },
1278
+ "then": {
1279
+ "properties": {
1280
+ "evidence_refs": {
1281
+ "contains": {
1282
+ "properties": {
1283
+ "kind": {
1284
+ "const": "provider_response"
1285
+ },
1286
+ "authority": {
1287
+ "enum": [
1288
+ "provider",
1289
+ "datapan_cli"
1290
+ ]
1291
+ },
1292
+ "scope": {
1293
+ "properties": {
1294
+ "level": {
1295
+ "const": "operation"
1296
+ },
1297
+ "subject_ref": {
1298
+ "const": "envelope_subject"
1299
+ }
1300
+ }
1301
+ },
1302
+ "timing": {
1303
+ "properties": {
1304
+ "validity": {
1305
+ "const": "current_at_assessment"
1306
+ },
1307
+ "observed_age_seconds": {
1308
+ "maximum": 300
1309
+ },
1310
+ "remaining_validity_seconds": {
1311
+ "minimum": 1,
1312
+ "maximum": 300
1313
+ }
1314
+ }
1315
+ },
1316
+ "response": {
1317
+ "properties": {
1318
+ "http_status": {
1319
+ "enum": [
1320
+ 401,
1321
+ 403
1322
+ ]
1323
+ },
1324
+ "provider_class": {
1325
+ "const": "unclassified"
1326
+ }
1327
+ },
1328
+ "required": [
1329
+ "http_status",
1330
+ "provider_class",
1331
+ "policy_version"
1332
+ ]
1333
+ },
1334
+ "supports": {
1335
+ "allOf": [
1336
+ {
1337
+ "contains": {
1338
+ "const": "cause"
1339
+ }
1340
+ },
1341
+ {
1342
+ "contains": {
1343
+ "const": "determination"
1344
+ }
1345
+ }
1346
+ ]
1347
+ }
1348
+ },
1349
+ "required": [
1350
+ "kind",
1351
+ "authority",
1352
+ "scope",
1353
+ "timing",
1354
+ "response",
1355
+ "supports"
1356
+ ]
1357
+ }
1358
+ }
1359
+ }
1360
+ }
1361
+ },
1362
+ {
1363
+ "if": {
1364
+ "properties": {
1365
+ "cause": {
1366
+ "properties": {
1367
+ "code": {
1368
+ "const": "credential_invalid"
1369
+ }
1370
+ },
1371
+ "required": [
1372
+ "code"
1373
+ ]
1374
+ }
1375
+ }
1376
+ },
1377
+ "then": {
1378
+ "properties": {
1379
+ "evidence_refs": {
1380
+ "contains": {
1381
+ "allOf": [
1382
+ {
1383
+ "anyOf": [
1384
+ {
1385
+ "properties": {
1386
+ "kind": {
1387
+ "const": "provider_response"
1388
+ },
1389
+ "response": {
1390
+ "properties": {
1391
+ "provider_class": {
1392
+ "const": "credential_rejected"
1393
+ }
1394
+ }
1395
+ }
1396
+ },
1397
+ "required": [
1398
+ "kind",
1399
+ "response"
1400
+ ]
1401
+ },
1402
+ {
1403
+ "properties": {
1404
+ "kind": {
1405
+ "const": "request_validation"
1406
+ },
1407
+ "request_validation": {
1408
+ "properties": {
1409
+ "result": {
1410
+ "const": "failed"
1411
+ },
1412
+ "failure_class": {
1413
+ "const": "credential_configuration"
1414
+ }
1415
+ }
1416
+ }
1417
+ },
1418
+ "required": [
1419
+ "kind",
1420
+ "request_validation"
1421
+ ]
1422
+ }
1423
+ ]
1424
+ },
1425
+ {
1426
+ "properties": {
1427
+ "supports": {
1428
+ "allOf": [
1429
+ {
1430
+ "contains": {
1431
+ "const": "cause"
1432
+ }
1433
+ },
1434
+ {
1435
+ "contains": {
1436
+ "const": "action"
1437
+ }
1438
+ },
1439
+ {
1440
+ "contains": {
1441
+ "const": "determination"
1442
+ }
1443
+ }
1444
+ ]
1445
+ }
1446
+ },
1447
+ "required": [
1448
+ "supports"
1449
+ ]
1450
+ }
1451
+ ]
1452
+ }
1453
+ }
1454
+ }
1455
+ }
1456
+ },
1457
+ {
1458
+ "if": {
1459
+ "properties": {
1460
+ "cause": {
1461
+ "properties": {
1462
+ "code": {
1463
+ "const": "provider_outage"
1464
+ }
1465
+ },
1466
+ "required": [
1467
+ "code"
1468
+ ]
1469
+ }
1470
+ }
1471
+ },
1472
+ "then": {
1473
+ "properties": {
1474
+ "actions": {
1475
+ "properties": {
1476
+ "recommended": {
1477
+ "contains": {
1478
+ "properties": {
1479
+ "action_id": {
1480
+ "const": "check_provider_status"
1481
+ }
1482
+ },
1483
+ "required": [
1484
+ "action_id"
1485
+ ]
1486
+ }
1487
+ }
1488
+ }
1489
+ },
1490
+ "evidence_refs": {
1491
+ "contains": {
1492
+ "allOf": [
1493
+ {
1494
+ "anyOf": [
1495
+ {
1496
+ "properties": {
1497
+ "kind": {
1498
+ "const": "health_observation"
1499
+ },
1500
+ "health_correlation": {
1501
+ "properties": {
1502
+ "state": {
1503
+ "enum": [
1504
+ "unavailable",
1505
+ "degraded"
1506
+ ]
1507
+ }
1508
+ }
1509
+ },
1510
+ "timing": {
1511
+ "properties": {
1512
+ "observed_age_seconds": {
1513
+ "maximum": 900
1514
+ },
1515
+ "remaining_validity_seconds": {
1516
+ "maximum": 900
1517
+ }
1518
+ }
1519
+ }
1520
+ },
1521
+ "required": [
1522
+ "kind",
1523
+ "health_correlation",
1524
+ "timing"
1525
+ ]
1526
+ },
1527
+ {
1528
+ "properties": {
1529
+ "kind": {
1530
+ "const": "provider_notice"
1531
+ },
1532
+ "notice": {
1533
+ "properties": {
1534
+ "state": {
1535
+ "enum": [
1536
+ "service_suspended",
1537
+ "degraded"
1538
+ ]
1539
+ }
1540
+ }
1541
+ },
1542
+ "timing": {
1543
+ "properties": {
1544
+ "observed_age_seconds": {
1545
+ "maximum": 86400
1546
+ },
1547
+ "remaining_validity_seconds": {
1548
+ "maximum": 86400
1549
+ }
1550
+ }
1551
+ }
1552
+ },
1553
+ "required": [
1554
+ "kind",
1555
+ "notice",
1556
+ "timing"
1557
+ ]
1558
+ },
1559
+ {
1560
+ "properties": {
1561
+ "kind": {
1562
+ "const": "provider_response"
1563
+ },
1564
+ "response": {
1565
+ "properties": {
1566
+ "provider_class": {
1567
+ "const": "service_unavailable"
1568
+ }
1569
+ }
1570
+ },
1571
+ "timing": {
1572
+ "properties": {
1573
+ "observed_age_seconds": {
1574
+ "maximum": 300
1575
+ },
1576
+ "remaining_validity_seconds": {
1577
+ "maximum": 300
1578
+ }
1579
+ }
1580
+ }
1581
+ },
1582
+ "required": [
1583
+ "kind",
1584
+ "response",
1585
+ "timing"
1586
+ ]
1587
+ }
1588
+ ]
1589
+ },
1590
+ {
1591
+ "properties": {
1592
+ "supports": {
1593
+ "allOf": [
1594
+ {
1595
+ "contains": {
1596
+ "const": "cause"
1597
+ }
1598
+ },
1599
+ {
1600
+ "contains": {
1601
+ "const": "action"
1602
+ }
1603
+ },
1604
+ {
1605
+ "contains": {
1606
+ "const": "determination"
1607
+ }
1608
+ }
1609
+ ]
1610
+ }
1611
+ },
1612
+ "required": [
1613
+ "supports"
1614
+ ]
1615
+ }
1616
+ ]
1617
+ }
1618
+ }
1619
+ }
1620
+ }
1621
+ },
1622
+ {
1623
+ "if": {
1624
+ "properties": {
1625
+ "cause": {
1626
+ "properties": {
1627
+ "code": {
1628
+ "const": "provider_outage"
1629
+ },
1630
+ "determination": {
1631
+ "const": "observed"
1632
+ }
1633
+ },
1634
+ "required": [
1635
+ "code",
1636
+ "determination"
1637
+ ]
1638
+ }
1639
+ }
1640
+ },
1641
+ "then": {
1642
+ "properties": {
1643
+ "evidence_refs": {
1644
+ "contains": {
1645
+ "properties": {
1646
+ "kind": {
1647
+ "const": "provider_notice"
1648
+ },
1649
+ "authority": {
1650
+ "enum": [
1651
+ "provider",
1652
+ "provider_portal"
1653
+ ]
1654
+ },
1655
+ "notice": {
1656
+ "properties": {
1657
+ "state": {
1658
+ "enum": [
1659
+ "service_suspended",
1660
+ "degraded"
1661
+ ]
1662
+ }
1663
+ }
1664
+ },
1665
+ "timing": {
1666
+ "properties": {
1667
+ "validity": {
1668
+ "const": "current_at_assessment"
1669
+ },
1670
+ "observed_age_seconds": {
1671
+ "maximum": 86400
1672
+ },
1673
+ "remaining_validity_seconds": {
1674
+ "maximum": 86400
1675
+ }
1676
+ }
1677
+ },
1678
+ "supports": {
1679
+ "allOf": [
1680
+ {
1681
+ "contains": {
1682
+ "const": "cause"
1683
+ }
1684
+ },
1685
+ {
1686
+ "contains": {
1687
+ "const": "determination"
1688
+ }
1689
+ }
1690
+ ]
1691
+ }
1692
+ },
1693
+ "required": [
1694
+ "kind",
1695
+ "authority",
1696
+ "notice",
1697
+ "timing",
1698
+ "supports"
1699
+ ]
1700
+ }
1701
+ }
1702
+ }
1703
+ }
1704
+ },
1705
+ {
1706
+ "if": {
1707
+ "properties": {
1708
+ "cause": {
1709
+ "properties": {
1710
+ "code": {
1711
+ "const": "provider_outage"
1712
+ }
1713
+ },
1714
+ "required": [
1715
+ "code"
1716
+ ]
1717
+ },
1718
+ "actions": {
1719
+ "properties": {
1720
+ "avoid": {
1721
+ "contains": {
1722
+ "properties": {
1723
+ "action_id": {
1724
+ "const": "reissue_credential"
1725
+ }
1726
+ },
1727
+ "required": [
1728
+ "action_id"
1729
+ ]
1730
+ }
1731
+ }
1732
+ }
1733
+ }
1734
+ }
1735
+ },
1736
+ "then": {
1737
+ "properties": {
1738
+ "evidence_refs": {
1739
+ "contains": {
1740
+ "allOf": [
1741
+ {
1742
+ "anyOf": [
1743
+ {
1744
+ "properties": {
1745
+ "kind": {
1746
+ "const": "health_observation"
1747
+ },
1748
+ "health_correlation": {
1749
+ "properties": {
1750
+ "state": {
1751
+ "enum": [
1752
+ "unavailable",
1753
+ "degraded"
1754
+ ]
1755
+ }
1756
+ }
1757
+ },
1758
+ "timing": {
1759
+ "properties": {
1760
+ "observed_age_seconds": {
1761
+ "maximum": 900
1762
+ },
1763
+ "remaining_validity_seconds": {
1764
+ "maximum": 900
1765
+ }
1766
+ }
1767
+ }
1768
+ },
1769
+ "required": [
1770
+ "kind",
1771
+ "health_correlation",
1772
+ "timing"
1773
+ ]
1774
+ },
1775
+ {
1776
+ "properties": {
1777
+ "kind": {
1778
+ "const": "provider_notice"
1779
+ },
1780
+ "notice": {
1781
+ "properties": {
1782
+ "state": {
1783
+ "enum": [
1784
+ "service_suspended",
1785
+ "degraded"
1786
+ ]
1787
+ }
1788
+ }
1789
+ },
1790
+ "timing": {
1791
+ "properties": {
1792
+ "observed_age_seconds": {
1793
+ "maximum": 86400
1794
+ },
1795
+ "remaining_validity_seconds": {
1796
+ "maximum": 86400
1797
+ }
1798
+ }
1799
+ }
1800
+ },
1801
+ "required": [
1802
+ "kind",
1803
+ "notice",
1804
+ "timing"
1805
+ ]
1806
+ }
1807
+ ]
1808
+ },
1809
+ {
1810
+ "properties": {
1811
+ "supports": {
1812
+ "contains": {
1813
+ "const": "action"
1814
+ }
1815
+ }
1816
+ },
1817
+ "required": [
1818
+ "supports"
1819
+ ]
1820
+ }
1821
+ ]
1822
+ }
1823
+ }
1824
+ }
1825
+ }
1826
+ },
1827
+ {
1828
+ "if": {
1829
+ "properties": {
1830
+ "cause": {
1831
+ "properties": {
1832
+ "code": {
1833
+ "const": "ready"
1834
+ }
1835
+ },
1836
+ "required": [
1837
+ "code"
1838
+ ]
1839
+ }
1840
+ }
1841
+ },
1842
+ "then": {
1843
+ "properties": {
1844
+ "evidence_refs": {
1845
+ "contains": {
1846
+ "properties": {
1847
+ "kind": {
1848
+ "const": "validation_result"
1849
+ },
1850
+ "validation": {
1851
+ "properties": {
1852
+ "result": {
1853
+ "const": "passed"
1854
+ }
1855
+ },
1856
+ "anyOf": [
1857
+ {
1858
+ "properties": {
1859
+ "required_level": {
1860
+ "const": "L1"
1861
+ },
1862
+ "achieved_level": {
1863
+ "enum": [
1864
+ "L1",
1865
+ "L2",
1866
+ "L3",
1867
+ "L4"
1868
+ ]
1869
+ }
1870
+ }
1871
+ },
1872
+ {
1873
+ "properties": {
1874
+ "required_level": {
1875
+ "const": "L2"
1876
+ },
1877
+ "achieved_level": {
1878
+ "enum": [
1879
+ "L2",
1880
+ "L3",
1881
+ "L4"
1882
+ ]
1883
+ }
1884
+ }
1885
+ },
1886
+ {
1887
+ "properties": {
1888
+ "required_level": {
1889
+ "const": "L3"
1890
+ },
1891
+ "achieved_level": {
1892
+ "enum": [
1893
+ "L3",
1894
+ "L4"
1895
+ ]
1896
+ }
1897
+ }
1898
+ },
1899
+ {
1900
+ "properties": {
1901
+ "required_level": {
1902
+ "const": "L4"
1903
+ },
1904
+ "achieved_level": {
1905
+ "const": "L4"
1906
+ }
1907
+ }
1908
+ }
1909
+ ]
1910
+ },
1911
+ "supports": {
1912
+ "allOf": [
1913
+ {
1914
+ "contains": {
1915
+ "const": "cause"
1916
+ }
1917
+ },
1918
+ {
1919
+ "contains": {
1920
+ "const": "action"
1921
+ }
1922
+ },
1923
+ {
1924
+ "contains": {
1925
+ "const": "determination"
1926
+ }
1927
+ }
1928
+ ]
1929
+ }
1930
+ },
1931
+ "required": [
1932
+ "kind",
1933
+ "validation",
1934
+ "supports"
1935
+ ]
1936
+ }
1937
+ }
1938
+ }
1939
+ }
1940
+ },
1941
+ {
1942
+ "oneOf": [
1943
+ {
1944
+ "properties": {
1945
+ "cause": {
1946
+ "properties": {
1947
+ "code": {
1948
+ "const": "approval_required"
1949
+ }
1950
+ }
1951
+ },
1952
+ "actions": {
1953
+ "properties": {
1954
+ "recommended": {
1955
+ "prefixItems": [
1956
+ {
1957
+ "const": {
1958
+ "action_id": "apply_for_operation",
1959
+ "actor": "user",
1960
+ "rationale_id": "action.apply_for_operation"
1961
+ }
1962
+ }
1963
+ ],
1964
+ "items": false
1965
+ },
1966
+ "avoid": {
1967
+ "prefixItems": [
1968
+ {
1969
+ "const": {
1970
+ "action_id": "reissue_credential",
1971
+ "actor": "user",
1972
+ "rationale_id": "avoid.reissue_does_not_grant_operation"
1973
+ }
1974
+ }
1975
+ ],
1976
+ "items": false
1977
+ }
1978
+ }
1979
+ }
1980
+ }
1981
+ },
1982
+ {
1983
+ "properties": {
1984
+ "cause": {
1985
+ "properties": {
1986
+ "code": {
1987
+ "const": "approval_propagating"
1988
+ }
1989
+ }
1990
+ },
1991
+ "actions": {
1992
+ "properties": {
1993
+ "recommended": {
1994
+ "prefixItems": [
1995
+ {
1996
+ "const": {
1997
+ "action_id": "wait_for_approval_sync",
1998
+ "actor": "user",
1999
+ "rationale_id": "action.wait_for_approval_sync"
2000
+ }
2001
+ }
2002
+ ],
2003
+ "items": false
2004
+ },
2005
+ "avoid": {
2006
+ "prefixItems": [
2007
+ {
2008
+ "const": {
2009
+ "action_id": "reissue_credential",
2010
+ "actor": "user",
2011
+ "rationale_id": "avoid.reissue_restarts_sync"
2012
+ }
2013
+ }
2014
+ ],
2015
+ "items": false
2016
+ }
2017
+ }
2018
+ }
2019
+ }
2020
+ },
2021
+ {
2022
+ "properties": {
2023
+ "cause": {
2024
+ "properties": {
2025
+ "code": {
2026
+ "const": "credential_invalid"
2027
+ }
2028
+ }
2029
+ },
2030
+ "actions": {
2031
+ "properties": {
2032
+ "recommended": {
2033
+ "prefixItems": [
2034
+ {
2035
+ "const": {
2036
+ "action_id": "verify_credential_configuration",
2037
+ "actor": "user",
2038
+ "rationale_id": "action.verify_credential_configuration"
2039
+ }
2040
+ }
2041
+ ],
2042
+ "items": false
2043
+ },
2044
+ "avoid": {
2045
+ "prefixItems": [
2046
+ {
2047
+ "const": {
2048
+ "action_id": "assume_provider_outage",
2049
+ "actor": "user",
2050
+ "rationale_id": "avoid.credential_rejection_is_not_outage"
2051
+ }
2052
+ }
2053
+ ],
2054
+ "items": false
2055
+ }
2056
+ }
2057
+ }
2058
+ }
2059
+ },
2060
+ {
2061
+ "properties": {
2062
+ "cause": {
2063
+ "properties": {
2064
+ "code": {
2065
+ "const": "invalid_input"
2066
+ }
2067
+ }
2068
+ },
2069
+ "actions": {
2070
+ "properties": {
2071
+ "recommended": {
2072
+ "prefixItems": [
2073
+ {
2074
+ "const": {
2075
+ "action_id": "verify_request_parameters",
2076
+ "actor": "user",
2077
+ "rationale_id": "action.verify_request_parameters"
2078
+ }
2079
+ }
2080
+ ],
2081
+ "items": false
2082
+ },
2083
+ "avoid": {
2084
+ "prefixItems": [
2085
+ {
2086
+ "const": {
2087
+ "action_id": "assume_provider_outage",
2088
+ "actor": "user",
2089
+ "rationale_id": "avoid.input_error_is_not_outage"
2090
+ }
2091
+ }
2092
+ ],
2093
+ "items": false
2094
+ }
2095
+ }
2096
+ }
2097
+ }
2098
+ },
2099
+ {
2100
+ "properties": {
2101
+ "cause": {
2102
+ "properties": {
2103
+ "code": {
2104
+ "const": "rate_limited"
2105
+ }
2106
+ }
2107
+ },
2108
+ "actions": {
2109
+ "properties": {
2110
+ "recommended": {
2111
+ "prefixItems": [
2112
+ {
2113
+ "const": {
2114
+ "action_id": "retry_with_backoff",
2115
+ "actor": "datapan_cli",
2116
+ "rationale_id": "action.retry_with_backoff"
2117
+ }
2118
+ }
2119
+ ],
2120
+ "items": false
2121
+ },
2122
+ "avoid": {
2123
+ "prefixItems": [
2124
+ {
2125
+ "const": {
2126
+ "action_id": "retry_immediately",
2127
+ "actor": "datapan_cli",
2128
+ "rationale_id": "avoid.immediate_retry_increases_pressure"
2129
+ }
2130
+ }
2131
+ ],
2132
+ "items": false
2133
+ }
2134
+ }
2135
+ }
2136
+ }
2137
+ },
2138
+ {
2139
+ "properties": {
2140
+ "cause": {
2141
+ "properties": {
2142
+ "code": {
2143
+ "const": "provider_outage"
2144
+ }
2145
+ }
2146
+ },
2147
+ "actions": {
2148
+ "properties": {
2149
+ "recommended": {
2150
+ "prefixItems": [
2151
+ {
2152
+ "const": {
2153
+ "action_id": "check_provider_status",
2154
+ "actor": "user",
2155
+ "rationale_id": "action.check_provider_status"
2156
+ }
2157
+ }
2158
+ ],
2159
+ "items": false
2160
+ },
2161
+ "avoid": {
2162
+ "prefixItems": [
2163
+ {
2164
+ "const": {
2165
+ "action_id": "reissue_credential",
2166
+ "actor": "user",
2167
+ "rationale_id": "avoid.outage_not_fixed_by_key"
2168
+ }
2169
+ }
2170
+ ],
2171
+ "items": false
2172
+ }
2173
+ }
2174
+ }
2175
+ }
2176
+ },
2177
+ {
2178
+ "properties": {
2179
+ "cause": {
2180
+ "properties": {
2181
+ "code": {
2182
+ "const": "contract_drift"
2183
+ }
2184
+ }
2185
+ },
2186
+ "actions": {
2187
+ "properties": {
2188
+ "recommended": {
2189
+ "prefixItems": [
2190
+ {
2191
+ "const": {
2192
+ "action_id": "refresh_contract",
2193
+ "actor": "datapan_cli",
2194
+ "rationale_id": "action.refresh_response_contract"
2195
+ }
2196
+ }
2197
+ ],
2198
+ "items": false
2199
+ },
2200
+ "avoid": {
2201
+ "prefixItems": [
2202
+ {
2203
+ "const": {
2204
+ "action_id": "reissue_credential",
2205
+ "actor": "user",
2206
+ "rationale_id": "avoid.contract_drift_not_credential"
2207
+ }
2208
+ }
2209
+ ],
2210
+ "items": false
2211
+ }
2212
+ }
2213
+ }
2214
+ }
2215
+ },
2216
+ {
2217
+ "properties": {
2218
+ "cause": {
2219
+ "properties": {
2220
+ "code": {
2221
+ "const": "semantic_quality"
2222
+ }
2223
+ }
2224
+ },
2225
+ "actions": {
2226
+ "properties": {
2227
+ "recommended": {
2228
+ "prefixItems": [
2229
+ {
2230
+ "const": {
2231
+ "action_id": "inspect_data_quality",
2232
+ "actor": "user",
2233
+ "rationale_id": "action.inspect_zero_or_missing_data"
2234
+ }
2235
+ }
2236
+ ],
2237
+ "items": false
2238
+ },
2239
+ "avoid": {
2240
+ "prefixItems": [
2241
+ {
2242
+ "const": {
2243
+ "action_id": "treat_transport_success_as_data_success",
2244
+ "actor": "user",
2245
+ "rationale_id": "avoid.http-200_does_not_prove_semantic_quality"
2246
+ }
2247
+ }
2248
+ ],
2249
+ "items": false
2250
+ }
2251
+ }
2252
+ }
2253
+ }
2254
+ },
2255
+ {
2256
+ "properties": {
2257
+ "cause": {
2258
+ "properties": {
2259
+ "code": {
2260
+ "const": "stale_data"
2261
+ }
2262
+ }
2263
+ },
2264
+ "actions": {
2265
+ "properties": {
2266
+ "recommended": {
2267
+ "prefixItems": [
2268
+ {
2269
+ "const": {
2270
+ "action_id": "inspect_data_quality",
2271
+ "actor": "user",
2272
+ "rationale_id": "action.inspect_reference_date"
2273
+ }
2274
+ }
2275
+ ],
2276
+ "items": false
2277
+ },
2278
+ "avoid": {
2279
+ "prefixItems": [
2280
+ {
2281
+ "const": {
2282
+ "action_id": "treat_transport_success_as_data_success",
2283
+ "actor": "user",
2284
+ "rationale_id": "avoid.http-200_does_not_prove_freshness"
2285
+ }
2286
+ }
2287
+ ],
2288
+ "items": false
2289
+ }
2290
+ }
2291
+ }
2292
+ }
2293
+ },
2294
+ {
2295
+ "properties": {
2296
+ "cause": {
2297
+ "properties": {
2298
+ "code": {
2299
+ "const": "ready"
2300
+ }
2301
+ }
2302
+ },
2303
+ "actions": {
2304
+ "properties": {
2305
+ "recommended": {
2306
+ "prefixItems": [
2307
+ {
2308
+ "const": {
2309
+ "action_id": "continue_to_reuse",
2310
+ "actor": "user",
2311
+ "rationale_id": "action.continue_to_reuse"
2312
+ }
2313
+ }
2314
+ ],
2315
+ "items": false
2316
+ },
2317
+ "avoid": {
2318
+ "maxItems": 0
2319
+ }
2320
+ }
2321
+ }
2322
+ }
2323
+ },
2324
+ {
2325
+ "properties": {
2326
+ "cause": {
2327
+ "properties": {
2328
+ "code": {
2329
+ "const": "unknown"
2330
+ }
2331
+ }
2332
+ },
2333
+ "actions": {
2334
+ "properties": {
2335
+ "recommended": {
2336
+ "prefixItems": [
2337
+ {
2338
+ "const": {
2339
+ "action_id": "gather_more_evidence",
2340
+ "actor": "datapan_cli",
2341
+ "rationale_id": "action.gather_more_evidence"
2342
+ }
2343
+ }
2344
+ ],
2345
+ "items": false
2346
+ },
2347
+ "avoid": {
2348
+ "prefixItems": [
2349
+ {
2350
+ "const": {
2351
+ "action_id": "assume_provider_outage",
2352
+ "actor": "user",
2353
+ "rationale_id": "avoid.ambiguous_symptom_is_not_outage"
2354
+ }
2355
+ }
2356
+ ],
2357
+ "items": false
2358
+ }
2359
+ }
2360
+ }
2361
+ }
2362
+ }
2363
+ ]
2364
+ }
2365
+ ],
2366
+ "$defs": {
2367
+ "identifier": {
2368
+ "type": "string",
2369
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,127}(?::[a-z0-9][a-z0-9._-]{0,127})*$",
2370
+ "maxLength": 200,
2371
+ "not": {
2372
+ "pattern": "(authorization|bearer|credential|secret|service[-_]?key|api[-_]?key)"
2373
+ }
2374
+ },
2375
+ "safe_slug": {
2376
+ "type": "string",
2377
+ "pattern": "^[a-z][a-z0-9_]{1,63}$",
2378
+ "not": {
2379
+ "pattern": "(authorization|bearer|credential|secret|service_?key|api_?key)"
2380
+ }
2381
+ },
2382
+ "diagnosis_message_id": {
2383
+ "enum": [
2384
+ "diagnosis.approval_required",
2385
+ "diagnosis.approval_propagating",
2386
+ "diagnosis.credential_invalid",
2387
+ "diagnosis.invalid_input",
2388
+ "diagnosis.rate_limited",
2389
+ "diagnosis.provider_outage",
2390
+ "diagnosis.contract_drift",
2391
+ "diagnosis.semantic_quality",
2392
+ "diagnosis.stale_data",
2393
+ "diagnosis.ready",
2394
+ "diagnosis.unknown"
2395
+ ]
2396
+ },
2397
+ "action_message_id": {
2398
+ "type": "string",
2399
+ "pattern": "^action[.][a-z0-9][a-z0-9._-]{0,121}$"
2400
+ },
2401
+ "avoid_message_id": {
2402
+ "type": "string",
2403
+ "pattern": "^avoid[.][a-z0-9][a-z0-9._-]{0,122}$"
2404
+ },
2405
+ "version_token": {
2406
+ "type": "string",
2407
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,95}$",
2408
+ "not": {
2409
+ "pattern": "(authorization|bearer|credential|secret|service[-_]?key|api[-_]?key)"
2410
+ }
2411
+ },
2412
+ "fixture": {
2413
+ "type": "object",
2414
+ "additionalProperties": false,
2415
+ "required": [
2416
+ "status",
2417
+ "scenario_id",
2418
+ "snapshot_at"
2419
+ ],
2420
+ "properties": {
2421
+ "status": {
2422
+ "const": "deterministic_example"
2423
+ },
2424
+ "scenario_id": {
2425
+ "enum": [
2426
+ "approval-propagating",
2427
+ "approval-required",
2428
+ "contract-drift",
2429
+ "credential-invalid",
2430
+ "invalid-input",
2431
+ "provider-outage",
2432
+ "rate-limited",
2433
+ "ready",
2434
+ "semantic-quality",
2435
+ "stale-data",
2436
+ "unknown"
2437
+ ]
2438
+ },
2439
+ "snapshot_at": {
2440
+ "type": "string",
2441
+ "format": "date-time"
2442
+ }
2443
+ }
2444
+ },
2445
+ "subject": {
2446
+ "type": "object",
2447
+ "additionalProperties": false,
2448
+ "required": [
2449
+ "source_id",
2450
+ "provider_id",
2451
+ "dataset_id",
2452
+ "operation_id"
2453
+ ],
2454
+ "properties": {
2455
+ "source_id": {
2456
+ "$ref": "#/$defs/safe_slug"
2457
+ },
2458
+ "provider_id": {
2459
+ "$ref": "#/$defs/safe_slug"
2460
+ },
2461
+ "dataset_id": {
2462
+ "$ref": "#/$defs/identifier"
2463
+ },
2464
+ "operation_id": {
2465
+ "$ref": "#/$defs/identifier"
2466
+ }
2467
+ }
2468
+ },
2469
+ "cause": {
2470
+ "type": "object",
2471
+ "additionalProperties": false,
2472
+ "required": [
2473
+ "code",
2474
+ "determination",
2475
+ "layer",
2476
+ "explanation_id"
2477
+ ],
2478
+ "properties": {
2479
+ "code": {
2480
+ "enum": [
2481
+ "approval_required",
2482
+ "approval_propagating",
2483
+ "credential_invalid",
2484
+ "invalid_input",
2485
+ "rate_limited",
2486
+ "provider_outage",
2487
+ "contract_drift",
2488
+ "semantic_quality",
2489
+ "stale_data",
2490
+ "ready",
2491
+ "unknown"
2492
+ ]
2493
+ },
2494
+ "determination": {
2495
+ "enum": [
2496
+ "observed",
2497
+ "inferred",
2498
+ "unknown"
2499
+ ]
2500
+ },
2501
+ "layer": {
2502
+ "enum": [
2503
+ "access",
2504
+ "request",
2505
+ "transport",
2506
+ "provider",
2507
+ "response_contract",
2508
+ "data_quality",
2509
+ "validation",
2510
+ "unknown"
2511
+ ]
2512
+ },
2513
+ "explanation_id": {
2514
+ "$ref": "#/$defs/diagnosis_message_id"
2515
+ }
2516
+ }
2517
+ },
2518
+ "ownership": {
2519
+ "type": "object",
2520
+ "additionalProperties": false,
2521
+ "required": [
2522
+ "accountable_party"
2523
+ ],
2524
+ "properties": {
2525
+ "accountable_party": {
2526
+ "enum": [
2527
+ "user",
2528
+ "datapan",
2529
+ "data_go_kr",
2530
+ "provider",
2531
+ "shared",
2532
+ "unknown"
2533
+ ]
2534
+ },
2535
+ "support_reference_id": {
2536
+ "$ref": "#/$defs/identifier"
2537
+ }
2538
+ }
2539
+ },
2540
+ "actions": {
2541
+ "type": "object",
2542
+ "additionalProperties": false,
2543
+ "required": [
2544
+ "recommended",
2545
+ "avoid"
2546
+ ],
2547
+ "properties": {
2548
+ "recommended": {
2549
+ "type": "array",
2550
+ "minItems": 1,
2551
+ "items": {
2552
+ "$ref": "#/$defs/recommended_action"
2553
+ }
2554
+ },
2555
+ "avoid": {
2556
+ "type": "array",
2557
+ "items": {
2558
+ "$ref": "#/$defs/avoid_action"
2559
+ }
2560
+ }
2561
+ }
2562
+ },
2563
+ "recommended_action": {
2564
+ "type": "object",
2565
+ "additionalProperties": false,
2566
+ "required": [
2567
+ "action_id",
2568
+ "actor",
2569
+ "rationale_id"
2570
+ ],
2571
+ "properties": {
2572
+ "action_id": {
2573
+ "enum": [
2574
+ "apply_for_operation",
2575
+ "wait_for_approval_sync",
2576
+ "verify_credential_configuration",
2577
+ "verify_request_parameters",
2578
+ "retry_with_backoff",
2579
+ "check_provider_status",
2580
+ "refresh_contract",
2581
+ "inspect_data_quality",
2582
+ "gather_more_evidence",
2583
+ "contact_provider",
2584
+ "continue_to_reuse"
2585
+ ]
2586
+ },
2587
+ "actor": {
2588
+ "$ref": "#/$defs/actor"
2589
+ },
2590
+ "rationale_id": {
2591
+ "$ref": "#/$defs/action_message_id"
2592
+ }
2593
+ }
2594
+ },
2595
+ "avoid_action": {
2596
+ "type": "object",
2597
+ "additionalProperties": false,
2598
+ "required": [
2599
+ "action_id",
2600
+ "actor",
2601
+ "rationale_id"
2602
+ ],
2603
+ "properties": {
2604
+ "action_id": {
2605
+ "enum": [
2606
+ "reissue_credential",
2607
+ "retry_immediately",
2608
+ "change_adapter",
2609
+ "treat_transport_success_as_data_success",
2610
+ "expose_sensitive_evidence",
2611
+ "assume_provider_outage"
2612
+ ]
2613
+ },
2614
+ "actor": {
2615
+ "$ref": "#/$defs/actor"
2616
+ },
2617
+ "rationale_id": {
2618
+ "$ref": "#/$defs/avoid_message_id"
2619
+ }
2620
+ }
2621
+ },
2622
+ "actor": {
2623
+ "enum": [
2624
+ "user",
2625
+ "datapan_cli",
2626
+ "datapan_health",
2627
+ "datapan_web",
2628
+ "data_go_kr",
2629
+ "provider",
2630
+ "shared",
2631
+ "unknown"
2632
+ ]
2633
+ },
2634
+ "evidence_ref": {
2635
+ "type": "object",
2636
+ "additionalProperties": false,
2637
+ "required": [
2638
+ "kind",
2639
+ "ref_id",
2640
+ "authority",
2641
+ "timing",
2642
+ "scope",
2643
+ "supports"
2644
+ ],
2645
+ "properties": {
2646
+ "kind": {
2647
+ "enum": [
2648
+ "registry_rule",
2649
+ "registry_operation",
2650
+ "approval_record",
2651
+ "request_validation",
2652
+ "provider_response",
2653
+ "health_observation",
2654
+ "provider_notice",
2655
+ "response_contract",
2656
+ "data_quality_assertion",
2657
+ "validation_result"
2658
+ ]
2659
+ },
2660
+ "ref_id": {
2661
+ "$ref": "#/$defs/identifier"
2662
+ },
2663
+ "authority": {
2664
+ "enum": [
2665
+ "registry",
2666
+ "data_go_kr_portal",
2667
+ "provider_portal",
2668
+ "provider",
2669
+ "datapan_health",
2670
+ "datapan_cli",
2671
+ "datapan_web",
2672
+ "consumer_validation"
2673
+ ]
2674
+ },
2675
+ "timing": {
2676
+ "$ref": "#/$defs/evidence_timing"
2677
+ },
2678
+ "scope": {
2679
+ "$ref": "#/$defs/evidence_scope"
2680
+ },
2681
+ "version": {
2682
+ "$ref": "#/$defs/version_token"
2683
+ },
2684
+ "approval": {
2685
+ "$ref": "#/$defs/approval_evidence"
2686
+ },
2687
+ "response": {
2688
+ "$ref": "#/$defs/response_evidence"
2689
+ },
2690
+ "request_validation": {
2691
+ "$ref": "#/$defs/request_validation_evidence"
2692
+ },
2693
+ "contract_assertion": {
2694
+ "$ref": "#/$defs/contract_assertion_evidence"
2695
+ },
2696
+ "quality_assertion": {
2697
+ "$ref": "#/$defs/quality_assertion_evidence"
2698
+ },
2699
+ "health_correlation": {
2700
+ "$ref": "#/$defs/health_correlation_evidence"
2701
+ },
2702
+ "notice": {
2703
+ "$ref": "#/$defs/notice_evidence"
2704
+ },
2705
+ "freshness": {
2706
+ "$ref": "#/$defs/freshness_evidence"
2707
+ },
2708
+ "validation": {
2709
+ "$ref": "#/$defs/validation_evidence"
2710
+ },
2711
+ "supports": {
2712
+ "type": "array",
2713
+ "minItems": 1,
2714
+ "uniqueItems": true,
2715
+ "items": {
2716
+ "enum": [
2717
+ "cause",
2718
+ "scope",
2719
+ "determination",
2720
+ "ownership",
2721
+ "action"
2722
+ ]
2723
+ }
2724
+ }
2725
+ },
2726
+ "dependentSchemas": {
2727
+ "approval": {
2728
+ "properties": {
2729
+ "kind": {
2730
+ "const": "approval_record"
2731
+ }
2732
+ }
2733
+ },
2734
+ "response": {
2735
+ "properties": {
2736
+ "kind": {
2737
+ "const": "provider_response"
2738
+ }
2739
+ }
2740
+ },
2741
+ "request_validation": {
2742
+ "properties": {
2743
+ "kind": {
2744
+ "const": "request_validation"
2745
+ }
2746
+ }
2747
+ },
2748
+ "contract_assertion": {
2749
+ "properties": {
2750
+ "kind": {
2751
+ "const": "response_contract"
2752
+ }
2753
+ }
2754
+ },
2755
+ "quality_assertion": {
2756
+ "properties": {
2757
+ "kind": {
2758
+ "const": "data_quality_assertion"
2759
+ }
2760
+ }
2761
+ },
2762
+ "health_correlation": {
2763
+ "properties": {
2764
+ "kind": {
2765
+ "const": "health_observation"
2766
+ }
2767
+ }
2768
+ },
2769
+ "notice": {
2770
+ "properties": {
2771
+ "kind": {
2772
+ "const": "provider_notice"
2773
+ }
2774
+ }
2775
+ },
2776
+ "freshness": {
2777
+ "properties": {
2778
+ "kind": {
2779
+ "const": "data_quality_assertion"
2780
+ }
2781
+ },
2782
+ "required": [
2783
+ "quality_assertion"
2784
+ ]
2785
+ },
2786
+ "validation": {
2787
+ "properties": {
2788
+ "kind": {
2789
+ "const": "validation_result"
2790
+ }
2791
+ }
2792
+ }
2793
+ },
2794
+ "allOf": [
2795
+ {
2796
+ "if": {
2797
+ "properties": {
2798
+ "kind": {
2799
+ "enum": [
2800
+ "registry_rule",
2801
+ "registry_operation"
2802
+ ]
2803
+ }
2804
+ },
2805
+ "required": [
2806
+ "kind"
2807
+ ]
2808
+ },
2809
+ "then": {
2810
+ "properties": {
2811
+ "authority": {
2812
+ "const": "registry"
2813
+ },
2814
+ "ref_id": {
2815
+ "pattern": "^registry-(rule|operation):[a-z0-9][a-z0-9._:-]*$"
2816
+ },
2817
+ "scope": {
2818
+ "properties": {
2819
+ "level": {
2820
+ "const": "operation"
2821
+ }
2822
+ }
2823
+ }
2824
+ }
2825
+ }
2826
+ },
2827
+ {
2828
+ "if": {
2829
+ "properties": {
2830
+ "kind": {
2831
+ "const": "approval_record"
2832
+ }
2833
+ },
2834
+ "required": [
2835
+ "kind"
2836
+ ]
2837
+ },
2838
+ "then": {
2839
+ "required": [
2840
+ "approval"
2841
+ ],
2842
+ "properties": {
2843
+ "authority": {
2844
+ "enum": [
2845
+ "data_go_kr_portal",
2846
+ "provider_portal"
2847
+ ]
2848
+ },
2849
+ "ref_id": {
2850
+ "pattern": "^approval:[a-z0-9][a-z0-9._:-]*$"
2851
+ },
2852
+ "scope": {
2853
+ "properties": {
2854
+ "level": {
2855
+ "const": "operation"
2856
+ }
2857
+ }
2858
+ }
2859
+ }
2860
+ }
2861
+ },
2862
+ {
2863
+ "if": {
2864
+ "properties": {
2865
+ "kind": {
2866
+ "const": "request_validation"
2867
+ }
2868
+ },
2869
+ "required": [
2870
+ "kind"
2871
+ ]
2872
+ },
2873
+ "then": {
2874
+ "required": [
2875
+ "request_validation"
2876
+ ],
2877
+ "properties": {
2878
+ "authority": {
2879
+ "const": "datapan_cli"
2880
+ },
2881
+ "ref_id": {
2882
+ "pattern": "^request-validation:[a-z0-9][a-z0-9._:-]*$"
2883
+ },
2884
+ "scope": {
2885
+ "properties": {
2886
+ "level": {
2887
+ "const": "request"
2888
+ }
2889
+ }
2890
+ }
2891
+ }
2892
+ }
2893
+ },
2894
+ {
2895
+ "if": {
2896
+ "properties": {
2897
+ "kind": {
2898
+ "const": "provider_response"
2899
+ }
2900
+ },
2901
+ "required": [
2902
+ "kind"
2903
+ ]
2904
+ },
2905
+ "then": {
2906
+ "required": [
2907
+ "response"
2908
+ ],
2909
+ "properties": {
2910
+ "authority": {
2911
+ "enum": [
2912
+ "provider",
2913
+ "datapan_cli"
2914
+ ]
2915
+ },
2916
+ "ref_id": {
2917
+ "pattern": "^provider-response:[a-z0-9][a-z0-9._:-]*$"
2918
+ },
2919
+ "scope": {
2920
+ "properties": {
2921
+ "level": {
2922
+ "const": "operation"
2923
+ }
2924
+ }
2925
+ }
2926
+ }
2927
+ }
2928
+ },
2929
+ {
2930
+ "if": {
2931
+ "properties": {
2932
+ "kind": {
2933
+ "const": "health_observation"
2934
+ }
2935
+ },
2936
+ "required": [
2937
+ "kind"
2938
+ ]
2939
+ },
2940
+ "then": {
2941
+ "required": [
2942
+ "health_correlation"
2943
+ ],
2944
+ "properties": {
2945
+ "authority": {
2946
+ "const": "datapan_health"
2947
+ },
2948
+ "ref_id": {
2949
+ "pattern": "^health:[a-z0-9][a-z0-9._:-]*$"
2950
+ },
2951
+ "scope": {
2952
+ "properties": {
2953
+ "level": {
2954
+ "const": "operation"
2955
+ }
2956
+ }
2957
+ }
2958
+ }
2959
+ }
2960
+ },
2961
+ {
2962
+ "if": {
2963
+ "properties": {
2964
+ "kind": {
2965
+ "const": "provider_notice"
2966
+ }
2967
+ },
2968
+ "required": [
2969
+ "kind"
2970
+ ]
2971
+ },
2972
+ "then": {
2973
+ "required": [
2974
+ "notice"
2975
+ ],
2976
+ "properties": {
2977
+ "authority": {
2978
+ "enum": [
2979
+ "provider",
2980
+ "provider_portal"
2981
+ ]
2982
+ },
2983
+ "ref_id": {
2984
+ "pattern": "^provider-notice:[a-z0-9][a-z0-9._:-]*$"
2985
+ },
2986
+ "scope": {
2987
+ "properties": {
2988
+ "level": {
2989
+ "const": "operation"
2990
+ }
2991
+ }
2992
+ }
2993
+ }
2994
+ }
2995
+ },
2996
+ {
2997
+ "if": {
2998
+ "properties": {
2999
+ "kind": {
3000
+ "const": "response_contract"
3001
+ }
3002
+ },
3003
+ "required": [
3004
+ "kind"
3005
+ ]
3006
+ },
3007
+ "then": {
3008
+ "required": [
3009
+ "contract_assertion"
3010
+ ],
3011
+ "properties": {
3012
+ "authority": {
3013
+ "enum": [
3014
+ "consumer_validation",
3015
+ "datapan_cli",
3016
+ "datapan_web"
3017
+ ]
3018
+ },
3019
+ "ref_id": {
3020
+ "pattern": "^contract:[a-z0-9][a-z0-9._:-]*$"
3021
+ },
3022
+ "scope": {
3023
+ "properties": {
3024
+ "level": {
3025
+ "const": "response"
3026
+ }
3027
+ }
3028
+ }
3029
+ }
3030
+ }
3031
+ },
3032
+ {
3033
+ "if": {
3034
+ "properties": {
3035
+ "kind": {
3036
+ "const": "data_quality_assertion"
3037
+ }
3038
+ },
3039
+ "required": [
3040
+ "kind"
3041
+ ]
3042
+ },
3043
+ "then": {
3044
+ "required": [
3045
+ "quality_assertion"
3046
+ ],
3047
+ "properties": {
3048
+ "authority": {
3049
+ "enum": [
3050
+ "consumer_validation",
3051
+ "datapan_cli",
3052
+ "datapan_health",
3053
+ "datapan_web"
3054
+ ]
3055
+ },
3056
+ "ref_id": {
3057
+ "pattern": "^quality:[a-z0-9][a-z0-9._:-]*$"
3058
+ },
3059
+ "scope": {
3060
+ "properties": {
3061
+ "level": {
3062
+ "const": "data_quality"
3063
+ }
3064
+ }
3065
+ }
3066
+ }
3067
+ }
3068
+ },
3069
+ {
3070
+ "if": {
3071
+ "properties": {
3072
+ "kind": {
3073
+ "const": "validation_result"
3074
+ }
3075
+ },
3076
+ "required": [
3077
+ "kind"
3078
+ ]
3079
+ },
3080
+ "then": {
3081
+ "required": [
3082
+ "validation"
3083
+ ],
3084
+ "properties": {
3085
+ "authority": {
3086
+ "enum": [
3087
+ "datapan_cli",
3088
+ "datapan_health",
3089
+ "consumer_validation"
3090
+ ]
3091
+ },
3092
+ "ref_id": {
3093
+ "pattern": "^validation:[a-z0-9][a-z0-9._:-]*$"
3094
+ },
3095
+ "scope": {
3096
+ "properties": {
3097
+ "level": {
3098
+ "const": "operation"
3099
+ }
3100
+ }
3101
+ }
3102
+ }
3103
+ }
3104
+ },
3105
+ {
3106
+ "if": {
3107
+ "properties": {
3108
+ "supports": {
3109
+ "contains": {
3110
+ "enum": [
3111
+ "cause",
3112
+ "action",
3113
+ "determination"
3114
+ ]
3115
+ }
3116
+ }
3117
+ },
3118
+ "required": [
3119
+ "supports"
3120
+ ]
3121
+ },
3122
+ "then": {
3123
+ "properties": {
3124
+ "timing": {
3125
+ "properties": {
3126
+ "validity": {
3127
+ "const": "current_at_assessment"
3128
+ }
3129
+ }
3130
+ }
3131
+ }
3132
+ }
3133
+ },
3134
+ {
3135
+ "if": {
3136
+ "properties": {
3137
+ "kind": {
3138
+ "const": "provider_response"
3139
+ },
3140
+ "supports": {
3141
+ "contains": {
3142
+ "const": "cause"
3143
+ }
3144
+ }
3145
+ },
3146
+ "required": [
3147
+ "kind",
3148
+ "supports"
3149
+ ]
3150
+ },
3151
+ "then": {
3152
+ "properties": {
3153
+ "timing": {
3154
+ "properties": {
3155
+ "observed_age_seconds": {
3156
+ "maximum": 300
3157
+ },
3158
+ "remaining_validity_seconds": {
3159
+ "maximum": 300
3160
+ }
3161
+ }
3162
+ }
3163
+ }
3164
+ }
3165
+ },
3166
+ {
3167
+ "if": {
3168
+ "properties": {
3169
+ "kind": {
3170
+ "const": "health_observation"
3171
+ },
3172
+ "supports": {
3173
+ "contains": {
3174
+ "const": "cause"
3175
+ }
3176
+ }
3177
+ },
3178
+ "required": [
3179
+ "kind",
3180
+ "supports"
3181
+ ]
3182
+ },
3183
+ "then": {
3184
+ "properties": {
3185
+ "timing": {
3186
+ "properties": {
3187
+ "observed_age_seconds": {
3188
+ "maximum": 900
3189
+ },
3190
+ "remaining_validity_seconds": {
3191
+ "maximum": 900
3192
+ }
3193
+ }
3194
+ }
3195
+ }
3196
+ }
3197
+ },
3198
+ {
3199
+ "if": {
3200
+ "properties": {
3201
+ "kind": {
3202
+ "const": "provider_notice"
3203
+ },
3204
+ "supports": {
3205
+ "contains": {
3206
+ "const": "cause"
3207
+ }
3208
+ }
3209
+ },
3210
+ "required": [
3211
+ "kind",
3212
+ "supports"
3213
+ ]
3214
+ },
3215
+ "then": {
3216
+ "properties": {
3217
+ "timing": {
3218
+ "properties": {
3219
+ "observed_age_seconds": {
3220
+ "maximum": 86400
3221
+ },
3222
+ "remaining_validity_seconds": {
3223
+ "maximum": 86400
3224
+ }
3225
+ }
3226
+ }
3227
+ }
3228
+ }
3229
+ }
3230
+ ]
3231
+ },
3232
+ "evidence_scope": {
3233
+ "type": "object",
3234
+ "additionalProperties": false,
3235
+ "required": [
3236
+ "level",
3237
+ "subject_ref"
3238
+ ],
3239
+ "properties": {
3240
+ "level": {
3241
+ "enum": [
3242
+ "source",
3243
+ "dataset",
3244
+ "operation",
3245
+ "request",
3246
+ "response",
3247
+ "data_quality"
3248
+ ]
3249
+ },
3250
+ "subject_ref": {
3251
+ "const": "envelope_subject"
3252
+ },
3253
+ "detail_id": {
3254
+ "$ref": "#/$defs/identifier"
3255
+ }
3256
+ }
3257
+ },
3258
+ "evidence_timing": {
3259
+ "type": "object",
3260
+ "additionalProperties": false,
3261
+ "required": [
3262
+ "basis",
3263
+ "observed_age_seconds",
3264
+ "validity",
3265
+ "validity_policy_version"
3266
+ ],
3267
+ "properties": {
3268
+ "basis": {
3269
+ "const": "relative_to_assessed_at"
3270
+ },
3271
+ "observed_age_seconds": {
3272
+ "type": "integer",
3273
+ "minimum": 0
3274
+ },
3275
+ "validity": {
3276
+ "enum": [
3277
+ "current_at_assessment",
3278
+ "immutable"
3279
+ ]
3280
+ },
3281
+ "validity_policy_version": {
3282
+ "$ref": "#/$defs/version_token"
3283
+ },
3284
+ "remaining_validity_seconds": {
3285
+ "type": "integer",
3286
+ "minimum": 1,
3287
+ "maximum": 604800
3288
+ }
3289
+ },
3290
+ "allOf": [
3291
+ {
3292
+ "if": {
3293
+ "properties": {
3294
+ "validity": {
3295
+ "const": "current_at_assessment"
3296
+ }
3297
+ },
3298
+ "required": [
3299
+ "validity"
3300
+ ]
3301
+ },
3302
+ "then": {
3303
+ "required": [
3304
+ "remaining_validity_seconds"
3305
+ ],
3306
+ "properties": {
3307
+ "observed_age_seconds": {
3308
+ "maximum": 604800
3309
+ }
3310
+ }
3311
+ },
3312
+ "else": {
3313
+ "not": {
3314
+ "required": [
3315
+ "remaining_validity_seconds"
3316
+ ]
3317
+ }
3318
+ }
3319
+ }
3320
+ ]
3321
+ },
3322
+ "approval_evidence": {
3323
+ "type": "object",
3324
+ "additionalProperties": false,
3325
+ "required": [
3326
+ "state",
3327
+ "effective_scope"
3328
+ ],
3329
+ "properties": {
3330
+ "state": {
3331
+ "enum": [
3332
+ "not_applied",
3333
+ "approved_pending_sync",
3334
+ "active",
3335
+ "rejected",
3336
+ "unknown"
3337
+ ]
3338
+ },
3339
+ "effective_scope": {
3340
+ "$ref": "#/$defs/evidence_scope"
3341
+ }
3342
+ }
3343
+ },
3344
+ "response_evidence": {
3345
+ "type": "object",
3346
+ "additionalProperties": false,
3347
+ "required": [
3348
+ "http_status",
3349
+ "provider_class",
3350
+ "policy_version"
3351
+ ],
3352
+ "properties": {
3353
+ "http_status": {
3354
+ "type": "integer",
3355
+ "minimum": 100,
3356
+ "maximum": 599
3357
+ },
3358
+ "provider_class": {
3359
+ "enum": [
3360
+ "credential_rejected",
3361
+ "rate_limited",
3362
+ "service_unavailable",
3363
+ "success",
3364
+ "unclassified"
3365
+ ]
3366
+ },
3367
+ "policy_version": {
3368
+ "$ref": "#/$defs/version_token"
3369
+ }
3370
+ }
3371
+ },
3372
+ "request_validation_evidence": {
3373
+ "type": "object",
3374
+ "additionalProperties": false,
3375
+ "required": [
3376
+ "result",
3377
+ "failure_class",
3378
+ "policy_version"
3379
+ ],
3380
+ "properties": {
3381
+ "result": {
3382
+ "enum": [
3383
+ "failed",
3384
+ "passed",
3385
+ "unknown"
3386
+ ]
3387
+ },
3388
+ "failure_class": {
3389
+ "enum": [
3390
+ "invalid_input",
3391
+ "credential_configuration",
3392
+ "none",
3393
+ "unknown"
3394
+ ]
3395
+ },
3396
+ "policy_version": {
3397
+ "$ref": "#/$defs/version_token"
3398
+ }
3399
+ }
3400
+ },
3401
+ "contract_assertion_evidence": {
3402
+ "type": "object",
3403
+ "additionalProperties": false,
3404
+ "required": [
3405
+ "result",
3406
+ "policy_version"
3407
+ ],
3408
+ "properties": {
3409
+ "result": {
3410
+ "enum": [
3411
+ "mismatch",
3412
+ "match",
3413
+ "unknown"
3414
+ ]
3415
+ },
3416
+ "policy_version": {
3417
+ "$ref": "#/$defs/version_token"
3418
+ }
3419
+ }
3420
+ },
3421
+ "quality_assertion_evidence": {
3422
+ "type": "object",
3423
+ "additionalProperties": false,
3424
+ "required": [
3425
+ "kind",
3426
+ "result",
3427
+ "policy_version"
3428
+ ],
3429
+ "properties": {
3430
+ "kind": {
3431
+ "enum": [
3432
+ "missing_expected_entity",
3433
+ "empty_result",
3434
+ "freshness",
3435
+ "other"
3436
+ ]
3437
+ },
3438
+ "result": {
3439
+ "enum": [
3440
+ "failed",
3441
+ "passed",
3442
+ "unknown"
3443
+ ]
3444
+ },
3445
+ "policy_version": {
3446
+ "$ref": "#/$defs/version_token"
3447
+ }
3448
+ }
3449
+ },
3450
+ "health_correlation_evidence": {
3451
+ "type": "object",
3452
+ "additionalProperties": false,
3453
+ "required": [
3454
+ "state",
3455
+ "probe_policy_version"
3456
+ ],
3457
+ "properties": {
3458
+ "state": {
3459
+ "enum": [
3460
+ "unavailable",
3461
+ "degraded",
3462
+ "operational",
3463
+ "unknown"
3464
+ ]
3465
+ },
3466
+ "probe_policy_version": {
3467
+ "$ref": "#/$defs/version_token"
3468
+ }
3469
+ }
3470
+ },
3471
+ "notice_evidence": {
3472
+ "type": "object",
3473
+ "additionalProperties": false,
3474
+ "required": [
3475
+ "state",
3476
+ "notice_version"
3477
+ ],
3478
+ "properties": {
3479
+ "state": {
3480
+ "enum": [
3481
+ "service_suspended",
3482
+ "degraded",
3483
+ "operational",
3484
+ "unknown"
3485
+ ]
3486
+ },
3487
+ "notice_version": {
3488
+ "$ref": "#/$defs/version_token"
3489
+ }
3490
+ }
3491
+ },
3492
+ "freshness_evidence": {
3493
+ "type": "object",
3494
+ "additionalProperties": false,
3495
+ "required": [
3496
+ "policy_version",
3497
+ "reference_time",
3498
+ "actual_time",
3499
+ "maximum_age_seconds",
3500
+ "state"
3501
+ ],
3502
+ "properties": {
3503
+ "policy_version": {
3504
+ "$ref": "#/$defs/version_token"
3505
+ },
3506
+ "reference_time": {
3507
+ "type": "string",
3508
+ "format": "date-time"
3509
+ },
3510
+ "actual_time": {
3511
+ "type": "string",
3512
+ "format": "date-time"
3513
+ },
3514
+ "maximum_age_seconds": {
3515
+ "type": "integer",
3516
+ "minimum": 0
3517
+ },
3518
+ "state": {
3519
+ "enum": [
3520
+ "fresh",
3521
+ "stale",
3522
+ "unknown"
3523
+ ]
3524
+ }
3525
+ }
3526
+ },
3527
+ "validation_evidence": {
3528
+ "type": "object",
3529
+ "additionalProperties": false,
3530
+ "required": [
3531
+ "required_level",
3532
+ "achieved_level",
3533
+ "policy_version",
3534
+ "result"
3535
+ ],
3536
+ "properties": {
3537
+ "required_level": {
3538
+ "enum": [
3539
+ "L1",
3540
+ "L2",
3541
+ "L3",
3542
+ "L4"
3543
+ ]
3544
+ },
3545
+ "achieved_level": {
3546
+ "enum": [
3547
+ "L1",
3548
+ "L2",
3549
+ "L3",
3550
+ "L4"
3551
+ ]
3552
+ },
3553
+ "policy_version": {
3554
+ "$ref": "#/$defs/version_token"
3555
+ },
3556
+ "result": {
3557
+ "enum": [
3558
+ "passed",
3559
+ "failed",
3560
+ "unknown"
3561
+ ]
3562
+ }
3563
+ }
3564
+ },
3565
+ "redaction": {
3566
+ "type": "object",
3567
+ "additionalProperties": false,
3568
+ "required": [
3569
+ "secret_values_present",
3570
+ "secret_hashes_present",
3571
+ "authorization_headers_present",
3572
+ "credential_bearing_urls_present",
3573
+ "raw_provider_text_present",
3574
+ "raw_provider_urls_present",
3575
+ "response_bodies_present",
3576
+ "user_identity_present"
3577
+ ],
3578
+ "properties": {
3579
+ "secret_values_present": {
3580
+ "const": false
3581
+ },
3582
+ "secret_hashes_present": {
3583
+ "const": false
3584
+ },
3585
+ "authorization_headers_present": {
3586
+ "const": false
3587
+ },
3588
+ "credential_bearing_urls_present": {
3589
+ "const": false
3590
+ },
3591
+ "raw_provider_text_present": {
3592
+ "const": false
3593
+ },
3594
+ "raw_provider_urls_present": {
3595
+ "const": false
3596
+ },
3597
+ "response_bodies_present": {
3598
+ "const": false
3599
+ },
3600
+ "user_identity_present": {
3601
+ "const": false
3602
+ }
3603
+ }
3604
+ }
3605
+ }
3606
+ }
schemas/datapan.diagnostic-publication-readiness.v1.schema.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://schemas.datapan.dev/datapan.diagnostic-publication-readiness.v1.schema.json",
4
+ "title": "Datapan Diagnostic Publication Readiness v1",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "schema_version",
9
+ "generated_at",
10
+ "status",
11
+ "candidate",
12
+ "artifacts",
13
+ "exclusion_policy",
14
+ "gates",
15
+ "authority",
16
+ "anonymous_fetch_handoff",
17
+ "web_adoption_handoff"
18
+ ],
19
+ "properties": {
20
+ "schema_version": {"const": "datapan.diagnostic-publication-readiness.v1"},
21
+ "generated_at": {"type": "string", "format": "date-time"},
22
+ "status": {"const": "prepared_for_exact_head_review"},
23
+ "candidate": {
24
+ "type": "object",
25
+ "required": ["source_head", "merge_commit", "binding_sha256", "source"],
26
+ "properties": {
27
+ "source_head": {"$ref": "#/$defs/sha40"},
28
+ "merge_commit": {"$ref": "#/$defs/sha40"},
29
+ "binding_sha256": {"$ref": "#/$defs/sha256"},
30
+ "source": {"$ref": "#/$defs/artifact"}
31
+ }
32
+ },
33
+ "artifacts": {
34
+ "type": "array",
35
+ "minItems": 1,
36
+ "uniqueItems": true,
37
+ "items": {"$ref": "#/$defs/artifact"}
38
+ },
39
+ "exclusion_policy": {
40
+ "type": "object",
41
+ "required": ["status", "forbidden"],
42
+ "properties": {
43
+ "status": {"const": "passed"},
44
+ "forbidden": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"type": "string"}}
45
+ }
46
+ },
47
+ "gates": {
48
+ "type": "object",
49
+ "required": [
50
+ "exact_head_independent_review",
51
+ "hosted_ci",
52
+ "tag_or_github_release",
53
+ "immutable_distribution_publication",
54
+ "anonymous_immutable_fetch",
55
+ "datapan_web_adoption"
56
+ ],
57
+ "properties": {
58
+ "exact_head_independent_review": {"const": "pending"},
59
+ "hosted_ci": {"const": "pending"},
60
+ "tag_or_github_release": {"const": "not_authorized"},
61
+ "immutable_distribution_publication": {"const": "not_authorized"},
62
+ "anonymous_immutable_fetch": {"const": "blocked_until_publication"},
63
+ "datapan_web_adoption": {"const": "blocked_until_anonymous_immutable_fetch"}
64
+ }
65
+ },
66
+ "authority": {
67
+ "type": "object",
68
+ "required": ["publishing_allowed", "runtime_authority", "live_history_authority", "consumer_deployment_allowed"],
69
+ "properties": {
70
+ "publishing_allowed": {"const": false},
71
+ "runtime_authority": {"const": false},
72
+ "live_history_authority": {"const": false},
73
+ "consumer_deployment_allowed": {"const": false}
74
+ }
75
+ },
76
+ "anonymous_fetch_handoff": {"type": "object"},
77
+ "web_adoption_handoff": {"type": "object"}
78
+ },
79
+ "$defs": {
80
+ "sha40": {"type": "string", "pattern": "^[a-f0-9]{40}$"},
81
+ "sha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"},
82
+ "artifact": {
83
+ "type": "object",
84
+ "required": ["path", "bytes", "sha256"],
85
+ "properties": {
86
+ "path": {"type": "string", "minLength": 1},
87
+ "kind": {"type": "string", "minLength": 1},
88
+ "bytes": {"type": "integer", "minimum": 1},
89
+ "sha256": {"$ref": "#/$defs/sha256"}
90
+ }
91
+ }
92
+ }
93
+ }
schemas/datapan.release-manifest.v1.schema.json CHANGED
@@ -68,6 +68,12 @@
68
  "registry",
69
  "health_probe_catalog",
70
  "source_provenance",
 
 
 
 
 
 
71
  "provider_index",
72
  "registry_shards",
73
  "source_contract_rollup",
 
68
  "registry",
69
  "health_probe_catalog",
70
  "source_provenance",
71
+ "diagnostic_consumer_contract",
72
+ "diagnostic_vocabulary",
73
+ "diagnostic_evidence_mapping",
74
+ "diagnostic_consumer_compatibility",
75
+ "diagnostic_example",
76
+ "diagnostic_publication_readiness",
77
  "provider_index",
78
  "registry_shards",
79
  "source_contract_rollup",
schemas/index.json CHANGED
@@ -2,7 +2,7 @@
2
  "schema_version": "datapan.schema-index.v1",
3
  "generated_at": "2026-07-04T06:39:24Z",
4
  "datapan_version": "0.1.0-dev",
5
- "count": 85,
6
  "schemas": [
7
  {
8
  "path": "schemas/datapan.adapter-targets.v1.schema.json",
@@ -109,8 +109,8 @@
109
  "title": "Datapan Release Manifest v1",
110
  "contract": "release-manifest",
111
  "version": "v1",
112
- "bytes": 4015,
113
- "sha256": "ec9139be5c9563a4766bf1f2f02c25353f07bb5153f48087a5544237133eac6a"
114
  },
115
  {
116
  "path": "schemas/datapan.release-readiness.v1.schema.json",
@@ -768,6 +768,24 @@
768
  "version": "v1",
769
  "bytes": 4831,
770
  "sha256": "ceeca44135f8abd510dc0e1ded45ab4f0bbc02d0b75484cbccc7f01745f1e0f0"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
771
  }
772
  ]
773
  }
 
2
  "schema_version": "datapan.schema-index.v1",
3
  "generated_at": "2026-07-04T06:39:24Z",
4
  "datapan_version": "0.1.0-dev",
5
+ "count": 87,
6
  "schemas": [
7
  {
8
  "path": "schemas/datapan.adapter-targets.v1.schema.json",
 
109
  "title": "Datapan Release Manifest v1",
110
  "contract": "release-manifest",
111
  "version": "v1",
112
+ "bytes": 4270,
113
+ "sha256": "f0dd62db932f61f6ee9348e0a1f59d6ea94a2a0f7fe9cb1bbb6b76242a120b03"
114
  },
115
  {
116
  "path": "schemas/datapan.release-readiness.v1.schema.json",
 
768
  "version": "v1",
769
  "bytes": 4831,
770
  "sha256": "ceeca44135f8abd510dc0e1ded45ab4f0bbc02d0b75484cbccc7f01745f1e0f0"
771
+ },
772
+ {
773
+ "path": "schemas/datapan.diagnostic-envelope.v1.schema.json",
774
+ "id": "https://schemas.datapan.dev/datapan.diagnostic-envelope.v1.schema.json",
775
+ "title": "Datapan Diagnostic Envelope v1",
776
+ "contract": "diagnostic-envelope",
777
+ "version": "v1",
778
+ "bytes": 93289,
779
+ "sha256": "0782ed2150a31471645d3cf79a4ac0e63c1ba85ea31eb7b06cf39e7de9fb96fc"
780
+ },
781
+ {
782
+ "path": "schemas/datapan.diagnostic-publication-readiness.v1.schema.json",
783
+ "id": "https://schemas.datapan.dev/datapan.diagnostic-publication-readiness.v1.schema.json",
784
+ "title": "Datapan Diagnostic Publication Readiness v1",
785
+ "contract": "diagnostic-publication-readiness",
786
+ "version": "v1",
787
+ "bytes": 3183,
788
+ "sha256": "cf08ea3e578edc2530f0e29e2900e157e2c5dd0615c02efe51b3f552220fe836"
789
  }
790
  ]
791
  }