json_schema: {
      "$schema": "http://json-schema.org/draft-07/schema#",
      "description": "A BioSamples sample.",
      "properties": {
          "alias": {
              "description": "A sample unique identifier in a submission.",
              "type": "string"
          },
          "attributes": {
              "patternProperties": {
                  "^.*$": {
                      "items": {
                          "properties": {
                              "terms": {
                                  "items": {
                                      "properties": {
                                          "url": {
                                              "_format": "uri",
                                              "type": "string"
                                          }
                                      },
                                      "required": [
                                          "url"
                                      ],
                                      "type": "object"
                                  },
                                  "type": "array"
                              },
                              "units": {
                                  "type": "string"
                              },
                              "value": {
                                  "minLength": 1,
                                  "type": "string"
                              }
                          },
                          "required": [
                              "value"
                          ]
                      },
                      "minItems": 1,
                      "type": "array"
                  }
              },
              "properties": {},
              "type": "object"
          },
          "releaseDate": {
              "_format": "date",
              "description": "Date from which this sample is released publicly.",
              "type": "string"
          },
          "sampleRelationships": {
              "description": "List of relationships between samples.",
              "items": {
                  "properties": {
                      "nature": {
                          "description": "Sample accession to which the sample relationship refers to.",
                          "enum": [
                              "derived from",
                              "child of",
                              "same as",
                              "recurated from"
                          ],
                          "type": "string"
                      },
                      "target": {
                          "description": "Sample accession to which the sample relationship refers to.",
                          "type": "string"
                      }
                  },
                  "required": [
                      "target",
                      "nature"
                  ],
                  "type": "object"
              },
              "type": "array"
          },
          "taxon": {
              "description": "The taxonomy name for the sample species.",
              "type": "string"
          },
          "taxonId": {
              "description": "The taxonomy id for the sample species.",
              "type": "integer"
          }
      },
      "required": [
          "alias",
          "taxonId",
          "taxon",
          "releaseDate"
      ],
      "title": "Sample",
      "type": "object"
  }