Raw schema
{
"type": "object",
"properties": {
"body": {
"$ref": "#/$defs/RequestBody"
}
},
"required": [
"body"
],
"$defs": {
"PhysicalClaimBody": {
"additionalProperties": false,
"properties": {
"kind": {
"description": "physical_change: something changed at the site between t0 and t1 Β· physical_state: the site shows something at t1",
"enum": [
"physical_change",
"physical_state"
],
"title": "Kind",
"type": "string"
},
"site_lat": {
"maximum": 90,
"minimum": -90,
"title": "Site Lat",
"type": "number"
},
"site_lng": {
"maximum": 180,
"minimum": -180,
"title": "Site Lng",
"type": "number"
},
"site_entity_type": {
"anyOf": [
{
"enum": [
"deposit",
"infrastructure",
"company",
"project"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Site Entity Type"
},
"site_entity_id": {
"anyOf": [
{
"maxLength": 64,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Site Entity Id"
},
"t0": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "YYYY-MM-DD; required for physical_change, before t1, on or after 1984-03-16",
"title": "T0"
},
"t1": {
"description": "YYYY-MM-DD",
"title": "T1",
"type": "string"
},
"radius_m": {
"anyOf": [
{
"maximum": 2500,
"minimum": 50,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"title": "Radius M"
}
},
"required": [
"kind",
"site_lat",
"site_lng",
"t1"
],
"title": "PhysicalClaimBody",
"type": "object"
},
"RequestBody": {
"additionalProperties": false,
"properties": {
"wallet_id": {
"title": "Wallet Id",
"type": "string"
},
"frontier": {
"title": "Frontier",
"type": "string"
},
"resource_type": {
"title": "Resource Type",
"type": "string"
},
"unit_type": {
"title": "Unit Type",
"type": "string"
},
"units_needed": {
"exclusiveMinimum": 0,
"title": "Units Needed",
"type": "integer"
},
"max_price_per_unit": {
"exclusiveMinimum": 0,
"title": "Max Price Per Unit",
"type": "integer"
},
"priority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Priority"
},
"requirements": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Requirements"
},
"ttl_seconds": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Ttl Seconds"
},
"speed": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Speed"
},
"privacy_mode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Privacy Mode"
},
"contract_escrow": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"description": "opt in to the on-chain escrow contract lane (a flat contract fee added to your lock). Takes effect ONLY where an oracle backs the trade; otherwise the trade falls to the default ledger lane with no contract and no contract fee, and the match says why (contract_escrow=false + contract_note)",
"title": "Contract Escrow"
},
"physical_claim": {
"anyOf": [
{
"$ref": "#/$defs/PhysicalClaimBody"
},
{
"type": "null"
}
],
"default": null,
"description": "REQUIRED for resource_type scene_stack, change_report, site_reconstruction or satellite_imagery (refused without it): the site and date the trade is judged against β a satellite frame at that place and time, never a party's word"
},
"idempotency_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Idempotency Key"
}
},
"required": [
"wallet_id",
"frontier",
"resource_type",
"unit_type",
"units_needed",
"max_price_per_unit"
],
"title": "RequestBody",
"type": "object"
}
},
"title": "market_requestArguments"
}