{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "ConsentArtifact",
  "description": "Documentation of a user's consent.",
  "properties": {
    "consentContentScreenshots": {
      "description": "Optional. Screenshots, PDFs, or other binary information documenting the user's consent.",
      "items": {
        "$ref": "#/components/schemas/Image"
      },
      "type": "array"
    },
    "consentContentVersion": {
      "description": "Optional. An string indicating the version of the consent information shown to the user.",
      "type": "string"
    },
    "guardianSignature": {
      "$ref": "#/components/schemas/Signature",
      "description": "Optional. A signature from a guardian."
    },
    "metadata": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version.",
      "type": "object"
    },
    "name": {
      "description": "Identifier. Resource name of the Consent artifact, of the form `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}`. Cannot be changed after creation.",
      "type": "string"
    },
    "userId": {
      "description": "Required. User's UUID provided by the client.",
      "type": "string"
    },
    "userSignature": {
      "$ref": "#/components/schemas/Signature",
      "description": "Optional. User's signature."
    },
    "witnessSignature": {
      "$ref": "#/components/schemas/Signature",
      "description": "Optional. A signature from a witness."
    }
  },
  "type": "object"
}