changedOutput schema / properties / order / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "apy": {
- "type": "number"
- },
- "createdAt": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
- "type": "string"
- },
- "durationSec": {
- "type": "number"
- },
- "id": {
- "type": "string"
- },
- "isMatching": {
- "type": "boolean"
- },
- "isOwner": {
- "type": "boolean"
- },
- "receiver": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- },
- "remainAmount": {
- "type": "number"
- },
- "requester": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "type": "string"
- }
- },
- "required": [
- "address"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "resourceAmount": {
- "type": "number"
- },
- "resourceType": {
- "enum": [
- "ENERGY",
- "BANDWIDTH"
- ],
- "type": "string"
- },
- "typeOrder": {
- "enum": [
- "NORMAL",
- "FAST",
- "EXTEND"
- ],
- "type": "string"
- },
- "unitPrice": {
- "type": "number"
- }
- },
- "required": [
- "id",
- "receiver",
- "resourceType",
- "resourceAmount",
- "remainAmount",
- "durationSec",
- "isOwner",
- "isMatching",
- "apy",
- "unitPrice",
- "createdAt",
- "typeOrder"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "apy": {
+ "description": "Annualized yield hint as returned by the API (see TronSave semantics).",
+ "type": "number"
+ },
+ "createdAt": {
+ "description": "Order creation time (ISO-8601).",
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
+ "type": "string"
+ },
+ "durationSec": {
+ "description": "Delegation duration in seconds.",
+ "type": "number"
+ },
+ "id": {
+ "description": "Order id (`MObjectId`); use with `tronsave_get_order` or mutate tools.",
+ "type": "string"
+ },
+ "isMatching": {
+ "description": "Whether this order matches the viewer/matching filter used in the query.",
+ "type": "boolean"
+ },
+ "isOwner": {
+ "description": "Whether the list query’s viewer context treats this row as owned by `myAddress`.",
+ "type": "boolean"
+ },
+ "receiver": {
+ "additionalProperties": false,
+ "description": "Receiver wallet and related party info for the delegation leg.",
+ "properties": {
+ "address": {
+ "description": "TRON base58 address for this party.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ "remainAmount": {
+ "description": "Resource not yet consumed or remaining to fulfill.",
+ "type": "number"
+ },
+ "requester": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "description": "TRON base58 address for this party.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "address"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Requester party when present."
+ },
+ "resourceAmount": {
+ "description": "Original resource amount on the order.",
+ "type": "number"
+ },
+ "resourceType": {
+ "description": "`ENERGY` or `BANDWIDTH`.",
+ "enum": [
+ "ENERGY",
+ "BANDWIDTH"
+ ],
+ "type": "string"
+ },
+ "typeOrder": {
+ "description": "Market order flavor.",
+ "enum": [
+ "NORMAL",
+ "FAST",
+ "EXTEND"
+ ],
+ "type": "string"
+ },
+ "unitPrice": {
+ "description": "Unit price in SUN.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "receiver",
+ "resourceType",
+ "resourceAmount",
+ "remainAmount",
+ "durationSec",
+ "isOwner",
+ "isMatching",
+ "apy",
+ "unitPrice",
+ "createdAt",
+ "typeOrder"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]