code: function followSchema( schemaRef ) {
        const name = basename( schemaRef );
  
        return resolveRef( schemaRef + '.json', paths.schemas )
           .then( path => readJson( path ).then( schema => {
              return [ {
                 refs: [ schemaRef ],
                 name,
                 path,
                 definition: schema,
                 descriptor: { name },
                 category: 'schemas'
              } ];
           } ) );
     }
docs: //////////////////////////////////////////////////////////////////////////////////////////////////////// 
  Collect meta information about a single schema.
  
  @private
  @memberOf ArtifactCollector
  @param {String} schemaRef the schema reference (relative to `paths.schemas`) to follow
  @return {Promise<Array>} a promise for an array with a single schema-meta object