seek4science / seek

For finding, sharing and exchanging Data, Models, Simulations and Processes in Science.
http://www.seek4science.org
BSD 3-Clause "New" or "Revised" License
77 stars 52 forks source link

Registered Sample not exported correctly in ISA-JSON #2058

Open kdp-cloud opened 1 week ago

kdp-cloud commented 1 week ago

When a Sample Type has other Registered samples, besides the input from the previous Sample Type, the Registered Sample is exported as plain JSON in the ISA-JSON. This is not conform to the JSON schema of a characteristic.

Example:

{
    "category": { "@id": "#characteristic_category/Sample_1558" },
    "value": {
      "annotationValue": {
        "id": 762,
        "type": "Sample",
        "title": "Viscosin"
      },
      "termSource": "",
      "termAccession": ""
}