Home
runx-contracts

runx_contracts::schema

Type-driven JSON Schema for runx contracts (Phase 1 of

Type-driven JSON Schema for runx contracts (Phase 1 of rust-contract-pipeline-inversion).

A contract type that derives [RunxSchema] emits its own wire-conformant JSON Schema document, so the Rust type is the single source of truth and the parallel TypeScript schema sources stay deleted. The emitted document reproduces the committed shape: fully inlined, closed string enums as anyOf of const, additionalProperties: false, and the $id / x-runx-schema identity.

Structs §

Property §

pub struct runx_contracts::schema::Property { /* ... */ }

One object property: its wire name, schema, and whether it is required.

Implementations §

impl Property

new

fn new(name: &'static str, schema: Value, required: bool) -> Self

Trait Implementations §

impl Borrow for Property

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for Property

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl Into for Property

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for Property

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for Property

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for Property

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for Property

type_id

fn type_id(self: &Self) -> TypeId

impl Same for Property

Output

impl Send for Property

impl Sync for Property

impl Freeze for Property

impl UnsafeUnpin for Property

impl Unpin for Property

impl UnwindSafe for Property

impl RefUnwindSafe for Property

NonEmptyVec §

pub struct runx_contracts::schema::NonEmptyVec { /* ... */ }

A non-empty array (minItems: 1) for contract fields where an empty list would erase the proof-bearing edge the record exists to carry.

Implementations §

impl NonEmptyVec

new

fn new(value: Vec<T>) -> Option<Self>

as_slice

fn as_slice(self: &Self) -> &[T]

into_vec

fn into_vec(self: Self) -> Vec<T>

Trait Implementations §

impl Borrow for NonEmptyVec

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for NonEmptyVec

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for NonEmptyVec

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for NonEmptyVec

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for NonEmptyVec

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for NonEmptyVec

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for NonEmptyVec

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Receiver for NonEmptyVec

Target

impl Any for NonEmptyVec

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for NonEmptyVec

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl Same for NonEmptyVec

Output

impl Clone for NonEmptyVec

clone

fn clone(self: &Self) -> NonEmptyVec<T>

impl Debug for NonEmptyVec

impl PartialEq for NonEmptyVec

eq

fn eq(self: &Self, other: &NonEmptyVec<T>) -> bool

impl Serialize for NonEmptyVec

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl From for NonEmptyVec

from

fn from(value: Vec<T>) -> Self

impl Deref for NonEmptyVec

Target

deref

fn deref(self: &Self) -> &<Self as >::Target

impl Deserialize for NonEmptyVec

deserialize

fn deserialize(deserializer: D) -> Result<Self, <D as >::Error>

impl RunxSchema for NonEmptyVec

json_schema

fn json_schema() -> Value

impl Send for NonEmptyVec

impl Sync for NonEmptyVec

impl Freeze for NonEmptyVec

impl UnsafeUnpin for NonEmptyVec

impl Unpin for NonEmptyVec

impl UnwindSafe for NonEmptyVec

impl RefUnwindSafe for NonEmptyVec

impl DeserializeOwned for NonEmptyVec

impl StructuralPartialEq for NonEmptyVec

impl Eq for NonEmptyVec

NonEmptyString §

pub struct runx_contracts::schema::NonEmptyString { /* ... */ }

A non-empty string (minLength: 1), the ubiquitous contract constraint. It validates on deserialization so an empty value cannot cross the wire boundary, and emits { minLength: 1, type: string }.

Implementations §

impl NonEmptyString

new

fn new(value: impl Into<String>) -> Option<Self>

Construct from any string-like, returning None for an empty value.

as_str

fn as_str(self: &Self) -> &str

into_string

fn into_string(self: Self) -> String

Trait Implementations §

impl Borrow for NonEmptyString

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for NonEmptyString

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for NonEmptyString

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for NonEmptyString

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for NonEmptyString

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for NonEmptyString

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for NonEmptyString

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Receiver for NonEmptyString

Target

impl Any for NonEmptyString

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for NonEmptyString

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl ToString for NonEmptyString

to_string

fn to_string(self: &Self) -> String

impl Same for NonEmptyString

Output

impl Clone for NonEmptyString

clone

fn clone(self: &Self) -> NonEmptyString

impl Debug for NonEmptyString

impl PartialEq for NonEmptyString

eq

fn eq(self: &Self, other: &NonEmptyString) -> bool

impl Hash for NonEmptyString

hash

fn hash(self: &Self, state: &mut __H)

impl PartialOrd for NonEmptyString

partial_cmp

fn partial_cmp(self: &Self, other: &NonEmptyString) -> $crate::option::Option<$crate::cmp::Ordering>

impl Ord for NonEmptyString

cmp

fn cmp(self: &Self, other: &NonEmptyString) -> $crate::cmp::Ordering

impl Serialize for NonEmptyString

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl From for NonEmptyString

from

fn from(value: String) -> Self

impl From for NonEmptyString

from

fn from(value: &str) -> Self

impl PartialEq for NonEmptyString

eq

fn eq(self: &Self, other: &String) -> bool

impl PartialEq for NonEmptyString

eq

fn eq(self: &Self, other: &&str) -> bool

impl PartialEq for String

eq

fn eq(self: &Self, other: &NonEmptyString) -> bool

impl PartialEq for str

eq

fn eq(self: &Self, other: &NonEmptyString) -> bool

impl Deref for NonEmptyString

Target

deref

fn deref(self: &Self) -> &str

impl AsRef for NonEmptyString

as_ref

fn as_ref(self: &Self) -> &str

impl Display for NonEmptyString

fmt

fn fmt(self: &Self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result

impl PartialEq for NonEmptyString

eq

fn eq(self: &Self, other: &str) -> bool

impl Deserialize for NonEmptyString

deserialize

fn deserialize(deserializer: D) -> Result<Self, <D as >::Error>

impl RunxSchema for NonEmptyString

json_schema

fn json_schema() -> Value

impl Send for NonEmptyString

impl Sync for NonEmptyString

impl Freeze for NonEmptyString

impl UnsafeUnpin for NonEmptyString

impl Unpin for NonEmptyString

impl UnwindSafe for NonEmptyString

impl RefUnwindSafe for NonEmptyString

impl DeserializeOwned for NonEmptyString

impl StructuralPartialEq for NonEmptyString

impl Eq for NonEmptyString

IsoDateTime §

pub struct runx_contracts::schema::IsoDateTime { /* ... */ }

A non-empty ISO-8601 datetime string. Emits { minLength: 1, pattern, type }. Validation of the pattern itself stays at the schema layer (the wire contract); this newtype only guarantees non-emptiness in Rust.

Implementations §

impl IsoDateTime

new

fn new(value: impl Into<String>) -> Option<Self>

as_str

fn as_str(self: &Self) -> &str

into_string

fn into_string(self: Self) -> String

Trait Implementations §

impl Borrow for IsoDateTime

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for IsoDateTime

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl CloneToUninit for IsoDateTime

clone_to_uninit

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl Into for IsoDateTime

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for IsoDateTime

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for IsoDateTime

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for IsoDateTime

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Receiver for IsoDateTime

Target

impl Any for IsoDateTime

type_id

fn type_id(self: &Self) -> TypeId

impl ToOwned for IsoDateTime

Owned

to_owned

fn to_owned(self: &Self) -> T

clone_into

fn clone_into(self: &Self, target: &mut T)

impl ToString for IsoDateTime

to_string

fn to_string(self: &Self) -> String

impl Same for IsoDateTime

Output

impl Clone for IsoDateTime

clone

fn clone(self: &Self) -> IsoDateTime

impl Debug for IsoDateTime

impl PartialEq for IsoDateTime

eq

fn eq(self: &Self, other: &IsoDateTime) -> bool

impl Hash for IsoDateTime

hash

fn hash(self: &Self, state: &mut __H)

impl PartialOrd for IsoDateTime

partial_cmp

fn partial_cmp(self: &Self, other: &IsoDateTime) -> $crate::option::Option<$crate::cmp::Ordering>

impl Ord for IsoDateTime

cmp

fn cmp(self: &Self, other: &IsoDateTime) -> $crate::cmp::Ordering

impl Serialize for IsoDateTime

serialize

fn serialize( self: &Self, __serializer: __S ) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>

impl From for IsoDateTime

from

fn from(value: String) -> Self

impl From for IsoDateTime

from

fn from(value: &str) -> Self

impl Deref for IsoDateTime

Target

deref

fn deref(self: &Self) -> &str

impl AsRef for IsoDateTime

as_ref

fn as_ref(self: &Self) -> &str

impl PartialEq for IsoDateTime

eq

fn eq(self: &Self, other: &String) -> bool

impl PartialEq for IsoDateTime

eq

fn eq(self: &Self, other: &&str) -> bool

impl PartialEq for IsoDateTime

eq

fn eq(self: &Self, other: &str) -> bool

impl PartialEq for String

eq

fn eq(self: &Self, other: &IsoDateTime) -> bool

impl PartialEq for str

eq

fn eq(self: &Self, other: &IsoDateTime) -> bool

impl Display for IsoDateTime

fmt

fn fmt(self: &Self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result

impl Deserialize for IsoDateTime

deserialize

fn deserialize(deserializer: D) -> Result<Self, <D as >::Error>

impl RunxSchema for IsoDateTime

json_schema

fn json_schema() -> Value

impl Send for IsoDateTime

impl Sync for IsoDateTime

impl Freeze for IsoDateTime

impl UnsafeUnpin for IsoDateTime

impl Unpin for IsoDateTime

impl UnwindSafe for IsoDateTime

impl RefUnwindSafe for IsoDateTime

impl DeserializeOwned for IsoDateTime

impl StructuralPartialEq for IsoDateTime

impl Eq for IsoDateTime

Enums §

Identity §

pub enum runx_contracts::schema::Identity { /* ... */ }

The top-level identity envelope a contract document carries.

Most contracts are Runx { logical }: a schemas.runx.dev $id derived from the logical name, the x-runx-schema marker, and an optional schema const discriminant. A handful of legacy contracts carry only a bare $id (the runx.ai/spec and runx.ai/schemas documents) with no x-runx-schema and no injected schema discriminant; those use BareId.

Trait Implementations §

impl Borrow for Identity

borrow

fn borrow(self: &Self) -> &T

impl BorrowMut for Identity

borrow_mut

fn borrow_mut(self: &mut Self) -> &mut T

impl Into for Identity

into

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

impl From for Identity

from

fn from(t: T) -> T

Returns the argument unchanged.

impl TryInto for Identity

Error

try_into

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>

impl TryFrom for Identity

Error

try_from

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl Any for Identity

type_id

fn type_id(self: &Self) -> TypeId

impl Same for Identity

Output

impl Send for Identity

impl Sync for Identity

impl Freeze for Identity

impl UnsafeUnpin for Identity

impl Unpin for Identity

impl UnwindSafe for Identity

impl RefUnwindSafe for Identity

Traits §

RunxSchema §

pub trait runx_contracts::schema::RunxSchema { /* ... */ }

A type that can emit its own JSON Schema document.

Required Methods §

json_schema

fn json_schema() -> Value

The inlined JSON Schema for this type.

Trait Implementations §

impl RunxSchema for ActAssignmentSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActAssignmentHostKind

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActAssignmentActor

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActAssignmentHost

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActAssignmentIdempotency

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActAssignment

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActResultTerminalStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActResultNeedsAgentStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActResultSignal

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActResultNull

json_schema

fn json_schema() -> Value

impl RunxSchema for ActResultTerminalEnvelope

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActResultNeedsAgentEnvelope

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActResultEnvelope

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SuccessCriterion

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Intent

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CriterionStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActForm

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CriterionBinding

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for TargetSurface

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ChangeRequest

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ChangePlan

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RevisionDetails

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for VerificationDetails

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Act

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ContextEntryVersion

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ContextArtifactProducer

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ContextArtifactMeta

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ContextEntry

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ProvenanceEntry

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ProfileFile

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AgentContextProfiles

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for QualityProfileSource

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for QualityProfile

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExecutionLocation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AgentContextEnvelope

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ArtifactSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ArtifactProducedBy

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Artifact

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for TargetSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OpportunitySchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThesisAssessmentSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SelectionSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SkillBindingSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for TargetTransitionEntrySchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SelectionCycleSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReflectionEntrySchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for FeedEntrySchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for TargetLifecycleState

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for TargetCooldownState

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThesisProofStrength

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityCostLevel

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SelectionCycleState

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for TargetCooldown

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Target

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Opportunity

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThesisAssessment

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Selection

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SkillBinding

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for TargetTransitionEntry

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SelectionCycle

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReflectionEntry

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for FeedEntry

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityResourceFamily

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityVerb

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityCapability

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for PaymentCredentialForm

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for PaymentAuthorityBounds

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityEffectGuardKind

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityEffectGuard

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityBounds

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityConditionPredicate

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityCondition

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityApproval

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityTerm

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthoritySubsetRelation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthoritySubsetComparison

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthoritySubsetResult

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthoritySubsetProof

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityAttenuation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthoritySchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Authority

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryMode

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryPurpose

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialMaterialRole

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryObservationStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryProfileSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryRequestSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryResponseSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryObservationSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryEnvBinding

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryProfile

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryRequest

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryHandle

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryResponse

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialDeliveryObservation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DecisionChoice

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DecisionInputs

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DecisionJustification

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ClosureDisposition

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Closure

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Decision

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DevReportSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DevReportStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DevFixtureStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DevFixtureAssertionKind

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DevFixtureAssertion

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DevFixtureResult

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DevReport

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DoctorReportSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DoctorStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DoctorDiagnosticSeverity

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DoctorRepairKind

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DoctorRepairConfidence

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DoctorRepairRisk

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DoctorRepair

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DoctorLocation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DoctorDiagnostic

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DoctorSummary

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for DoctorReport

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterProtocolVersion

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterManifestSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterCredentialRequestSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterInvocationSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterHostResolutionSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterCancellationSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterTransportKind

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterCredentialPurpose

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterTransport

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterCredentialNeed

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterSandboxIntent

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterTimeouts

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterManifest

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterCredentialReference

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterCredentialRequest

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterInvocation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterArtifactObservation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterErrorObservation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterTelemetryValue

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterTelemetryObservation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterResponse

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterHostResolutionFrame

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ExternalAdapterCancellationFrame

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for FingerprintAlgorithm

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Fingerprint

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for FixtureLane

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Fixture

json_schema

fn json_schema() -> Value

impl RunxSchema for HandoffSignalSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for HandoffSignalSource

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for HandoffDisposition

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for HandoffSignalActor

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for HandoffSignalSourceRef

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for HandoffSignal

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for HandoffStateSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for HandoffStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SuppressionReason

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for HandoffState

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ResolutionRequest

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Question

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ApprovalGate

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AgentActInvocation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AgentActSourceType

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ResolutionResponse

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ResolutionResponseActor

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for JsonValue

json_schema

fn json_schema() -> Value

impl RunxSchema for JsonNumber

json_schema

fn json_schema() -> Value

impl RunxSchema for LedgerEntrySchemaVersion

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for LedgerChainVersion

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for LedgerHashAlgorithm

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for LedgerCanonicalization

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for LedgerPayloadVersion

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for LedgerSha256Hex

json_schema

fn json_schema() -> Value

impl RunxSchema for LedgerChain

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for LedgerProducer

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for LedgerEntryMeta

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for LedgerPayload

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for LedgerEntry

json_schema

fn json_schema() -> Value

impl RunxSchema for DuplicateCandidate

json_schema

fn json_schema() -> ::serde_json::Value

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunxListSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunxListRequestedKind

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunxListItemKind

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunxListSource

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunxListStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunxListEmit

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunxListItem

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunxListReport

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalPolicySchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalPolicyAction

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalPolicyRunnerState

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalPolicyDedupeStrategy

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalPolicyOutcomeCloseMode

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalPolicyPublishMode

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalPolicyMissingBehavior

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalPolicyDuplicateBehavior

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalPolicySourceThreadPolicy

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalPolicyOutcomePolicy

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalPolicy

json_schema

fn json_schema() -> Value

impl RunxSchema for OperationalPolicySourceRule

json_schema

fn json_schema() -> Value

impl RunxSchema for OperationalPolicyRunnerRule

json_schema

fn json_schema() -> Value

impl RunxSchema for OperationalPolicyOwnerRoute

json_schema

fn json_schema() -> Value

impl RunxSchema for OperationalPolicyTargetRule

json_schema

fn json_schema() -> Value

impl RunxSchema for OperationalPolicyDedupePolicy

json_schema

fn json_schema() -> Value

impl RunxSchema for OperationalPolicyAutomationPermissions

json_schema

fn json_schema() -> Value

impl RunxSchema for OperationalProposalSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalProposalRedactionStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalProposalReferenceType

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalProposalReference

json_schema

fn json_schema() -> ::serde_json::Value

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalProposalRecommendedAction

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalProposalIdempotency

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalProposalAuthority

json_schema

fn json_schema() -> Value

impl RunxSchema for OperationalProposalHumanGate

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalProposalOutcome

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OperationalProposal

json_schema

fn json_schema() -> Value

impl RunxSchema for OutputType

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OutputFieldSpec

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for OutputField

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Output

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for PacketIndexSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for PacketIndexEntry

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for PacketIndex

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityKind

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ScopeAdmissionStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialEnvelopeKind

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofSchemaVersion

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofCredentialMaterialStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofApprovalDecisionValue

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofRedactionStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofRedactionSecretMaterial

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofRedactionStream

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ScopeAdmission

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialGrantReference

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for CredentialEnvelope

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofRequested

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofCredentialMaterial

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofSandboxNetwork

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofSandboxFilesystem

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofSandboxRuntime

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofSandbox

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofApprovalDecision

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProofRedaction

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for AuthorityProof

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for EffectSettlementReceiptSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for EffectSettlementPhase

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for EffectSettlementReceipt

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for FanoutReceiptStrategy

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for FanoutReceiptDecision

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for FanoutReceiptSyncPoint

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptCommitmentScope

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptCommitment

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptInputContext

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Subject

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptEnforcement

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptAuthority

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptIdempotency

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunnerProvenance

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptAct

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Seal

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Lineage

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptIssuerType

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptIssuer

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SignatureAlgorithm

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptSignature

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Receipt

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RedactionSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for HashAlgorithm

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for HashCommitment

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Redaction

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReferenceType

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ProofKind

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Reference

json_schema

fn json_schema() -> ::serde_json::Value

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ActRef

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RegistryBindingSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RegistryBindingState

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RegistryTrustTier

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RegistryHarnessStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RegistryBindingSkill

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RegistryBindingUpstream

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RegistryBindingRegistry

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RegistryBindingHarness

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RegistryBinding

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReviewReceiptVerdict

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReviewReceiptImprovementProposal

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReviewReceiptOutput

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunSummarySchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunSummaryStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RunSummary

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for String

json_schema

fn json_schema() -> Value

impl RunxSchema for bool

json_schema

fn json_schema() -> Value

impl RunxSchema for f64

json_schema

fn json_schema() -> Value

impl RunxSchema for i8

json_schema

fn json_schema() -> Value

impl RunxSchema for i16

json_schema

fn json_schema() -> Value

impl RunxSchema for i32

json_schema

fn json_schema() -> Value

impl RunxSchema for i64

json_schema

fn json_schema() -> Value

impl RunxSchema for isize

json_schema

fn json_schema() -> Value

impl RunxSchema for u8

json_schema

fn json_schema() -> Value

impl RunxSchema for u16

json_schema

fn json_schema() -> Value

impl RunxSchema for u32

json_schema

fn json_schema() -> Value

impl RunxSchema for u64

json_schema

fn json_schema() -> Value

impl RunxSchema for usize

json_schema

fn json_schema() -> Value

impl RunxSchema for Vec

json_schema

fn json_schema() -> Value

impl RunxSchema for NonEmptyVec

json_schema

fn json_schema() -> Value

impl RunxSchema for Option

json_schema

fn json_schema() -> Value

impl RunxSchema for Box

json_schema

fn json_schema() -> Value

impl RunxSchema for std::collections::BTreeMap

json_schema

fn json_schema() -> Value

impl RunxSchema for NonEmptyString

json_schema

fn json_schema() -> Value

impl RunxSchema for IsoDateTime

json_schema

fn json_schema() -> Value

impl RunxSchema for SignalSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SignalTrustLevel

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SignalAuthenticity

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Signal

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SourcePacketSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SourcePacket

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SuppressionRecordSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SuppressionScope

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for SuppressionRecord

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderProtocolVersion

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderManifestSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderPushSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderFetchSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderObservationSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderOperation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderTransportKind

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderPayloadFormat

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderObservationStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderIdempotencyStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderTransport

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderCredentialNeed

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderReceiptCapabilities

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderRedactionCapabilities

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderManifest

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderThreadLocator

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderLocator

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderIdempotency

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderIdempotencyObservation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderRenderedPayload

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderCredentialProfile

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderReceiptContext

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderPush

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderFetchTarget

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderFetchThreadTarget

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderFetchProviderTarget

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderFetch

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderReadbackSummary

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderError

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ThreadOutboxProviderObservation

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for JsonPayload

json_schema

fn json_schema() -> Value

impl RunxSchema for ToolManifestSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolBuildReportSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolCommandInputMode

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolSourceType

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolBuildStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolInspectOrigin

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolManifest

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolInput

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolOutput

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolOutputBinding

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolSource

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolMcpServer

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for RuntimeCommand

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolSandboxProfile

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolSandboxCwdPolicy

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolSandbox

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolRetryPolicy

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ToolIdempotencyPolicy

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for VerificationSchema

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for VerificationStatus

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for VerificationCheck

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for Verification

json_schema

fn json_schema() -> ::serde_json::Value

impl RunxSchema for ReceiptVerificationSummary

json_schema

fn json_schema() -> ::serde_json::Value

Constants §

ISO_DATETIME_PATTERN §

pub const runx_contracts::schema::ISO_DATETIME_PATTERN: &str = r"^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?Z$";

The ISO-8601 datetime pattern the contracts commit to (...Z, optional fractional seconds).

Functions §

object_schema §

fn object_schema( properties: Vec<Property>, deny_unknown: bool, identity: Option<Identity<'_>> ) -> serde_json::Value

Assemble an object schema in the committed shape. When identity is set the document carries the top-level envelope; nested objects pass None.

object_schema_with_flatten §

fn object_schema_with_flatten( properties: Vec<Property>, flattened: Vec<serde_json::Value>, deny_unknown: bool, identity: Option<Identity<'_>> ) -> serde_json::Value

Assemble an object schema, merging any #<code title="unresolved intra-doc link">serde(flatten)</code> fields. Each entry in flattened is the emitted object schema of a flattened field's type; its properties and required entries are lifted into the parent, as serde does on the wire. A flattened object's own additionalProperties and identity keys are dropped (only the parent's deny_unknown and identity apply). flattened entries that are not plain objects (e.g. a flattened map) relax the parent to accept additional properties, matching serde's open-ended flatten capture.

object_map_schema §

fn object_map_schema( value_schema: serde_json::Value, identity: Option<Identity<'_>> ) -> serde_json::Value

Assemble an open-map ("dictionary") document in the committed shape: an object whose values all match value_schema, rendered with the committed patternProperties: { "^(.*)$": <value schema> } form. When identity is set the document carries the top-level envelope (the output.schema.json document is a bare-$id map of this kind). No additionalProperties and no injected schema discriminant are emitted; the pattern alone constrains the values.

string_enum §

fn string_enum(variants: &[&str]) -> serde_json::Value

A closed string enum rendered as anyOf of const leaves, the committed shape (the schemas never use JSON Schema enum).

any_of §

fn any_of(variants: Vec<serde_json::Value>) -> serde_json::Value

A union of subschemas rendered as { "anyOf": <code title="unresolved intra-doc link">...</code> }, the committed shape for data-carrying enums (externally-tagged, internally-tagged, and untagged representations all collapse to an anyOf of variant subschemas).

any_of_with_identity §

fn any_of_with_identity( variants: Vec<serde_json::Value>, identity: Option<Identity<'_>> ) -> serde_json::Value

An anyOf union of variant subschemas carrying a top-level identity envelope. Used by data-carrying enums that are themselves a contract document (e.g. the runx.ai/spec documents emitted as a bare-$id anyOf). The identity keys ($schema, $id, and for Identity::Runx also x-runx-schema) sit alongside the anyOf. Unlike object_schema, no injected schema discriminant property is added: the union variants own their own shape.

nullable §

fn nullable(inner: serde_json::Value) -> serde_json::Value

A required-but-nullable property schema: the inner type's schema unioned with null. Matches the committed shape for an Option<T> field that has no skip_serializing_if (it must be present on the wire but may be null): { "anyOf": <code title="unresolved intra-doc link">&lt;T schema&gt;, { &quot;type&quot;: &quot;null&quot; }</code> }.

externally_tagged_variant §

fn externally_tagged_variant(tag: &'static str, inner: serde_json::Value) -> serde_json::Value

An externally-tagged data variant: a single-key object { "<tag>": <inner> } where the key is the variant's wire name and the value is its payload schema. Matches serde's default (externally-tagged) struct/tuple-variant encoding.

const_string §

fn const_string(value: &str) -> serde_json::Value

A single string literal leaf: { "const": <s>, "type": "string" }.

schema_id_url §

fn schema_id_url(logical: &str) -> String

Map a logical schema name (runx.reference.v1) to its canonical $id URL (https://schemas.runx.dev/runx/reference/v1.json). Each dot-delimited segment is path-joined with /, and underscores within a segment become hyphens (runx.external_adapter.response.v1 -> .../runx/external-adapter/response/v1.json).

Re-exports §

RunxSchema §

pub use runx_contracts_derive::RunxSchema;