Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
  "properties": {
    "accessControlList": {
                         "description": "the uri to access the ACL for this
                                                  Layer", 
                         "type": "string",
                         "format": "uri",
                         },
    "annotations": {
                   "description": "SYSTEM CONTROLLED, the uri to access the annotations for
                                      this Layer",
                   "type": "string",
                   "format": "uri",
                   },
    "creationDate": {
                    "description": "SYSTEM CONTROLLED, the creation date of this metadata in
                                        Synapse",
                    "type": "integer",
                    "format": "utc-millisec",
                    },
    "description": {
                   "description": "a narrative blurb of text about this layer",
                   "type": "string",
                   "format": "text"
                   },
    "etag": {
            "description": "SYSTEM CONTROLLED, a system-controlled value used for optimistic
                        concurrency control as a way to help prevent simultaneous
                        updates of a resource from overwriting each other",
            "type": "string",
            },
    "id": {
          "description": "SYSTEM CONTROLLED, the Synapse identifier for this entity",
          "type": "string",
          "format": "text",
          },
    "locations": {
                 "description": "SYSTEM CONTROLLED, the uri to access the location metadata
                                  regarding where the data for this layer is actually stored",
                 "type": "string",
                 "format": "uri",
                 },
    "name": {
            "description": "the display name of this layer",
            "type": "string",
            "format": "text",
            "required": true
            },
    "numSamples": {
                  "description": "the number of samples in this layer",
                  "type": "integer",
                  "minimum": 0
                  },
    "parentId": {
                "description": "the Synapse identifier for this entity, all
                                layers must have a parent",
                "type": "string",
                "format": "text",
                "required": true,
                },
    "platform": {
                "description": "the platform upon which the samples were
                                processed (primary ontology: Ontology Of
                                Biomedical Investigation)",
                "type": "string",
                "format": ["ontology:OBI", "ontology:SageBioCustom"]
                },
    "previews": {
                "description": "SYSTEM CONTROLLED, the uri to access the previews for
                                this Layer",
                "type": "string",
                "format": "uri",
                },
    "processingFacility": {
                          "description": "the ontological term best-fitting
                                         the facility in which this data was
                                         processed, (primary ontology:
                                         Ontology Of Biomedical
                                         Investigation)",                                      
                          "type": "string",
                          "format": ["ontology:OBI", "ontology:SageBioCustom"]
                          },
    "publicationDate": {
                       "description": "the publication date of the notable
                                              paper for the data in this layer",
                       "type": "integer",
                       "format": "utc-millisec"
                       },
    "qcBy": {
            "description": "the Synapse username of the person who QCed this
                           layer",
            "type": "string",
            "format": "text"
            },
    "qcDate": {
              "description": "the date upon which this Layer was QCed",
              "type": "number",
              "format": "utc-millisec"
              },
    "releaseNotes": {
                    "description": "free text regarding any release notes
                                        associated with this layer",
                    "type": "string",
                    "format": "text"
                    },
    "status": {
              "type": "string",
              "enum": ["QCed", "Curated", "Raw", "Unknown"],
              "default": "Uknown"
              },
    "tissueType": {
                  "description": "the ontological term best-fitting the
                                    tissue type found in this layer,
                                    (primary ontology: Foundational Model Of Anatomy)",
                  "type": "string",
                  "format": ["ontology:FMA", "ontology:SageBioCustom"]
                  },
    "type": {
            "description": "the high-level type of data this layer holds",
            "type": "string",
            "enum": ["C", "E", "G"],
            "required": true
            },
    "uri": {
           "uri": "SYSTEM CONTROLLED, the uri to access this Layer",
           "type": "string",
           "format": "uri",
           },
    "version": {
               "description": "the Synapse version of this Layer",
               "type": "string",
               "pattern": "^\d+\.\d+\.\d+$",
               }
  },
  "type": "object"
}

...