{
  "title": "Consent (v1.1.1)",
  "description": "Representation of a consent resource. Users consent or acceptance of a policy or other document.\n\n\n<h3 class='schema-links' id=\"consent-links\" >Links</h3>\n\nResponse and request bodies using this <strong><code>consent</code></strong> schema may contain\nthe following <a href='https://developer.apiture.com/docs/concepts/links'>links</a>:\n\n<table>\n<tr>\n  <th>Rel</th><th>Summary</th><th>Method</th>\n</tr>\n\n<tr>\n<td><a href='#op-getConsent'><strong><code>self</code></strong></a></td><td>Fetch a representation of this consent</td><td><code>GET</code></td>\n</tr>\n\n<tr>\n<td><a href='#op-revokeConsent'><strong><code>apiture:revoke</code></strong></a></td><td>Revoke a consent</td><td><code>POST</code></td>\n</tr>\n\n<tr>\n<td><a href='#op-giveConsent'><strong><code>apiture:give</code></strong></a></td><td>Give a consent</td><td><code>POST</code></td>\n</tr>\n</table>\n",
  "x-apiture-version": "1.1.1",
  "allOf": [
    {
      "$ref": "https://production.api.apiture.com/schemas/consents/summaryConsent/v1.1.2/model.json"
    }
  ],
  "x-apiture-links": [
    {
      "rel": "self",
      "operationId": "getConsent"
    },
    {
      "rel": "apiture:revoke",
      "operationId": "revokeConsent"
    },
    {
      "rel": "apiture:give",
      "operationId": "giveConsent"
    }
  ],
  "example": {
    "_id": "0399abed-fd3d-4830-a88b-30f38b8a365c",
    "_profile": "https://production.api.apiture.com/schemas/consents/consent/v1.1.1/profile.json",
    "document": {
      "uri": "/vault/files/fd44d565-0086-4caf-8d9f-3b7681809251/content",
      "contentType": "application/pdf",
      "revisionId": "2019:1.02.0",
      "revisedAt": "2019-07-23T08:26:45.375Z"
    },
    "state": "given",
    "givenAt": "2019-07-23T13:27:34.375Z",
    "type": "productTermsAndConditions",
    "userId": "5a5e834c-a7bd-401c",
    "contextUri": "/products/products/34011fe5-192d-4ffb-be32-e7215e56028a",
    "_links": {
      "self": {
        "href": "/consents/consents/0399abed-fd3d-4830-a88b-30f38b8a365c"
      },
      "apiture:revoke": {
        "href": "/consents/revokedConsents?consent=0399abed-fd3d-4830-a88b-30f38b8a365c"
      },
      "apiture:rescind": {
        "href": "/consents/rescindedConsents?consent=0399abed-fd3d-4830-a88b-30f38b8a365c"
      }
    }
  }
}