GithubHelp home page GithubHelp logo

Comments (3)

wdduncan avatar wdduncan commented on June 19, 2024

related to issue microbiomedata/nmdc-runtime#5

from nmdc-schema.

cmungall avatar cmungall commented on June 19, 2024

it's inherited from activity

from nmdc-schema.

wdduncan avatar wdduncan commented on June 19, 2024

@cmungall Yes. You are right :)

However, the started at time and ended at time slots are not required. If I remove the started at time and ended at time properties, it validates against the jsonschema. E.g., this is valid:

{"activity_set":
[
  {
    "id": "nmdc:647b163bdcb9528b8dcc8ab9b506c957",
    "name": "MetagenomeAnnotation activity for gold:Gp0324040",
    "was_informed_by": "gold:Gp0324040",
    "type": "nmdc:MetagenomeAnnotation",
    "execution_resource": "NERSC - Cori",
    "git_url": "https://github.com/microbiomedata/mg_annotation/releases/tag/0.1",
    "has_input": [
      "nmdc:7e0bb15dc62ea4a5ae94f51af347129f"
    ],
    "has_output": [
      "nmdc:dca7ca0cc779868ceac63aa3af6a3070",
      "nmdc:c177fd732e25dda4d2afa10159e8d0b4",
      "nmdc:b09c3cd4ad025e106e51f3234bf3850f",
      "nmdc:1fd680ec996ea2043fd34468e5c3464a",
      "nmdc:7796820582563a8b3867de9554b1a8ac"
    ]
  },
  {
    "id": "nmdc:0e9fb1e720caf88f61ab8bc4d866af7e",
    "name": "MetagenomeAnnotation activity for gold:Gp0324044",
    "was_informed_by": "gold:Gp0324044",
    "type": "nmdc:MetagenomeAnnotation",
    "execution_resource": "NERSC - Cori",
    "git_url": "https://github.com/microbiomedata/mg_annotation/releases/tag/0.1",
    "has_input": [
      "nmdc:6a455b07be6e9c6b3f0631858a8ade17"
    ],
    "has_output": [
      "nmdc:6d6bc7279ced7706d60024621e3bd32f",
      "nmdc:50f2fe8d10b7f498c092ad58d84566e9",
      "nmdc:1aa4f17a80bf5f1783b044261bd0122e",
      "nmdc:a17065ca9209cb2774e2364c6d4a4e09",
      "nmdc:2ac6dc3b3e885520db0e4604c641cde3"
    ]
  }
]
}

from nmdc-schema.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.