Description

A GMetaList is a collection of GMetaEntry documents.

Field Name Required? Rules Description

@datatype

False

must be "GMetaList" if present

@version

False

must be "2017-09-01" if present

gmeta

True

should be an array of GMetaEntry documents

Usually the type is strictly enforced, but that constraint may be loosened for streaming inputs. This is a collection of metadata assertions

visible_to

False

must be an array of strings

This is a list of security principals allowed to read the metadata

mimetype

False

must be a string

should be "application/json" if present

Note:

Several GMetaList attributes are meant as defaults for the documents it contains:

  • mimetype

  • visible_to

This defaulting behavior is not yet implemented.

Examples

Example 1
{
  "gmeta": [
    {
      "subject": "https://datasearch.demo.globus.org/",
      "mimetype": "application/json",
      "visible_to": ["public"],
      "id" : "valid_doc_1",
      "content": {
          "type": "file",
          "extension": "txt",
          "name" : "abc.txt"
      }
    }
  ]
}

© 2010- The University of Chicago Legal