Skip to content

FAQ entry about programmatically creating LinkML schemas #461

@turbomam

Description

@turbomam

Should cover

  • initializing new, empty schema
  • adding at least one class with at least one slot
  • writing the schema to a YAML file

Could use any of these approaches. Which is "best"? Why?

  • native LinkML methods
  • SchemaView
  • Create and populate a Python dict and write out as YAML. Then, how to validate?

See also #452

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions