aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas/order_schema.json
blob: c70b9e2ddf14e38ff8d44c6c8bfa360ed8dd0a82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
    "id": "/orderSchema",
    "properties": {
        "makerAddress": { "$ref": "/addressSchema" },
        "takerAddress": { "$ref": "/addressSchema" },
        "makerFee": { "$ref": "/wholeNumberSchema" },
        "takerFee": { "$ref": "/wholeNumberSchema" },
        "senderAddress": { "$ref": "/addressSchema" },
        "makerAssetAmount": { "$ref": "/wholeNumberSchema" },
        "takerAssetAmount": { "$ref": "/wholeNumberSchema" },
        "makerAssetData": { "$ref": "/hexSchema" },
        "takerAssetData": { "$ref": "/hexSchema" },
        "salt": { "$ref": "/wholeNumberSchema" },
        "exchangeAddress": { "$ref": "/addressSchema" },
        "feeRecipientAddress": { "$ref": "/addressSchema" },
        "expirationTimeSeconds": { "$ref": "/wholeNumberSchema" }
    },
    "required": [
        "makerAddress",
        "takerAddress",
        "makerFee",
        "takerFee",
        "senderAddress",
        "makerAssetAmount",
        "takerAssetAmount",
        "makerAssetData",
        "takerAssetData",
        "salt",
        "exchangeAddress",
        "feeRecipientAddress",
        "expirationTimeSeconds"
    ],
    "type": "object"
}