Skip to main content

IntentConstraint

Represents a constraint within an AcquisitionIntent, defining an acceptable condition for a duty. It intentionally shares the same shape as a Policy's Constraint for semantic consistency.

Definition

interface IntentConstraint {
/**
* The type of constraint, from the core vocabulary or a custom URI.
*/
type: string;
/**
* The value of the constraint, which can be a primitive or an object.
*/
value: any;
}

Properties

type

The type of constraint, from the core vocabulary or a custom URI.

Type: string

value

The value of the constraint, which can be a primitive or an object.

Type: any

Since

Version 1.1.0