{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$ref": "#/definitions/TrustResponse",
    "definitions": {
        "TrustResponse": {
            "type": "object",
            "properties": {
                "headers": {
                    "type": "object",
                    "properties": {
                        "x-apple-twosv-trust-token": {
                            "type": "string",
                            "description": "TwoTrust token for future requests",
                            "minLength": 1
                        },
                        "x-apple-session-token": {
                            "type": "string",
                            "description": "Session token to setup the account",
                            "minLength": 1
                        }
                    },
                    "required": [
                        "x-apple-twosv-trust-token",
                        "x-apple-session-token"
                    ]
                }
            },
            "required": [
                "headers"
            ],
            "description": "The expected response format for the device trust request"
        }
    }
}
