id: http://examples.org/linkml/test/string_templates
name: string_templates
description: Test cases for the string_template model
license: https://creativecommons.org/publicdomain/zero/1.0/

prefixes:
  linkml: https://w3id.org/linkml/

default_prefix: linkml
default_range: string

imports:
  - linkml:types

classes:
  first class:
    attributes:
      name:
        range: string
        required: true
      age:
        range: integer
      gender:
        range: string
    string_serialization: "{name} - a {age} year old {gender}"
