{
  "$id": "response.common.agreement",
  "title": "[response.common] Agreement object",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "t": {
      "type": "integer"
    },
    "httpStatusCode": {
      "type": "integer"
    },
    "id": {
      "type": "string",
      "minLength": 1
    },
    "state": {
      "type": "string",
      "minLength": 1
    },
    "name": {
      "type": "string",
      "minLength": 1
    },
    "description": {
      "type": "string",
      "minLength": 1
    },
    "start_date": {
      "type": "string",
      "minLength": 1
    },
    "agreement_details": {
      "$ref": "common#/definitions/agreement_details"
    },
    "payer": {
      "$ref": "common#/definitions/payer"
    },
    "shipping_address": {
      "$ref": "common#/definitions/address"
    },
    "override_merchant_preferences": {
      "$ref": "common#/definitions/merchant_preferences"
    },
    "override_charge_models": {
      "title": "Override chage models",
      "type": "array",
      "items": {
        "$ref": "common#/definitions/override_charge_model"
      }
    },
    "plan": {
      "$ref": "response.common.plan#"
    },
    "create_time": {
      "type": "string",
      "minLength": 1
    },
    "update_time": {
      "type": "string",
      "minLength": 1
    },
    "links": {
      "title": "Payment service links",
      "type": "array",
      "items": {
        "$ref": "common#/definitions/links"
      }
    }
  }
}
