{
  "title": "Document (v1.0.0)",
  "description": "Properties of a target document.",
  "required": [
    "uri",
    "contentType",
    "revisedAt"
  ],
  "properties": {
    "uri": {
      "description": "The URI of the target document that the user is consenting to. If the document is revised, this consent is marked as `stale`. (Note: This need not be a document in the Apiture vault.)",
      "type": "string",
      "format": "uri",
      "maxLength": 2048
    },
    "contentType": {
      "description": "The [media type](https://tools.ietf.org/html/rfc6838) for the document. For text documents, the content type should include the text encoding; if omitted, the encoding type is assumed to be utf-8.",
      "example": "application/pdf"
    },
    "revisionId": {
      "description": "The revision identifier of the document revision the user consented to. If the content management system in which the document is stored does not define revision identifiers or tags, this may be omitted and defaults to the revision time stamp.",
      "type": "string",
      "example": "2019:1.2.0"
    },
    "revisedAt": {
      "description": "The time stamp when the target document was last revised (modified), in [RFC 3339](https://tools.ietf.org/html/rfc3339) UTC date-time format (`YYYY-MM-DDThh:mm:ss.sssZ`).",
      "type": "string",
      "format": "date-time"
    }
  },
  "x-apiture-version": "1.0.0"
}