Properties
| Name | Type | Description |
|---|---|---|
| version | string | |
| org_id | string | |
| connection_id | string | |
| connection_revision | integer | |
| data | object | |
| policy | object | |
| execution_available | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/decionis-com/json-schema/decionis-com-commerce-native-snapshot-response-schema.json",
"title": "CommerceNativeSnapshotResponse",
"x-generated": "2026-10-30",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/_original/decionis-com-well-known-openapi.json#/components/schemas/CommerceNativeSnapshotResponse",
"type": "object",
"properties": {
"version": {
"type": "string",
"const": "commerce-native-bc-snapshot-v1"
},
"org_id": {
"type": "string",
"format": "uuid"
},
"connection_id": {
"type": "string",
"format": "uuid"
},
"connection_revision": {
"type": "integer",
"exclusiveMinimum": 0,
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"data": {
"type": "object",
"properties": {
"version": {
"type": "string",
"const": "decionis.business_central.guard.snapshot.v1"
},
"connection_id": {
"type": "string",
"format": "uuid"
},
"document_id": {
"type": "string",
"format": "uuid"
},
"document_etag": {
"type": "string",
"minLength": 3,
"maxLength": 256,
"pattern": "^(?:W\\/)?\"[\\x21\\x23-\\x7e]+\"$"
},
"configuration_etag": {
"type": "string",
"minLength": 3,
"maxLength": 256,
"pattern": "^(?:W\\/)?\"[\\x21\\x23-\\x7e]+\"$"
},
"source_revision": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[\\u0020-\\u007e\\u0080-\\uffff]+$"
},
"snapshot_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"observed_at": {
"type": "string",
"format": "date-time"
},
"complete": {
"type": "boolean",
"const": true
},
"cost_provenance": {
"type": "string",
"enum": [
"native_sales_line_current_estimate",
"native_complete_cost_profile"
]
},
"revenue_provenance": {
"type": "string",
"const": "sales_line_amount_excluding_vat_after_discounts"
},
"preflight_facts": {
"anyOf": [
{
"type": "object",
"properties": {
"version": {
"type": "string",
"const": "commerce.business_central.native.preflight.v1"
},
"facts": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"region": {
"type": "object",
"properties": {
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$"
}
},
"required": [
"country"
],
"additionalProperties": false
},
"inventory": {
"type": "object",
"properties": {
"requested_quantity": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000000000000
}
},
"required": [
"requested_quantity"
],
"additionalProperties": false
},
"order_totals": {
"type": "object",
"properties": {
"gross_amount": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"discount_amount": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"net_amount_excluding_tax": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
}
},
"required": [
"gross_amount",
"discount_amount",
"net_amount_excluding_tax"
],
"additionalProperties": false
}
},
"required": [
"currency"
],
"additionalProperties": false
},
"provenance": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"const": "Sales Header.Currency Code or General Ledger Setup.LCY Code"
},
"region": {
"type": "string",
"const": "Sales Header.Ship-to Country/Region Code mapped through Country/Region.ISO Code"
},
"inventory.requested_quantity": {
"type": "string",
"const": "Sales Line.Quantity (Base); one item line only"
},
"order_totals": {
"type": "string",
"const": "Sales Line.Line Amount + Line Discount Amount; Line Discount Amount + Inv. Discount Amount; Amount; Prices Including VAT=false"
}
},
"required": [
"currency"
],
"additionalProperties": false
},
"unavailable": {
"type": "array",
"items": {
"type": "string",
"enum": [
"country_mapping",
"inventory_requested_quantity_across_items",
"gross_discount_allocation",
"cost_basis_distinct_sources",
"full_landed_cost",
"inventory_on_hand_and_reservations",
"promotion_chain_and_redemptions",
"effective_contract_and_account_type",
"lifecycle_mapping",
"refund_ledger_and_eligibility"
]
},
"maxItems": 10
}
},
"required": [
"version",
"facts",
"provenance",
"unavailable"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"version": {
"type": "string",
"const": "commerce.business_central.native.preflight.v2"
},
"facts": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"region": {
"type": "object",
"properties": {
"country": {
"type": "string",
"pattern": "^[A-Z]{2}$"
}
},
"required": [
"country"
],
"additionalProperties": false
},
"order_totals": {
"type": "object",
"properties": {
"gross_amount": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"discount_amount": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"net_amount_excluding_tax": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
}
},
"required": [
"gross_amount",
"discount_amount",
"net_amount_excluding_tax"
],
"additionalProperties": false
},
"cost_basis": {
"type": "object",
"properties": {
"source_cost": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"system_of_record_cost": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
}
},
"required": [
"source_cost",
"system_of_record_cost"
],
"additionalProperties": false
},
"inventory": {
"type": "object",
"properties": {
"source_on_hand": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"system_on_hand": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"reserved_quantity": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000
},
"requested_quantity": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000,
"exclusiveMinimum": 0
}
},
"required": [
"source_on_hand",
"system_on_hand",
"reserved_quantity",
"requested_quantity"
],
"additionalProperties": false
},
"discounts": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"minimum": 0,
"maximum": 2
},
"sources": {
"type": "array",
"items": {
"type": "string",
"enum": [
"sales_line_discount",
"sales_invoice_discount"
]
},
"maxItems": 2
}
},
"required": [
"count",
"sources"
],
"additionalProperties": false
},
"contract": {
"type": "object",
"properties": {
"account_type": {
"type": "string",
"const": "b2b"
},
"contract_price": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
}
},
"required": [
"account_type",
"contract_price"
],
"additionalProperties": false
},
"promotion": {
"type": "object",
"properties": {
"discount_codes": {
"type": "array",
"minItems": 0,
"maxItems": 0,
"items": []
}
},
"required": [
"discount_codes"
],
"additionalProperties": false
},
"lifecycle": {
"type": "object",
"properties": {
"current_state": {
"type": "string",
"const": "created"
}
},
"required": [
"current_state"
],
"additionalProperties": false
}
},
"required": [
"currency",
"region",
"order_totals",
"cost_basis",
"inventory",
"discounts",
"contract",
"promotion",
"lifecycle"
],
"additionalProperties": false
},
"provenance": {
"type": "object",
"properties": {
"currency": {
"type": "string",
"const": "Sales Header.Currency Code or General Ledger Setup.LCY Code"
},
"region": {
"type": "string",
"const": "Sales Header.Ship-to Country/Region Code mapped through Country/Region.ISO Code"
},
"order_totals": {
"type": "string",
"const": "Sales Line.Line Amount + Line Discount Amount; Line Discount Amount + Inv. Discount Amount; Amount; Prices Including VAT=false"
},
"cost_basis": {
"type": "string",
"const": "sales_line_and_item_unit_cost_plus_explicit_complete_company_cost_profile"
},
"inventory": {
"type": "string",
"const": "warehouse_entry_and_item_ledger_entry_with_reservation_pairs"
},
"discounts": {
"type": "string",
"const": "observed_native_line_and_invoice_discounts"
},
"contract": {
"type": "string",
"const": "explicit_b2b_profile_and_effective_native_customer_price_list"
},
"promotion": {
"type": "string",
"const": "complete_native_pricing_sources_without_governed_codes"
},
"lifecycle": {
"type": "string",
"const": "open_sales_order_without_posting_or_warehouse_processing"
}
},
"required": [
"currency",
"region",
"order_totals",
"cost_basis",
"inventory",
"discounts",
"contract",
"promotion",
"lifecycle"
],
"additionalProperties": false
},
"unavailable": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "string",
"const": "refund_ledger_and_eligibility"
}
]
},
"proof": {
"type": "object",
"properties": {
"cohort": {
"type": "string",
"const": "bc_native_b2b_single_item_lcy_v1"
},
"profile_id": {
"type": "string",
"format": "uuid"
},
"profile_revision": {
"type": "string",
"pattern": "^[1-9][0-9]{0,19}$"
},
"valid_from": {
"type": "string",
"format": "date-time"
},
"valid_until": {
"type": "string",
"format": "date-time"
},
"source_revisions": {
"type": "object",
"properties": {
"cost": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"inventory": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"pricing": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"lifecycle": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"cost",
"inventory",
"pricing",
"lifecycle"
],
"additionalProperties": false
},
"complete_additional_costs": {
"type": "boolean",
"const": true
},
"complete_native_pricing": {
"type": "boolean",
"const": true
},
"consistent_reads": {
"type": "boolean",
"const": true
},
"cost_components": {
"type": "object",
"properties": {
"quantity_base": {
"type": "integer",
"minimum": 0,
"maximum": 1000000000,
"exclusiveMinimum": 0
},
"retained_unit_cost": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000,
"exclusiveMinimum": 0
},
"current_item_unit_cost": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000,
"exclusiveMinimum": 0
},
"additional_landed_unit_cost": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"outbound_shipping": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"fixed_fees": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"variable_fee_percent": {
"type": "number",
"minimum": 0,
"maximum": 100
},
"variable_fee_amount": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"nonrecoverable_tax": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"variable_fee_basis": {
"type": "string",
"const": "net_revenue_excluding_tax"
}
},
"required": [
"quantity_base",
"retained_unit_cost",
"current_item_unit_cost",
"additional_landed_unit_cost",
"outbound_shipping",
"fixed_fees",
"variable_fee_percent",
"variable_fee_amount",
"nonrecoverable_tax",
"variable_fee_basis"
],
"additionalProperties": false
}
},
"required": [
"cohort",
"profile_id",
"profile_revision",
"valid_from",
"valid_until",
"source_revisions",
"complete_additional_costs",
"complete_native_pricing",
"consistent_reads",
"cost_components"
],
"additionalProperties": false
}
},
"required": [
"version",
"facts",
"provenance",
"unavailable",
"proof"
],
"additionalProperties": false
}
]
},
"request": {
"type": "object",
"properties": {
"transaction_id": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[\\u0020-\\u007e\\u0080-\\uffff]+$"
},
"erp_type": {
"type": "string",
"const": "D365_BC"
},
"tenant_id": {
"type": "string",
"format": "uuid"
},
"timestamp": {
"type": "string",
"format": "date-time"
},
"agent_id": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[\\u0020-\\u007e\\u0080-\\uffff]+$"
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"line_id": {
"type": "integer",
"exclusiveMinimum": 0,
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"sku": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"pattern": "^[\\u0020-\\u007e\\u0080-\\uffff]+$"
},
"quantity": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1000000000000
},
"unit_price": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
},
"cost_base": {
"type": "number",
"minimum": 0,
"maximum": 1000000000000
}
},
"required": [
"line_id",
"sku",
"quantity",
"unit_price",
"cost_base"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 200
}
},
"required": [
"transaction_id",
"erp_type",
"tenant_id",
"timestamp",
"agent_id",
"currency",
"lines"
],
"additionalProperties": false
}
},
"required": [
"version",
"connection_id",
"document_id",
"document_etag",
"configuration_etag",
"source_revision",
"snapshot_sha256",
"observed_at",
"complete",
"cost_provenance",
"revenue_provenance",
"preflight_facts",
"request"
],
"additionalProperties": false
},
"policy": {
"type": "object",
"properties": {
"version": {
"type": "string",
"const": "commerce-native-policy-v1"
},
"org_id": {
"type": "string",
"format": "uuid"
},
"policy": {
"type": "object",
"properties": {
"bundle_id": {
"type": "string",
"format": "uuid"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"policy_digest": {
"type": "string",
"pattern": "^sha256:[a-f0-9]{64}$"
}
},
"required": [
"bundle_id",
"version",
"policy_digest"
],
"additionalProperties": false
},
"snapshot": {
"type": "object",
"properties": {
"policyVersion": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"issuedAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"failClosed": {
"type": "boolean",
"const": true
},
"degradationMode": {
"type": "string",
"const": "fail_closed"
},
"margin": {
"type": "object",
"properties": {
"key": {
"type": "string",
"const": "net_margin_floor"
},
"enabled": {
"type": "boolean",
"const": true
},
"floorPercent": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"key",
"enabled",
"floorPercent"
],
"additionalProperties": false
},
"inventory": {
"type": "object",
"properties": {
"key": {
"type": "string",
"const": "inventory_floor"
},
"enabled": {
"type": "boolean",
"const": false
},
"minimumAvailable": {
"type": "number",
"const": 0
}
},
"required": [
"key",
"enabled",
"minimumAvailable"
],
"additionalProperties": false
},
"starterRules": {
"type": "array",
"items": {
"not": {}
},
"maxItems": 0
},
"metadataMappings": {
"type": "array",
"items": {
"not": {}
},
"maxItems": 0
},
"commerce_binding": {
"type": "object",
"properties": {
"org_id": {
"type": "string",
"format": "uuid"
},
"purpose": {
"type": "string",
"const": "business_central_margin_guard"
},
"policy": {
"type": "object",
"properties": {
"bundle_id": {
"type": "string",
"format": "uuid"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"policy_digest": {
"type": "string",
"pattern": "^sha256:[a-f0-9]{64}$"
}
},
"required": [
"bundle_id",
"version",
"policy_digest"
],
"additionalProperties": false
},
"evaluated_checks": {
"type": "array",
"minItems": 1,
"maxItems": 1,
"items": [
{
"type": "string",
"const": "margin"
}
]
},
"full_policy_evaluated": {
"type": "boolean",
"const": false
}
},
"required": [
"org_id",
"purpose",
"policy",
"evaluated_checks",
"full_policy_evaluated"
],
"additionalProperties": false
},
"signature": {
"type": "object",
"properties": {
"algorithm": {
"type": "string",
"const": "Ed25519"
},
"keyId": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"value": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{86}$"
}
},
"required": [
"algorithm",
"keyId",
"value"
],
"additionalProperties": false
}
},
"required": [
"policyVersion",
"issuedAt",
"expiresAt",
"failClosed",
"degradationMode",
"margin",
"inventory",
"starterRules",
"metadataMappings",
"commerce_binding",
"signature"
],
"additionalProperties": false
},
"snapshot_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"evaluated_checks": {
"type": "array",
"minItems": 1,
"max
# --- truncated at 32 KB (32 KB total) ---
# Full source: https://artifacts.apis.io/decionis-com/json-schema/decionis-com-commerce-native-snapshot-response-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/decionis-com-commerce-native-snapshot-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.