schema.beckn.ioSearch schemas…

Contract

Canonical term page (persistent IRI). Versioned resource URLs are listed below for easy copy/paste.

Canonical IRI

https://schema.beckn.io/Contract

Developer URLs

Contract

> **Canonical IRI:** `https://schema.beckn.io/Contract` > **Tags:** common > **Namespace:** https://schema.beckn.io/ > Part of the Beckn Protocol Core Schema

---

This is a JSON-LD compliant, linked-data schema that specifies a generic multi-party, digitally signed Contract between a set of participants. based on the vocabulary defined in the @context. By default, it is the most generic form of contract i.e beckn:Contract. However, based on the mapping being used in @context, it could take values like retail:Order, mobility:Reservation, healthcare:Appointment, and so on, which will be defined as sub-classes of beckn:Contract.

Versions

Versionattributes.yamlcontext.jsonldvocab.jsonldREADME
**v2.0**attributes.yamlcontext.jsonldvocab.jsonldREADME

Properties (latest: v2.0)

PropertyTypeRequiredDescription
@contextstring (uri)A URL to the reference vocabulary where this schema has been defined. If missing, this field defaults to https://schema.beckn.io/. It allows appl…
@typestringA Beckn IRI on the vocabulary defined in the @context. Must start with "beckn:" followed by URL-safe identifier characters.
idstring (uuid)A UUID string generated at the BPP endpoint at any stage before the confirmation of the order i.e before /on_confirm callback. This value is inte…
displayIdstringA human-readable / Agent-readable identifier of the contract intended for display or printing. This value may or may not be different from id whi…
itemsany[]The items of value i.e resources, specified in this contract. Depending upon the context, these resources could be a combination physical objects, …
statusstring \objectThe current state of the contract. Depending on the context, it could be just a code or a detailed description of state.
contractValueobjectAn object that captures the total value of the contract including a breakup of the items, discounts, fulfillment charges, and any other additional …
participantsany[]The participants involved in the contract. Contracts are not always between two individuals. Several entities may play a specific role in the creat…
entitlementsany[]
fulfillmentsany[]Describes the acts performed by each participant to fulfill the contract

Linked Data

ResourceURL
Canonical IRIhttps://schema.beckn.io/Contract
JSON Schema (latest)https://schema.beckn.io/Contract/2.0
context.jsonld (latest)https://schema.beckn.io/Contract/2.0/context.jsonld
vocab.jsonld (latest)https://schema.beckn.io/Contract/2.0/vocab.jsonld
Root context.jsonldhttps://schema.beckn.io/context.jsonld
Root vocab.jsonldhttps://schema.beckn.io/vocab.jsonld