packages feed

okf-core-0.11.0.0: test/fixtures/profiles/cardinality.dhall

let FrontmatterDefaults = ../../../dhall/defaults/FrontmatterRules.dhall

let Profile = ../../../dhall/Profile.dhall

let FieldRule = ../../../dhall/FieldRule.dhall

let TypeRule = ../../../dhall/defaults/TypeRule.dhall

let field = ../../../dhall/mk/FieldRule.dhall

in    { name = "cardinality"
      , description = Some "Exercises scalar and list field cardinality."
      , guidance = None Text
      , okfVersion = "0.1"
      , frontmatter = FrontmatterDefaults::{
        , required =
          [ field.plain "type"
          , field.scalar "title"
          , field.list "tags"
          , field.scalar "domain"
          ]
        , recommended = [] : List FieldRule
        , optional = [] : List FieldRule
        }
      , allowUnknownTypes = False
      , allowUnknownFields = True
      , idField = None Text
      , requireBundleVersion = None Text
      , types =
        [ TypeRule::{
          , type = "Cardinality Concept"
          , frontmatter = FrontmatterDefaults::{
            , required = [ field.scalar "score" ]
            , recommended = [] : List FieldRule
            , optional = [] : List FieldRule
            }
          }
        ]
      }
    : Profile