Skip to content

Commit 6bbbfb5

Browse files
committed
feat: add structured claims and registrar credential offers
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
1 parent 5190439 commit 6bbbfb5

85 files changed

Lines changed: 11185 additions & 1016 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎crates/registry-notary-core/config/documentation-intent.json‎

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,51 @@
680680
],
681681
"open_map_semantics": "Each reviewed key names a Relay consultation and each value defines the bounded consultation contract used to support this evidence claim."
682682
},
683+
{
684+
"id": "notary_evidence_claims_evidence_mode_consultations_output_fields_open_map",
685+
"purpose": "Each reviewed key names a closed structured output field and each value defines its requiredness and bounded recursive schema.",
686+
"semantic_owner": "notary_runtime",
687+
"human_owner": "notary_maintainers",
688+
"scope": "The complete product-owned Notary runtime configuration accepted by schema validation, Rust deserialization, and operator preflight.",
689+
"environment_behavior": "bound_by_environment",
690+
"sensitivity": "structural",
691+
"state": "runtime",
692+
"products": [
693+
"notary",
694+
"docs"
695+
],
696+
"availability": "published",
697+
"stability": "experimental",
698+
"validation_stages": [
699+
"json_schema",
700+
"rust_deserialization",
701+
"operator_preflight"
702+
],
703+
"diagnostic": "Notary runtime configuration does not yet publish a closed general diagnostic code; doctor reports the generic failed status.",
704+
"introduced_in": "0.15.3",
705+
"migration": "coordinate_deployment",
706+
"migration_note": "Coordinate Notary deployment, key or trust rotation, and rollback review before activating runtime configuration changes.",
707+
"example_guidance": "Use synthetic identifiers and non-routable placeholders; never copy credentials, environment values, deployment paths, or country configuration.",
708+
"consumers": [
709+
"registry_notary",
710+
"docs_generator"
711+
],
712+
"generated_artifacts": [
713+
"notary_config",
714+
"field_reference"
715+
],
716+
"review_classes": [
717+
"contract",
718+
"notary",
719+
"documentation"
720+
],
721+
"semantic_rules": [
722+
"knowledge_only",
723+
"generated_docs_never_load_country_values",
724+
"arbitrary_map_keys_not_fixed_properties"
725+
],
726+
"open_map_semantics": "Each reviewed key names a closed structured output field and each value defines its requiredness and bounded recursive schema."
727+
},
683728
{
684729
"id": "notary_evidence_claims_evidence_mode_consultations_outputs_open_map",
685730
"purpose": "Each reviewed key names a consultation output and each value defines its bounded evidence-result interpretation.",
@@ -3590,6 +3635,56 @@
35903635
"default_source": "not_applicable",
35913636
"schema_facts_reviewed": true
35923637
},
3638+
{
3639+
"schema": "notary",
3640+
"pointer": "/$defs/RelayOutputContract/oneOf/4/properties/fields",
3641+
"key_path": "evidence.claims[].evidence_mode.consultations.*.outputs.*.fields",
3642+
"path_kind": "property",
3643+
"profile": "notary_evidence_internal",
3644+
"purpose_source": "profile",
3645+
"default_source": "no_schema_default",
3646+
"schema_facts_reviewed": true
3647+
},
3648+
{
3649+
"schema": "notary",
3650+
"pointer": "/$defs/RelayOutputContract/oneOf/4/properties/fields/additionalProperties",
3651+
"key_path": "evidence.claims[].evidence_mode.consultations.*.outputs.*.fields.*",
3652+
"path_kind": "map_value",
3653+
"profile": "notary_evidence_claims_evidence_mode_consultations_output_fields_open_map",
3654+
"purpose_source": "profile",
3655+
"default_source": "not_applicable",
3656+
"schema_facts_reviewed": true
3657+
},
3658+
{
3659+
"schema": "notary",
3660+
"pointer": "/$defs/RelayOutputObjectFieldContract/properties/required",
3661+
"key_path": "evidence.claims[].evidence_mode.consultations.*.outputs.*.fields.*.required",
3662+
"path_kind": "property",
3663+
"profile": "notary_evidence_internal",
3664+
"purpose_source": "profile",
3665+
"default_source": "no_schema_default",
3666+
"schema_facts_reviewed": true
3667+
},
3668+
{
3669+
"schema": "notary",
3670+
"pointer": "/$defs/RelayOutputObjectFieldContract/properties/schema",
3671+
"key_path": "evidence.claims[].evidence_mode.consultations.*.outputs.*.fields.*.schema",
3672+
"path_kind": "property",
3673+
"profile": "notary_evidence_internal",
3674+
"purpose_source": "profile",
3675+
"default_source": "no_schema_default",
3676+
"schema_facts_reviewed": true
3677+
},
3678+
{
3679+
"schema": "notary",
3680+
"pointer": "/$defs/RelayOutputContract/oneOf/5/properties/items",
3681+
"key_path": "evidence.claims[].evidence_mode.consultations.*.outputs.*.items",
3682+
"path_kind": "property",
3683+
"profile": "notary_evidence_internal",
3684+
"purpose_source": "profile",
3685+
"default_source": "no_schema_default",
3686+
"schema_facts_reviewed": true
3687+
},
35933688
{
35943689
"schema": "notary",
35953690
"pointer": "/$defs/RelayOutputContract/oneOf/2/properties/max_bytes",
@@ -3600,6 +3695,16 @@
36003695
"default_source": "no_schema_default",
36013696
"schema_facts_reviewed": true
36023697
},
3698+
{
3699+
"schema": "notary",
3700+
"pointer": "/$defs/RelayOutputContract/oneOf/5/properties/max_items",
3701+
"key_path": "evidence.claims[].evidence_mode.consultations.*.outputs.*.max_items",
3702+
"path_kind": "property",
3703+
"profile": "notary_evidence_internal",
3704+
"purpose_source": "profile",
3705+
"default_source": "no_schema_default",
3706+
"schema_facts_reviewed": true
3707+
},
36033708
{
36043709
"schema": "notary",
36053710
"pointer": "/$defs/RelayOutputContract/oneOf/1/properties/maximum",

0 commit comments

Comments
 (0)