async function getDocumentSchema() {
    // Initialize request argument(s)
    const request = {};

    // The full resource name of the location, e.g.:
    // projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}
    const name = serviceClient.documentSchemaPath(
      projectNumber,
      location,
      documentSchemaId
    );
    request.name = name;

    // Make Request
    const response = serviceClient.getDocumentSchema(request);

    // Print out response
    response.then(
      result => console.log(`Schema Found: ${JSON.stringify(result)}`),
      error => console.log(`${error}`)
    );
  }
TODO(developer): Uncomment these variables before running the sample.
const projectNumber = 'YOUR_PROJECT_NUMBER';
const location = 'YOUR_PROJECT_LOCATION'; // Format is 'us' or 'eu'
const schemaId = 'YOUR_DOCUMENT_SCHEMA_ID';