{"library":"openjd-model","title":"Open Job Description Model for Python","description":"Provides a Python implementation of the data model for Open Job Description (OpenJD) template schemas. Version 0.9.1 is current, with monthly releases on GitHub. The library validates and parses OpenJD job and environment templates using Pydantic.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install openjd-model"],"cli":null},"imports":["from openjd.model import JobTemplate","from openjd.model import parse"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from openjd.model import parse, JobTemplate\n\n# Load from a YAML string\ntemplate_yaml = \"\"\"\nspecificationVersion: 'jobtemplate-2023-09'\nname: Example Job\nsteps:\n- name: Step1\n  script:\n    actions:\n      onRun:\n        command: echo\n        args: ['{{Param.param1}}']\n  parameterValues:\n  - name: param1\n    type: STRING\n    value: hello\n\"\"\"\ntemplate = parse(template_yaml, JobTemplate)\nprint(template.name) # Example Job","lang":"python","description":"Parses a minimal job template YAML and prints the job name.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}