SenNet Sample schema

Overview:

This page describes the Sample attributes available for querying via the SenNet parameterized search endpoint. Full Sample schema information can be found at the SenNet Search API documentation page at the bottom of the page in the Schemas section under the Sample section.

For example, this endpoint searches Samples for a specified sample category of block, all tissue registrations that are of type block will be returned:

GET https://search.api.sennetconsortium.org/param-search/samples?sample_category=Block

Description:

A query string is built by combining schema elements documented below with matching values. Each “term” of the query is combined using the & character, and the entire query is attached to the base URL after a ? character, per web standards.

Query terms may be composited from attributes deeper in the schema type of an attribute. For example, the Sample Schema attribute metadata is has a type of Sample Metadata Schema, and Sample Block Metadata Schema has an attribute preparation_condition. Querying Samples supports a term to search for sample blocks with a preparation condition, such as metadata.preparation_condition=Frozen%20on%20ice, and a query like:

GET https://search.api.sennetconsortium.org/param-search/samples?metadata.preparation_condition=Frozen%20on%20ice&origin_samples.organ=HT
Attribute Type Description
uuid string The SenNet unique identifier, intended for internal software use only. This is a 32 digit hexadecimal uuid e.g. 461bbfdc353a2673e381f632510b0f17
sennet_id string A SenNet Consortium wide unique identifier randomly generated in the format SNT###.ABCD.### for every entity.
protocol_url string The protocols.io doi url pointing the protocol under wich the sample was obtained and/or prepared.
group_name string The name of the SenNet data provider group which registered the sample. See the SenNet Data Provider Groups for a list of valid group names.
data_access_level string from data_access_level attribute values One of the values: public, consortium
sample_category string from sample_category attribute values A code representing the category of the specimen. Must be one of organ, block, section , suspension. This is a required field. If set to organ, the organ property must be provided as well.
organ string from organ attribute values Organ code specifier, only set if sample_category == Organ. Valid values found in the rui_code attribute in: organ types
metadata JSON-encoded string for a supported Sample Metadata Schema The sample specific metadata derived from the uploaded sample_metadata.tsv file. Returned as a json object.

data_access_level attribute values

The data_access_level of the Sample Schema is one of the values following enumerated values:

sample_category attribute values

The sample_category of the Sample Schema is one of the values following enumerated values:

organ attribute values

The organ of the Sample Schema is a value from the current, authoritative list of rui_code attributes in: organ types As of 8/25/2024, the list is:

vital_state attribute values

The vital_state of the Sample Metadata Schema is one of the values following enumerated values:

health_status attribute values

The health_status of the Sample Metadata Schema is one of the values following enumerated values:

organ_condition attribute values

The organ_condition of the Sample Metadata Schema is one of the values following enumerated values:

perfusion_solution attribute values

The perfusion_solution of the Sample Metadata Schema is one of the values following enumerated values:

File Schema

Attribute Type Description
filename string The name of the file.
description string A description of the file. The Dataset.thumbnail_file does not have this file description.
file_uuid string The SenNet unique identifier for the file.