diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,25 @@
 
 ## [Unreleased]
 
+## [0.9.0.0] - 2026-09-13
+
+### Added
+
+- `ProfileSpec.guidance` and `TypeRule.guidance` carry optional multiline
+  authoring Markdown. JSON preserves the fields as strings or `null`, and
+  generated documentation renders profile-wide then type-specific guidance in
+  body sections while leaving validation and generated frontmatter unchanged.
+
+### Changed
+
+- **Breaking:** the public Haskell constructors and published Dhall `Profile`
+  and `TypeRule` record types gain `guidance`. Completion defaults supply
+  `None Text`; a complete frozen 0.8.0.0 decoder upgrades old descriptors with
+  `Nothing` in both scopes and is registered for file and registry decoding.
+- `defaultRegistryReference` now pins `mori://shinzui/okf-profiles` v0.14.0
+  (from v0.10.0); the offline catalogue conformance fixture decodes all
+  thirteen published profiles.
+
 ## [0.8.0.0] - 2026-08-19
 
 ### Added
diff --git a/dhall/Profile.dhall b/dhall/Profile.dhall
--- a/dhall/Profile.dhall
+++ b/dhall/Profile.dhall
@@ -12,8 +12,9 @@
 -- `idField = Some "docId"` names the frontmatter key that holds stable document
 -- handles.  `None Text` disables every document-ID check.
 --
--- `description` documents the profile as a whole, in prose, for whoever has to
--- read or adopt it. Like every description in this schema it is documentary only.
+-- `description` concisely documents the profile's identity. `guidance` is
+-- multiline Markdown prescribing how authors should do the work. Neither is
+-- checked against a bundle, and guidance is never executed by okf.
 -- `allowUnknownFields = False` closes top-level frontmatter to core OKF keys,
 -- the configured `idField`, and the effective profile/type field rules.
 --
@@ -29,6 +30,7 @@
 
 in  { name : Text
     , description : Optional Text
+    , guidance : Optional Text
     , okfVersion : Text
     , frontmatter : FrontmatterRules
     , allowUnknownTypes : Bool
diff --git a/dhall/TypeRule.dhall b/dhall/TypeRule.dhall
--- a/dhall/TypeRule.dhall
+++ b/dhall/TypeRule.dhall
@@ -9,13 +9,15 @@
 -- `idPrefix = Some "ADR"` means concepts governed by this rule are expected to
 -- carry a handle of the form `ADR-<number>` in the profile's ID field.
 --
--- `description` explains, in prose, what this concept type is for. It is
--- documentary only and is never checked against a bundle.
+-- `description` concisely explains what this concept type is for. `guidance` is
+-- multiline Markdown adding authoring procedure specific to this type. Neither
+-- is checked against a bundle, and guidance is never executed by okf.
 let FrontmatterRules = ./FrontmatterRules.dhall
 
 in
 { type : Text
 , description : Optional Text
+, guidance : Optional Text
 , frontmatter : FrontmatterRules
 , pathPattern : Optional Text
 , resourceScheme : Optional Text
diff --git a/dhall/defaults/Profile.dhall b/dhall/defaults/Profile.dhall
--- a/dhall/defaults/Profile.dhall
+++ b/dhall/defaults/Profile.dhall
@@ -8,6 +8,7 @@
 in  { Type = ProfileType
     , default =
       { description = None Text
+      , guidance = None Text
       , okfVersion = "0.1"
       , frontmatter = FrontmatterRules.default
       , allowUnknownTypes = True
diff --git a/dhall/defaults/TypeRule.dhall b/dhall/defaults/TypeRule.dhall
--- a/dhall/defaults/TypeRule.dhall
+++ b/dhall/defaults/TypeRule.dhall
@@ -6,6 +6,7 @@
 in  { Type = TypeRuleType
     , default =
       { description = None Text
+      , guidance = None Text
       , frontmatter = FrontmatterRules.default
       , pathPattern = None Text
       , resourceScheme = None Text
diff --git a/dhall/package.dhall b/dhall/package.dhall
--- a/dhall/package.dhall
+++ b/dhall/package.dhall
@@ -1,7 +1,8 @@
 --| Entry point for okf's published profile schema.
 --
 -- Import this (by relative path within okf, or by pinned URL from another repo) to
--- get the profile schema types and record-completion defaults:
+-- get the profile schema types, documentary descriptions, authoring guidance,
+-- and record-completion defaults:
 --
 --     let okf = https://raw.githubusercontent.com/shinzui/okf/<tag>/okf-core/dhall/package.dhall sha256:<hash>
 --     in  ({ name = "acme", okfVersion = "0.1", … } : okf.Profile)
diff --git a/okf-core.cabal b/okf-core.cabal
--- a/okf-core.cabal
+++ b/okf-core.cabal
@@ -1,6 +1,6 @@
 cabal-version:      3.4
 name:               okf-core
-version:            0.8.0.0
+version:            0.9.0.0
 synopsis:
   Read, validate, index, and traverse Open Knowledge Format bundles
 
diff --git a/src/Okf/Profile.hs b/src/Okf/Profile.hs
--- a/src/Okf/Profile.hs
+++ b/src/Okf/Profile.hs
@@ -104,6 +104,8 @@
 import Dhall (FromDhall (..), auto, genericAutoWith)
 import Dhall qualified
 import Dhall.Core (Expr)
+import Dhall.Core qualified as Dhall.Core
+import Dhall.Map qualified as Dhall.Map
 import Dhall.Src (Src)
 import Network.URI (parseURI, uriScheme)
 import Numeric.Natural (Natural)
@@ -148,9 +150,10 @@
 import Text.Regex.TDFA.Text qualified as Regex.Text
 import "generic-lens" Data.Generics.Labels ()
 
--- | A complete house profile. @description@ is prose documenting the profile as
--- a whole; like every description in this module it is never checked against a
--- bundle and can never produce a 'ProfileViolation'.
+-- | A complete house profile. @description@ concisely documents the profile's
+-- identity. @guidance@ is multiline Markdown prescribing how authors should do
+-- the work. Neither is checked against a bundle or executed, and neither can
+-- produce a 'ProfileViolation'.
 --
 -- @requireBundleVersion@ and @okfVersion@ are easy to confuse and answer
 -- different questions. @okfVersion@ says which version's rules /this profile
@@ -161,6 +164,7 @@
 data ProfileSpec = ProfileSpec
   { name :: !Text,
     description :: !(Maybe Text),
+    guidance :: !(Maybe Text),
     okfVersion :: !Text,
     frontmatter :: !FrontmatterRules,
     allowUnknownTypes :: !Bool,
@@ -333,10 +337,12 @@
   deriving stock (Generic, Eq, Ord, Show)
   deriving anyclass (FromDhall)
 
--- | One rule per allowed concept @type@ string.
+-- | One rule per allowed concept @type@ string. @guidance@ adds authoring
+-- procedure specific to this type; it is documentary and never executed.
 data TypeRule = TypeRule
   { type_ :: !Text,
     description :: !(Maybe Text),
+    guidance :: !(Maybe Text),
     frontmatter :: !FrontmatterRules,
     pathPattern :: !(Maybe Text),
     resourceScheme :: !(Maybe Text),
@@ -362,10 +368,11 @@
 -- importantly, so 'TypeRule' emits @type@ rather than the Haskell field name
 -- @type_@ — matching the Dhall field and how 'Okf.Graph.Node' already encodes.
 instance ToJSON ProfileSpec where
-  toJSON ProfileSpec {name, description, okfVersion, frontmatter, allowUnknownTypes, allowUnknownFields, idField, requireBundleVersion, types = typeRules} =
+  toJSON ProfileSpec {name, description, guidance, okfVersion, frontmatter, allowUnknownTypes, allowUnknownFields, idField, requireBundleVersion, types = typeRules} =
     object
       [ "name" .= name,
         "description" .= description,
+        "guidance" .= guidance,
         "okfVersion" .= okfVersion,
         "requireBundleVersion" .= requireBundleVersion,
         "allowUnknownTypes" .= allowUnknownTypes,
@@ -476,6 +483,7 @@
     TypeRule
       { type_ = ruleType,
         description,
+        guidance,
         frontmatter,
         pathPattern,
         resourceScheme,
@@ -486,6 +494,7 @@
       object
         [ "type" .= ruleType,
           "description" .= description,
+          "guidance" .= guidance,
           "frontmatter" .= frontmatter,
           "pathPattern" .= pathPattern,
           "resourceScheme" .= resourceScheme,
@@ -494,6 +503,156 @@
           "idPrefix" .= idPrefix
         ]
 
+-- | The complete descriptor generation published by okf-core 0.8.0.0, frozen
+-- immediately before profile and type guidance were added. Every reachable
+-- record and union is copied here so future schema additions cannot change the
+-- Dhall type this decoder accepts. Exercised by
+-- @okf-core/test/fixtures/profiles/pre-guidance-0.8.0.0.dhall@.
+data PreGuidanceCardinality
+  = PreGuidanceAny
+  | PreGuidanceScalar
+  | PreGuidanceList
+  deriving stock (Generic, Eq, Ord, Show)
+
+instance FromDhall PreGuidanceCardinality where
+  autoWith _normalizer =
+    Dhall.union
+      ( (PreGuidanceAny <$ Dhall.constructor "Any" Dhall.unit)
+          <> (PreGuidanceScalar <$ Dhall.constructor "Scalar" Dhall.unit)
+          <> (PreGuidanceList <$ Dhall.constructor "List" Dhall.unit)
+      )
+
+data PreGuidanceFieldFormat
+  = PreGuidanceRfc3339Utc
+  | PreGuidanceDate
+  | PreGuidanceUri
+  | PreGuidanceUriWithScheme Text
+  | PreGuidanceDocumentHandle Text
+  | PreGuidanceActor
+  | PreGuidanceHumanActor
+  | PreGuidanceInteger
+  | PreGuidanceNonNegativeInteger
+  | PreGuidanceBoolean
+  deriving stock (Generic, Eq, Ord, Show)
+
+instance FromDhall PreGuidanceFieldFormat where
+  autoWith _normalizer =
+    Dhall.union
+      ( (PreGuidanceRfc3339Utc <$ Dhall.constructor "Rfc3339Utc" Dhall.unit)
+          <> (PreGuidanceDate <$ Dhall.constructor "Date" Dhall.unit)
+          <> (PreGuidanceUri <$ Dhall.constructor "Uri" Dhall.unit)
+          <> (PreGuidanceUriWithScheme <$> Dhall.constructor "UriWithScheme" Dhall.auto)
+          <> (PreGuidanceDocumentHandle <$> Dhall.constructor "DocumentHandle" Dhall.auto)
+          <> (PreGuidanceActor <$ Dhall.constructor "Actor" Dhall.unit)
+          <> (PreGuidanceHumanActor <$ Dhall.constructor "HumanActor" Dhall.unit)
+          <> (PreGuidanceInteger <$ Dhall.constructor "Integer" Dhall.unit)
+          <> (PreGuidanceNonNegativeInteger <$ Dhall.constructor "NonNegativeInteger" Dhall.unit)
+          <> (PreGuidanceBoolean <$ Dhall.constructor "Boolean" Dhall.unit)
+      )
+
+data PreGuidanceFieldCondition = PreGuidanceFieldCondition
+  { field :: !Text,
+    hasValue :: ![Text]
+  }
+  deriving stock (Generic, Eq, Ord, Show)
+  deriving anyclass (FromDhall)
+
+data PreGuidanceHandleReferenceRule = PreGuidanceHandleReferenceRule
+  { localPrefix :: !Text,
+    externalUriSchemes :: ![Text],
+    allowSelf :: !Bool,
+    allowLocal :: !Bool,
+    externalUriPattern :: !(Maybe Text)
+  }
+  deriving stock (Generic, Eq, Ord, Show)
+  deriving anyclass (FromDhall)
+
+data PreGuidancePathReferenceRule = PreGuidancePathReferenceRule
+  { externalUriSchemes :: ![Text],
+    allowSelf :: !Bool
+  }
+  deriving stock (Generic, Eq, Ord, Show)
+  deriving anyclass (FromDhall)
+
+data PreGuidanceFieldRule = PreGuidanceFieldRule
+  { field :: !Text,
+    description :: !(Maybe Text),
+    allowedValues :: ![Text],
+    cardinality :: !PreGuidanceCardinality,
+    format :: !(Maybe PreGuidanceFieldFormat),
+    elementFields :: !(Maybe PreGuidanceNestedRules),
+    objectFields :: !(Maybe PreGuidanceNestedRules),
+    reference :: !(Maybe PreGuidanceHandleReferenceRule),
+    path :: !(Maybe PreGuidancePathReferenceRule),
+    when :: !(Maybe PreGuidanceFieldCondition),
+    uniqueBy :: !(Maybe Text)
+  }
+  deriving stock (Generic, Eq, Show)
+  deriving anyclass (FromDhall)
+
+data PreGuidanceNestedRules = PreGuidanceNestedRules
+  { required :: ![PreGuidanceNestedFieldRule],
+    recommended :: ![PreGuidanceNestedFieldRule],
+    optional :: ![PreGuidanceNestedFieldRule]
+  }
+  deriving stock (Generic, Eq, Show)
+  deriving anyclass (FromDhall)
+
+data PreGuidanceNestedFieldRule = PreGuidanceNestedFieldRule
+  { field :: !Text,
+    description :: !(Maybe Text),
+    allowedValues :: ![Text],
+    cardinality :: !PreGuidanceCardinality,
+    format :: !(Maybe PreGuidanceFieldFormat),
+    path :: !(Maybe PreGuidancePathReferenceRule),
+    when :: !(Maybe PreGuidanceFieldCondition),
+    reference :: !(Maybe PreGuidanceHandleReferenceRule)
+  }
+  deriving stock (Generic, Eq, Show)
+  deriving anyclass (FromDhall)
+
+data PreGuidanceFrontmatterRules = PreGuidanceFrontmatterRules
+  { required :: ![PreGuidanceFieldRule],
+    recommended :: ![PreGuidanceFieldRule],
+    optional :: ![PreGuidanceFieldRule]
+  }
+  deriving stock (Generic, Eq, Show)
+  deriving anyclass (FromDhall)
+
+data PreGuidanceTypeRule = PreGuidanceTypeRule
+  { type_ :: !Text,
+    description :: !(Maybe Text),
+    frontmatter :: !PreGuidanceFrontmatterRules,
+    pathPattern :: !(Maybe Text),
+    resourceScheme :: !(Maybe Text),
+    requireSchemaSection :: !Bool,
+    schemaColumns :: ![Text],
+    idPrefix :: !(Maybe Text)
+  }
+  deriving stock (Generic, Eq, Show)
+
+instance FromDhall PreGuidanceTypeRule where
+  autoWith _normalizer =
+    genericAutoWith
+      (Dhall.defaultInterpretOptions {Dhall.fieldModifier = stripTrailingUnderscore})
+    where
+      stripTrailingUnderscore fieldName =
+        fromMaybe fieldName (Text.stripSuffix "_" fieldName)
+
+data PreGuidanceProfileSpec = PreGuidanceProfileSpec
+  { name :: !Text,
+    description :: !(Maybe Text),
+    okfVersion :: !Text,
+    frontmatter :: !PreGuidanceFrontmatterRules,
+    allowUnknownTypes :: !Bool,
+    allowUnknownFields :: !Bool,
+    idField :: !(Maybe Text),
+    requireBundleVersion :: !(Maybe Text),
+    types :: ![PreGuidanceTypeRule]
+  }
+  deriving stock (Generic, Eq, Show)
+  deriving anyclass (FromDhall)
+
 -- | The okf 0.2.x profile record: frontmatter keys were bare strings and
 -- nothing carried a description. Decoded only as a fallback, so descriptors
 -- written before descriptions existed keep loading unchanged. Deliberately
@@ -1393,6 +1552,118 @@
 emptyFrontmatterRules :: FrontmatterRules
 emptyFrontmatterRules = FrontmatterRules {required = [], recommended = [], optional = []}
 
+upgradePreGuidanceCardinality :: PreGuidanceCardinality -> Cardinality
+upgradePreGuidanceCardinality = \case
+  PreGuidanceAny -> Any
+  PreGuidanceScalar -> Scalar
+  PreGuidanceList -> List
+
+upgradePreGuidanceFieldFormat :: PreGuidanceFieldFormat -> FieldFormat
+upgradePreGuidanceFieldFormat = \case
+  PreGuidanceRfc3339Utc -> Rfc3339Utc
+  PreGuidanceDate -> Date
+  PreGuidanceUri -> Uri
+  PreGuidanceUriWithScheme scheme -> UriWithScheme scheme
+  PreGuidanceDocumentHandle prefix -> DocumentHandle prefix
+  PreGuidanceActor -> Actor
+  PreGuidanceHumanActor -> HumanActor
+  PreGuidanceInteger -> Integer
+  PreGuidanceNonNegativeInteger -> NonNegativeInteger
+  PreGuidanceBoolean -> Boolean
+
+upgradePreGuidanceCondition :: PreGuidanceFieldCondition -> FieldCondition
+upgradePreGuidanceCondition previous =
+  FieldCondition
+    { field = previous ^. #field,
+      hasValue = previous ^. #hasValue
+    }
+
+upgradePreGuidanceHandleRule :: PreGuidanceHandleReferenceRule -> HandleReferenceRule
+upgradePreGuidanceHandleRule previous =
+  HandleReferenceRule
+    { localPrefix = previous ^. #localPrefix,
+      externalUriSchemes = previous ^. #externalUriSchemes,
+      allowSelf = previous ^. #allowSelf,
+      allowLocal = previous ^. #allowLocal,
+      externalUriPattern = previous ^. #externalUriPattern
+    }
+
+upgradePreGuidancePathRule :: PreGuidancePathReferenceRule -> PathReferenceRule
+upgradePreGuidancePathRule previous =
+  PathReferenceRule
+    { externalUriSchemes = previous ^. #externalUriSchemes,
+      allowSelf = previous ^. #allowSelf
+    }
+
+upgradePreGuidanceFrontmatter :: PreGuidanceFrontmatterRules -> FrontmatterRules
+upgradePreGuidanceFrontmatter previous =
+  FrontmatterRules
+    { required = map upgradeField (previous ^. #required),
+      recommended = map upgradeField (previous ^. #recommended),
+      optional = map upgradeField (previous ^. #optional)
+    }
+  where
+    upgradeField rule =
+      FieldRule
+        { field = rule ^. #field,
+          description = rule ^. #description,
+          allowedValues = rule ^. #allowedValues,
+          cardinality = upgradePreGuidanceCardinality (rule ^. #cardinality),
+          format = upgradePreGuidanceFieldFormat <$> rule ^. #format,
+          elementFields = upgradeNestedRules <$> rule ^. #elementFields,
+          objectFields = upgradeNestedRules <$> rule ^. #objectFields,
+          reference = upgradePreGuidanceHandleRule <$> rule ^. #reference,
+          path = upgradePreGuidancePathRule <$> rule ^. #path,
+          when = upgradePreGuidanceCondition <$> rule ^. #when,
+          uniqueBy = rule ^. #uniqueBy
+        }
+    upgradeNestedRules rules =
+      NestedRules
+        { required = map upgradeNestedField (rules ^. #required),
+          recommended = map upgradeNestedField (rules ^. #recommended),
+          optional = map upgradeNestedField (rules ^. #optional)
+        }
+    upgradeNestedField rule =
+      NestedFieldRule
+        { field = rule ^. #field,
+          description = rule ^. #description,
+          allowedValues = rule ^. #allowedValues,
+          cardinality = upgradePreGuidanceCardinality (rule ^. #cardinality),
+          format = upgradePreGuidanceFieldFormat <$> rule ^. #format,
+          path = upgradePreGuidancePathRule <$> rule ^. #path,
+          when = upgradePreGuidanceCondition <$> rule ^. #when,
+          reference = upgradePreGuidanceHandleRule <$> rule ^. #reference
+        }
+
+upgradePreGuidanceTypeRule :: PreGuidanceTypeRule -> TypeRule
+upgradePreGuidanceTypeRule rule =
+  TypeRule
+    { type_ = rule ^. #type_,
+      description = rule ^. #description,
+      guidance = Nothing,
+      frontmatter = upgradePreGuidanceFrontmatter (rule ^. #frontmatter),
+      pathPattern = rule ^. #pathPattern,
+      resourceScheme = rule ^. #resourceScheme,
+      requireSchemaSection = rule ^. #requireSchemaSection,
+      schemaColumns = rule ^. #schemaColumns,
+      idPrefix = rule ^. #idPrefix
+    }
+
+upgradePreGuidanceProfile :: PreGuidanceProfileSpec -> ProfileSpec
+upgradePreGuidanceProfile previous =
+  ProfileSpec
+    { name = previous ^. #name,
+      description = previous ^. #description,
+      guidance = Nothing,
+      okfVersion = previous ^. #okfVersion,
+      frontmatter = upgradePreGuidanceFrontmatter (previous ^. #frontmatter),
+      allowUnknownTypes = previous ^. #allowUnknownTypes,
+      allowUnknownFields = previous ^. #allowUnknownFields,
+      idField = previous ^. #idField,
+      requireBundleVersion = previous ^. #requireBundleVersion,
+      types = map upgradePreGuidanceTypeRule (previous ^. #types)
+    }
+
 upgradePreNestedReferenceHandleRule :: PreNestedReferenceHandleReferenceRule -> HandleReferenceRule
 upgradePreNestedReferenceHandleRule previous =
   HandleReferenceRule
@@ -1448,6 +1719,7 @@
   TypeRule
     { type_ = rule ^. #type_,
       description = rule ^. #description,
+      guidance = Nothing,
       frontmatter = upgradePreNestedReferenceFrontmatter (rule ^. #frontmatter),
       pathPattern = rule ^. #pathPattern,
       resourceScheme = rule ^. #resourceScheme,
@@ -1461,6 +1733,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradePreNestedReferenceFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -1810,6 +2083,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradePreNestedReferenceFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -1824,6 +2098,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradePrePathProfileFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -1837,6 +2112,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = rule ^. #description,
+          guidance = Nothing,
           frontmatter = upgradePrePathProfileFrontmatter (rule ^. #frontmatter),
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -1850,6 +2126,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradePreActorProfileFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -1863,6 +2140,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = rule ^. #description,
+          guidance = Nothing,
           frontmatter = upgradePreActorProfileFrontmatter (rule ^. #frontmatter),
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -1876,6 +2154,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradePreObjectProfileFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -1889,6 +2168,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = rule ^. #description,
+          guidance = Nothing,
           frontmatter = upgradePreObjectProfileFrontmatter (rule ^. #frontmatter),
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -1902,6 +2182,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradeReferenceProfileFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -1915,6 +2196,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = rule ^. #description,
+          guidance = Nothing,
           frontmatter = upgradeReferenceProfileFrontmatter (rule ^. #frontmatter),
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -1928,6 +2210,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradeConditionalProfileFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -1941,6 +2224,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = rule ^. #description,
+          guidance = Nothing,
           frontmatter = upgradeConditionalProfileFrontmatter (rule ^. #frontmatter),
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -1954,6 +2238,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradeNestedProfileFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -1967,6 +2252,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = rule ^. #description,
+          guidance = Nothing,
           frontmatter = upgradeNestedProfileFrontmatter (rule ^. #frontmatter),
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -1980,6 +2266,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradeFormatFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -1993,6 +2280,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = rule ^. #description,
+          guidance = Nothing,
           frontmatter = upgradeFormatFrontmatter (rule ^. #frontmatter),
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -2006,6 +2294,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradeCardinalityFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -2019,6 +2308,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = rule ^. #description,
+          guidance = Nothing,
           frontmatter = upgradeCardinalityFrontmatter (rule ^. #frontmatter),
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -2032,6 +2322,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradeVocabularyFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -2045,6 +2336,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = rule ^. #description,
+          guidance = Nothing,
           frontmatter = upgradeVocabularyFrontmatter (rule ^. #frontmatter),
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -2058,6 +2350,7 @@
   ProfileSpec
     { name = previous ^. #name,
       description = previous ^. #description,
+      guidance = Nothing,
       okfVersion = previous ^. #okfVersion,
       frontmatter = upgradePreviousFrontmatter (previous ^. #frontmatter),
       allowUnknownTypes = previous ^. #allowUnknownTypes,
@@ -2071,6 +2364,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = rule ^. #description,
+          guidance = Nothing,
           frontmatter = upgradePreviousFrontmatter (rule ^. #frontmatter),
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -2084,6 +2378,7 @@
   ProfileSpec
     { name = described ^. #name,
       description = described ^. #description,
+      guidance = Nothing,
       okfVersion = described ^. #okfVersion,
       frontmatter = upgradePreviousFrontmatter (described ^. #frontmatter),
       allowUnknownTypes = described ^. #allowUnknownTypes,
@@ -2097,6 +2392,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = rule ^. #description,
+          guidance = Nothing,
           frontmatter = emptyFrontmatterRules,
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -2105,13 +2401,14 @@
           idPrefix = rule ^. #idPrefix
         }
 
--- | Lift a 0.2.x profile into the current shape by attaching no descriptions
--- and empty type-specific frontmatter.
+-- | Lift a 0.2.x profile into the current shape by attaching neither
+-- descriptions nor guidance, and by supplying empty type-specific frontmatter.
 upgradeLegacyProfile :: LegacyProfileSpec -> ProfileSpec
 upgradeLegacyProfile legacy =
   ProfileSpec
     { name = legacy ^. #name,
       description = Nothing,
+      guidance = Nothing,
       okfVersion = legacy ^. #okfVersion,
       frontmatter =
         FrontmatterRules
@@ -2131,6 +2428,7 @@
       TypeRule
         { type_ = rule ^. #type_,
           description = Nothing,
+          guidance = Nothing,
           frontmatter = emptyFrontmatterRules,
           pathPattern = rule ^. #pathPattern,
           resourceScheme = rule ^. #resourceScheme,
@@ -2142,7 +2440,8 @@
 -- | Load and decode a Dhall profile descriptor from a file path. Any evaluation
 -- or decoding failure is captured as a human-readable 'Left'.
 --
--- The pre-nested-reference shape, pre-bundle-version shape, pre-path shape, pre-actor shape, pre-object
+-- The pre-guidance shape, pre-nested-reference shape, pre-bundle-version shape,
+-- pre-path shape, pre-actor shape, pre-object
 -- shape, reference-aware shape,
 -- condition-aware shape, bounded-nested shape, EP-4
 -- format shape, EP-3 cardinality shape, EP-2 vocabulary shape, type-aware EP-1
@@ -2164,7 +2463,8 @@
     -- picks that generation's decoder. Adding a generation is one line here.
     frozenDecoders :: [IO (Maybe ProfileSpec)]
     frozenDecoders =
-      [ attempt upgradePreNestedReferenceProfile,
+      [ attempt upgradePreGuidanceProfile,
+        attempt upgradePreNestedReferenceProfile,
         attempt upgradePreBundleVersionProfile,
         attempt upgradePrePathProfile,
         attempt upgradePreActorProfile,
@@ -2198,7 +2498,8 @@
         `catch` \(exception :: SomeException) -> pure (Left (Text.pack (show exception)))
 
 -- | Does an already-evaluated Dhall expression decode as a profile? Tries the
--- current schema, then the pre-nested-reference, pre-bundle-version, pre-path, pre-actor, pre-object,
+-- current schema, then the pre-guidance, pre-nested-reference,
+-- pre-bundle-version, pre-path, pre-actor, pre-object,
 -- reference-aware,
 -- condition-aware, bounded-nested, EP-4, EP-3, EP-2, EP-1, self-documenting, and
 -- okf 0.2.x schemas, so the published @okf-profiles@ package still enumerates.
@@ -2207,20 +2508,39 @@
 decodeProfileExpr :: Expr Src Void -> Maybe ProfileSpec
 decodeProfileExpr expression =
   Dhall.rawInput Dhall.auto expression
-    <|> fmap upgradePreNestedReferenceProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradePreBundleVersionProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradePrePathProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradePreActorProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradePreObjectProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradeReferenceProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradeConditionalProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradeNestedProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradeFormatProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradeCardinalityProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradeVocabularyProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradeTypeAwareProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradeDescribedProfile (Dhall.rawInput Dhall.auto expression)
-    <|> fmap upgradeLegacyProfile (Dhall.rawInput Dhall.auto expression)
+    <|> fmap upgradePreGuidanceProfile (Dhall.rawInput Dhall.auto expression)
+    <|> decodeProfilesBeforeGuidance expression
+
+-- | The generic Dhall record extractor deliberately ignores extra record
+-- members. Without this guard, a value from the 0.8.0.0 generation can fall
+-- through to an older decoder and silently lose nested-reference or uniqueness
+-- declarations. Every non-empty 0.8.0.0 field-rule value carries at least one
+-- of these post-0.7 record members, even when its value is @None@.
+decodeProfilesBeforeGuidance :: Expr Src Void -> Maybe ProfileSpec
+decodeProfilesBeforeGuidance expression
+  | containsPost07DescriptorField expression = Nothing
+  | otherwise =
+      fmap upgradePreNestedReferenceProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradePreBundleVersionProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradePrePathProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradePreActorProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradePreObjectProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradeReferenceProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradeConditionalProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradeNestedProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradeFormatProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradeCardinalityProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradeVocabularyProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradeTypeAwareProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradeDescribedProfile (Dhall.rawInput Dhall.auto expression)
+        <|> fmap upgradeLegacyProfile (Dhall.rawInput Dhall.auto expression)
+
+containsPost07DescriptorField :: Expr Src Void -> Bool
+containsPost07DescriptorField =
+  anyOf (cosmosOf Dhall.Core.subExpressions) $ \case
+    Dhall.Core.RecordLit fields ->
+      any (`Dhall.Map.member` fields) ["uniqueBy", "allowLocal", "externalUriPattern"]
+    _ -> False
 
 -- | The description a profile attaches to a frontmatter key, looking in
 -- @required@ first, then @recommended@, then @optional@. 'Nothing' when the key
diff --git a/src/Okf/Profile/Documentation.hs b/src/Okf/Profile/Documentation.hs
--- a/src/Okf/Profile/Documentation.hs
+++ b/src/Okf/Profile/Documentation.hs
@@ -42,6 +42,10 @@
 --   @resource@ and no @tags@.
 -- * @title@ on a type concept is the profile's @type@ string verbatim, not the
 --   slug: the title is what a reader must write in their own frontmatter.
+-- * Non-blank profile guidance is rendered in a root @Guidance@ section. Type
+--   pages render effective guidance in profile-wide then type-specific order,
+--   with both scopes labeled. Guidance is body Markdown only and never becomes
+--   generated frontmatter.
 -- * Every cross-link is bundle-absolute and produced by
 --   'Okf.ConceptId.renderConceptLink', so 'Okf.Graph.buildGraph' resolves it and
 --   'Okf.Validation.validateBundle' finds no dangling reference.
@@ -64,6 +68,7 @@
 
 import Data.Char qualified as Char
 import Data.Map.Strict qualified as Map
+import Data.Maybe (catMaybes)
 import Data.Set (Set)
 import Data.Set qualified as Set
 import Data.Text qualified as Text
@@ -245,6 +250,7 @@
     spec = compiledProfileSpec compiled
     profileName = spec ^. #name
     declaredDescription = nonBlank (spec ^. #description)
+    declaredGuidance = nonBlank (spec ^. #guidance)
     frontmatter =
       withGenerated options $
         okfCommon
@@ -261,6 +267,7 @@
           -- fallback exists to keep the frontmatter strict-clean; repeating it
           -- here would tell the reader nothing they cannot see in the heading.
           <> maybe [] (\prose -> [prose, ""]) declaredDescription
+          <> maybe [] (\prose -> ["## Guidance", "", prose, ""]) declaredGuidance
           <> [ "## Settings",
                "",
                "- OKF version: " <> code (spec ^. #okfVersion),
@@ -342,6 +349,8 @@
               commonTimestamp = options ^. #timestamp
             }
     rules = compiledProfileRulesForType compiled typeName
+    profileGuidance = nonBlank (spec ^. #guidance)
+    typeGuidance = typeRule >>= (nonBlank . (^. #guidance))
     body =
       unlinesText $
         ["# " <> typeName, ""]
@@ -349,8 +358,10 @@
           -- in the body; the synthesized fallback is frontmatter-only.
           <> maybe [] (\prose -> [prose, ""]) (typeRule >>= (nonBlank . (^. #description)))
           <> [ "Declared by the " <> renderConceptLink rootId profileName <> " profile.",
-               "",
-               "## Type settings",
+               ""
+             ]
+          <> guidanceLines
+          <> [ "## Type settings",
                "",
                "- Path pattern: " <> maybe "none" code (typeRule >>= (^. #pathPattern)),
                "- Resource URI scheme: " <> maybe "none" code (typeRule >>= (^. #resourceScheme)),
@@ -369,6 +380,13 @@
           <> group "Required" (Map.toAscList (Map.filter ((== PresenceRequired) . presenceClassOf) rules))
           <> group "Recommended" (Map.toAscList (Map.filter ((== PresenceRecommended) . presenceClassOf) rules))
           <> group "Optional" (Map.toAscList (Map.filter ((== PresenceOptional) . presenceClassOf) rules))
+
+    guidanceLines =
+      case catMaybes [("Profile-wide",) <$> profileGuidance, ("Type-specific",) <$> typeGuidance] of
+        [] -> []
+        sections ->
+          ["## Guidance", ""]
+            <> concatMap (\(heading, prose) -> ["### " <> heading, "", prose, ""]) sections
 
     group heading [] = ["### " <> heading, "", "(none)", ""]
     group heading members =
diff --git a/src/Okf/Profile/Registry.hs b/src/Okf/Profile/Registry.hs
--- a/src/Okf/Profile/Registry.hs
+++ b/src/Okf/Profile/Registry.hs
@@ -189,8 +189,8 @@
 -- newer tag means changing the URL and the hash together.
 defaultRegistryReference :: Text
 defaultRegistryReference =
-  "https://raw.githubusercontent.com/shinzui/okf-profiles/v0.10.0/package.dhall\
-  \ sha256:c6882a5cb6ece28027f5f9d219d323cff64f131b97ecbf536ed54d77263f5edf"
+  "https://raw.githubusercontent.com/shinzui/okf-profiles/v0.14.0/package.dhall\
+  \ sha256:87d2e4076b2491ee608ac1c7a28b24156ba2634f2b09de49ad4ba79f039acf50"
 
 -- | How an entry with an empty export path is displayed.
 rootExportLabel :: Text
diff --git a/test/Main.hs b/test/Main.hs
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -3,11 +3,13 @@
 module Main (main) where
 
 import Data.Aeson (object, toJSON, (.=))
+import Data.Aeson qualified as Aeson
+import Data.Aeson.KeyMap qualified as KeyMap
 import Data.Foldable (for_, toList)
 import Data.List qualified as List
 import Data.Map.Strict (Map)
 import Data.Map.Strict qualified as Map
-import Data.Maybe (catMaybes)
+import Data.Maybe (catMaybes, maybeToList)
 import Data.Set qualified as Set
 import Data.Text qualified as Text
 import Data.Text.IO qualified as Text.IO
@@ -162,6 +164,9 @@
         testIO "loadProfileFile preserves the frozen condition-aware schema" testLoadConditionalCompatibilityFixture,
         testIO "loadProfileFile preserves the frozen reference-aware schema" testLoadReferenceCompatibilityFixture,
         testIO "loadProfileFile preserves the complete 0.7.0.0 descriptor schema" testLoadPreNestedReferenceCompatibilityFixture,
+        testIO "loadProfileFile and registry decoding preserve the complete 0.8.0.0 descriptor schema" testLoadPreGuidanceCompatibilityFixture,
+        testIO "loadProfileFile and JSON preserve multiline guidance" testLoadGuidanceFixture,
+        testIO "guidance does not affect profile validation" testGuidanceDoesNotAffectValidation,
         testIO "every frozen generation fixture compiles, not merely decodes" testFrozenFixturesCompile,
         testIO "loadProfileFile preserves the frozen pre-bundle-version schema" testLoadPreBundleVersionCompatibilityFixture,
         testIO "loadProfileFile preserves the frozen pre-path schema" testLoadPrePathCompatibilityFixture,
@@ -214,6 +219,7 @@
         test "profile documentation renders a required bundle version" testProfileDocumentationRequiredBundleVersion,
         testIO "profile documentation renders one concept per declared type" testProfileDocumentationTypeConcept,
         testIO "profile documentation renders inherited rules for a bare type" testProfileDocumentationInheritedRules,
+        testIO "profile documentation renders effective guidance without frontmatter leakage" testProfileDocumentationGuidance,
         testIO "generated profile documentation round-trips through serialize and parse" testProfileDocumentationRoundTrip,
         testIO "generated profile documentation validates permissively and strictly" testProfileDocumentationValidates,
         testIO "generated profile documentation carries the default generated actor" testProfileDocumentationDefaultGenerated,
@@ -2738,6 +2744,7 @@
     "path-references-mp8-ep3.dhall",
     "pre-bundle-version.dhall",
     "pre-nested-references-and-uniqueness-0.7.0.0.dhall",
+    "pre-guidance-0.8.0.0.dhall",
     -- Not a frozen generation but a *documented* one: this is the descriptor
     -- @docs\/user\/profiles.md@ shows for the specification §10 contract as a
     -- house convention. It is listed here so the documented descriptor cannot
@@ -2745,6 +2752,122 @@
     "attested-computation-house.dhall"
   ]
 
+-- | The complete okf-core 0.8.0.0 descriptor generation predates guidance.
+-- Both explicit file loading and registry enumeration must reach the same newest
+-- frozen decoder, preserve every old value, attach absent guidance at both
+-- scopes, and leave the upgraded profile compilable.
+testLoadPreGuidanceCompatibilityFixture :: IO (Either Text ())
+testLoadPreGuidanceCompatibilityFixture = do
+  path <- fixtureFilePath "profiles/pre-guidance-0.8.0.0.dhall"
+  loaded <- loadProfileFile path
+  registered <- loadRegistry (RegistryFile path)
+  pure $ do
+    spec <- first ("failed to load frozen pre-guidance profile: " <>) loaded
+    assertEqual "pre-guidance-0.8.0.0" (spec ^. #name)
+    assertEqual (Just "The complete public 0.8.0.0 descriptor shape.") (spec ^. #description)
+    assertEqual Nothing (spec ^. #guidance)
+    assertEqual "0.2" (spec ^. #okfVersion)
+    assertEqual False (spec ^. #allowUnknownTypes)
+    assertEqual True (spec ^. #allowUnknownFields)
+    assertEqual (Just "docId") (spec ^. #idField)
+    assertEqual (Just "0.2") (spec ^. #requireBundleVersion)
+    assertEqual ["type", "dependencies", "generated"] (map (^. #field) (spec ^. #frontmatter . #required))
+    assertEqual [Just Profile.NonNegativeInteger] (map (^. #format) (spec ^. #frontmatter . #recommended))
+    assertEqual [Just "METRIC"] (map (^. #idPrefix) (spec ^. #types))
+    assertEqual [Nothing] (map (^. #guidance) (spec ^. #types))
+    case spec ^. #frontmatter . #required of
+      [_typeRule, dependenciesRule, generatedRule] -> do
+        assertEqual (Just "id") (dependenciesRule ^. #uniqueBy)
+        case dependenciesRule ^. #elementFields of
+          Just NestedRules {optional = [refRule]} ->
+            assertEqual
+              (Just (HandleReferenceRule "METRIC" ["mori"] False False (Just "mori://shinzui/.+")))
+              (refRule ^. #reference)
+          _ -> Left "expected the frozen nested reference rule to survive"
+        case generatedRule ^. #objectFields of
+          Just NestedRules {required = [_byRule, atRule]} ->
+            assertEqual (Just Rfc3339Utc) (atRule ^. #format)
+          _ -> Left "expected the frozen object rules to survive"
+      _ -> Left "expected three frozen required rules"
+    _ <- first (Text.pack . show . toList) (compileProfile spec)
+    entries <- first ("failed to enumerate frozen pre-guidance profile: " <>) registered
+    assertEqual [""] (map (^. #export) entries)
+    assertEqual ["pre-guidance-0.8.0.0"] (map (^. #spec . #name) entries)
+    assertEqual [Nothing] (map (^. #spec . #guidance) entries)
+    registrySpec <- case entries of
+      [entry] -> Right (entry ^. #spec)
+      _ -> Left "expected exactly one frozen pre-guidance registry entry"
+    assertEqual
+      [Just "id"]
+      [ rule ^. #uniqueBy
+      | rule <- registrySpec ^. #frontmatter . #required,
+        rule ^. #field == "dependencies"
+      ]
+    case [ nestedRule ^. #reference
+         | rule <- registrySpec ^. #frontmatter . #required,
+           rule ^. #field == "dependencies",
+           rules <- maybeToList (rule ^. #elementFields),
+           nestedRule <- rules ^. #optional
+         ] of
+      [Just policy] -> assertEqual False (policy ^. #allowLocal)
+      _ -> Left "expected registry decoding to preserve the nested reference policy"
+
+-- | Guidance is free-form authoring prose, so decoding and JSON must preserve
+-- line breaks rather than folding it into a single display line. The Dhall
+-- multiline syntax contributes a final newline; that byte is part of the value
+-- and therefore part of this compatibility contract too.
+testLoadGuidanceFixture :: IO (Either Text ())
+testLoadGuidanceFixture = do
+  path <- fixtureFilePath "profiles/guidance.dhall"
+  loaded <- loadProfileFile path
+  pure $ do
+    spec <- first ("failed to load guidance profile: " <>) loaded
+    let expectedProfileGuidance =
+          "Record the setup, cleanup, and evidence for every run.\n\nKeep supporting checks in source control and make the observed result reproducible.\n"
+        expectedTypeGuidance =
+          [ "Add a source-controlled Hurl file that exercises the successful response and important failure responses.\n\nRun the Hurl file and retain the useful output as evidence.\n",
+            "Exercise the public behavior, then inspect the generated domain-event stream.\n\nVerify event types, payloads, ordering, and stream identity, then verify the externally observable result.\n"
+          ]
+    assertEqual (Just expectedProfileGuidance) (spec ^. #guidance)
+    assertEqual (map Just expectedTypeGuidance) (map (^. #guidance) (spec ^. #types))
+    assertJsonGuidance expectedProfileGuidance (toJSON spec)
+    for_ (zip expectedTypeGuidance (spec ^. #types)) $ \(expected, rule) ->
+      assertJsonGuidance expected (toJSON rule)
+  where
+    assertJsonGuidance expected = \case
+      Aeson.Object fields ->
+        assertEqual (Just (Aeson.String expected)) (KeyMap.lookup "guidance" fields)
+      _ -> Left "expected profile JSON to be an object"
+
+-- | Guidance is deliberately outside compilation and validation. Removing all
+-- guidance from a descriptor must not change either permissive or strict
+-- diagnostics for the same concepts.
+testGuidanceDoesNotAffectValidation :: IO (Either Text ())
+testGuidanceDoesNotAffectValidation = do
+  path <- fixtureFilePath "profiles/guidance.dhall"
+  loaded <- loadProfileFile path
+  let conceptResult = profileConcept "guidance-inert" [] "# Guidance inertness\n"
+  pure $ do
+    spec <- first ("failed to load guidance profile: " <>) loaded
+    concept <- conceptResult
+    guided <- firstShow (compileProfile spec)
+    let unguidedSpec =
+          spec
+            & #guidance
+            .~ Nothing
+            & #types
+            %~ map clearTypeGuidance
+    unguided <- firstShow (compileProfile unguidedSpec)
+    assertEqual
+      (validateProfile PermissiveConformance unguided [concept])
+      (validateProfile PermissiveConformance guided [concept])
+    assertEqual
+      (validateProfile StrictAuthoring unguided [concept])
+      (validateProfile StrictAuthoring guided [concept])
+  where
+    clearTypeGuidance :: TypeRule -> TypeRule
+    clearTypeGuidance rule = rule & #guidance .~ Nothing
+
 testLoadPreNestedReferenceCompatibilityFixture :: IO (Either Text ())
 testLoadPreNestedReferenceCompatibilityFixture = do
   path <- fixtureFilePath "profiles/pre-nested-references-and-uniqueness-0.7.0.0.dhall"
@@ -2930,10 +3053,12 @@
     Right spec -> do
       assertEqual "legacy" (spec ^. #name)
       assertEqual Nothing (spec ^. #description)
+      assertEqual Nothing (spec ^. #guidance)
       assertEqual ["type", "title"] (map (^. #field) (spec ^. #frontmatter . #required))
       assertEqual [Nothing, Nothing] (map (^. #description) (spec ^. #frontmatter . #required))
       assertEqual ["Legacy Concept"] (map (^. #type_) (spec ^. #types))
       assertEqual [Nothing] (map (^. #description) (spec ^. #types))
+      assertEqual [Nothing] (map (^. #guidance) (spec ^. #types))
       assertEqual True (spec ^. #allowUnknownFields)
       assertEqual [[], []] (map (^. #allowedValues) (spec ^. #frontmatter . #required))
       assertEqual [Any, Any] (map (^. #cardinality) (spec ^. #frontmatter . #required))
@@ -2982,6 +3107,7 @@
         ( object
             [ "name" .= ("decisions" :: Text),
               "description" .= ("How this team records architectural decisions." :: Text),
+              "guidance" .= (Nothing :: Maybe Text),
               "okfVersion" .= ("0.1" :: Text),
               -- Encoded even when absent, so a consumer reads one shape rather
               -- than having to distinguish a missing key from a null one.
@@ -3058,6 +3184,7 @@
                        [ "type" .= ("Decision Record" :: Text),
                          "description"
                            .= ("One accepted decision, never edited after acceptance." :: Text),
+                         "guidance" .= (Nothing :: Maybe Text),
                          "frontmatter"
                            .= object
                              [ "required" .= ([] :: [FieldRule]),
@@ -3142,13 +3269,16 @@
     Left err -> Left ("failed to load pinned catalogue snapshot: " <> err)
     Right entries -> do
       assertEqual
-        [ "coordination.bugReports",
+        [ "assurance.failureModes",
+          "assurance.reviews",
+          "coordination.bugReports",
           "coordination.capabilities",
           "coordination.improvementRequests",
           "coordination.useCases",
           "documentation.architectureDecisions",
           "documentation.patternCatalog",
           "documentation.researchDocuments",
+          "documentation.userDocumentation",
           "okfV02",
           "postgresql",
           "tanPostgresql"
@@ -3575,6 +3705,7 @@
   ProfileSpec
     { name = "test-postgresql",
       description = Nothing,
+      guidance = Nothing,
       okfVersion = "0.1",
       frontmatter =
         FrontmatterRules
@@ -3590,6 +3721,7 @@
         [ TypeRule
             { type_ = "PostgreSQL Table",
               description = Nothing,
+              guidance = Nothing,
               frontmatter = emptyTestFrontmatterRules,
               pathPattern = Just "schemas/*/tables/*",
               resourceScheme = Just "postgresql",
@@ -3605,6 +3737,7 @@
   ProfileSpec
     { name = "test-decisions",
       description = Nothing,
+      guidance = Nothing,
       okfVersion = "0.1",
       frontmatter =
         FrontmatterRules
@@ -3620,6 +3753,7 @@
         [ TypeRule
             { type_ = "Decision Record",
               description = Nothing,
+              guidance = Nothing,
               frontmatter = emptyTestFrontmatterRules,
               pathPattern = Just "decisions/*",
               resourceScheme = Nothing,
@@ -3638,6 +3772,7 @@
   ProfileSpec
     { name = "type-aware",
       description = Nothing,
+      guidance = Nothing,
       okfVersion = "0.1",
       frontmatter =
         FrontmatterRules
@@ -3653,6 +3788,7 @@
         [ TypeRule
             { type_ = "Owned Concept",
               description = Nothing,
+              guidance = Nothing,
               frontmatter =
                 FrontmatterRules
                   { required = [fieldRule "owner" (Just "Responsible person.") [] Any Nothing Nothing Nothing Nothing],
@@ -4243,6 +4379,7 @@
   ProfileSpec
     { name = "nested-merge",
       description = Nothing,
+      guidance = Nothing,
       okfVersion = "0.1",
       frontmatter =
         FrontmatterRules
@@ -4261,6 +4398,7 @@
         [ TypeRule
             { type_ = "Reviewed Concept",
               description = Nothing,
+              guidance = Nothing,
               frontmatter =
                 FrontmatterRules
                   { required = maybe [] (\rules -> [fieldRule "reviews" Nothing [] Any Nothing (Just rules) Nothing Nothing]) typeNested,
@@ -4308,6 +4446,7 @@
   ProfileSpec
     { name = "object-rules",
       description = Nothing,
+      guidance = Nothing,
       okfVersion = "0.1",
       frontmatter =
         FrontmatterRules
@@ -4405,6 +4544,7 @@
   ProfileSpec
     { name = "path-rules",
       description = Nothing,
+      guidance = Nothing,
       okfVersion = "0.1",
       frontmatter =
         FrontmatterRules
@@ -4430,6 +4570,7 @@
         [ TypeRule
             { type_ = "Metric",
               description = Nothing,
+              guidance = Nothing,
               frontmatter =
                 FrontmatterRules
                   { required = [],
@@ -4454,6 +4595,7 @@
   ProfileSpec
     { name = "sources-paths",
       description = Nothing,
+      guidance = Nothing,
       okfVersion = "0.1",
       frontmatter =
         FrontmatterRules
@@ -4790,6 +4932,7 @@
   ProfileSpec
     { name = "versioned",
       description = Nothing,
+      guidance = Nothing,
       okfVersion = declaredVersion,
       frontmatter =
         FrontmatterRules
@@ -5909,6 +6052,7 @@
   TypeRule
     { type_,
       description,
+      guidance,
       pathPattern,
       resourceScheme,
       requireSchemaSection,
@@ -5918,6 +6062,7 @@
     TypeRule
       { type_,
         description,
+        guidance,
         frontmatter = replacement,
         pathPattern,
         resourceScheme,
@@ -5931,6 +6076,7 @@
   replacement
   TypeRule
     { description,
+      guidance,
       frontmatter,
       pathPattern,
       resourceScheme,
@@ -5941,6 +6087,7 @@
     TypeRule
       { type_ = replacement,
         description,
+        guidance,
         frontmatter,
         pathPattern,
         resourceScheme,
@@ -6339,6 +6486,7 @@
   TypeRule
     { type_ = typeName,
       description = Nothing,
+      guidance = Nothing,
       frontmatter = FrontmatterRules {required = [], recommended = [], optional = []},
       pathPattern = Nothing,
       resourceScheme = Nothing,
@@ -6355,6 +6503,7 @@
   ProfileSpec
     { name = "duplicate-slugs",
       description = Nothing,
+      guidance = Nothing,
       okfVersion = "0.1",
       frontmatter =
         FrontmatterRules
@@ -6531,6 +6680,112 @@
         assertHasLine "### Recommended" openBody
         assertHasLine "(none)" openBody
     )
+
+-- | Root documentation carries profile guidance once, while type pages expose
+-- the effective authoring procedure in profile-wide then type-specific order.
+-- Blank values behave like absence, and guidance stays in Markdown body text
+-- rather than leaking into generated frontmatter.
+testProfileDocumentationGuidance :: IO (Either Text ())
+testProfileDocumentationGuidance = do
+  descriptorPath <- fixtureFilePath "profiles/guidance.dhall"
+  loaded <- loadProfileFile descriptorPath
+  pure $ do
+    spec <- first ("failed to load guidance profile: " <>) loaded
+    combined <- render spec
+    combinedRoot <- conceptAt 0 combined
+    combinedApi <- conceptAt 1 combined
+    combinedFeature <- conceptAt 2 combined
+    assertContains
+      "root guidance follows description and precedes settings"
+      ( "Authoring conventions for executable QA runbooks.\n\n"
+          <> "## Guidance\n\n"
+          <> profileProse
+          <> "\n\n## Settings"
+      )
+      (conceptBody combinedRoot)
+    assertContains
+      "API guidance renders profile-wide before type-specific prose"
+      ( "## Guidance\n\n"
+          <> "### Profile-wide\n\n"
+          <> profileProse
+          <> "\n\n### Type-specific\n\n"
+          <> apiProse
+          <> "\n\n## Type settings"
+      )
+      (conceptBody combinedApi)
+    assertContains
+      "Feature guidance renders profile-wide before the event-stream procedure"
+      ( "## Guidance\n\n"
+          <> "### Profile-wide\n\n"
+          <> profileProse
+          <> "\n\n### Type-specific\n\n"
+          <> featureProse
+          <> "\n\n## Type settings"
+      )
+      (conceptBody combinedFeature)
+    for_ combined $ \concept ->
+      assertEqual
+        Nothing
+        (frontmatterLookup "guidance" (conceptDocument concept ^. #frontmatter))
+
+    profileOnly <- render (spec & #types %~ map clearGuidance)
+    profileOnlyApi <- conceptAt 1 profileOnly
+    assertContains
+      "profile-only type page labels its one effective scope"
+      ("## Guidance\n\n### Profile-wide\n\n" <> profileProse <> "\n\n## Type settings")
+      (conceptBody profileOnlyApi)
+    assertOmits "profile-only type page omits the absent type scope" "### Type-specific" (conceptBody profileOnlyApi)
+
+    typeOnly <- render (spec & #guidance .~ Nothing)
+    typeOnlyRoot <- conceptAt 0 typeOnly
+    typeOnlyApi <- conceptAt 1 typeOnly
+    assertOmits "type-only profile page omits guidance" "## Guidance" (conceptBody typeOnlyRoot)
+    assertContains
+      "type-only type page labels its one effective scope"
+      ("## Guidance\n\n### Type-specific\n\n" <> apiProse <> "\n\n## Type settings")
+      (conceptBody typeOnlyApi)
+    assertOmits "type-only type page omits the absent profile scope" "### Profile-wide" (conceptBody typeOnlyApi)
+
+    blank <-
+      render
+        ( spec
+            & #guidance
+            .~ Just " \n\t\n"
+            & #types
+            %~ map (setGuidance (Just "\n  \n"))
+        )
+    for_ blank $ \concept ->
+      assertOmits "blank guidance omits the section" "## Guidance" (conceptBody concept)
+
+    absent <-
+      render
+        ( spec
+            & #guidance
+            .~ Nothing
+            & #types
+            %~ map clearGuidance
+        )
+    for_ absent $ \concept ->
+      assertOmits "absent guidance omits the section" "## Guidance" (conceptBody concept)
+  where
+    profileProse =
+      "Record the setup, cleanup, and evidence for every run.\n\nKeep supporting checks in source control and make the observed result reproducible."
+    apiProse =
+      "Add a source-controlled Hurl file that exercises the successful response and important failure responses.\n\nRun the Hurl file and retain the useful output as evidence."
+    featureProse =
+      "Exercise the public behavior, then inspect the generated domain-event stream.\n\nVerify event types, payloads, ordering, and stream identity, then verify the externally observable result."
+    clearGuidance :: TypeRule -> TypeRule
+    clearGuidance rule = rule & #guidance .~ Nothing
+    setGuidance :: Maybe Text -> TypeRule -> TypeRule
+    setGuidance value rule = rule & #guidance .~ value
+    render spec = do
+      compiled <- firstShow (compileProfile spec)
+      firstShow (renderProfileDocumentation defaultDocumentationOptions compiled)
+    conceptBody concept = conceptDocument concept ^. #body
+    assertContains label needle haystack =
+      assertBool label (needle `Text.isInfixOf` haystack)
+    assertOmits label needle haystack =
+      assertBool label (not (needle `Text.isInfixOf` haystack))
 
 testProfileDocumentationRoundTrip :: IO (Either Text ())
 testProfileDocumentationRoundTrip =
diff --git a/test/fixtures/catalogue/Profile/ModelReview.dhall b/test/fixtures/catalogue/Profile/ModelReview.dhall
new file mode 100644
--- /dev/null
+++ b/test/fixtures/catalogue/Profile/ModelReview.dhall
@@ -0,0 +1,41 @@
+--| The model-review metadata vocabulary, written once for the whole catalog.
+--
+-- Two places in this repository record how a model produced a review, and they
+-- must not drift apart:
+--
+--   * `./ReviewRule.dhall` — the house `reviews` frontmatter family, where an
+--     entry describes a review *of the document carrying it*.
+--   * `../profiles/assurance/reviews.dhall` — the `assurance.reviews` profile,
+--     where the whole concept *is* one review.
+--
+-- The two cannot share a rule: a member of a list element is a
+-- `NestedFieldRule` and a top-level key is a `FieldRule`, and those record types
+-- are deliberately different. What they can share is the part a reader querying
+-- across both depends on — the vocabulary and the wording — so it lives here, on
+-- the same reasoning ADR-5 gives for the v0.2 field families.
+--
+--
+-- ## The `effort` vocabulary
+--
+-- Five graded values and one escape hatch, ordered from least to most:
+--
+--     low < medium < high < xhigh < max
+--
+-- These are the settings a harness exposes, not a measurement. `effort` records
+-- what the review was *asked* for, because that is the only value a producer can
+-- state without inventing one. Two providers' `high` are not comparable, which
+-- is why `provider` and `model` are recorded beside it, and why none of the
+-- three carries its meaning alone.
+--
+-- `unspecified` covers the two cases where no grade exists to record: a provider
+-- that exposes no effort setting, and a model that does no extended thinking at
+-- all. A review run at a grade this list does not name is a reason to widen the
+-- list, not to write `unspecified`.
+--
+-- Widening is additive and safe: an existing corpus stays valid, and every
+-- profile splicing `./ReviewRule.dhall` picks the new value up when it repins.
+{ efforts = [ "low", "medium", "high", "xhigh", "max", "unspecified" ]
+, providerDescription = "Serving provider for a model review."
+, modelDescription = "Most specific available model identifier."
+, effortDescription = "Reasoning or thinking effort the review was run at."
+}
diff --git a/test/fixtures/catalogue/Profile/ReviewRule.dhall b/test/fixtures/catalogue/Profile/ReviewRule.dhall
--- a/test/fixtures/catalogue/Profile/ReviewRule.dhall
+++ b/test/fixtures/catalogue/Profile/ReviewRule.dhall
@@ -1,8 +1,16 @@
 --| Shared rule for optional review provenance used by coordination and research
 -- profiles. When `reviews` is present, every element has a bounded record shape;
 -- model reviews additionally require provider, model, and effort metadata.
+--
+-- This describes a review *of the document that carries it*. Where a review is
+-- the artifact rather than an annotation on one — a record of what was examined,
+-- at which commit, by which model, and what came of it — the profile to use is
+-- `assurance.reviews`, and the two share their model vocabulary through
+-- `./ModelReview.dhall` so the grades cannot drift apart.
 let okf = ./okf.dhall
 
+let modelReview = ./ModelReview.dhall
+
 let FieldRule = okf.defaults.FieldRule
 
 let NestedFieldRule = okf.defaults.NestedFieldRule
@@ -74,20 +82,20 @@
           }
         , NestedFieldRule::{
           , field = "provider"
-          , description = Some "Serving provider for a model review."
+          , description = Some modelReview.providerDescription
           , cardinality = Cardinality.Scalar
           , when = modelOnly
           }
         , NestedFieldRule::{
           , field = "model"
-          , description = Some "Most specific available model identifier."
+          , description = Some modelReview.modelDescription
           , cardinality = Cardinality.Scalar
           , when = modelOnly
           }
         , NestedFieldRule::{
           , field = "effort"
-          , description = Some "Provider-reported reasoning or thinking effort."
-          , allowedValues = [ "low", "medium", "high", "xhigh", "unspecified" ]
+          , description = Some modelReview.effortDescription
+          , allowedValues = modelReview.efforts
           , cardinality = Cardinality.Scalar
           , when = modelOnly
           }
diff --git a/test/fixtures/catalogue/Profile/okf.dhall b/test/fixtures/catalogue/Profile/okf.dhall
--- a/test/fixtures/catalogue/Profile/okf.dhall
+++ b/test/fixtures/catalogue/Profile/okf.dhall
@@ -40,12592 +40,16006 @@
                 , path :
                     Optional
                       { allowSelf : Bool, externalUriSchemes : List Text }
-                , when : Optional { field : Text, hasValue : List Text }
-                }
-          , recommended :
-              List
-                { allowedValues : List Text
-                , cardinality : < Any | List | Scalar >
-                , description : Optional Text
-                , field : Text
-                , format :
-                    Optional
-                      < Actor
-                      | Boolean
-                      | Date
-                      | DocumentHandle : Text
-                      | HumanActor
-                      | Integer
-                      | NonNegativeInteger
-                      | Rfc3339Utc
-                      | Uri
-                      | UriWithScheme : Text
-                      >
-                , path :
-                    Optional
-                      { allowSelf : Bool, externalUriSchemes : List Text }
-                , when : Optional { field : Text, hasValue : List Text }
-                }
-          , required :
-              List
-                { allowedValues : List Text
-                , cardinality : < Any | List | Scalar >
-                , description : Optional Text
-                , field : Text
-                , format :
-                    Optional
-                      < Actor
-                      | Boolean
-                      | Date
-                      | DocumentHandle : Text
-                      | HumanActor
-                      | Integer
-                      | NonNegativeInteger
-                      | Rfc3339Utc
-                      | Uri
-                      | UriWithScheme : Text
-                      >
-                , path :
-                    Optional
-                      { allowSelf : Bool, externalUriSchemes : List Text }
-                , when : Optional { field : Text, hasValue : List Text }
-                }
-          }
-    , field : Text
-    , format :
-        Optional
-          < Actor
-          | Boolean
-          | Date
-          | DocumentHandle : Text
-          | HumanActor
-          | Integer
-          | NonNegativeInteger
-          | Rfc3339Utc
-          | Uri
-          | UriWithScheme : Text
-          >
-    , objectFields :
-        Optional
-          { optional :
-              List
-                { allowedValues : List Text
-                , cardinality : < Any | List | Scalar >
-                , description : Optional Text
-                , field : Text
-                , format :
-                    Optional
-                      < Actor
-                      | Boolean
-                      | Date
-                      | DocumentHandle : Text
-                      | HumanActor
-                      | Integer
-                      | NonNegativeInteger
-                      | Rfc3339Utc
-                      | Uri
-                      | UriWithScheme : Text
-                      >
-                , path :
-                    Optional
-                      { allowSelf : Bool, externalUriSchemes : List Text }
-                , when : Optional { field : Text, hasValue : List Text }
-                }
-          , recommended :
-              List
-                { allowedValues : List Text
-                , cardinality : < Any | List | Scalar >
-                , description : Optional Text
-                , field : Text
-                , format :
-                    Optional
-                      < Actor
-                      | Boolean
-                      | Date
-                      | DocumentHandle : Text
-                      | HumanActor
-                      | Integer
-                      | NonNegativeInteger
-                      | Rfc3339Utc
-                      | Uri
-                      | UriWithScheme : Text
-                      >
-                , path :
-                    Optional
-                      { allowSelf : Bool, externalUriSchemes : List Text }
-                , when : Optional { field : Text, hasValue : List Text }
-                }
-          , required :
-              List
-                { allowedValues : List Text
-                , cardinality : < Any | List | Scalar >
-                , description : Optional Text
-                , field : Text
-                , format :
-                    Optional
-                      < Actor
-                      | Boolean
-                      | Date
-                      | DocumentHandle : Text
-                      | HumanActor
-                      | Integer
-                      | NonNegativeInteger
-                      | Rfc3339Utc
-                      | Uri
-                      | UriWithScheme : Text
-                      >
-                , path :
-                    Optional
-                      { allowSelf : Bool, externalUriSchemes : List Text }
-                , when : Optional { field : Text, hasValue : List Text }
-                }
-          }
-    , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
-    , reference :
-        Optional
-          { allowSelf : Bool
-          , externalUriSchemes : List Text
-          , localPrefix : Text
-          }
-    , when : Optional { field : Text, hasValue : List Text }
-    }
-, FrontmatterRules =
-    { optional :
-        List
-          { allowedValues : List Text
-          , cardinality : < Any | List | Scalar >
-          , description : Optional Text
-          , elementFields :
-              Optional
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field : Text
-          , format :
-              Optional
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields :
-              Optional
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference :
-              Optional
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when : Optional { field : Text, hasValue : List Text }
-          }
-    , recommended :
-        List
-          { allowedValues : List Text
-          , cardinality : < Any | List | Scalar >
-          , description : Optional Text
-          , elementFields :
-              Optional
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field : Text
-          , format :
-              Optional
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields :
-              Optional
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference :
-              Optional
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when : Optional { field : Text, hasValue : List Text }
-          }
-    , required :
-        List
-          { allowedValues : List Text
-          , cardinality : < Any | List | Scalar >
-          , description : Optional Text
-          , elementFields :
-              Optional
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field : Text
-          , format :
-              Optional
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields :
-              Optional
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference :
-              Optional
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when : Optional { field : Text, hasValue : List Text }
-          }
-    }
-, HandleReferenceRule =
-    { allowSelf : Bool, externalUriSchemes : List Text, localPrefix : Text }
-, NestedFieldRule =
-    { allowedValues : List Text
-    , cardinality : < Any | List | Scalar >
-    , description : Optional Text
-    , field : Text
-    , format :
-        Optional
-          < Actor
-          | Boolean
-          | Date
-          | DocumentHandle : Text
-          | HumanActor
-          | Integer
-          | NonNegativeInteger
-          | Rfc3339Utc
-          | Uri
-          | UriWithScheme : Text
-          >
-    , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
-    , when : Optional { field : Text, hasValue : List Text }
-    }
-, NestedRules =
-    { optional :
-        List
-          { allowedValues : List Text
-          , cardinality : < Any | List | Scalar >
-          , description : Optional Text
-          , field : Text
-          , format :
-              Optional
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
-          , when : Optional { field : Text, hasValue : List Text }
-          }
-    , recommended :
-        List
-          { allowedValues : List Text
-          , cardinality : < Any | List | Scalar >
-          , description : Optional Text
-          , field : Text
-          , format :
-              Optional
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
-          , when : Optional { field : Text, hasValue : List Text }
-          }
-    , required :
-        List
-          { allowedValues : List Text
-          , cardinality : < Any | List | Scalar >
-          , description : Optional Text
-          , field : Text
-          , format :
-              Optional
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
-          , when : Optional { field : Text, hasValue : List Text }
-          }
-    }
-, PathReferenceRule = { allowSelf : Bool, externalUriSchemes : List Text }
-, Profile =
-    { allowUnknownFields : Bool
-    , allowUnknownTypes : Bool
-    , description : Optional Text
-    , frontmatter :
-        { optional :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , elementFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , objectFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , reference :
-                  Optional
-                    { allowSelf : Bool
-                    , externalUriSchemes : List Text
-                    , localPrefix : Text
-                    }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        , recommended :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , elementFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , objectFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , reference :
-                  Optional
-                    { allowSelf : Bool
-                    , externalUriSchemes : List Text
-                    , localPrefix : Text
-                    }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        , required :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , elementFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , objectFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , reference :
-                  Optional
-                    { allowSelf : Bool
-                    , externalUriSchemes : List Text
-                    , localPrefix : Text
-                    }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        }
-    , idField : Optional Text
-    , name : Text
-    , okfVersion : Text
-    , requireBundleVersion : Optional Text
-    , types :
-        List
-          { description : Optional Text
-          , frontmatter :
-              { optional :
-                  List
-                    { allowedValues : List Text
-                    , cardinality : < Any | List | Scalar >
-                    , description : Optional Text
-                    , elementFields :
-                        Optional
-                          { optional :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , recommended :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , required :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          }
-                    , field : Text
-                    , format :
-                        Optional
-                          < Actor
-                          | Boolean
-                          | Date
-                          | DocumentHandle : Text
-                          | HumanActor
-                          | Integer
-                          | NonNegativeInteger
-                          | Rfc3339Utc
-                          | Uri
-                          | UriWithScheme : Text
-                          >
-                    , objectFields :
-                        Optional
-                          { optional :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , recommended :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , required :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          }
-                    , path :
-                        Optional
-                          { allowSelf : Bool, externalUriSchemes : List Text }
-                    , reference :
-                        Optional
-                          { allowSelf : Bool
-                          , externalUriSchemes : List Text
-                          , localPrefix : Text
-                          }
-                    , when : Optional { field : Text, hasValue : List Text }
-                    }
-              , recommended :
-                  List
-                    { allowedValues : List Text
-                    , cardinality : < Any | List | Scalar >
-                    , description : Optional Text
-                    , elementFields :
-                        Optional
-                          { optional :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , recommended :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , required :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          }
-                    , field : Text
-                    , format :
-                        Optional
-                          < Actor
-                          | Boolean
-                          | Date
-                          | DocumentHandle : Text
-                          | HumanActor
-                          | Integer
-                          | NonNegativeInteger
-                          | Rfc3339Utc
-                          | Uri
-                          | UriWithScheme : Text
-                          >
-                    , objectFields :
-                        Optional
-                          { optional :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , recommended :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , required :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          }
-                    , path :
-                        Optional
-                          { allowSelf : Bool, externalUriSchemes : List Text }
-                    , reference :
-                        Optional
-                          { allowSelf : Bool
-                          , externalUriSchemes : List Text
-                          , localPrefix : Text
-                          }
-                    , when : Optional { field : Text, hasValue : List Text }
-                    }
-              , required :
-                  List
-                    { allowedValues : List Text
-                    , cardinality : < Any | List | Scalar >
-                    , description : Optional Text
-                    , elementFields :
-                        Optional
-                          { optional :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , recommended :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , required :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          }
-                    , field : Text
-                    , format :
-                        Optional
-                          < Actor
-                          | Boolean
-                          | Date
-                          | DocumentHandle : Text
-                          | HumanActor
-                          | Integer
-                          | NonNegativeInteger
-                          | Rfc3339Utc
-                          | Uri
-                          | UriWithScheme : Text
-                          >
-                    , objectFields :
-                        Optional
-                          { optional :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , recommended :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          , required :
-                              List
-                                { allowedValues : List Text
-                                , cardinality : < Any | List | Scalar >
-                                , description : Optional Text
-                                , field : Text
-                                , format :
-                                    Optional
-                                      < Actor
-                                      | Boolean
-                                      | Date
-                                      | DocumentHandle : Text
-                                      | HumanActor
-                                      | Integer
-                                      | NonNegativeInteger
-                                      | Rfc3339Utc
-                                      | Uri
-                                      | UriWithScheme : Text
-                                      >
-                                , path :
-                                    Optional
-                                      { allowSelf : Bool
-                                      , externalUriSchemes : List Text
-                                      }
-                                , when :
-                                    Optional
-                                      { field : Text, hasValue : List Text }
-                                }
-                          }
-                    , path :
-                        Optional
-                          { allowSelf : Bool, externalUriSchemes : List Text }
-                    , reference :
-                        Optional
-                          { allowSelf : Bool
-                          , externalUriSchemes : List Text
-                          , localPrefix : Text
-                          }
-                    , when : Optional { field : Text, hasValue : List Text }
-                    }
-              }
-          , idPrefix : Optional Text
-          , pathPattern : Optional Text
-          , requireSchemaSection : Bool
-          , resourceScheme : Optional Text
-          , schemaColumns : List Text
-          , type : Text
-          }
-    }
-, TypeRule =
-    { description : Optional Text
-    , frontmatter :
-        { optional :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , elementFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , objectFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , reference :
-                  Optional
-                    { allowSelf : Bool
-                    , externalUriSchemes : List Text
-                    , localPrefix : Text
-                    }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        , recommended :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , elementFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , objectFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , reference :
-                  Optional
-                    { allowSelf : Bool
-                    , externalUriSchemes : List Text
-                    , localPrefix : Text
-                    }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        , required :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , elementFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , objectFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , reference :
-                  Optional
-                    { allowSelf : Bool
-                    , externalUriSchemes : List Text
-                    , localPrefix : Text
-                    }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        }
-    , idPrefix : Optional Text
-    , pathPattern : Optional Text
-    , requireSchemaSection : Bool
-    , resourceScheme : Optional Text
-    , schemaColumns : List Text
-    , type : Text
-    }
-, defaults =
-  { FieldRule =
-    { Type =
-        { allowedValues : List Text
-        , cardinality : < Any | List | Scalar >
-        , description : Optional Text
-        , elementFields :
-            Optional
-              { optional :
-                  List
-                    { allowedValues : List Text
-                    , cardinality : < Any | List | Scalar >
-                    , description : Optional Text
-                    , field : Text
-                    , format :
-                        Optional
-                          < Actor
-                          | Boolean
-                          | Date
-                          | DocumentHandle : Text
-                          | HumanActor
-                          | Integer
-                          | NonNegativeInteger
-                          | Rfc3339Utc
-                          | Uri
-                          | UriWithScheme : Text
-                          >
-                    , path :
-                        Optional
-                          { allowSelf : Bool, externalUriSchemes : List Text }
-                    , when : Optional { field : Text, hasValue : List Text }
-                    }
-              , recommended :
-                  List
-                    { allowedValues : List Text
-                    , cardinality : < Any | List | Scalar >
-                    , description : Optional Text
-                    , field : Text
-                    , format :
-                        Optional
-                          < Actor
-                          | Boolean
-                          | Date
-                          | DocumentHandle : Text
-                          | HumanActor
-                          | Integer
-                          | NonNegativeInteger
-                          | Rfc3339Utc
-                          | Uri
-                          | UriWithScheme : Text
-                          >
-                    , path :
-                        Optional
-                          { allowSelf : Bool, externalUriSchemes : List Text }
-                    , when : Optional { field : Text, hasValue : List Text }
-                    }
-              , required :
-                  List
-                    { allowedValues : List Text
-                    , cardinality : < Any | List | Scalar >
-                    , description : Optional Text
-                    , field : Text
-                    , format :
-                        Optional
-                          < Actor
-                          | Boolean
-                          | Date
-                          | DocumentHandle : Text
-                          | HumanActor
-                          | Integer
-                          | NonNegativeInteger
-                          | Rfc3339Utc
-                          | Uri
-                          | UriWithScheme : Text
-                          >
-                    , path :
-                        Optional
-                          { allowSelf : Bool, externalUriSchemes : List Text }
-                    , when : Optional { field : Text, hasValue : List Text }
-                    }
-              }
-        , field : Text
-        , format :
-            Optional
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >
-        , objectFields :
-            Optional
-              { optional :
-                  List
-                    { allowedValues : List Text
-                    , cardinality : < Any | List | Scalar >
-                    , description : Optional Text
-                    , field : Text
-                    , format :
-                        Optional
-                          < Actor
-                          | Boolean
-                          | Date
-                          | DocumentHandle : Text
-                          | HumanActor
-                          | Integer
-                          | NonNegativeInteger
-                          | Rfc3339Utc
-                          | Uri
-                          | UriWithScheme : Text
-                          >
-                    , path :
-                        Optional
-                          { allowSelf : Bool, externalUriSchemes : List Text }
-                    , when : Optional { field : Text, hasValue : List Text }
-                    }
-              , recommended :
-                  List
-                    { allowedValues : List Text
-                    , cardinality : < Any | List | Scalar >
-                    , description : Optional Text
-                    , field : Text
-                    , format :
-                        Optional
-                          < Actor
-                          | Boolean
-                          | Date
-                          | DocumentHandle : Text
-                          | HumanActor
-                          | Integer
-                          | NonNegativeInteger
-                          | Rfc3339Utc
-                          | Uri
-                          | UriWithScheme : Text
-                          >
-                    , path :
-                        Optional
-                          { allowSelf : Bool, externalUriSchemes : List Text }
-                    , when : Optional { field : Text, hasValue : List Text }
-                    }
-              , required :
-                  List
-                    { allowedValues : List Text
-                    , cardinality : < Any | List | Scalar >
-                    , description : Optional Text
-                    , field : Text
-                    , format :
-                        Optional
-                          < Actor
-                          | Boolean
-                          | Date
-                          | DocumentHandle : Text
-                          | HumanActor
-                          | Integer
-                          | NonNegativeInteger
-                          | Rfc3339Utc
-                          | Uri
-                          | UriWithScheme : Text
-                          >
-                    , path :
-                        Optional
-                          { allowSelf : Bool, externalUriSchemes : List Text }
-                    , when : Optional { field : Text, hasValue : List Text }
-                    }
-              }
-        , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
-        , reference :
-            Optional
-              { allowSelf : Bool
-              , externalUriSchemes : List Text
-              , localPrefix : Text
-              }
-        , when : Optional { field : Text, hasValue : List Text }
-        }
-    , default =
-      { allowedValues = [] : List Text
-      , cardinality = < Any | List | Scalar >.Any
-      , description = None Text
-      , elementFields =
-          None
-            { optional :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , recommended :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , required :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            }
-      , format =
-          None
-            < Actor
-            | Boolean
-            | Date
-            | DocumentHandle : Text
-            | HumanActor
-            | Integer
-            | NonNegativeInteger
-            | Rfc3339Utc
-            | Uri
-            | UriWithScheme : Text
-            >
-      , objectFields =
-          None
-            { optional :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , recommended :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , required :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            }
-      , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-      , reference =
-          None
-            { allowSelf : Bool
-            , externalUriSchemes : List Text
-            , localPrefix : Text
-            }
-      , when = None { field : Text, hasValue : List Text }
-      }
-    }
-  , FrontmatterRules =
-    { Type =
-        { optional :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , elementFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , objectFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , reference :
-                  Optional
-                    { allowSelf : Bool
-                    , externalUriSchemes : List Text
-                    , localPrefix : Text
-                    }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        , recommended :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , elementFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , objectFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , reference :
-                  Optional
-                    { allowSelf : Bool
-                    , externalUriSchemes : List Text
-                    , localPrefix : Text
-                    }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        , required :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , elementFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , objectFields :
-                  Optional
-                    { optional :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , recommended :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    , required :
-                        List
-                          { allowedValues : List Text
-                          , cardinality : < Any | List | Scalar >
-                          , description : Optional Text
-                          , field : Text
-                          , format :
-                              Optional
-                                < Actor
-                                | Boolean
-                                | Date
-                                | DocumentHandle : Text
-                                | HumanActor
-                                | Integer
-                                | NonNegativeInteger
-                                | Rfc3339Utc
-                                | Uri
-                                | UriWithScheme : Text
-                                >
-                          , path :
-                              Optional
-                                { allowSelf : Bool
-                                , externalUriSchemes : List Text
-                                }
-                          , when :
-                              Optional { field : Text, hasValue : List Text }
-                          }
-                    }
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , reference :
-                  Optional
-                    { allowSelf : Bool
-                    , externalUriSchemes : List Text
-                    , localPrefix : Text
-                    }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        }
-    , default =
-      { optional =
-          [] : List
-                 { allowedValues : List Text
-                 , cardinality : < Any | List | Scalar >
-                 , description : Optional Text
-                 , elementFields :
-                     Optional
-                       { optional :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , recommended :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , required :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       }
-                 , field : Text
-                 , format :
-                     Optional
-                       < Actor
-                       | Boolean
-                       | Date
-                       | DocumentHandle : Text
-                       | HumanActor
-                       | Integer
-                       | NonNegativeInteger
-                       | Rfc3339Utc
-                       | Uri
-                       | UriWithScheme : Text
-                       >
-                 , objectFields :
-                     Optional
-                       { optional :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , recommended :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , required :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       }
-                 , path :
-                     Optional
-                       { allowSelf : Bool, externalUriSchemes : List Text }
-                 , reference :
-                     Optional
-                       { allowSelf : Bool
-                       , externalUriSchemes : List Text
-                       , localPrefix : Text
-                       }
-                 , when : Optional { field : Text, hasValue : List Text }
-                 }
-      , recommended =
-          [] : List
-                 { allowedValues : List Text
-                 , cardinality : < Any | List | Scalar >
-                 , description : Optional Text
-                 , elementFields :
-                     Optional
-                       { optional :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , recommended :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , required :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       }
-                 , field : Text
-                 , format :
-                     Optional
-                       < Actor
-                       | Boolean
-                       | Date
-                       | DocumentHandle : Text
-                       | HumanActor
-                       | Integer
-                       | NonNegativeInteger
-                       | Rfc3339Utc
-                       | Uri
-                       | UriWithScheme : Text
-                       >
-                 , objectFields :
-                     Optional
-                       { optional :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , recommended :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , required :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       }
-                 , path :
-                     Optional
-                       { allowSelf : Bool, externalUriSchemes : List Text }
-                 , reference :
-                     Optional
-                       { allowSelf : Bool
-                       , externalUriSchemes : List Text
-                       , localPrefix : Text
-                       }
-                 , when : Optional { field : Text, hasValue : List Text }
-                 }
-      , required =
-          [] : List
-                 { allowedValues : List Text
-                 , cardinality : < Any | List | Scalar >
-                 , description : Optional Text
-                 , elementFields :
-                     Optional
-                       { optional :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , recommended :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , required :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       }
-                 , field : Text
-                 , format :
-                     Optional
-                       < Actor
-                       | Boolean
-                       | Date
-                       | DocumentHandle : Text
-                       | HumanActor
-                       | Integer
-                       | NonNegativeInteger
-                       | Rfc3339Utc
-                       | Uri
-                       | UriWithScheme : Text
-                       >
-                 , objectFields :
-                     Optional
-                       { optional :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , recommended :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       , required :
-                           List
-                             { allowedValues : List Text
-                             , cardinality : < Any | List | Scalar >
-                             , description : Optional Text
-                             , field : Text
-                             , format :
-                                 Optional
-                                   < Actor
-                                   | Boolean
-                                   | Date
-                                   | DocumentHandle : Text
-                                   | HumanActor
-                                   | Integer
-                                   | NonNegativeInteger
-                                   | Rfc3339Utc
-                                   | Uri
-                                   | UriWithScheme : Text
-                                   >
-                             , path :
-                                 Optional
-                                   { allowSelf : Bool
-                                   , externalUriSchemes : List Text
-                                   }
-                             , when :
-                                 Optional { field : Text, hasValue : List Text }
-                             }
-                       }
-                 , path :
-                     Optional
-                       { allowSelf : Bool, externalUriSchemes : List Text }
-                 , reference :
-                     Optional
-                       { allowSelf : Bool
-                       , externalUriSchemes : List Text
-                       , localPrefix : Text
-                       }
-                 , when : Optional { field : Text, hasValue : List Text }
-                 }
-      }
-    }
-  , HandleReferenceRule =
-    { Type =
-        { allowSelf : Bool, externalUriSchemes : List Text, localPrefix : Text }
-    , default = { allowSelf = False, externalUriSchemes = [] : List Text }
-    }
-  , NestedFieldRule =
-    { Type =
-        { allowedValues : List Text
-        , cardinality : < Any | List | Scalar >
-        , description : Optional Text
-        , field : Text
-        , format :
-            Optional
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >
-        , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
-        , when : Optional { field : Text, hasValue : List Text }
-        }
-    , default =
-      { allowedValues = [] : List Text
-      , cardinality = < Any | List | Scalar >.Any
-      , description = None Text
-      , format =
-          None
-            < Actor
-            | Boolean
-            | Date
-            | DocumentHandle : Text
-            | HumanActor
-            | Integer
-            | NonNegativeInteger
-            | Rfc3339Utc
-            | Uri
-            | UriWithScheme : Text
-            >
-      , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-      , when = None { field : Text, hasValue : List Text }
-      }
-    }
-  , NestedRules =
-    { Type =
-        { optional :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        , recommended :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        , required :
-            List
-              { allowedValues : List Text
-              , cardinality : < Any | List | Scalar >
-              , description : Optional Text
-              , field : Text
-              , format :
-                  Optional
-                    < Actor
-                    | Boolean
-                    | Date
-                    | DocumentHandle : Text
-                    | HumanActor
-                    | Integer
-                    | NonNegativeInteger
-                    | Rfc3339Utc
-                    | Uri
-                    | UriWithScheme : Text
-                    >
-              , path :
-                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
-              , when : Optional { field : Text, hasValue : List Text }
-              }
-        }
-    , default =
-      { optional =
-          [] : List
-                 { allowedValues : List Text
-                 , cardinality : < Any | List | Scalar >
-                 , description : Optional Text
-                 , field : Text
-                 , format :
-                     Optional
-                       < Actor
-                       | Boolean
-                       | Date
-                       | DocumentHandle : Text
-                       | HumanActor
-                       | Integer
-                       | NonNegativeInteger
-                       | Rfc3339Utc
-                       | Uri
-                       | UriWithScheme : Text
-                       >
-                 , path :
-                     Optional
-                       { allowSelf : Bool, externalUriSchemes : List Text }
-                 , when : Optional { field : Text, hasValue : List Text }
-                 }
-      , recommended =
-          [] : List
-                 { allowedValues : List Text
-                 , cardinality : < Any | List | Scalar >
-                 , description : Optional Text
-                 , field : Text
-                 , format :
-                     Optional
-                       < Actor
-                       | Boolean
-                       | Date
-                       | DocumentHandle : Text
-                       | HumanActor
-                       | Integer
-                       | NonNegativeInteger
-                       | Rfc3339Utc
-                       | Uri
-                       | UriWithScheme : Text
-                       >
-                 , path :
-                     Optional
-                       { allowSelf : Bool, externalUriSchemes : List Text }
-                 , when : Optional { field : Text, hasValue : List Text }
-                 }
-      , required =
-          [] : List
-                 { allowedValues : List Text
-                 , cardinality : < Any | List | Scalar >
-                 , description : Optional Text
-                 , field : Text
-                 , format :
-                     Optional
-                       < Actor
-                       | Boolean
-                       | Date
-                       | DocumentHandle : Text
-                       | HumanActor
-                       | Integer
-                       | NonNegativeInteger
-                       | Rfc3339Utc
-                       | Uri
-                       | UriWithScheme : Text
-                       >
-                 , path :
-                     Optional
-                       { allowSelf : Bool, externalUriSchemes : List Text }
-                 , when : Optional { field : Text, hasValue : List Text }
-                 }
-      }
-    }
-  , PathReferenceRule =
-    { Type = { allowSelf : Bool, externalUriSchemes : List Text }
-    , default = { allowSelf = False, externalUriSchemes = [] : List Text }
-    }
-  , Profile =
-    { Type =
-        { allowUnknownFields : Bool
-        , allowUnknownTypes : Bool
-        , description : Optional Text
-        , frontmatter :
-            { optional :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , elementFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , objectFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , reference :
-                      Optional
-                        { allowSelf : Bool
-                        , externalUriSchemes : List Text
-                        , localPrefix : Text
-                        }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , recommended :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , elementFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , objectFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , reference :
-                      Optional
-                        { allowSelf : Bool
-                        , externalUriSchemes : List Text
-                        , localPrefix : Text
-                        }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , required :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , elementFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , objectFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , reference :
-                      Optional
-                        { allowSelf : Bool
-                        , externalUriSchemes : List Text
-                        , localPrefix : Text
-                        }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            }
-        , idField : Optional Text
-        , name : Text
-        , okfVersion : Text
-        , requireBundleVersion : Optional Text
-        , types :
-            List
-              { description : Optional Text
-              , frontmatter :
-                  { optional :
-                      List
-                        { allowedValues : List Text
-                        , cardinality : < Any | List | Scalar >
-                        , description : Optional Text
-                        , elementFields :
-                            Optional
-                              { optional :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , recommended :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , required :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              }
-                        , field : Text
-                        , format :
-                            Optional
-                              < Actor
-                              | Boolean
-                              | Date
-                              | DocumentHandle : Text
-                              | HumanActor
-                              | Integer
-                              | NonNegativeInteger
-                              | Rfc3339Utc
-                              | Uri
-                              | UriWithScheme : Text
-                              >
-                        , objectFields :
-                            Optional
-                              { optional :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , recommended :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , required :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              }
-                        , path :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              }
-                        , reference :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              , localPrefix : Text
-                              }
-                        , when : Optional { field : Text, hasValue : List Text }
-                        }
-                  , recommended :
-                      List
-                        { allowedValues : List Text
-                        , cardinality : < Any | List | Scalar >
-                        , description : Optional Text
-                        , elementFields :
-                            Optional
-                              { optional :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , recommended :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , required :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              }
-                        , field : Text
-                        , format :
-                            Optional
-                              < Actor
-                              | Boolean
-                              | Date
-                              | DocumentHandle : Text
-                              | HumanActor
-                              | Integer
-                              | NonNegativeInteger
-                              | Rfc3339Utc
-                              | Uri
-                              | UriWithScheme : Text
-                              >
-                        , objectFields :
-                            Optional
-                              { optional :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , recommended :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , required :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              }
-                        , path :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              }
-                        , reference :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              , localPrefix : Text
-                              }
-                        , when : Optional { field : Text, hasValue : List Text }
-                        }
-                  , required :
-                      List
-                        { allowedValues : List Text
-                        , cardinality : < Any | List | Scalar >
-                        , description : Optional Text
-                        , elementFields :
-                            Optional
-                              { optional :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , recommended :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , required :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              }
-                        , field : Text
-                        , format :
-                            Optional
-                              < Actor
-                              | Boolean
-                              | Date
-                              | DocumentHandle : Text
-                              | HumanActor
-                              | Integer
-                              | NonNegativeInteger
-                              | Rfc3339Utc
-                              | Uri
-                              | UriWithScheme : Text
-                              >
-                        , objectFields :
-                            Optional
-                              { optional :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , recommended :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              , required :
-                                  List
-                                    { allowedValues : List Text
-                                    , cardinality : < Any | List | Scalar >
-                                    , description : Optional Text
-                                    , field : Text
-                                    , format :
-                                        Optional
-                                          < Actor
-                                          | Boolean
-                                          | Date
-                                          | DocumentHandle : Text
-                                          | HumanActor
-                                          | Integer
-                                          | NonNegativeInteger
-                                          | Rfc3339Utc
-                                          | Uri
-                                          | UriWithScheme : Text
-                                          >
-                                    , path :
-                                        Optional
-                                          { allowSelf : Bool
-                                          , externalUriSchemes : List Text
-                                          }
-                                    , when :
-                                        Optional
-                                          { field : Text, hasValue : List Text }
-                                    }
-                              }
-                        , path :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              }
-                        , reference :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              , localPrefix : Text
-                              }
-                        , when : Optional { field : Text, hasValue : List Text }
-                        }
-                  }
-              , idPrefix : Optional Text
-              , pathPattern : Optional Text
-              , requireSchemaSection : Bool
-              , resourceScheme : Optional Text
-              , schemaColumns : List Text
-              , type : Text
-              }
-        }
-    , default =
-      { allowUnknownFields = True
-      , allowUnknownTypes = True
-      , description = None Text
-      , frontmatter =
-        { optional =
-            [] : List
-                   { allowedValues : List Text
-                   , cardinality : < Any | List | Scalar >
-                   , description : Optional Text
-                   , elementFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , field : Text
-                   , format :
-                       Optional
-                         < Actor
-                         | Boolean
-                         | Date
-                         | DocumentHandle : Text
-                         | HumanActor
-                         | Integer
-                         | NonNegativeInteger
-                         | Rfc3339Utc
-                         | Uri
-                         | UriWithScheme : Text
-                         >
-                   , objectFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , path :
-                       Optional
-                         { allowSelf : Bool, externalUriSchemes : List Text }
-                   , reference :
-                       Optional
-                         { allowSelf : Bool
-                         , externalUriSchemes : List Text
-                         , localPrefix : Text
-                         }
-                   , when : Optional { field : Text, hasValue : List Text }
-                   }
-        , recommended =
-            [] : List
-                   { allowedValues : List Text
-                   , cardinality : < Any | List | Scalar >
-                   , description : Optional Text
-                   , elementFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , field : Text
-                   , format :
-                       Optional
-                         < Actor
-                         | Boolean
-                         | Date
-                         | DocumentHandle : Text
-                         | HumanActor
-                         | Integer
-                         | NonNegativeInteger
-                         | Rfc3339Utc
-                         | Uri
-                         | UriWithScheme : Text
-                         >
-                   , objectFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , path :
-                       Optional
-                         { allowSelf : Bool, externalUriSchemes : List Text }
-                   , reference :
-                       Optional
-                         { allowSelf : Bool
-                         , externalUriSchemes : List Text
-                         , localPrefix : Text
-                         }
-                   , when : Optional { field : Text, hasValue : List Text }
-                   }
-        , required =
-            [] : List
-                   { allowedValues : List Text
-                   , cardinality : < Any | List | Scalar >
-                   , description : Optional Text
-                   , elementFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , field : Text
-                   , format :
-                       Optional
-                         < Actor
-                         | Boolean
-                         | Date
-                         | DocumentHandle : Text
-                         | HumanActor
-                         | Integer
-                         | NonNegativeInteger
-                         | Rfc3339Utc
-                         | Uri
-                         | UriWithScheme : Text
-                         >
-                   , objectFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , path :
-                       Optional
-                         { allowSelf : Bool, externalUriSchemes : List Text }
-                   , reference :
-                       Optional
-                         { allowSelf : Bool
-                         , externalUriSchemes : List Text
-                         , localPrefix : Text
-                         }
-                   , when : Optional { field : Text, hasValue : List Text }
-                   }
-        }
-      , idField = None Text
-      , okfVersion = "0.1"
-      , requireBundleVersion = None Text
-      , types =
-          [] : List
-                 { description : Optional Text
-                 , frontmatter :
-                     { optional :
-                         List
-                           { allowedValues : List Text
-                           , cardinality : < Any | List | Scalar >
-                           , description : Optional Text
-                           , elementFields :
-                               Optional
-                                 { optional :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , recommended :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , required :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 }
-                           , field : Text
-                           , format :
-                               Optional
-                                 < Actor
-                                 | Boolean
-                                 | Date
-                                 | DocumentHandle : Text
-                                 | HumanActor
-                                 | Integer
-                                 | NonNegativeInteger
-                                 | Rfc3339Utc
-                                 | Uri
-                                 | UriWithScheme : Text
-                                 >
-                           , objectFields :
-                               Optional
-                                 { optional :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , recommended :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , required :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 }
-                           , path :
-                               Optional
-                                 { allowSelf : Bool
-                                 , externalUriSchemes : List Text
-                                 }
-                           , reference :
-                               Optional
-                                 { allowSelf : Bool
-                                 , externalUriSchemes : List Text
-                                 , localPrefix : Text
-                                 }
-                           , when :
-                               Optional { field : Text, hasValue : List Text }
-                           }
-                     , recommended :
-                         List
-                           { allowedValues : List Text
-                           , cardinality : < Any | List | Scalar >
-                           , description : Optional Text
-                           , elementFields :
-                               Optional
-                                 { optional :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , recommended :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , required :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 }
-                           , field : Text
-                           , format :
-                               Optional
-                                 < Actor
-                                 | Boolean
-                                 | Date
-                                 | DocumentHandle : Text
-                                 | HumanActor
-                                 | Integer
-                                 | NonNegativeInteger
-                                 | Rfc3339Utc
-                                 | Uri
-                                 | UriWithScheme : Text
-                                 >
-                           , objectFields :
-                               Optional
-                                 { optional :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , recommended :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , required :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 }
-                           , path :
-                               Optional
-                                 { allowSelf : Bool
-                                 , externalUriSchemes : List Text
-                                 }
-                           , reference :
-                               Optional
-                                 { allowSelf : Bool
-                                 , externalUriSchemes : List Text
-                                 , localPrefix : Text
-                                 }
-                           , when :
-                               Optional { field : Text, hasValue : List Text }
-                           }
-                     , required :
-                         List
-                           { allowedValues : List Text
-                           , cardinality : < Any | List | Scalar >
-                           , description : Optional Text
-                           , elementFields :
-                               Optional
-                                 { optional :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , recommended :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , required :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 }
-                           , field : Text
-                           , format :
-                               Optional
-                                 < Actor
-                                 | Boolean
-                                 | Date
-                                 | DocumentHandle : Text
-                                 | HumanActor
-                                 | Integer
-                                 | NonNegativeInteger
-                                 | Rfc3339Utc
-                                 | Uri
-                                 | UriWithScheme : Text
-                                 >
-                           , objectFields :
-                               Optional
-                                 { optional :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , recommended :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 , required :
-                                     List
-                                       { allowedValues : List Text
-                                       , cardinality : < Any | List | Scalar >
-                                       , description : Optional Text
-                                       , field : Text
-                                       , format :
-                                           Optional
-                                             < Actor
-                                             | Boolean
-                                             | Date
-                                             | DocumentHandle : Text
-                                             | HumanActor
-                                             | Integer
-                                             | NonNegativeInteger
-                                             | Rfc3339Utc
-                                             | Uri
-                                             | UriWithScheme : Text
-                                             >
-                                       , path :
-                                           Optional
-                                             { allowSelf : Bool
-                                             , externalUriSchemes : List Text
-                                             }
-                                       , when :
-                                           Optional
-                                             { field : Text
-                                             , hasValue : List Text
-                                             }
-                                       }
-                                 }
-                           , path :
-                               Optional
-                                 { allowSelf : Bool
-                                 , externalUriSchemes : List Text
-                                 }
-                           , reference :
-                               Optional
-                                 { allowSelf : Bool
-                                 , externalUriSchemes : List Text
-                                 , localPrefix : Text
-                                 }
-                           , when :
-                               Optional { field : Text, hasValue : List Text }
-                           }
-                     }
-                 , idPrefix : Optional Text
-                 , pathPattern : Optional Text
-                 , requireSchemaSection : Bool
-                 , resourceScheme : Optional Text
-                 , schemaColumns : List Text
-                 , type : Text
-                 }
-      }
-    }
-  , TypeRule =
-    { Type =
-        { description : Optional Text
-        , frontmatter :
-            { optional :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , elementFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , objectFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , reference :
-                      Optional
-                        { allowSelf : Bool
-                        , externalUriSchemes : List Text
-                        , localPrefix : Text
-                        }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , recommended :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , elementFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , objectFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , reference :
-                      Optional
-                        { allowSelf : Bool
-                        , externalUriSchemes : List Text
-                        , localPrefix : Text
-                        }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , required :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , elementFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , objectFields :
-                      Optional
-                        { optional :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , recommended :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        , required :
-                            List
-                              { allowedValues : List Text
-                              , cardinality : < Any | List | Scalar >
-                              , description : Optional Text
-                              , field : Text
-                              , format :
-                                  Optional
-                                    < Actor
-                                    | Boolean
-                                    | Date
-                                    | DocumentHandle : Text
-                                    | HumanActor
-                                    | Integer
-                                    | NonNegativeInteger
-                                    | Rfc3339Utc
-                                    | Uri
-                                    | UriWithScheme : Text
-                                    >
-                              , path :
-                                  Optional
-                                    { allowSelf : Bool
-                                    , externalUriSchemes : List Text
-                                    }
-                              , when :
-                                  Optional
-                                    { field : Text, hasValue : List Text }
-                              }
-                        }
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , reference :
-                      Optional
-                        { allowSelf : Bool
-                        , externalUriSchemes : List Text
-                        , localPrefix : Text
-                        }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            }
-        , idPrefix : Optional Text
-        , pathPattern : Optional Text
-        , requireSchemaSection : Bool
-        , resourceScheme : Optional Text
-        , schemaColumns : List Text
-        , type : Text
-        }
-    , default =
-      { description = None Text
-      , frontmatter =
-        { optional =
-            [] : List
-                   { allowedValues : List Text
-                   , cardinality : < Any | List | Scalar >
-                   , description : Optional Text
-                   , elementFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , field : Text
-                   , format :
-                       Optional
-                         < Actor
-                         | Boolean
-                         | Date
-                         | DocumentHandle : Text
-                         | HumanActor
-                         | Integer
-                         | NonNegativeInteger
-                         | Rfc3339Utc
-                         | Uri
-                         | UriWithScheme : Text
-                         >
-                   , objectFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , path :
-                       Optional
-                         { allowSelf : Bool, externalUriSchemes : List Text }
-                   , reference :
-                       Optional
-                         { allowSelf : Bool
-                         , externalUriSchemes : List Text
-                         , localPrefix : Text
-                         }
-                   , when : Optional { field : Text, hasValue : List Text }
-                   }
-        , recommended =
-            [] : List
-                   { allowedValues : List Text
-                   , cardinality : < Any | List | Scalar >
-                   , description : Optional Text
-                   , elementFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , field : Text
-                   , format :
-                       Optional
-                         < Actor
-                         | Boolean
-                         | Date
-                         | DocumentHandle : Text
-                         | HumanActor
-                         | Integer
-                         | NonNegativeInteger
-                         | Rfc3339Utc
-                         | Uri
-                         | UriWithScheme : Text
-                         >
-                   , objectFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , path :
-                       Optional
-                         { allowSelf : Bool, externalUriSchemes : List Text }
-                   , reference :
-                       Optional
-                         { allowSelf : Bool
-                         , externalUriSchemes : List Text
-                         , localPrefix : Text
-                         }
-                   , when : Optional { field : Text, hasValue : List Text }
-                   }
-        , required =
-            [] : List
-                   { allowedValues : List Text
-                   , cardinality : < Any | List | Scalar >
-                   , description : Optional Text
-                   , elementFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , field : Text
-                   , format :
-                       Optional
-                         < Actor
-                         | Boolean
-                         | Date
-                         | DocumentHandle : Text
-                         | HumanActor
-                         | Integer
-                         | NonNegativeInteger
-                         | Rfc3339Utc
-                         | Uri
-                         | UriWithScheme : Text
-                         >
-                   , objectFields :
-                       Optional
-                         { optional :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , recommended :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         , required :
-                             List
-                               { allowedValues : List Text
-                               , cardinality : < Any | List | Scalar >
-                               , description : Optional Text
-                               , field : Text
-                               , format :
-                                   Optional
-                                     < Actor
-                                     | Boolean
-                                     | Date
-                                     | DocumentHandle : Text
-                                     | HumanActor
-                                     | Integer
-                                     | NonNegativeInteger
-                                     | Rfc3339Utc
-                                     | Uri
-                                     | UriWithScheme : Text
-                                     >
-                               , path :
-                                   Optional
-                                     { allowSelf : Bool
-                                     , externalUriSchemes : List Text
-                                     }
-                               , when :
-                                   Optional
-                                     { field : Text, hasValue : List Text }
-                               }
-                         }
-                   , path :
-                       Optional
-                         { allowSelf : Bool, externalUriSchemes : List Text }
-                   , reference :
-                       Optional
-                         { allowSelf : Bool
-                         , externalUriSchemes : List Text
-                         , localPrefix : Text
-                         }
-                   , when : Optional { field : Text, hasValue : List Text }
-                   }
-        }
-      , idPrefix = None Text
-      , pathPattern = None Text
-      , requireSchemaSection = False
-      , resourceScheme = None Text
-      , schemaColumns = [] : List Text
-      }
-    }
-  }
-, mk =
-  { FieldRule =
-    { actor =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Actor
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , boolean =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Boolean
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , bundlePath =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = Some
-            { allowSelf = False, externalUriSchemes = [] : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , conditional =
-        \ ( _
-          : { allowedValues : List Text
-            , cardinality : < Any | List | Scalar >
-            , description : Optional Text
-            , elementFields :
-                Optional
-                  { optional :
-                      List
-                        { allowedValues : List Text
-                        , cardinality : < Any | List | Scalar >
-                        , description : Optional Text
-                        , field : Text
-                        , format :
-                            Optional
-                              < Actor
-                              | Boolean
-                              | Date
-                              | DocumentHandle : Text
-                              | HumanActor
-                              | Integer
-                              | NonNegativeInteger
-                              | Rfc3339Utc
-                              | Uri
-                              | UriWithScheme : Text
-                              >
-                        , path :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              }
-                        , when : Optional { field : Text, hasValue : List Text }
-                        }
-                  , recommended :
-                      List
-                        { allowedValues : List Text
-                        , cardinality : < Any | List | Scalar >
-                        , description : Optional Text
-                        , field : Text
-                        , format :
-                            Optional
-                              < Actor
-                              | Boolean
-                              | Date
-                              | DocumentHandle : Text
-                              | HumanActor
-                              | Integer
-                              | NonNegativeInteger
-                              | Rfc3339Utc
-                              | Uri
-                              | UriWithScheme : Text
-                              >
-                        , path :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              }
-                        , when : Optional { field : Text, hasValue : List Text }
-                        }
-                  , required :
-                      List
-                        { allowedValues : List Text
-                        , cardinality : < Any | List | Scalar >
-                        , description : Optional Text
-                        , field : Text
-                        , format :
-                            Optional
-                              < Actor
-                              | Boolean
-                              | Date
-                              | DocumentHandle : Text
-                              | HumanActor
-                              | Integer
-                              | NonNegativeInteger
-                              | Rfc3339Utc
-                              | Uri
-                              | UriWithScheme : Text
-                              >
-                        , path :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              }
-                        , when : Optional { field : Text, hasValue : List Text }
-                        }
-                  }
-            , field : Text
-            , format :
-                Optional
-                  < Actor
-                  | Boolean
-                  | Date
-                  | DocumentHandle : Text
-                  | HumanActor
-                  | Integer
-                  | NonNegativeInteger
-                  | Rfc3339Utc
-                  | Uri
-                  | UriWithScheme : Text
-                  >
-            , objectFields :
-                Optional
-                  { optional :
-                      List
-                        { allowedValues : List Text
-                        , cardinality : < Any | List | Scalar >
-                        , description : Optional Text
-                        , field : Text
-                        , format :
-                            Optional
-                              < Actor
-                              | Boolean
-                              | Date
-                              | DocumentHandle : Text
-                              | HumanActor
-                              | Integer
-                              | NonNegativeInteger
-                              | Rfc3339Utc
-                              | Uri
-                              | UriWithScheme : Text
-                              >
-                        , path :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              }
-                        , when : Optional { field : Text, hasValue : List Text }
-                        }
-                  , recommended :
-                      List
-                        { allowedValues : List Text
-                        , cardinality : < Any | List | Scalar >
-                        , description : Optional Text
-                        , field : Text
-                        , format :
-                            Optional
-                              < Actor
-                              | Boolean
-                              | Date
-                              | DocumentHandle : Text
-                              | HumanActor
-                              | Integer
-                              | NonNegativeInteger
-                              | Rfc3339Utc
-                              | Uri
-                              | UriWithScheme : Text
-                              >
-                        , path :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              }
-                        , when : Optional { field : Text, hasValue : List Text }
-                        }
-                  , required :
-                      List
-                        { allowedValues : List Text
-                        , cardinality : < Any | List | Scalar >
-                        , description : Optional Text
-                        , field : Text
-                        , format :
-                            Optional
-                              < Actor
-                              | Boolean
-                              | Date
-                              | DocumentHandle : Text
-                              | HumanActor
-                              | Integer
-                              | NonNegativeInteger
-                              | Rfc3339Utc
-                              | Uri
-                              | UriWithScheme : Text
-                              >
-                        , path :
-                            Optional
-                              { allowSelf : Bool
-                              , externalUriSchemes : List Text
-                              }
-                        , when : Optional { field : Text, hasValue : List Text }
-                        }
-                  }
-            , path :
-                Optional { allowSelf : Bool, externalUriSchemes : List Text }
-            , reference :
-                Optional
-                  { allowSelf : Bool
-                  , externalUriSchemes : List Text
-                  , localPrefix : Text
-                  }
-            , when : Optional { field : Text, hasValue : List Text }
-            }
-          ) ->
-        \(_ : { field : Text, hasValue : List Text }) ->
-          _@1
-          with when = Some _
-    , date =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Date
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , documentHandle =
-        \(_ : Text) ->
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _@1
-          , format = Some
-              ( < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >.DocumentHandle
-                  _
-              )
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , documented =
-        \(_ : Text) ->
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = Some _
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _@1
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , enum =
-        \(_ : Text) ->
-        \(_ : List Text) ->
-          { allowedValues = _
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _@1
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , humanActor =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.HumanActor
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , integer =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Integer
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , list =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.List
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , localOrExternalPath =
-        \(_ : Text) ->
-        \(_ : List Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _@1
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = Some { allowSelf = False, externalUriSchemes = _ }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , localOrExternalReference =
-        \(_ : Text) ->
-        \(_ : Text) ->
-        \(_ : List Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _@2
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference = Some
-            { allowSelf = False, externalUriSchemes = _, localPrefix = _@1 }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , localReference =
-        \(_ : Text) ->
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _@1
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference = Some
-            { allowSelf = False
-            , externalUriSchemes = [] : List Text
-            , localPrefix = _
-            }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , nonNegativeInteger =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.NonNegativeInteger
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , plain =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , record =
-        \(_ : Text) ->
-        \ ( _
-          : { optional :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , recommended :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , required :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            }
-          ) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _@1
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields = Some _
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , recordList =
-        \(_ : Text) ->
-        \ ( _
-          : { optional :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , recommended :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , required :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            }
-          ) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.List
-          , description = None Text
-          , elementFields = Some _
-          , field = _@1
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , recordOrList =
-        \(_ : Text) ->
-        \ ( _
-          : { optional :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , recommended :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            , required :
-                List
-                  { allowedValues : List Text
-                  , cardinality : < Any | List | Scalar >
-                  , description : Optional Text
-                  , field : Text
-                  , format :
-                      Optional
-                        < Actor
-                        | Boolean
-                        | Date
-                        | DocumentHandle : Text
-                        | HumanActor
-                        | Integer
-                        | NonNegativeInteger
-                        | Rfc3339Utc
-                        | Uri
-                        | UriWithScheme : Text
-                        >
-                  , path :
-                      Optional
-                        { allowSelf : Bool, externalUriSchemes : List Text }
-                  , when : Optional { field : Text, hasValue : List Text }
-                  }
-            }
-          ) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields = Some _
-          , field = _@1
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields = Some _
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , rfc3339Utc =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Rfc3339Utc
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , scalar =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Scalar
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , uri =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Uri
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , uriWithScheme =
-        \(_ : Text) ->
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , elementFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , field = _@1
-          , format = Some
-              ( < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >.UriWithScheme
-                  _
-              )
-          , objectFields =
-              None
-                { optional :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , recommended :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                , required :
-                    List
-                      { allowedValues : List Text
-                      , cardinality : < Any | List | Scalar >
-                      , description : Optional Text
-                      , field : Text
-                      , format :
-                          Optional
-                            < Actor
-                            | Boolean
-                            | Date
-                            | DocumentHandle : Text
-                            | HumanActor
-                            | Integer
-                            | NonNegativeInteger
-                            | Rfc3339Utc
-                            | Uri
-                            | UriWithScheme : Text
-                            >
-                      , path :
-                          Optional
-                            { allowSelf : Bool, externalUriSchemes : List Text }
-                      , when : Optional { field : Text, hasValue : List Text }
-                      }
-                }
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , reference =
-              None
-                { allowSelf : Bool
-                , externalUriSchemes : List Text
-                , localPrefix : Text
-                }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    }
-  , NestedFieldRule =
-    { actor =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Actor
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , boolean =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Boolean
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , bundlePath =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , path = Some
-            { allowSelf = False, externalUriSchemes = [] : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , conditional =
-        \ ( _
-          : { allowedValues : List Text
-            , cardinality : < Any | List | Scalar >
-            , description : Optional Text
-            , field : Text
-            , format :
-                Optional
-                  < Actor
-                  | Boolean
-                  | Date
-                  | DocumentHandle : Text
-                  | HumanActor
-                  | Integer
-                  | NonNegativeInteger
-                  | Rfc3339Utc
-                  | Uri
-                  | UriWithScheme : Text
-                  >
-            , path :
-                Optional { allowSelf : Bool, externalUriSchemes : List Text }
-            , when : Optional { field : Text, hasValue : List Text }
-            }
-          ) ->
-        \(_ : { field : Text, hasValue : List Text }) ->
-          _@1
-          with when = Some _
-    , date =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Date
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , documentHandle =
-        \(_ : Text) ->
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _@1
-          , format = Some
-              ( < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >.DocumentHandle
-                  _
-              )
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , documented =
-        \(_ : Text) ->
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = Some _
-          , field = _@1
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , enum =
-        \(_ : Text) ->
-        \(_ : List Text) ->
-          { allowedValues = _
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _@1
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , humanActor =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.HumanActor
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , integer =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Integer
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , list =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.List
-          , description = None Text
-          , field = _
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , localOrExternalPath =
-        \(_ : Text) ->
-        \(_ : List Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _@1
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , path = Some { allowSelf = False, externalUriSchemes = _ }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , nonNegativeInteger =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.NonNegativeInteger
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , plain =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , rfc3339Utc =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Rfc3339Utc
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , scalar =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Scalar
-          , description = None Text
-          , field = _
-          , format =
-              None
-                < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , uri =
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _
-          , format = Some
-              < Actor
-              | Boolean
-              | Date
-              | DocumentHandle : Text
-              | HumanActor
-              | Integer
-              | NonNegativeInteger
-              | Rfc3339Utc
-              | Uri
-              | UriWithScheme : Text
-              >.Uri
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
-          , when = None { field : Text, hasValue : List Text }
-          }
-    , uriWithScheme =
-        \(_ : Text) ->
-        \(_ : Text) ->
-          { allowedValues = [] : List Text
-          , cardinality = < Any | List | Scalar >.Any
-          , description = None Text
-          , field = _@1
-          , format = Some
-              ( < Actor
-                | Boolean
-                | Date
-                | DocumentHandle : Text
-                | HumanActor
-                | Integer
-                | NonNegativeInteger
-                | Rfc3339Utc
-                | Uri
-                | UriWithScheme : Text
-                >.UriWithScheme
-                  _
-              )
-          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+                , reference :
+                    Optional
+                      { allowLocal : Bool
+                      , allowSelf : Bool
+                      , externalUriPattern : Optional Text
+                      , externalUriSchemes : List Text
+                      , localPrefix : Text
+                      }
+                , when : Optional { field : Text, hasValue : List Text }
+                }
+          , recommended :
+              List
+                { allowedValues : List Text
+                , cardinality : < Any | List | Scalar >
+                , description : Optional Text
+                , field : Text
+                , format :
+                    Optional
+                      < Actor
+                      | Boolean
+                      | Date
+                      | DocumentHandle : Text
+                      | HumanActor
+                      | Integer
+                      | NonNegativeInteger
+                      | Rfc3339Utc
+                      | Uri
+                      | UriWithScheme : Text
+                      >
+                , path :
+                    Optional
+                      { allowSelf : Bool, externalUriSchemes : List Text }
+                , reference :
+                    Optional
+                      { allowLocal : Bool
+                      , allowSelf : Bool
+                      , externalUriPattern : Optional Text
+                      , externalUriSchemes : List Text
+                      , localPrefix : Text
+                      }
+                , when : Optional { field : Text, hasValue : List Text }
+                }
+          , required :
+              List
+                { allowedValues : List Text
+                , cardinality : < Any | List | Scalar >
+                , description : Optional Text
+                , field : Text
+                , format :
+                    Optional
+                      < Actor
+                      | Boolean
+                      | Date
+                      | DocumentHandle : Text
+                      | HumanActor
+                      | Integer
+                      | NonNegativeInteger
+                      | Rfc3339Utc
+                      | Uri
+                      | UriWithScheme : Text
+                      >
+                , path :
+                    Optional
+                      { allowSelf : Bool, externalUriSchemes : List Text }
+                , reference :
+                    Optional
+                      { allowLocal : Bool
+                      , allowSelf : Bool
+                      , externalUriPattern : Optional Text
+                      , externalUriSchemes : List Text
+                      , localPrefix : Text
+                      }
+                , when : Optional { field : Text, hasValue : List Text }
+                }
+          }
+    , field : Text
+    , format :
+        Optional
+          < Actor
+          | Boolean
+          | Date
+          | DocumentHandle : Text
+          | HumanActor
+          | Integer
+          | NonNegativeInteger
+          | Rfc3339Utc
+          | Uri
+          | UriWithScheme : Text
+          >
+    , objectFields :
+        Optional
+          { optional :
+              List
+                { allowedValues : List Text
+                , cardinality : < Any | List | Scalar >
+                , description : Optional Text
+                , field : Text
+                , format :
+                    Optional
+                      < Actor
+                      | Boolean
+                      | Date
+                      | DocumentHandle : Text
+                      | HumanActor
+                      | Integer
+                      | NonNegativeInteger
+                      | Rfc3339Utc
+                      | Uri
+                      | UriWithScheme : Text
+                      >
+                , path :
+                    Optional
+                      { allowSelf : Bool, externalUriSchemes : List Text }
+                , reference :
+                    Optional
+                      { allowLocal : Bool
+                      , allowSelf : Bool
+                      , externalUriPattern : Optional Text
+                      , externalUriSchemes : List Text
+                      , localPrefix : Text
+                      }
+                , when : Optional { field : Text, hasValue : List Text }
+                }
+          , recommended :
+              List
+                { allowedValues : List Text
+                , cardinality : < Any | List | Scalar >
+                , description : Optional Text
+                , field : Text
+                , format :
+                    Optional
+                      < Actor
+                      | Boolean
+                      | Date
+                      | DocumentHandle : Text
+                      | HumanActor
+                      | Integer
+                      | NonNegativeInteger
+                      | Rfc3339Utc
+                      | Uri
+                      | UriWithScheme : Text
+                      >
+                , path :
+                    Optional
+                      { allowSelf : Bool, externalUriSchemes : List Text }
+                , reference :
+                    Optional
+                      { allowLocal : Bool
+                      , allowSelf : Bool
+                      , externalUriPattern : Optional Text
+                      , externalUriSchemes : List Text
+                      , localPrefix : Text
+                      }
+                , when : Optional { field : Text, hasValue : List Text }
+                }
+          , required :
+              List
+                { allowedValues : List Text
+                , cardinality : < Any | List | Scalar >
+                , description : Optional Text
+                , field : Text
+                , format :
+                    Optional
+                      < Actor
+                      | Boolean
+                      | Date
+                      | DocumentHandle : Text
+                      | HumanActor
+                      | Integer
+                      | NonNegativeInteger
+                      | Rfc3339Utc
+                      | Uri
+                      | UriWithScheme : Text
+                      >
+                , path :
+                    Optional
+                      { allowSelf : Bool, externalUriSchemes : List Text }
+                , reference :
+                    Optional
+                      { allowLocal : Bool
+                      , allowSelf : Bool
+                      , externalUriPattern : Optional Text
+                      , externalUriSchemes : List Text
+                      , localPrefix : Text
+                      }
+                , when : Optional { field : Text, hasValue : List Text }
+                }
+          }
+    , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
+    , reference :
+        Optional
+          { allowLocal : Bool
+          , allowSelf : Bool
+          , externalUriPattern : Optional Text
+          , externalUriSchemes : List Text
+          , localPrefix : Text
+          }
+    , uniqueBy : Optional Text
+    , when : Optional { field : Text, hasValue : List Text }
+    }
+, FrontmatterRules =
+    { optional :
+        List
+          { allowedValues : List Text
+          , cardinality : < Any | List | Scalar >
+          , description : Optional Text
+          , elementFields :
+              Optional
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field : Text
+          , format :
+              Optional
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields :
+              Optional
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference :
+              Optional
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy : Optional Text
+          , when : Optional { field : Text, hasValue : List Text }
+          }
+    , recommended :
+        List
+          { allowedValues : List Text
+          , cardinality : < Any | List | Scalar >
+          , description : Optional Text
+          , elementFields :
+              Optional
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field : Text
+          , format :
+              Optional
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields :
+              Optional
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference :
+              Optional
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy : Optional Text
+          , when : Optional { field : Text, hasValue : List Text }
+          }
+    , required :
+        List
+          { allowedValues : List Text
+          , cardinality : < Any | List | Scalar >
+          , description : Optional Text
+          , elementFields :
+              Optional
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field : Text
+          , format :
+              Optional
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields :
+              Optional
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference :
+              Optional
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy : Optional Text
+          , when : Optional { field : Text, hasValue : List Text }
+          }
+    }
+, HandleReferenceRule =
+    { allowLocal : Bool
+    , allowSelf : Bool
+    , externalUriPattern : Optional Text
+    , externalUriSchemes : List Text
+    , localPrefix : Text
+    }
+, NestedFieldRule =
+    { allowedValues : List Text
+    , cardinality : < Any | List | Scalar >
+    , description : Optional Text
+    , field : Text
+    , format :
+        Optional
+          < Actor
+          | Boolean
+          | Date
+          | DocumentHandle : Text
+          | HumanActor
+          | Integer
+          | NonNegativeInteger
+          | Rfc3339Utc
+          | Uri
+          | UriWithScheme : Text
+          >
+    , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
+    , reference :
+        Optional
+          { allowLocal : Bool
+          , allowSelf : Bool
+          , externalUriPattern : Optional Text
+          , externalUriSchemes : List Text
+          , localPrefix : Text
+          }
+    , when : Optional { field : Text, hasValue : List Text }
+    }
+, NestedRules =
+    { optional :
+        List
+          { allowedValues : List Text
+          , cardinality : < Any | List | Scalar >
+          , description : Optional Text
+          , field : Text
+          , format :
+              Optional
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference :
+              Optional
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when : Optional { field : Text, hasValue : List Text }
+          }
+    , recommended :
+        List
+          { allowedValues : List Text
+          , cardinality : < Any | List | Scalar >
+          , description : Optional Text
+          , field : Text
+          , format :
+              Optional
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference :
+              Optional
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when : Optional { field : Text, hasValue : List Text }
+          }
+    , required :
+        List
+          { allowedValues : List Text
+          , cardinality : < Any | List | Scalar >
+          , description : Optional Text
+          , field : Text
+          , format :
+              Optional
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference :
+              Optional
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when : Optional { field : Text, hasValue : List Text }
+          }
+    }
+, PathReferenceRule = { allowSelf : Bool, externalUriSchemes : List Text }
+, Profile =
+    { allowUnknownFields : Bool
+    , allowUnknownTypes : Bool
+    , description : Optional Text
+    , frontmatter :
+        { optional :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , elementFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , objectFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , uniqueBy : Optional Text
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        , recommended :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , elementFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , objectFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , uniqueBy : Optional Text
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        , required :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , elementFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , objectFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , uniqueBy : Optional Text
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        }
+    , idField : Optional Text
+    , name : Text
+    , okfVersion : Text
+    , requireBundleVersion : Optional Text
+    , types :
+        List
+          { description : Optional Text
+          , frontmatter :
+              { optional :
+                  List
+                    { allowedValues : List Text
+                    , cardinality : < Any | List | Scalar >
+                    , description : Optional Text
+                    , elementFields :
+                        Optional
+                          { optional :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , recommended :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , required :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          }
+                    , field : Text
+                    , format :
+                        Optional
+                          < Actor
+                          | Boolean
+                          | Date
+                          | DocumentHandle : Text
+                          | HumanActor
+                          | Integer
+                          | NonNegativeInteger
+                          | Rfc3339Utc
+                          | Uri
+                          | UriWithScheme : Text
+                          >
+                    , objectFields :
+                        Optional
+                          { optional :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , recommended :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , required :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          }
+                    , path :
+                        Optional
+                          { allowSelf : Bool, externalUriSchemes : List Text }
+                    , reference :
+                        Optional
+                          { allowLocal : Bool
+                          , allowSelf : Bool
+                          , externalUriPattern : Optional Text
+                          , externalUriSchemes : List Text
+                          , localPrefix : Text
+                          }
+                    , uniqueBy : Optional Text
+                    , when : Optional { field : Text, hasValue : List Text }
+                    }
+              , recommended :
+                  List
+                    { allowedValues : List Text
+                    , cardinality : < Any | List | Scalar >
+                    , description : Optional Text
+                    , elementFields :
+                        Optional
+                          { optional :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , recommended :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , required :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          }
+                    , field : Text
+                    , format :
+                        Optional
+                          < Actor
+                          | Boolean
+                          | Date
+                          | DocumentHandle : Text
+                          | HumanActor
+                          | Integer
+                          | NonNegativeInteger
+                          | Rfc3339Utc
+                          | Uri
+                          | UriWithScheme : Text
+                          >
+                    , objectFields :
+                        Optional
+                          { optional :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , recommended :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , required :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          }
+                    , path :
+                        Optional
+                          { allowSelf : Bool, externalUriSchemes : List Text }
+                    , reference :
+                        Optional
+                          { allowLocal : Bool
+                          , allowSelf : Bool
+                          , externalUriPattern : Optional Text
+                          , externalUriSchemes : List Text
+                          , localPrefix : Text
+                          }
+                    , uniqueBy : Optional Text
+                    , when : Optional { field : Text, hasValue : List Text }
+                    }
+              , required :
+                  List
+                    { allowedValues : List Text
+                    , cardinality : < Any | List | Scalar >
+                    , description : Optional Text
+                    , elementFields :
+                        Optional
+                          { optional :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , recommended :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , required :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          }
+                    , field : Text
+                    , format :
+                        Optional
+                          < Actor
+                          | Boolean
+                          | Date
+                          | DocumentHandle : Text
+                          | HumanActor
+                          | Integer
+                          | NonNegativeInteger
+                          | Rfc3339Utc
+                          | Uri
+                          | UriWithScheme : Text
+                          >
+                    , objectFields :
+                        Optional
+                          { optional :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , recommended :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          , required :
+                              List
+                                { allowedValues : List Text
+                                , cardinality : < Any | List | Scalar >
+                                , description : Optional Text
+                                , field : Text
+                                , format :
+                                    Optional
+                                      < Actor
+                                      | Boolean
+                                      | Date
+                                      | DocumentHandle : Text
+                                      | HumanActor
+                                      | Integer
+                                      | NonNegativeInteger
+                                      | Rfc3339Utc
+                                      | Uri
+                                      | UriWithScheme : Text
+                                      >
+                                , path :
+                                    Optional
+                                      { allowSelf : Bool
+                                      , externalUriSchemes : List Text
+                                      }
+                                , reference :
+                                    Optional
+                                      { allowLocal : Bool
+                                      , allowSelf : Bool
+                                      , externalUriPattern : Optional Text
+                                      , externalUriSchemes : List Text
+                                      , localPrefix : Text
+                                      }
+                                , when :
+                                    Optional
+                                      { field : Text, hasValue : List Text }
+                                }
+                          }
+                    , path :
+                        Optional
+                          { allowSelf : Bool, externalUriSchemes : List Text }
+                    , reference :
+                        Optional
+                          { allowLocal : Bool
+                          , allowSelf : Bool
+                          , externalUriPattern : Optional Text
+                          , externalUriSchemes : List Text
+                          , localPrefix : Text
+                          }
+                    , uniqueBy : Optional Text
+                    , when : Optional { field : Text, hasValue : List Text }
+                    }
+              }
+          , idPrefix : Optional Text
+          , pathPattern : Optional Text
+          , requireSchemaSection : Bool
+          , resourceScheme : Optional Text
+          , schemaColumns : List Text
+          , type : Text
+          }
+    }
+, TypeRule =
+    { description : Optional Text
+    , frontmatter :
+        { optional :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , elementFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , objectFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , uniqueBy : Optional Text
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        , recommended :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , elementFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , objectFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , uniqueBy : Optional Text
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        , required :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , elementFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , objectFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , uniqueBy : Optional Text
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        }
+    , idPrefix : Optional Text
+    , pathPattern : Optional Text
+    , requireSchemaSection : Bool
+    , resourceScheme : Optional Text
+    , schemaColumns : List Text
+    , type : Text
+    }
+, defaults =
+  { FieldRule =
+    { Type =
+        { allowedValues : List Text
+        , cardinality : < Any | List | Scalar >
+        , description : Optional Text
+        , elementFields :
+            Optional
+              { optional :
+                  List
+                    { allowedValues : List Text
+                    , cardinality : < Any | List | Scalar >
+                    , description : Optional Text
+                    , field : Text
+                    , format :
+                        Optional
+                          < Actor
+                          | Boolean
+                          | Date
+                          | DocumentHandle : Text
+                          | HumanActor
+                          | Integer
+                          | NonNegativeInteger
+                          | Rfc3339Utc
+                          | Uri
+                          | UriWithScheme : Text
+                          >
+                    , path :
+                        Optional
+                          { allowSelf : Bool, externalUriSchemes : List Text }
+                    , reference :
+                        Optional
+                          { allowLocal : Bool
+                          , allowSelf : Bool
+                          , externalUriPattern : Optional Text
+                          , externalUriSchemes : List Text
+                          , localPrefix : Text
+                          }
+                    , when : Optional { field : Text, hasValue : List Text }
+                    }
+              , recommended :
+                  List
+                    { allowedValues : List Text
+                    , cardinality : < Any | List | Scalar >
+                    , description : Optional Text
+                    , field : Text
+                    , format :
+                        Optional
+                          < Actor
+                          | Boolean
+                          | Date
+                          | DocumentHandle : Text
+                          | HumanActor
+                          | Integer
+                          | NonNegativeInteger
+                          | Rfc3339Utc
+                          | Uri
+                          | UriWithScheme : Text
+                          >
+                    , path :
+                        Optional
+                          { allowSelf : Bool, externalUriSchemes : List Text }
+                    , reference :
+                        Optional
+                          { allowLocal : Bool
+                          , allowSelf : Bool
+                          , externalUriPattern : Optional Text
+                          , externalUriSchemes : List Text
+                          , localPrefix : Text
+                          }
+                    , when : Optional { field : Text, hasValue : List Text }
+                    }
+              , required :
+                  List
+                    { allowedValues : List Text
+                    , cardinality : < Any | List | Scalar >
+                    , description : Optional Text
+                    , field : Text
+                    , format :
+                        Optional
+                          < Actor
+                          | Boolean
+                          | Date
+                          | DocumentHandle : Text
+                          | HumanActor
+                          | Integer
+                          | NonNegativeInteger
+                          | Rfc3339Utc
+                          | Uri
+                          | UriWithScheme : Text
+                          >
+                    , path :
+                        Optional
+                          { allowSelf : Bool, externalUriSchemes : List Text }
+                    , reference :
+                        Optional
+                          { allowLocal : Bool
+                          , allowSelf : Bool
+                          , externalUriPattern : Optional Text
+                          , externalUriSchemes : List Text
+                          , localPrefix : Text
+                          }
+                    , when : Optional { field : Text, hasValue : List Text }
+                    }
+              }
+        , field : Text
+        , format :
+            Optional
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >
+        , objectFields :
+            Optional
+              { optional :
+                  List
+                    { allowedValues : List Text
+                    , cardinality : < Any | List | Scalar >
+                    , description : Optional Text
+                    , field : Text
+                    , format :
+                        Optional
+                          < Actor
+                          | Boolean
+                          | Date
+                          | DocumentHandle : Text
+                          | HumanActor
+                          | Integer
+                          | NonNegativeInteger
+                          | Rfc3339Utc
+                          | Uri
+                          | UriWithScheme : Text
+                          >
+                    , path :
+                        Optional
+                          { allowSelf : Bool, externalUriSchemes : List Text }
+                    , reference :
+                        Optional
+                          { allowLocal : Bool
+                          , allowSelf : Bool
+                          , externalUriPattern : Optional Text
+                          , externalUriSchemes : List Text
+                          , localPrefix : Text
+                          }
+                    , when : Optional { field : Text, hasValue : List Text }
+                    }
+              , recommended :
+                  List
+                    { allowedValues : List Text
+                    , cardinality : < Any | List | Scalar >
+                    , description : Optional Text
+                    , field : Text
+                    , format :
+                        Optional
+                          < Actor
+                          | Boolean
+                          | Date
+                          | DocumentHandle : Text
+                          | HumanActor
+                          | Integer
+                          | NonNegativeInteger
+                          | Rfc3339Utc
+                          | Uri
+                          | UriWithScheme : Text
+                          >
+                    , path :
+                        Optional
+                          { allowSelf : Bool, externalUriSchemes : List Text }
+                    , reference :
+                        Optional
+                          { allowLocal : Bool
+                          , allowSelf : Bool
+                          , externalUriPattern : Optional Text
+                          , externalUriSchemes : List Text
+                          , localPrefix : Text
+                          }
+                    , when : Optional { field : Text, hasValue : List Text }
+                    }
+              , required :
+                  List
+                    { allowedValues : List Text
+                    , cardinality : < Any | List | Scalar >
+                    , description : Optional Text
+                    , field : Text
+                    , format :
+                        Optional
+                          < Actor
+                          | Boolean
+                          | Date
+                          | DocumentHandle : Text
+                          | HumanActor
+                          | Integer
+                          | NonNegativeInteger
+                          | Rfc3339Utc
+                          | Uri
+                          | UriWithScheme : Text
+                          >
+                    , path :
+                        Optional
+                          { allowSelf : Bool, externalUriSchemes : List Text }
+                    , reference :
+                        Optional
+                          { allowLocal : Bool
+                          , allowSelf : Bool
+                          , externalUriPattern : Optional Text
+                          , externalUriSchemes : List Text
+                          , localPrefix : Text
+                          }
+                    , when : Optional { field : Text, hasValue : List Text }
+                    }
+              }
+        , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
+        , reference :
+            Optional
+              { allowLocal : Bool
+              , allowSelf : Bool
+              , externalUriPattern : Optional Text
+              , externalUriSchemes : List Text
+              , localPrefix : Text
+              }
+        , uniqueBy : Optional Text
+        , when : Optional { field : Text, hasValue : List Text }
+        }
+    , default =
+      { allowedValues = [] : List Text
+      , cardinality = < Any | List | Scalar >.Any
+      , description = None Text
+      , elementFields =
+          None
+            { optional :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , recommended :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , required :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            }
+      , format =
+          None
+            < Actor
+            | Boolean
+            | Date
+            | DocumentHandle : Text
+            | HumanActor
+            | Integer
+            | NonNegativeInteger
+            | Rfc3339Utc
+            | Uri
+            | UriWithScheme : Text
+            >
+      , objectFields =
+          None
+            { optional :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , recommended :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , required :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            }
+      , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+      , reference =
+          None
+            { allowLocal : Bool
+            , allowSelf : Bool
+            , externalUriPattern : Optional Text
+            , externalUriSchemes : List Text
+            , localPrefix : Text
+            }
+      , uniqueBy = None Text
+      , when = None { field : Text, hasValue : List Text }
+      }
+    }
+  , FrontmatterRules =
+    { Type =
+        { optional :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , elementFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , objectFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , uniqueBy : Optional Text
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        , recommended :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , elementFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , objectFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , uniqueBy : Optional Text
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        , required :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , elementFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , objectFields :
+                  Optional
+                    { optional :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , recommended :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    , required :
+                        List
+                          { allowedValues : List Text
+                          , cardinality : < Any | List | Scalar >
+                          , description : Optional Text
+                          , field : Text
+                          , format :
+                              Optional
+                                < Actor
+                                | Boolean
+                                | Date
+                                | DocumentHandle : Text
+                                | HumanActor
+                                | Integer
+                                | NonNegativeInteger
+                                | Rfc3339Utc
+                                | Uri
+                                | UriWithScheme : Text
+                                >
+                          , path :
+                              Optional
+                                { allowSelf : Bool
+                                , externalUriSchemes : List Text
+                                }
+                          , reference :
+                              Optional
+                                { allowLocal : Bool
+                                , allowSelf : Bool
+                                , externalUriPattern : Optional Text
+                                , externalUriSchemes : List Text
+                                , localPrefix : Text
+                                }
+                          , when :
+                              Optional { field : Text, hasValue : List Text }
+                          }
+                    }
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , uniqueBy : Optional Text
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        }
+    , default =
+      { optional =
+          [] : List
+                 { allowedValues : List Text
+                 , cardinality : < Any | List | Scalar >
+                 , description : Optional Text
+                 , elementFields :
+                     Optional
+                       { optional :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , recommended :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , required :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       }
+                 , field : Text
+                 , format :
+                     Optional
+                       < Actor
+                       | Boolean
+                       | Date
+                       | DocumentHandle : Text
+                       | HumanActor
+                       | Integer
+                       | NonNegativeInteger
+                       | Rfc3339Utc
+                       | Uri
+                       | UriWithScheme : Text
+                       >
+                 , objectFields :
+                     Optional
+                       { optional :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , recommended :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , required :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       }
+                 , path :
+                     Optional
+                       { allowSelf : Bool, externalUriSchemes : List Text }
+                 , reference :
+                     Optional
+                       { allowLocal : Bool
+                       , allowSelf : Bool
+                       , externalUriPattern : Optional Text
+                       , externalUriSchemes : List Text
+                       , localPrefix : Text
+                       }
+                 , uniqueBy : Optional Text
+                 , when : Optional { field : Text, hasValue : List Text }
+                 }
+      , recommended =
+          [] : List
+                 { allowedValues : List Text
+                 , cardinality : < Any | List | Scalar >
+                 , description : Optional Text
+                 , elementFields :
+                     Optional
+                       { optional :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , recommended :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , required :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       }
+                 , field : Text
+                 , format :
+                     Optional
+                       < Actor
+                       | Boolean
+                       | Date
+                       | DocumentHandle : Text
+                       | HumanActor
+                       | Integer
+                       | NonNegativeInteger
+                       | Rfc3339Utc
+                       | Uri
+                       | UriWithScheme : Text
+                       >
+                 , objectFields :
+                     Optional
+                       { optional :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , recommended :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , required :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       }
+                 , path :
+                     Optional
+                       { allowSelf : Bool, externalUriSchemes : List Text }
+                 , reference :
+                     Optional
+                       { allowLocal : Bool
+                       , allowSelf : Bool
+                       , externalUriPattern : Optional Text
+                       , externalUriSchemes : List Text
+                       , localPrefix : Text
+                       }
+                 , uniqueBy : Optional Text
+                 , when : Optional { field : Text, hasValue : List Text }
+                 }
+      , required =
+          [] : List
+                 { allowedValues : List Text
+                 , cardinality : < Any | List | Scalar >
+                 , description : Optional Text
+                 , elementFields :
+                     Optional
+                       { optional :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , recommended :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , required :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       }
+                 , field : Text
+                 , format :
+                     Optional
+                       < Actor
+                       | Boolean
+                       | Date
+                       | DocumentHandle : Text
+                       | HumanActor
+                       | Integer
+                       | NonNegativeInteger
+                       | Rfc3339Utc
+                       | Uri
+                       | UriWithScheme : Text
+                       >
+                 , objectFields :
+                     Optional
+                       { optional :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , recommended :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       , required :
+                           List
+                             { allowedValues : List Text
+                             , cardinality : < Any | List | Scalar >
+                             , description : Optional Text
+                             , field : Text
+                             , format :
+                                 Optional
+                                   < Actor
+                                   | Boolean
+                                   | Date
+                                   | DocumentHandle : Text
+                                   | HumanActor
+                                   | Integer
+                                   | NonNegativeInteger
+                                   | Rfc3339Utc
+                                   | Uri
+                                   | UriWithScheme : Text
+                                   >
+                             , path :
+                                 Optional
+                                   { allowSelf : Bool
+                                   , externalUriSchemes : List Text
+                                   }
+                             , reference :
+                                 Optional
+                                   { allowLocal : Bool
+                                   , allowSelf : Bool
+                                   , externalUriPattern : Optional Text
+                                   , externalUriSchemes : List Text
+                                   , localPrefix : Text
+                                   }
+                             , when :
+                                 Optional { field : Text, hasValue : List Text }
+                             }
+                       }
+                 , path :
+                     Optional
+                       { allowSelf : Bool, externalUriSchemes : List Text }
+                 , reference :
+                     Optional
+                       { allowLocal : Bool
+                       , allowSelf : Bool
+                       , externalUriPattern : Optional Text
+                       , externalUriSchemes : List Text
+                       , localPrefix : Text
+                       }
+                 , uniqueBy : Optional Text
+                 , when : Optional { field : Text, hasValue : List Text }
+                 }
+      }
+    }
+  , HandleReferenceRule =
+    { Type =
+        { allowLocal : Bool
+        , allowSelf : Bool
+        , externalUriPattern : Optional Text
+        , externalUriSchemes : List Text
+        , localPrefix : Text
+        }
+    , default =
+      { allowLocal = True
+      , allowSelf = False
+      , externalUriPattern = None Text
+      , externalUriSchemes = [] : List Text
+      }
+    }
+  , NestedFieldRule =
+    { Type =
+        { allowedValues : List Text
+        , cardinality : < Any | List | Scalar >
+        , description : Optional Text
+        , field : Text
+        , format :
+            Optional
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >
+        , path : Optional { allowSelf : Bool, externalUriSchemes : List Text }
+        , reference :
+            Optional
+              { allowLocal : Bool
+              , allowSelf : Bool
+              , externalUriPattern : Optional Text
+              , externalUriSchemes : List Text
+              , localPrefix : Text
+              }
+        , when : Optional { field : Text, hasValue : List Text }
+        }
+    , default =
+      { allowedValues = [] : List Text
+      , cardinality = < Any | List | Scalar >.Any
+      , description = None Text
+      , format =
+          None
+            < Actor
+            | Boolean
+            | Date
+            | DocumentHandle : Text
+            | HumanActor
+            | Integer
+            | NonNegativeInteger
+            | Rfc3339Utc
+            | Uri
+            | UriWithScheme : Text
+            >
+      , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+      , reference =
+          None
+            { allowLocal : Bool
+            , allowSelf : Bool
+            , externalUriPattern : Optional Text
+            , externalUriSchemes : List Text
+            , localPrefix : Text
+            }
+      , when = None { field : Text, hasValue : List Text }
+      }
+    }
+  , NestedRules =
+    { Type =
+        { optional :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        , recommended :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        , required :
+            List
+              { allowedValues : List Text
+              , cardinality : < Any | List | Scalar >
+              , description : Optional Text
+              , field : Text
+              , format :
+                  Optional
+                    < Actor
+                    | Boolean
+                    | Date
+                    | DocumentHandle : Text
+                    | HumanActor
+                    | Integer
+                    | NonNegativeInteger
+                    | Rfc3339Utc
+                    | Uri
+                    | UriWithScheme : Text
+                    >
+              , path :
+                  Optional { allowSelf : Bool, externalUriSchemes : List Text }
+              , reference :
+                  Optional
+                    { allowLocal : Bool
+                    , allowSelf : Bool
+                    , externalUriPattern : Optional Text
+                    , externalUriSchemes : List Text
+                    , localPrefix : Text
+                    }
+              , when : Optional { field : Text, hasValue : List Text }
+              }
+        }
+    , default =
+      { optional =
+          [] : List
+                 { allowedValues : List Text
+                 , cardinality : < Any | List | Scalar >
+                 , description : Optional Text
+                 , field : Text
+                 , format :
+                     Optional
+                       < Actor
+                       | Boolean
+                       | Date
+                       | DocumentHandle : Text
+                       | HumanActor
+                       | Integer
+                       | NonNegativeInteger
+                       | Rfc3339Utc
+                       | Uri
+                       | UriWithScheme : Text
+                       >
+                 , path :
+                     Optional
+                       { allowSelf : Bool, externalUriSchemes : List Text }
+                 , reference :
+                     Optional
+                       { allowLocal : Bool
+                       , allowSelf : Bool
+                       , externalUriPattern : Optional Text
+                       , externalUriSchemes : List Text
+                       , localPrefix : Text
+                       }
+                 , when : Optional { field : Text, hasValue : List Text }
+                 }
+      , recommended =
+          [] : List
+                 { allowedValues : List Text
+                 , cardinality : < Any | List | Scalar >
+                 , description : Optional Text
+                 , field : Text
+                 , format :
+                     Optional
+                       < Actor
+                       | Boolean
+                       | Date
+                       | DocumentHandle : Text
+                       | HumanActor
+                       | Integer
+                       | NonNegativeInteger
+                       | Rfc3339Utc
+                       | Uri
+                       | UriWithScheme : Text
+                       >
+                 , path :
+                     Optional
+                       { allowSelf : Bool, externalUriSchemes : List Text }
+                 , reference :
+                     Optional
+                       { allowLocal : Bool
+                       , allowSelf : Bool
+                       , externalUriPattern : Optional Text
+                       , externalUriSchemes : List Text
+                       , localPrefix : Text
+                       }
+                 , when : Optional { field : Text, hasValue : List Text }
+                 }
+      , required =
+          [] : List
+                 { allowedValues : List Text
+                 , cardinality : < Any | List | Scalar >
+                 , description : Optional Text
+                 , field : Text
+                 , format :
+                     Optional
+                       < Actor
+                       | Boolean
+                       | Date
+                       | DocumentHandle : Text
+                       | HumanActor
+                       | Integer
+                       | NonNegativeInteger
+                       | Rfc3339Utc
+                       | Uri
+                       | UriWithScheme : Text
+                       >
+                 , path :
+                     Optional
+                       { allowSelf : Bool, externalUriSchemes : List Text }
+                 , reference :
+                     Optional
+                       { allowLocal : Bool
+                       , allowSelf : Bool
+                       , externalUriPattern : Optional Text
+                       , externalUriSchemes : List Text
+                       , localPrefix : Text
+                       }
+                 , when : Optional { field : Text, hasValue : List Text }
+                 }
+      }
+    }
+  , PathReferenceRule =
+    { Type = { allowSelf : Bool, externalUriSchemes : List Text }
+    , default = { allowSelf = False, externalUriSchemes = [] : List Text }
+    }
+  , Profile =
+    { Type =
+        { allowUnknownFields : Bool
+        , allowUnknownTypes : Bool
+        , description : Optional Text
+        , frontmatter :
+            { optional :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , elementFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , objectFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , uniqueBy : Optional Text
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , recommended :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , elementFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , objectFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , uniqueBy : Optional Text
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , required :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , elementFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , objectFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , uniqueBy : Optional Text
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            }
+        , idField : Optional Text
+        , name : Text
+        , okfVersion : Text
+        , requireBundleVersion : Optional Text
+        , types :
+            List
+              { description : Optional Text
+              , frontmatter :
+                  { optional :
+                      List
+                        { allowedValues : List Text
+                        , cardinality : < Any | List | Scalar >
+                        , description : Optional Text
+                        , elementFields :
+                            Optional
+                              { optional :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , recommended :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , required :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              }
+                        , field : Text
+                        , format :
+                            Optional
+                              < Actor
+                              | Boolean
+                              | Date
+                              | DocumentHandle : Text
+                              | HumanActor
+                              | Integer
+                              | NonNegativeInteger
+                              | Rfc3339Utc
+                              | Uri
+                              | UriWithScheme : Text
+                              >
+                        , objectFields :
+                            Optional
+                              { optional :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , recommended :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , required :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              }
+                        , path :
+                            Optional
+                              { allowSelf : Bool
+                              , externalUriSchemes : List Text
+                              }
+                        , reference :
+                            Optional
+                              { allowLocal : Bool
+                              , allowSelf : Bool
+                              , externalUriPattern : Optional Text
+                              , externalUriSchemes : List Text
+                              , localPrefix : Text
+                              }
+                        , uniqueBy : Optional Text
+                        , when : Optional { field : Text, hasValue : List Text }
+                        }
+                  , recommended :
+                      List
+                        { allowedValues : List Text
+                        , cardinality : < Any | List | Scalar >
+                        , description : Optional Text
+                        , elementFields :
+                            Optional
+                              { optional :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , recommended :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , required :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              }
+                        , field : Text
+                        , format :
+                            Optional
+                              < Actor
+                              | Boolean
+                              | Date
+                              | DocumentHandle : Text
+                              | HumanActor
+                              | Integer
+                              | NonNegativeInteger
+                              | Rfc3339Utc
+                              | Uri
+                              | UriWithScheme : Text
+                              >
+                        , objectFields :
+                            Optional
+                              { optional :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , recommended :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , required :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              }
+                        , path :
+                            Optional
+                              { allowSelf : Bool
+                              , externalUriSchemes : List Text
+                              }
+                        , reference :
+                            Optional
+                              { allowLocal : Bool
+                              , allowSelf : Bool
+                              , externalUriPattern : Optional Text
+                              , externalUriSchemes : List Text
+                              , localPrefix : Text
+                              }
+                        , uniqueBy : Optional Text
+                        , when : Optional { field : Text, hasValue : List Text }
+                        }
+                  , required :
+                      List
+                        { allowedValues : List Text
+                        , cardinality : < Any | List | Scalar >
+                        , description : Optional Text
+                        , elementFields :
+                            Optional
+                              { optional :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , recommended :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , required :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              }
+                        , field : Text
+                        , format :
+                            Optional
+                              < Actor
+                              | Boolean
+                              | Date
+                              | DocumentHandle : Text
+                              | HumanActor
+                              | Integer
+                              | NonNegativeInteger
+                              | Rfc3339Utc
+                              | Uri
+                              | UriWithScheme : Text
+                              >
+                        , objectFields :
+                            Optional
+                              { optional :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , recommended :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              , required :
+                                  List
+                                    { allowedValues : List Text
+                                    , cardinality : < Any | List | Scalar >
+                                    , description : Optional Text
+                                    , field : Text
+                                    , format :
+                                        Optional
+                                          < Actor
+                                          | Boolean
+                                          | Date
+                                          | DocumentHandle : Text
+                                          | HumanActor
+                                          | Integer
+                                          | NonNegativeInteger
+                                          | Rfc3339Utc
+                                          | Uri
+                                          | UriWithScheme : Text
+                                          >
+                                    , path :
+                                        Optional
+                                          { allowSelf : Bool
+                                          , externalUriSchemes : List Text
+                                          }
+                                    , reference :
+                                        Optional
+                                          { allowLocal : Bool
+                                          , allowSelf : Bool
+                                          , externalUriPattern : Optional Text
+                                          , externalUriSchemes : List Text
+                                          , localPrefix : Text
+                                          }
+                                    , when :
+                                        Optional
+                                          { field : Text, hasValue : List Text }
+                                    }
+                              }
+                        , path :
+                            Optional
+                              { allowSelf : Bool
+                              , externalUriSchemes : List Text
+                              }
+                        , reference :
+                            Optional
+                              { allowLocal : Bool
+                              , allowSelf : Bool
+                              , externalUriPattern : Optional Text
+                              , externalUriSchemes : List Text
+                              , localPrefix : Text
+                              }
+                        , uniqueBy : Optional Text
+                        , when : Optional { field : Text, hasValue : List Text }
+                        }
+                  }
+              , idPrefix : Optional Text
+              , pathPattern : Optional Text
+              , requireSchemaSection : Bool
+              , resourceScheme : Optional Text
+              , schemaColumns : List Text
+              , type : Text
+              }
+        }
+    , default =
+      { allowUnknownFields = True
+      , allowUnknownTypes = True
+      , description = None Text
+      , frontmatter =
+        { optional =
+            [] : List
+                   { allowedValues : List Text
+                   , cardinality : < Any | List | Scalar >
+                   , description : Optional Text
+                   , elementFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , field : Text
+                   , format :
+                       Optional
+                         < Actor
+                         | Boolean
+                         | Date
+                         | DocumentHandle : Text
+                         | HumanActor
+                         | Integer
+                         | NonNegativeInteger
+                         | Rfc3339Utc
+                         | Uri
+                         | UriWithScheme : Text
+                         >
+                   , objectFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , path :
+                       Optional
+                         { allowSelf : Bool, externalUriSchemes : List Text }
+                   , reference :
+                       Optional
+                         { allowLocal : Bool
+                         , allowSelf : Bool
+                         , externalUriPattern : Optional Text
+                         , externalUriSchemes : List Text
+                         , localPrefix : Text
+                         }
+                   , uniqueBy : Optional Text
+                   , when : Optional { field : Text, hasValue : List Text }
+                   }
+        , recommended =
+            [] : List
+                   { allowedValues : List Text
+                   , cardinality : < Any | List | Scalar >
+                   , description : Optional Text
+                   , elementFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , field : Text
+                   , format :
+                       Optional
+                         < Actor
+                         | Boolean
+                         | Date
+                         | DocumentHandle : Text
+                         | HumanActor
+                         | Integer
+                         | NonNegativeInteger
+                         | Rfc3339Utc
+                         | Uri
+                         | UriWithScheme : Text
+                         >
+                   , objectFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , path :
+                       Optional
+                         { allowSelf : Bool, externalUriSchemes : List Text }
+                   , reference :
+                       Optional
+                         { allowLocal : Bool
+                         , allowSelf : Bool
+                         , externalUriPattern : Optional Text
+                         , externalUriSchemes : List Text
+                         , localPrefix : Text
+                         }
+                   , uniqueBy : Optional Text
+                   , when : Optional { field : Text, hasValue : List Text }
+                   }
+        , required =
+            [] : List
+                   { allowedValues : List Text
+                   , cardinality : < Any | List | Scalar >
+                   , description : Optional Text
+                   , elementFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , field : Text
+                   , format :
+                       Optional
+                         < Actor
+                         | Boolean
+                         | Date
+                         | DocumentHandle : Text
+                         | HumanActor
+                         | Integer
+                         | NonNegativeInteger
+                         | Rfc3339Utc
+                         | Uri
+                         | UriWithScheme : Text
+                         >
+                   , objectFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , path :
+                       Optional
+                         { allowSelf : Bool, externalUriSchemes : List Text }
+                   , reference :
+                       Optional
+                         { allowLocal : Bool
+                         , allowSelf : Bool
+                         , externalUriPattern : Optional Text
+                         , externalUriSchemes : List Text
+                         , localPrefix : Text
+                         }
+                   , uniqueBy : Optional Text
+                   , when : Optional { field : Text, hasValue : List Text }
+                   }
+        }
+      , idField = None Text
+      , okfVersion = "0.1"
+      , requireBundleVersion = None Text
+      , types =
+          [] : List
+                 { description : Optional Text
+                 , frontmatter :
+                     { optional :
+                         List
+                           { allowedValues : List Text
+                           , cardinality : < Any | List | Scalar >
+                           , description : Optional Text
+                           , elementFields :
+                               Optional
+                                 { optional :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , recommended :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , required :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 }
+                           , field : Text
+                           , format :
+                               Optional
+                                 < Actor
+                                 | Boolean
+                                 | Date
+                                 | DocumentHandle : Text
+                                 | HumanActor
+                                 | Integer
+                                 | NonNegativeInteger
+                                 | Rfc3339Utc
+                                 | Uri
+                                 | UriWithScheme : Text
+                                 >
+                           , objectFields :
+                               Optional
+                                 { optional :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , recommended :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , required :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 }
+                           , path :
+                               Optional
+                                 { allowSelf : Bool
+                                 , externalUriSchemes : List Text
+                                 }
+                           , reference :
+                               Optional
+                                 { allowLocal : Bool
+                                 , allowSelf : Bool
+                                 , externalUriPattern : Optional Text
+                                 , externalUriSchemes : List Text
+                                 , localPrefix : Text
+                                 }
+                           , uniqueBy : Optional Text
+                           , when :
+                               Optional { field : Text, hasValue : List Text }
+                           }
+                     , recommended :
+                         List
+                           { allowedValues : List Text
+                           , cardinality : < Any | List | Scalar >
+                           , description : Optional Text
+                           , elementFields :
+                               Optional
+                                 { optional :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , recommended :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , required :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 }
+                           , field : Text
+                           , format :
+                               Optional
+                                 < Actor
+                                 | Boolean
+                                 | Date
+                                 | DocumentHandle : Text
+                                 | HumanActor
+                                 | Integer
+                                 | NonNegativeInteger
+                                 | Rfc3339Utc
+                                 | Uri
+                                 | UriWithScheme : Text
+                                 >
+                           , objectFields :
+                               Optional
+                                 { optional :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , recommended :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , required :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 }
+                           , path :
+                               Optional
+                                 { allowSelf : Bool
+                                 , externalUriSchemes : List Text
+                                 }
+                           , reference :
+                               Optional
+                                 { allowLocal : Bool
+                                 , allowSelf : Bool
+                                 , externalUriPattern : Optional Text
+                                 , externalUriSchemes : List Text
+                                 , localPrefix : Text
+                                 }
+                           , uniqueBy : Optional Text
+                           , when :
+                               Optional { field : Text, hasValue : List Text }
+                           }
+                     , required :
+                         List
+                           { allowedValues : List Text
+                           , cardinality : < Any | List | Scalar >
+                           , description : Optional Text
+                           , elementFields :
+                               Optional
+                                 { optional :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , recommended :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , required :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 }
+                           , field : Text
+                           , format :
+                               Optional
+                                 < Actor
+                                 | Boolean
+                                 | Date
+                                 | DocumentHandle : Text
+                                 | HumanActor
+                                 | Integer
+                                 | NonNegativeInteger
+                                 | Rfc3339Utc
+                                 | Uri
+                                 | UriWithScheme : Text
+                                 >
+                           , objectFields :
+                               Optional
+                                 { optional :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , recommended :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 , required :
+                                     List
+                                       { allowedValues : List Text
+                                       , cardinality : < Any | List | Scalar >
+                                       , description : Optional Text
+                                       , field : Text
+                                       , format :
+                                           Optional
+                                             < Actor
+                                             | Boolean
+                                             | Date
+                                             | DocumentHandle : Text
+                                             | HumanActor
+                                             | Integer
+                                             | NonNegativeInteger
+                                             | Rfc3339Utc
+                                             | Uri
+                                             | UriWithScheme : Text
+                                             >
+                                       , path :
+                                           Optional
+                                             { allowSelf : Bool
+                                             , externalUriSchemes : List Text
+                                             }
+                                       , reference :
+                                           Optional
+                                             { allowLocal : Bool
+                                             , allowSelf : Bool
+                                             , externalUriPattern :
+                                                 Optional Text
+                                             , externalUriSchemes : List Text
+                                             , localPrefix : Text
+                                             }
+                                       , when :
+                                           Optional
+                                             { field : Text
+                                             , hasValue : List Text
+                                             }
+                                       }
+                                 }
+                           , path :
+                               Optional
+                                 { allowSelf : Bool
+                                 , externalUriSchemes : List Text
+                                 }
+                           , reference :
+                               Optional
+                                 { allowLocal : Bool
+                                 , allowSelf : Bool
+                                 , externalUriPattern : Optional Text
+                                 , externalUriSchemes : List Text
+                                 , localPrefix : Text
+                                 }
+                           , uniqueBy : Optional Text
+                           , when :
+                               Optional { field : Text, hasValue : List Text }
+                           }
+                     }
+                 , idPrefix : Optional Text
+                 , pathPattern : Optional Text
+                 , requireSchemaSection : Bool
+                 , resourceScheme : Optional Text
+                 , schemaColumns : List Text
+                 , type : Text
+                 }
+      }
+    }
+  , TypeRule =
+    { Type =
+        { description : Optional Text
+        , frontmatter :
+            { optional :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , elementFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , objectFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , uniqueBy : Optional Text
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , recommended :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , elementFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , objectFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , uniqueBy : Optional Text
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , required :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , elementFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , objectFields :
+                      Optional
+                        { optional :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , recommended :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        , required :
+                            List
+                              { allowedValues : List Text
+                              , cardinality : < Any | List | Scalar >
+                              , description : Optional Text
+                              , field : Text
+                              , format :
+                                  Optional
+                                    < Actor
+                                    | Boolean
+                                    | Date
+                                    | DocumentHandle : Text
+                                    | HumanActor
+                                    | Integer
+                                    | NonNegativeInteger
+                                    | Rfc3339Utc
+                                    | Uri
+                                    | UriWithScheme : Text
+                                    >
+                              , path :
+                                  Optional
+                                    { allowSelf : Bool
+                                    , externalUriSchemes : List Text
+                                    }
+                              , reference :
+                                  Optional
+                                    { allowLocal : Bool
+                                    , allowSelf : Bool
+                                    , externalUriPattern : Optional Text
+                                    , externalUriSchemes : List Text
+                                    , localPrefix : Text
+                                    }
+                              , when :
+                                  Optional
+                                    { field : Text, hasValue : List Text }
+                              }
+                        }
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , uniqueBy : Optional Text
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            }
+        , idPrefix : Optional Text
+        , pathPattern : Optional Text
+        , requireSchemaSection : Bool
+        , resourceScheme : Optional Text
+        , schemaColumns : List Text
+        , type : Text
+        }
+    , default =
+      { description = None Text
+      , frontmatter =
+        { optional =
+            [] : List
+                   { allowedValues : List Text
+                   , cardinality : < Any | List | Scalar >
+                   , description : Optional Text
+                   , elementFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , field : Text
+                   , format :
+                       Optional
+                         < Actor
+                         | Boolean
+                         | Date
+                         | DocumentHandle : Text
+                         | HumanActor
+                         | Integer
+                         | NonNegativeInteger
+                         | Rfc3339Utc
+                         | Uri
+                         | UriWithScheme : Text
+                         >
+                   , objectFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , path :
+                       Optional
+                         { allowSelf : Bool, externalUriSchemes : List Text }
+                   , reference :
+                       Optional
+                         { allowLocal : Bool
+                         , allowSelf : Bool
+                         , externalUriPattern : Optional Text
+                         , externalUriSchemes : List Text
+                         , localPrefix : Text
+                         }
+                   , uniqueBy : Optional Text
+                   , when : Optional { field : Text, hasValue : List Text }
+                   }
+        , recommended =
+            [] : List
+                   { allowedValues : List Text
+                   , cardinality : < Any | List | Scalar >
+                   , description : Optional Text
+                   , elementFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , field : Text
+                   , format :
+                       Optional
+                         < Actor
+                         | Boolean
+                         | Date
+                         | DocumentHandle : Text
+                         | HumanActor
+                         | Integer
+                         | NonNegativeInteger
+                         | Rfc3339Utc
+                         | Uri
+                         | UriWithScheme : Text
+                         >
+                   , objectFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , path :
+                       Optional
+                         { allowSelf : Bool, externalUriSchemes : List Text }
+                   , reference :
+                       Optional
+                         { allowLocal : Bool
+                         , allowSelf : Bool
+                         , externalUriPattern : Optional Text
+                         , externalUriSchemes : List Text
+                         , localPrefix : Text
+                         }
+                   , uniqueBy : Optional Text
+                   , when : Optional { field : Text, hasValue : List Text }
+                   }
+        , required =
+            [] : List
+                   { allowedValues : List Text
+                   , cardinality : < Any | List | Scalar >
+                   , description : Optional Text
+                   , elementFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , field : Text
+                   , format :
+                       Optional
+                         < Actor
+                         | Boolean
+                         | Date
+                         | DocumentHandle : Text
+                         | HumanActor
+                         | Integer
+                         | NonNegativeInteger
+                         | Rfc3339Utc
+                         | Uri
+                         | UriWithScheme : Text
+                         >
+                   , objectFields :
+                       Optional
+                         { optional :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , recommended :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         , required :
+                             List
+                               { allowedValues : List Text
+                               , cardinality : < Any | List | Scalar >
+                               , description : Optional Text
+                               , field : Text
+                               , format :
+                                   Optional
+                                     < Actor
+                                     | Boolean
+                                     | Date
+                                     | DocumentHandle : Text
+                                     | HumanActor
+                                     | Integer
+                                     | NonNegativeInteger
+                                     | Rfc3339Utc
+                                     | Uri
+                                     | UriWithScheme : Text
+                                     >
+                               , path :
+                                   Optional
+                                     { allowSelf : Bool
+                                     , externalUriSchemes : List Text
+                                     }
+                               , reference :
+                                   Optional
+                                     { allowLocal : Bool
+                                     , allowSelf : Bool
+                                     , externalUriPattern : Optional Text
+                                     , externalUriSchemes : List Text
+                                     , localPrefix : Text
+                                     }
+                               , when :
+                                   Optional
+                                     { field : Text, hasValue : List Text }
+                               }
+                         }
+                   , path :
+                       Optional
+                         { allowSelf : Bool, externalUriSchemes : List Text }
+                   , reference :
+                       Optional
+                         { allowLocal : Bool
+                         , allowSelf : Bool
+                         , externalUriPattern : Optional Text
+                         , externalUriSchemes : List Text
+                         , localPrefix : Text
+                         }
+                   , uniqueBy : Optional Text
+                   , when : Optional { field : Text, hasValue : List Text }
+                   }
+        }
+      , idPrefix = None Text
+      , pathPattern = None Text
+      , requireSchemaSection = False
+      , resourceScheme = None Text
+      , schemaColumns = [] : List Text
+      }
+    }
+  }
+, mk =
+  { FieldRule =
+    { actor =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Actor
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , boolean =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Boolean
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , bundlePath =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = Some
+            { allowSelf = False, externalUriSchemes = [] : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , conditional =
+        \ ( _
+          : { allowedValues : List Text
+            , cardinality : < Any | List | Scalar >
+            , description : Optional Text
+            , elementFields :
+                Optional
+                  { optional :
+                      List
+                        { allowedValues : List Text
+                        , cardinality : < Any | List | Scalar >
+                        , description : Optional Text
+                        , field : Text
+                        , format :
+                            Optional
+                              < Actor
+                              | Boolean
+                              | Date
+                              | DocumentHandle : Text
+                              | HumanActor
+                              | Integer
+                              | NonNegativeInteger
+                              | Rfc3339Utc
+                              | Uri
+                              | UriWithScheme : Text
+                              >
+                        , path :
+                            Optional
+                              { allowSelf : Bool
+                              , externalUriSchemes : List Text
+                              }
+                        , reference :
+                            Optional
+                              { allowLocal : Bool
+                              , allowSelf : Bool
+                              , externalUriPattern : Optional Text
+                              , externalUriSchemes : List Text
+                              , localPrefix : Text
+                              }
+                        , when : Optional { field : Text, hasValue : List Text }
+                        }
+                  , recommended :
+                      List
+                        { allowedValues : List Text
+                        , cardinality : < Any | List | Scalar >
+                        , description : Optional Text
+                        , field : Text
+                        , format :
+                            Optional
+                              < Actor
+                              | Boolean
+                              | Date
+                              | DocumentHandle : Text
+                              | HumanActor
+                              | Integer
+                              | NonNegativeInteger
+                              | Rfc3339Utc
+                              | Uri
+                              | UriWithScheme : Text
+                              >
+                        , path :
+                            Optional
+                              { allowSelf : Bool
+                              , externalUriSchemes : List Text
+                              }
+                        , reference :
+                            Optional
+                              { allowLocal : Bool
+                              , allowSelf : Bool
+                              , externalUriPattern : Optional Text
+                              , externalUriSchemes : List Text
+                              , localPrefix : Text
+                              }
+                        , when : Optional { field : Text, hasValue : List Text }
+                        }
+                  , required :
+                      List
+                        { allowedValues : List Text
+                        , cardinality : < Any | List | Scalar >
+                        , description : Optional Text
+                        , field : Text
+                        , format :
+                            Optional
+                              < Actor
+                              | Boolean
+                              | Date
+                              | DocumentHandle : Text
+                              | HumanActor
+                              | Integer
+                              | NonNegativeInteger
+                              | Rfc3339Utc
+                              | Uri
+                              | UriWithScheme : Text
+                              >
+                        , path :
+                            Optional
+                              { allowSelf : Bool
+                              , externalUriSchemes : List Text
+                              }
+                        , reference :
+                            Optional
+                              { allowLocal : Bool
+                              , allowSelf : Bool
+                              , externalUriPattern : Optional Text
+                              , externalUriSchemes : List Text
+                              , localPrefix : Text
+                              }
+                        , when : Optional { field : Text, hasValue : List Text }
+                        }
+                  }
+            , field : Text
+            , format :
+                Optional
+                  < Actor
+                  | Boolean
+                  | Date
+                  | DocumentHandle : Text
+                  | HumanActor
+                  | Integer
+                  | NonNegativeInteger
+                  | Rfc3339Utc
+                  | Uri
+                  | UriWithScheme : Text
+                  >
+            , objectFields :
+                Optional
+                  { optional :
+                      List
+                        { allowedValues : List Text
+                        , cardinality : < Any | List | Scalar >
+                        , description : Optional Text
+                        , field : Text
+                        , format :
+                            Optional
+                              < Actor
+                              | Boolean
+                              | Date
+                              | DocumentHandle : Text
+                              | HumanActor
+                              | Integer
+                              | NonNegativeInteger
+                              | Rfc3339Utc
+                              | Uri
+                              | UriWithScheme : Text
+                              >
+                        , path :
+                            Optional
+                              { allowSelf : Bool
+                              , externalUriSchemes : List Text
+                              }
+                        , reference :
+                            Optional
+                              { allowLocal : Bool
+                              , allowSelf : Bool
+                              , externalUriPattern : Optional Text
+                              , externalUriSchemes : List Text
+                              , localPrefix : Text
+                              }
+                        , when : Optional { field : Text, hasValue : List Text }
+                        }
+                  , recommended :
+                      List
+                        { allowedValues : List Text
+                        , cardinality : < Any | List | Scalar >
+                        , description : Optional Text
+                        , field : Text
+                        , format :
+                            Optional
+                              < Actor
+                              | Boolean
+                              | Date
+                              | DocumentHandle : Text
+                              | HumanActor
+                              | Integer
+                              | NonNegativeInteger
+                              | Rfc3339Utc
+                              | Uri
+                              | UriWithScheme : Text
+                              >
+                        , path :
+                            Optional
+                              { allowSelf : Bool
+                              , externalUriSchemes : List Text
+                              }
+                        , reference :
+                            Optional
+                              { allowLocal : Bool
+                              , allowSelf : Bool
+                              , externalUriPattern : Optional Text
+                              , externalUriSchemes : List Text
+                              , localPrefix : Text
+                              }
+                        , when : Optional { field : Text, hasValue : List Text }
+                        }
+                  , required :
+                      List
+                        { allowedValues : List Text
+                        , cardinality : < Any | List | Scalar >
+                        , description : Optional Text
+                        , field : Text
+                        , format :
+                            Optional
+                              < Actor
+                              | Boolean
+                              | Date
+                              | DocumentHandle : Text
+                              | HumanActor
+                              | Integer
+                              | NonNegativeInteger
+                              | Rfc3339Utc
+                              | Uri
+                              | UriWithScheme : Text
+                              >
+                        , path :
+                            Optional
+                              { allowSelf : Bool
+                              , externalUriSchemes : List Text
+                              }
+                        , reference :
+                            Optional
+                              { allowLocal : Bool
+                              , allowSelf : Bool
+                              , externalUriPattern : Optional Text
+                              , externalUriSchemes : List Text
+                              , localPrefix : Text
+                              }
+                        , when : Optional { field : Text, hasValue : List Text }
+                        }
+                  }
+            , path :
+                Optional { allowSelf : Bool, externalUriSchemes : List Text }
+            , reference :
+                Optional
+                  { allowLocal : Bool
+                  , allowSelf : Bool
+                  , externalUriPattern : Optional Text
+                  , externalUriSchemes : List Text
+                  , localPrefix : Text
+                  }
+            , uniqueBy : Optional Text
+            , when : Optional { field : Text, hasValue : List Text }
+            }
+          ) ->
+        \(_ : { field : Text, hasValue : List Text }) ->
+          _@1
+          with when = Some _
+    , date =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Date
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , documentHandle =
+        \(_ : Text) ->
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _@1
+          , format = Some
+              ( < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >.DocumentHandle
+                  _
+              )
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , documented =
+        \(_ : Text) ->
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = Some _
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _@1
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , enum =
+        \(_ : Text) ->
+        \(_ : List Text) ->
+          { allowedValues = _
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _@1
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , humanActor =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.HumanActor
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , integer =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Integer
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , list =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.List
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , localOrExternalPath =
+        \(_ : Text) ->
+        \(_ : List Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _@1
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = Some { allowSelf = False, externalUriSchemes = _ }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , localOrExternalReference =
+        \(_ : Text) ->
+        \(_ : Text) ->
+        \(_ : List Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _@2
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference = Some
+            { allowLocal = True
+            , allowSelf = False
+            , externalUriPattern = None Text
+            , externalUriSchemes = _
+            , localPrefix = _@1
+            }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , localReference =
+        \(_ : Text) ->
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _@1
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference = Some
+            { allowLocal = True
+            , allowSelf = False
+            , externalUriPattern = None Text
+            , externalUriSchemes = [] : List Text
+            , localPrefix = _
+            }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , nonNegativeInteger =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.NonNegativeInteger
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , plain =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , record =
+        \(_ : Text) ->
+        \ ( _
+          : { optional :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , recommended :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , required :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            }
+          ) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _@1
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields = Some _
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , recordList =
+        \(_ : Text) ->
+        \ ( _
+          : { optional :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , recommended :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , required :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            }
+          ) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.List
+          , description = None Text
+          , elementFields = Some _
+          , field = _@1
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , recordOrList =
+        \(_ : Text) ->
+        \ ( _
+          : { optional :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , recommended :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            , required :
+                List
+                  { allowedValues : List Text
+                  , cardinality : < Any | List | Scalar >
+                  , description : Optional Text
+                  , field : Text
+                  , format :
+                      Optional
+                        < Actor
+                        | Boolean
+                        | Date
+                        | DocumentHandle : Text
+                        | HumanActor
+                        | Integer
+                        | NonNegativeInteger
+                        | Rfc3339Utc
+                        | Uri
+                        | UriWithScheme : Text
+                        >
+                  , path :
+                      Optional
+                        { allowSelf : Bool, externalUriSchemes : List Text }
+                  , reference :
+                      Optional
+                        { allowLocal : Bool
+                        , allowSelf : Bool
+                        , externalUriPattern : Optional Text
+                        , externalUriSchemes : List Text
+                        , localPrefix : Text
+                        }
+                  , when : Optional { field : Text, hasValue : List Text }
+                  }
+            }
+          ) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields = Some _
+          , field = _@1
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields = Some _
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , rfc3339Utc =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Rfc3339Utc
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , scalar =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Scalar
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , uri =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Uri
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , uriWithScheme =
+        \(_ : Text) ->
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , elementFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , field = _@1
+          , format = Some
+              ( < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >.UriWithScheme
+                  _
+              )
+          , objectFields =
+              None
+                { optional :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , recommended :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                , required :
+                    List
+                      { allowedValues : List Text
+                      , cardinality : < Any | List | Scalar >
+                      , description : Optional Text
+                      , field : Text
+                      , format :
+                          Optional
+                            < Actor
+                            | Boolean
+                            | Date
+                            | DocumentHandle : Text
+                            | HumanActor
+                            | Integer
+                            | NonNegativeInteger
+                            | Rfc3339Utc
+                            | Uri
+                            | UriWithScheme : Text
+                            >
+                      , path :
+                          Optional
+                            { allowSelf : Bool, externalUriSchemes : List Text }
+                      , reference :
+                          Optional
+                            { allowLocal : Bool
+                            , allowSelf : Bool
+                            , externalUriPattern : Optional Text
+                            , externalUriSchemes : List Text
+                            , localPrefix : Text
+                            }
+                      , when : Optional { field : Text, hasValue : List Text }
+                      }
+                }
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , uniqueBy = None Text
+          , when = None { field : Text, hasValue : List Text }
+          }
+    }
+  , NestedFieldRule =
+    { actor =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Actor
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , boolean =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Boolean
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , bundlePath =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , path = Some
+            { allowSelf = False, externalUriSchemes = [] : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , conditional =
+        \ ( _
+          : { allowedValues : List Text
+            , cardinality : < Any | List | Scalar >
+            , description : Optional Text
+            , field : Text
+            , format :
+                Optional
+                  < Actor
+                  | Boolean
+                  | Date
+                  | DocumentHandle : Text
+                  | HumanActor
+                  | Integer
+                  | NonNegativeInteger
+                  | Rfc3339Utc
+                  | Uri
+                  | UriWithScheme : Text
+                  >
+            , path :
+                Optional { allowSelf : Bool, externalUriSchemes : List Text }
+            , reference :
+                Optional
+                  { allowLocal : Bool
+                  , allowSelf : Bool
+                  , externalUriPattern : Optional Text
+                  , externalUriSchemes : List Text
+                  , localPrefix : Text
+                  }
+            , when : Optional { field : Text, hasValue : List Text }
+            }
+          ) ->
+        \(_ : { field : Text, hasValue : List Text }) ->
+          _@1
+          with when = Some _
+    , date =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Date
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , documentHandle =
+        \(_ : Text) ->
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _@1
+          , format = Some
+              ( < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >.DocumentHandle
+                  _
+              )
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , documented =
+        \(_ : Text) ->
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = Some _
+          , field = _@1
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , enum =
+        \(_ : Text) ->
+        \(_ : List Text) ->
+          { allowedValues = _
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _@1
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , humanActor =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.HumanActor
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , integer =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Integer
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , list =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.List
+          , description = None Text
+          , field = _
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , localOrExternalPath =
+        \(_ : Text) ->
+        \(_ : List Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _@1
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , path = Some { allowSelf = False, externalUriSchemes = _ }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , nonNegativeInteger =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.NonNegativeInteger
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , plain =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , rfc3339Utc =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Rfc3339Utc
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , scalar =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Scalar
+          , description = None Text
+          , field = _
+          , format =
+              None
+                < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , uri =
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _
+          , format = Some
+              < Actor
+              | Boolean
+              | Date
+              | DocumentHandle : Text
+              | HumanActor
+              | Integer
+              | NonNegativeInteger
+              | Rfc3339Utc
+              | Uri
+              | UriWithScheme : Text
+              >.Uri
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
+          , when = None { field : Text, hasValue : List Text }
+          }
+    , uriWithScheme =
+        \(_ : Text) ->
+        \(_ : Text) ->
+          { allowedValues = [] : List Text
+          , cardinality = < Any | List | Scalar >.Any
+          , description = None Text
+          , field = _@1
+          , format = Some
+              ( < Actor
+                | Boolean
+                | Date
+                | DocumentHandle : Text
+                | HumanActor
+                | Integer
+                | NonNegativeInteger
+                | Rfc3339Utc
+                | Uri
+                | UriWithScheme : Text
+                >.UriWithScheme
+                  _
+              )
+          , path = None { allowSelf : Bool, externalUriSchemes : List Text }
+          , reference =
+              None
+                { allowLocal : Bool
+                , allowSelf : Bool
+                , externalUriPattern : Optional Text
+                , externalUriSchemes : List Text
+                , localPrefix : Text
+                }
           , when = None { field : Text, hasValue : List Text }
           }
     }
diff --git a/test/fixtures/catalogue/package.dhall b/test/fixtures/catalogue/package.dhall
--- a/test/fixtures/catalogue/package.dhall
+++ b/test/fixtures/catalogue/package.dhall
@@ -1,4 +1,4 @@
---| Offline snapshot of mori://shinzui/okf-profiles at v0.10.0.
+--| Offline snapshot of mori://shinzui/okf-profiles at v0.14.0.
 -- Generated by scripts/refresh-default-registry.sh; do not edit by hand.
 -- Profile/okf.dhall is the resolved schema pinned by that release, so this
 -- fixture evaluates without network access.
@@ -30,7 +30,9 @@
     , FieldFormat = okf.FieldFormat
     , mk = okf.mk
     , reviewRule = ./Profile/ReviewRule.dhall
+    , modelReview = ./Profile/ModelReview.dhall
     , v02 = ./Profile/V02.dhall
+    , assurance = ./profiles/assurance/package.dhall
     , coordination = ./profiles/coordination/package.dhall
     , documentation = ./profiles/documentation/package.dhall
     , okfV02 = ./profiles/okf-v0-2.dhall
diff --git a/test/fixtures/catalogue/profiles/assurance/failure-modes.dhall b/test/fixtures/catalogue/profiles/assurance/failure-modes.dhall
new file mode 100644
--- /dev/null
+++ b/test/fixtures/catalogue/profiles/assurance/failure-modes.dhall
@@ -0,0 +1,271 @@
+--| Profile for recurring failure modes: what went wrong, how to recognise it
+-- next time, and which explanations have already been ruled out.
+--
+-- ## What a failure mode is, and what it is not
+--
+-- A failure mode is a *diagnosis that outlived its incident*. It exists because
+-- the same symptom appeared in more than one place, cost real time to identify
+-- each time, and will appear again. The record's whole job is to make the second
+-- and third diagnosis cheap.
+--
+--   * A defect in behavior one repository already claims to provide is NOT a
+--     failure mode. That is a `coordination.bugReports` entry, scoped to one
+--     repository with one reproduction. A failure mode is what you write when
+--     the same symptom crosses repositories, or when the cause sits in a
+--     toolchain, a runtime, or a habit rather than in anybody's source.
+--   * A single incident nobody expects to see again is NOT a failure mode
+--     either. Write it down when it recurs, or when the mechanism guarantees it
+--     will. Until then the honest artifact is a research document.
+--   * A cause nobody has isolated is not one yet: `status` starts at `observed`,
+--     and `rootCause` is not demanded until `diagnosed`. A catalog that lets
+--     suspicion masquerade as diagnosis is worse than no catalog, because the
+--     next reader stops looking.
+--   * Granularity: one failure mode is one mechanism. Two symptoms with one
+--     mechanism are one entry with two `occurrences`; two mechanisms that happen
+--     to look alike are two entries, and `signature` is what tells them apart.
+--
+--
+-- ## `eliminated` is the field this profile exists for
+--
+-- Every other key here has an analogue in some tracker somewhere. This one
+-- rarely does, and it is where the time actually goes: the expensive part of a
+-- recurring diagnosis is not finding the cause, it is re-walking the plausible
+-- explanations that are wrong. A record that says only "the cause was X" leaves
+-- the next reader to re-test the four theories that preceded X.
+--
+-- An entry is only worth writing if it names the check that disproved it. "It
+-- wasn't the timeout" is a memory; "`timeout 2 bash -c 'bash -c \"sleep 90 &
+-- wait\"'` kills the sleep, so GNU timeout does signal the process group" is a
+-- result the next reader can trust without re-running it — and can re-run in
+-- seconds if they doubt it. Entries without a check belong in the body.
+--
+--
+-- ## `signature` is for recognition, `diagnosis` is for confirmation
+--
+-- They are separate keys because they answer different questions at different
+-- costs. `signature` is what a reader matches against a live symptom in seconds,
+-- from what is already on their screen. `diagnosis` is the ordered set of checks
+-- that decide it, cheapest first, run once the signature matches.
+--
+-- Collapsing the two produces a record nobody consults during an incident,
+-- because matching it requires running something.
+--
+--
+-- ## The house `status` vocabulary
+--
+-- Per ADR-1 this profile declares its own lifecycle on `status` and does not
+-- splice OKF v0.2 §5.4. The question is "how far has this been driven to
+-- ground", which is not the draft/stable/deprecated question v0.2 asks.
+--
+--   * `observed`   — the symptom is recorded; the mechanism is not established.
+--   * `diagnosed`  — the mechanism is established and `rootCause` says what it is.
+--   * `mitigated`  — a control exists that reduces the cost, not the frequency.
+--   * `prevented`  — a control exists that stops it recurring, and it is applied.
+--   * `accepted`   — understood, and deliberately left in place. `control` then
+--                    records what makes that tolerable.
+--
+-- `prevented` is a claim about the world, not about intent: it means the control
+-- is deployed everywhere the mode can occur. A fix that exists in one repository
+-- while the mode can still fire in six others is `mitigated`.
+--
+--
+-- ## `scope` decides where the fix has to live
+--
+-- The reason a failure mode recurs is almost always that the fix was applied at
+-- the wrong altitude. `scope` records the altitude the mechanism actually sits
+-- at, which is what makes the record actionable rather than merely interesting:
+--
+--   * `project`   — one repository's code or configuration.
+--   * `fleet`     — a convention shared across repositories: an agent
+--                   instruction, a justfile recipe, a template.
+--   * `toolchain` — a compiler, runtime, or CLI behaving as designed, where the
+--                   fix is to stop relying on the assumption that it does not.
+--   * `platform`  — the machine or OS.
+--
+-- A mode whose `scope` is `fleet` and whose `control` names one repository is
+-- the commonest way an entry gets written and then recurs anyway.
+--
+--
+-- ## `occurrences` carries the recurrence, and is what earns the entry
+--
+-- One entry per sighting, newest last, each naming where and when. Two sightings
+-- is the threshold for writing the record at all, so a single-element list
+-- should be rare and is worth a second look: either the mechanism guarantees
+-- recurrence, or this is a research document wearing the wrong type.
+--
+-- `mori://` URIs rather than repository names, because the corpus is queried
+-- across projects and a bare name does not resolve.
+let Profile = ../../Profile/Type.dhall
+
+let FrontmatterRules = ../../Profile/FrontmatterRules.dhall
+
+let TypeRule = ../../Profile/TypeRule.dhall
+
+let okf = ../../Profile/okf.dhall
+
+let FieldRule = okf.defaults.FieldRule
+
+let HandleReferenceRule = okf.defaults.HandleReferenceRule
+
+let Cardinality = okf.Cardinality
+
+let FieldFormat = okf.FieldFormat
+
+let reviewRule = ../../Profile/ReviewRule.dhall
+
+let v02 = ../../Profile/V02.dhall
+
+let condition =
+      \(field : Text) -> \(hasValue : List Text) -> { field, hasValue }
+
+let understood =
+      condition
+        "status"
+        [ "diagnosed", "mitigated", "prevented", "accepted" ]
+
+let controlled = condition "status" [ "mitigated", "prevented", "accepted" ]
+
+let scalar =
+      \(name : Text) ->
+      \(description : Text) ->
+        FieldRule::{
+        , field = name
+        , description = Some description
+        , cardinality = Cardinality.Scalar
+        }
+
+let list =
+      \(name : Text) ->
+      \(description : Text) ->
+        FieldRule::{
+        , field = name
+        , description = Some description
+        , cardinality = Cardinality.List
+        }
+
+in  Profile::{
+    , name = "failure-modes"
+    , description = Some
+        "Recurring failure modes with stable FM handles: the signature that identifies one on sight, the checks that confirm it, the explanations already disproved, and the control that stops it. A defect in one repository's published behavior is a bug report, not a failure mode. The house `reviews` family and OKF `verified` coexist: an approving `reviews` entry should also be mirrored into `verified` to keep the derived trust tier accurate."
+    , okfVersion = "0.2"
+    , requireBundleVersion = Some "0.2"
+    , allowUnknownTypes = False
+    , idField = Some "failureModeId"
+    , frontmatter = FrontmatterRules::{
+      , required =
+        [ scalar "type" "The Failure Mode concept type."
+        , scalar "title" "Short statement of the mechanism, not of one incident."
+        , scalar
+            "description"
+            "One sentence a reader can match against a live symptom without opening the body."
+        ,     v02.generated
+          //  { description = Some
+                  "§5.2. Who produced this entry's current content, and when."
+              }
+        , FieldRule::{
+          , field = "failureModeId"
+          , description = Some "Bundle-scoped stable FM-N handle."
+          , cardinality = Cardinality.Scalar
+          , format = Some (FieldFormat.DocumentHandle "FM")
+          }
+        , FieldRule::{
+          , field = "status"
+          , description = Some
+              "How far this has been driven to ground. `prevented` means the control is deployed everywhere the mode can fire, not merely written."
+          , allowedValues =
+            [ "observed", "diagnosed", "mitigated", "prevented", "accepted" ]
+          , cardinality = Cardinality.Scalar
+          }
+        , -- The altitude the mechanism sits at, which is the altitude its fix
+          -- has to live at. See the header: a fleet-scoped mode fixed in one
+          -- repository is the commonest way an entry recurs after being written.
+          FieldRule::{
+          , field = "scope"
+          , description = Some
+              "Where the mechanism lives, and therefore where a durable fix must go."
+          , allowedValues = [ "project", "fleet", "toolchain", "platform" ]
+          , cardinality = Cardinality.Scalar
+          }
+        , scalar
+            "signature"
+            "What a reader matches against a live symptom in seconds, from what is already on screen. Not a diagnostic procedure."
+        , list
+            "occurrences"
+            "One entry per sighting, newest last, each naming the Mori URI where it fired and the date."
+        , list
+            "diagnosis"
+            "Ordered checks that confirm this mode once the signature matches, cheapest first."
+        , -- Conditionally required, which okf spells `required` plus `when`: the
+          -- demand only applies once the status claims a mechanism is known.
+          scalar
+            "rootCause"
+            "The mechanism, stated so that someone who has never seen it can predict when it fires."
+          //  { when = Some understood }
+        , scalar
+            "control"
+            "The change that stops this recurring, or — under `accepted` — what makes living with it tolerable."
+          //  { when = Some controlled }
+        ]
+      , -- `eliminated` is recommended rather than required because a mode can be
+        -- diagnosed on the first try with nothing to rule out, and it is gated
+        -- on `understood` because an entry still at `observed` has had nothing
+        -- to rule out *yet*. Demanding it there would report the honest early
+        -- state as a deficiency and invite invented content, which is the one
+        -- thing this key cannot survive. Once a mechanism is claimed, the
+        -- alternatives discarded on the way to it are what the next reader most
+        -- needs and `--strict` should ask for them.
+        recommended =
+        [ reviewRule
+        , list
+            "eliminated"
+            "Explanations tested and disproved, each naming the check that disproved it. An entry without a check belongs in the body."
+          //  { when = Some understood }
+        , -- Demanded once a control exists, because a control nobody can see
+          -- firing is indistinguishable from one that silently stopped working.
+          scalar
+            "detection"
+            "The standing, cheap signal that surfaces this early — the thing to watch rather than to remember."
+          //  { when = Some controlled }
+        ]
+      , optional =
+        [ -- Ordinarily absent: most modes are not instances of a filed defect.
+          -- A Mori URI rather than a `BUG-N` handle reference, because the bug
+          -- report lives in another bundle in another repository, and declaring
+          -- a `BUG` prefix here that this profile does not type is a profile
+          -- load failure.
+          FieldRule::{
+          , field = "bugReport"
+          , description = Some
+              "Mori URI of a bug report that is one instance of this mode, where a repository owns the defect."
+          , cardinality = Cardinality.Scalar
+          , format = Some (FieldFormat.UriWithScheme "mori")
+          }
+        , scalar
+            "cost"
+            "What each undiagnosed occurrence has cost, stated observably — machine-hours lost, work blocked. Ranks the catalog by what is worth preventing."
+        , FieldRule::{
+          , field = "supersededBy"
+          , description = Some
+              "The entry that replaces this one, as a local FM-N handle or an external Mori URI, once a sharper mechanism subsumes it."
+          , cardinality = Cardinality.Scalar
+          , reference = Some HandleReferenceRule::{
+            , localPrefix = "FM"
+            , externalUriSchemes = [ "mori" ]
+            }
+          }
+        ,     v02.verified
+          //  { description = Some
+                  "§5.2. Independent confirmations that this diagnosis holds. Mirror an approving `reviews` entry here."
+              }
+        ]
+      }
+    , types =
+      [ TypeRule::{
+        , type = "Failure Mode"
+        , description = Some
+            "One mechanism, with the signature that identifies it and the control that stops it."
+        , pathPattern = Some "*"
+        , idPrefix = Some "FM"
+        }
+      ]
+    }
diff --git a/test/fixtures/catalogue/profiles/assurance/package.dhall b/test/fixtures/catalogue/profiles/assurance/package.dhall
new file mode 100644
--- /dev/null
+++ b/test/fixtures/catalogue/profiles/assurance/package.dhall
@@ -0,0 +1,15 @@
+--| Profiles for evidence about work, rather than descriptions of it.
+--
+-- A coordination profile records a claim — what a consumer needs, what a
+-- producer provides, where the two fail to meet. A documentation profile records
+-- an explanation. An assurance profile records that someone checked: who looked,
+-- at which commit, for which concerns, and what came of it. That is a different
+-- kind of statement, and it is why `reviews` is not a fifth corner of the
+-- coordination family.
+-- `failureModes` sits here for the same reason: it records that a mechanism was
+-- driven to ground — which explanations were tested, which check settled it —
+-- rather than describing the system or coordinating work on it. A defect one
+-- repository owns is a `coordination.bugReports` entry; what recurs across
+-- repositories, or lives in a toolchain rather than in anybody's source, is a
+-- failure mode.
+{ reviews = ./reviews.dhall, failureModes = ./failure-modes.dhall }
diff --git a/test/fixtures/catalogue/profiles/assurance/reviews.dhall b/test/fixtures/catalogue/profiles/assurance/reviews.dhall
new file mode 100644
--- /dev/null
+++ b/test/fixtures/catalogue/profiles/assurance/reviews.dhall
@@ -0,0 +1,383 @@
+--| Profile for records of what was reviewed, by whom, and at which commit.
+--
+-- ## What a review record is, and what it is not
+--
+-- A review record is an *examination claim*: at one named commit, one named
+-- reviewer looked at one named artifact for one named set of concerns, and this
+-- is what came of it. It is evidence about work rather than a description of the
+-- work, which is what places it in the assurance family rather than in
+-- coordination or documentation:
+--
+--   * A review record is NOT its findings. A finding worth acting on becomes a
+--     bug report or an improvement request in the repository that owns the
+--     artifact, and `produced` links to it. The body carries the analysis; the
+--     record carries the fact of the examination and the conditions it ran
+--     under.
+--   * A reading that cannot say where it stopped is NOT a review record. The
+--     reviewer, the commit, and the concerns examined are all required, because
+--     a record missing any of the three cannot answer the question this corpus
+--     exists for — *what is already covered, and from which commit does the next
+--     review start?*
+--   * Granularity: one record is one subject examined at one commit. A sweep
+--     across four components is four records, because a later reader asks about
+--     one component at a time and a single record would claim depth on each that
+--     the sweep did not have.
+--
+-- The house `reviews` frontmatter family in `../../Profile/ReviewRule.dhall` is
+-- the same information at a different scope — an annotation recording that the
+-- document carrying it was reviewed. Both exist, and a repository will use both:
+-- `reviews` where the review is metadata about a document, this profile where
+-- the review is the artifact being kept. They share their model vocabulary
+-- through `../../Profile/ModelReview.dhall` so the grades cannot drift apart.
+--
+--
+-- ## `subject`, `subjectKind`, and `component`
+--
+-- `subject` is a Mori URI naming the most specific canonical artifact available:
+-- `mori://shinzui/mori/plans/172-…` where a plan has one, the project URI where
+-- the reviewed thing has no artifact URI of its own. `component` carries the
+-- name of the part when `subject` names the container instead:
+--
+--     subject: mori://example/keiro          subject: mori://example/keiro
+--     subjectKind: project                   subjectKind: aggregate
+--                                            component: Keiro.Domain.Order
+--
+-- Both keys together are the *identity* of the reviewed thing, and identity is
+-- what makes a corpus of reviews worth more than a pile of them: the next
+-- review of the Order aggregate finds its predecessor by matching them and
+-- starts from that record's `reviewedSha`. Two spellings of the same component
+-- are two subjects as far as any reader can tell, so `component` takes the
+-- identifier the codebase itself uses — a package name, a module path, a
+-- migration filename — and never a prose description of it.
+--
+-- `subjectKind` is what the identity *names*, and is assigned by looking at what
+-- was read rather than by judging its importance:
+--
+--   * `project`   — everything the repository publishes, reviewed as one.
+--   * `component` — a named part that ships as a unit: a package, a module, a
+--                   service, a library component.
+--   * `aggregate` — a consistency boundary inside a service or package, smaller
+--                   than the component containing it.
+--   * `migration` — a schema or data migration, reviewed as a unit.
+--   * `plan`      — a planning artifact rather than code. It covers both a plan
+--                   and a master plan, because the Mori URI already discriminates
+--                   them (`/plans/` against `/masterplans/`) and a reader
+--                   filtering for planning work wants both.
+--
+-- Where none of the five fits, widen this list deliberately rather than
+-- stretching a value: a `subjectKind` that means two things stops answering the
+-- query it exists for.
+--
+--
+-- ## `reviewedSha`, `coverage`, and `baseSha`
+--
+-- A date says when someone looked; only a commit says what they looked at. The
+-- pair is what makes the *next* review cheap — it starts from `reviewedSha`
+-- rather than from nothing — so the sha is required and is the full 40-character
+-- commit hash. A branch or tag name moves, and a moved reference silently
+-- converts a precise record into a false one.
+--
+-- `coverage` says what was read at that commit, and exists because okf can
+-- condition a rule on a value but not on the presence of one:
+--
+--   * `full`        — the whole subject was examined at `reviewedSha`.
+--   * `incremental` — only `baseSha..reviewedSha` was examined, so `baseSha` is
+--                     required and everything before it rests on an earlier
+--                     review.
+--
+-- Without the distinction a reader cannot tell a thorough review from a glance
+-- at a diff, and the two are worth very different amounts. `previousReview` is
+-- recommended under `--strict` once a review is incremental: an increment that
+-- names no predecessor leaves the chain broken at exactly the point a reader
+-- needs it, and a well-run corpus continues from the last review of the same
+-- subject rather than from an arbitrary commit.
+--
+--
+-- ## `reviewerKind`, `reviewer`, and the model triple
+--
+-- `reviewer` is an OKF §7 actor, so mirroring it into `verified.by` is a copy
+-- rather than the hand translation ADR-4 warns is easy to get wrong:
+-- `human:nadeem` for a person, `process:<agent>` or `<producer>/<version>` for
+-- an agent. For a model review it names the *harness* that ran the review, and
+-- `provider` / `model` / `effort` name what ran inside it — an agent is
+-- retargeted at a new model far more often than it is replaced, and a corpus
+-- that conflated the two could not answer either question.
+--
+-- `reviewerKind` is the discriminator, and is a separate key rather than derived
+-- from the `human:` prefix because okf conditions a rule on closed scalar values
+-- and cannot test a prefix. It gates the model triple: a human review demands
+-- none of the three, and a model review demands all three, because a model
+-- review with no model recorded cannot be repeated or compared.
+--
+--
+-- ## `dimensions` is what was looked for, not what was found
+--
+-- A review's worth is bounded by what it examined, and that is not recoverable
+-- from its outcome: an `approved` correctness review says nothing about whether
+-- anyone considered security. Each entry is assigned by observation — did the
+-- reviewer actually look for this — and a dimension nobody examined is left off,
+-- which is the entire point of recording them.
+--
+--   * `correctness`   — does it do what it claims: logic, edge cases, failure
+--                       handling, concurrency.
+--   * `security`      — can it be made to do something it must not.
+--   * `performance`   — resource cost and how it scales.
+--   * `design`        — structure, reuse, and whether the work sits at the right
+--                       altitude.
+--   * `test-coverage` — whether the tests would catch a regression.
+--   * `documentation` — whether the prose matches the behavior.
+--   * `operability`   — what happens in production: migration safety, rollback,
+--                       observability.
+--
+--
+-- ## A human's second look is `verified`, and this profile splices no `reviews`
+--
+-- OKF v0.2 §5.2 already has the key for "a person read this and stands behind
+-- it": a `verified` entry whose `by` carries the §7 `human:` prefix, which §5.3
+-- makes the sole discriminator of the human-reviewed trust tier. A model review
+-- that a person then read and agreed with is exactly one such entry, and `okf
+-- trust` reports the tier from it.
+--
+-- The house `reviews` family is deliberately NOT spliced here, alone in the
+-- catalog. On every other profile it records that the document was reviewed; on
+-- this one the document *is* the review, so a `reviews` key would record reviews
+-- of a review — a shape with no reader. Sign-off goes to `verified`, and a
+-- genuine second examination is a second record naming the same subject.
+--
+--
+-- ## No `status`, and no `stale_after`
+--
+-- Both are deliberately absent, which is a departure from the rule in ADR-1 that
+-- a profile declaring no house `status` takes OKF v0.2 §5.4's. A review is an
+-- event and not a document with a lifecycle: it is never redrafted, and it does
+-- not decay into `deprecated` — a later review of the same subject supersedes it
+-- by existing, which the `subject` / `component` / `reviewedSha` triple already
+-- says without a key to maintain. `stale_after` would encode a re-review policy,
+-- and a policy belongs to the repository being reviewed rather than to one
+-- record of having reviewed it. Both are additive if that judgment proves wrong:
+-- adding an `optional` rule is a pure relaxation for an existing corpus.
+--
+--
+-- ## `legacyTimestamp` is deliberately absent
+--
+-- `v02.legacyTimestamp` exists so a half-migrated v0.1 corpus keeps validating.
+-- This profile is introduced at v0.2 and no v0.1 review corpus exists, so there
+-- is nothing to keep validating. Add the rule to `optional` if one ever appears.
+let Profile = ../../Profile/Type.dhall
+
+let FrontmatterRules = ../../Profile/FrontmatterRules.dhall
+
+let TypeRule = ../../Profile/TypeRule.dhall
+
+let okf = ../../Profile/okf.dhall
+
+let FieldRule = okf.defaults.FieldRule
+
+let HandleReferenceRule = okf.defaults.HandleReferenceRule
+
+let Cardinality = okf.Cardinality
+
+let FieldFormat = okf.FieldFormat
+
+let modelReview = ../../Profile/ModelReview.dhall
+
+let v02 = ../../Profile/V02.dhall
+
+let condition =
+      \(field : Text) -> \(hasValue : List Text) -> { field, hasValue }
+
+let modelOnly = condition "reviewerKind" [ "model" ]
+
+let incremental = condition "coverage" [ "incremental" ]
+
+let scalar =
+      \(name : Text) ->
+      \(description : Text) ->
+        FieldRule::{
+        , field = name
+        , description = Some description
+        , cardinality = Cardinality.Scalar
+        }
+
+let moriUri =
+      \(name : Text) ->
+      \(description : Text) ->
+            scalar name description
+        //  { format = Some (FieldFormat.UriWithScheme "mori") }
+
+in  Profile::{
+    , name = "reviews"
+    , description = Some
+        "Records of an artifact having been reviewed: what was examined and under which stable identity, the commit it was examined at, who or which model examined it and at what effort, and what came of it. A finding worth acting on becomes a bug report or an improvement request; this corpus records the examination. A human who reads a model's review records that as an OKF `verified` entry under a `human:` actor, which is what `okf trust` reads to report the human-reviewed tier."
+    , okfVersion = "0.2"
+    , requireBundleVersion = Some "0.2"
+    , allowUnknownTypes = False
+    , idField = Some "reviewId"
+    , frontmatter = FrontmatterRules::{
+      , required =
+        [ scalar "type" "The Review concept type."
+        , scalar "title" "Short statement of what was reviewed and how it went."
+        , scalar
+            "description"
+            "One sentence a reader can evaluate without opening the body."
+        ,     v02.generated
+          //  { description = Some
+                  "§5.2. Who produced this record's current content, and when. Not the review itself — see `reviewer` and `reviewedAt`."
+              }
+        , FieldRule::{
+          , field = "reviewId"
+          , description = Some "Bundle-scoped stable REV-N handle."
+          , cardinality = Cardinality.Scalar
+          , format = Some (FieldFormat.DocumentHandle "REV")
+          }
+        , -- Identity, half of it. The pair `subject` + `component` is what a
+          -- later review matches on to find this one; see the header.
+          moriUri
+            "subject"
+            "Mori URI of what was reviewed: the most specific artifact that has one, else the project containing it."
+        , FieldRule::{
+          , field = "subjectKind"
+          , description = Some
+              "What `subject` and `component` name, assigned by what was read."
+          , allowedValues =
+            [ "project", "component", "aggregate", "migration", "plan" ]
+          , cardinality = Cardinality.Scalar
+          }
+        , -- A date says when someone looked; only this says what they looked at,
+          -- and it is what makes the next review cheap.
+          scalar
+            "reviewedSha"
+            "Full 40-character commit SHA of the state reviewed. Never a branch or tag name, which move."
+        , FieldRule::{
+          , field = "coverage"
+          , description = Some
+              "Whether the whole subject was read at `reviewedSha`, or only the range since `baseSha`."
+          , allowedValues = [ "full", "incremental" ]
+          , cardinality = Cardinality.Scalar
+          }
+        , -- Conditionally required, which okf spells `required` plus `when`: a
+          -- `when` gates a presence demand, and an `optional` rule makes no
+          -- demand to gate.
+              scalar
+                "baseSha"
+                "Commit the examined range starts after. Demanded once `coverage` is `incremental`."
+          //  { when = Some incremental }
+        , FieldRule::{
+          , field = "reviewedAt"
+          , description = Some "UTC time at which the review completed."
+          , cardinality = Cardinality.Scalar
+          , format = Some FieldFormat.Rfc3339Utc
+          }
+        , FieldRule::{
+          , field = "reviewerKind"
+          , description = Some
+              "Whether a person or a model performed the review. Gates the provider, model, and effort keys."
+          , allowedValues = [ "human", "model" ]
+          , cardinality = Cardinality.Scalar
+          }
+        , -- An OKF §7 actor, so mirroring it into `verified.by` is a copy rather
+          -- than the hand translation ADR-4 warns about. For a model review this
+          -- is the harness, and `model` below is what ran inside it.
+          FieldRule::{
+          , field = "reviewer"
+          , description = Some
+              "§7 actor that performed the review: `human:<id>`, `process:<agent>`, or `<producer>/<version>`."
+          , cardinality = Cardinality.Scalar
+          , format = Some FieldFormat.Actor
+          }
+        , FieldRule::{
+          , field = "outcome"
+          , description = Some "Result the reviewer recorded."
+          , allowedValues = [ "approved", "changes-requested", "commented" ]
+          , cardinality = Cardinality.Scalar
+          }
+        , -- What was looked for, not what was found: an approving correctness
+          -- review says nothing about whether anyone considered security.
+          FieldRule::{
+          , field = "dimensions"
+          , description = Some
+              "Concerns the review actually examined, one per entry. A concern nobody looked at is left off."
+          , allowedValues =
+            [ "correctness"
+            , "security"
+            , "performance"
+            , "design"
+            , "test-coverage"
+            , "documentation"
+            , "operability"
+            ]
+          , cardinality = Cardinality.List
+          }
+        ,     scalar "provider" modelReview.providerDescription
+          //  { when = Some modelOnly }
+        ,     scalar "model" modelReview.modelDescription
+          //  { when = Some modelOnly }
+        ,     FieldRule::{
+              , field = "effort"
+              , description = Some modelReview.effortDescription
+              , allowedValues = modelReview.efforts
+              , cardinality = Cardinality.Scalar
+              }
+          //  { when = Some modelOnly }
+        ]
+      , -- One conditional recommendation and nothing unconditional. The house
+        -- `reviews` family, which is the catalog's one standing recommendation
+        -- elsewhere, is deliberately absent here: this document *is* a review.
+        -- See the header.
+        recommended =
+        [ FieldRule::{
+          , field = "previousReview"
+          , description = Some
+              "The review this one continues from, as a local REV-N handle or an external Mori URI. Demanded once `coverage` is `incremental`."
+          , cardinality = Cardinality.Scalar
+          , reference = Some HandleReferenceRule::{
+            , localPrefix = "REV"
+            , externalUriSchemes = [ "mori" ]
+            }
+          , when = Some incremental
+          }
+        ]
+      , optional =
+        [ -- Ordinarily absent: a review of a whole project, or of an artifact
+          -- with a Mori URI of its own, has no part to name.
+          scalar
+            "component"
+            "Identifier the codebase uses for the part reviewed, when `subject` names the container. Never a prose description."
+        , -- Ordinarily absent: a project's sha is unambiguous until the project
+          -- has more than one repository, or until the reviewed artifact and the
+          -- code under it live in different ones.
+          moriUri
+            "repository"
+            "Mori URI of the repository `reviewedSha` belongs to, when `subject` alone does not settle it."
+        , -- A list of Mori URIs rather than handle references, and not by
+          -- preference: okf resolves a local handle against this bundle's own ID
+          -- index and ties every declared reference prefix to a type this
+          -- profile declares. Bug reports and improvement requests live in other
+          -- bundles, so the reference is external in every case that matters,
+          -- and declaring `BUG` here is a profile load failure.
+          FieldRule::{
+          , field = "produced"
+          , description = Some
+              "Mori URIs of records this review caused to exist: bug reports, improvement requests, plans."
+          , cardinality = Cardinality.List
+          , format = Some (FieldFormat.UriWithScheme "mori")
+          }
+        , scalar
+            "context"
+            "What the reviewer could see and how the review was run, where it bounds the result."
+        ,     v02.verified
+          //  { description = Some
+                  "§5.2. Independent confirmations that this review is sound. A person who read it records `by: human:<id>` here."
+              }
+        ]
+      }
+    , types =
+      [ TypeRule::{
+        , type = "Review"
+        , description = Some
+            "One subject examined at one commit, for one named set of concerns."
+        , pathPattern = Some "**"
+        , idPrefix = Some "REV"
+        }
+      ]
+    }
diff --git a/test/fixtures/catalogue/profiles/coordination/improvement-requests.dhall b/test/fixtures/catalogue/profiles/coordination/improvement-requests.dhall
--- a/test/fixtures/catalogue/profiles/coordination/improvement-requests.dhall
+++ b/test/fixtures/catalogue/profiles/coordination/improvement-requests.dhall
@@ -9,6 +9,10 @@
 
 let FieldRule = okf.defaults.FieldRule
 
+let NestedRules = okf.defaults.NestedRules
+
+let NestedFieldRule = okf.defaults.NestedFieldRule
+
 let HandleReferenceRule = okf.defaults.HandleReferenceRule
 
 let Cardinality = okf.Cardinality
@@ -31,6 +35,15 @@
         , cardinality = Cardinality.Scalar
         }
 
+let nestedScalar =
+      \(name : Text) ->
+      \(description : Text) ->
+        NestedFieldRule::{
+        , field = name
+        , description = Some description
+        , cardinality = Cardinality.Scalar
+        }
+
 in  Profile::{
     , name = "cross-repository-improvement-requests"
     , description = Some
@@ -112,7 +125,56 @@
           }
         ]
       , optional =
-        [ -- Ordinarily absent: a request that has not yet been planned has no
+        [ FieldRule::{
+          , field = "dependencies"
+          , description = Some
+              "Typed source relationships between improvement requests, not live operational blockers. `hard` gates source fulfillment on target fulfillment; `soft` informs or de-risks but never blocks by itself; `integration` allows independent implementation but gates source fulfillment on the named joint verification."
+          , cardinality = Cardinality.List
+          , elementFields = Some NestedRules::{
+            , required =
+              [     nestedScalar
+                    "ref"
+                    "Canonical external Mori URI of the target improvement request; local IR-N handles are ambiguous across repositories."
+                //  { reference = Some HandleReferenceRule::{
+                      , localPrefix = "IR"
+                      , externalUriSchemes = [ "mori" ]
+                      , allowLocal = False
+                      , externalUriPattern = Some
+                          "mori://[^/]+/[^/]+/okf/improvement-requests/concepts/IR-[1-9][0-9]*"
+                      }
+                    }
+              ,     nestedScalar
+                    "kind"
+                    "Source relationship kind: `hard` gates fulfillment on the target; `soft` never blocks by itself; `integration` permits independent implementation but gates fulfillment on named joint verification."
+                //  { allowedValues = [ "hard", "soft", "integration" ] }
+              , nestedScalar
+                  "reason"
+                  "Concise non-empty explanation of why this source relationship exists."
+              ]
+            }
+          }
+        , FieldRule::{
+          , field = "acceptanceCriteria"
+          , description = Some
+              "Stable request-local completion conditions, not tasks, dependencies, or evidence. Later evidence may cite a criterion id without rewriting the condition it proves."
+          , cardinality = Cardinality.List
+          , elementFields = Some NestedRules::{
+            , required =
+              [     nestedScalar
+                    "id"
+                    "Stable request-local AC-N handle for this acceptance condition."
+                //  { format = Some (FieldFormat.DocumentHandle "AC") }
+              , nestedScalar
+                  "statement"
+                  "Observable condition that must hold for the request to be complete."
+              , nestedScalar
+                  "verification"
+                  "Expected procedure or evidence that will prove the condition, without claiming that evidence already exists."
+              ]
+            }
+          , uniqueBy = Some "id"
+          }
+        , -- Ordinarily absent: a request that has not yet been planned has no
           -- target plan, so demanding it under `--strict` would report a normal
           -- state as a deficiency.
           FieldRule::{
diff --git a/test/fixtures/catalogue/profiles/documentation/package.dhall b/test/fixtures/catalogue/profiles/documentation/package.dhall
--- a/test/fixtures/catalogue/profiles/documentation/package.dhall
+++ b/test/fixtures/catalogue/profiles/documentation/package.dhall
@@ -2,4 +2,5 @@
 { architectureDecisions = ./architecture-decisions.dhall
 , patternCatalog = ./pattern-catalog.dhall
 , researchDocuments = ./research-documents.dhall
+, userDocumentation = ./user-documentation.dhall
 }
diff --git a/test/fixtures/catalogue/profiles/documentation/user-documentation.dhall b/test/fixtures/catalogue/profiles/documentation/user-documentation.dhall
new file mode 100644
--- /dev/null
+++ b/test/fixtures/catalogue/profiles/documentation/user-documentation.dhall
@@ -0,0 +1,126 @@
+--| Profile for user-facing product documentation organized by reader intent.
+let Profile = ../../Profile/Type.dhall
+
+let FrontmatterRules = ../../Profile/FrontmatterRules.dhall
+
+let TypeRule = ../../Profile/TypeRule.dhall
+
+let okf = ../../Profile/okf.dhall
+
+let FieldRule = okf.defaults.FieldRule
+
+let HandleReferenceRule = okf.defaults.HandleReferenceRule
+
+let Cardinality = okf.Cardinality
+
+let FieldFormat = okf.FieldFormat
+
+let v02 = ../../Profile/V02.dhall
+
+let scalar =
+      \(name : Text) ->
+      \(description : Text) ->
+        FieldRule::{
+        , field = name
+        , description = Some description
+        , cardinality = Cardinality.Scalar
+        }
+
+let documentType =
+      \(conceptType : Text) ->
+      \(description : Text) ->
+        TypeRule::{
+        , type = conceptType
+        , description = Some description
+        , idPrefix = Some "DOC"
+        }
+
+let documentReference =
+      \(name : Text) ->
+      \(description : Text) ->
+        FieldRule::{
+        , field = name
+        , description = Some description
+        , reference = Some HandleReferenceRule::{
+          , localPrefix = "DOC"
+          , externalUriSchemes = [ "mori" ]
+          }
+        }
+
+in  Profile::{
+    , name = "user-documentation"
+    , description = Some
+        "User-facing product documentation with stable DOC handles and a reader-intent taxonomy for navigation, learning, task completion, explanation, lookup, and operations."
+    , frontmatter = FrontmatterRules::{
+      , required =
+        [ scalar "type" "The page's primary reader intent."
+        , scalar "title" "Human-readable page title."
+        , scalar "description" "Concise statement of the page's purpose and scope."
+        , FieldRule::{
+          , field = "docId"
+          , description = Some "Bundle-scoped stable DOC-N handle."
+          , cardinality = Cardinality.Scalar
+          , format = Some (FieldFormat.DocumentHandle "DOC")
+          }
+        , FieldRule::{
+          , field = "tags"
+          , description = Some "Search and discovery terms for readers and agents."
+          , cardinality = Cardinality.List
+          }
+        ,     v02.generated
+          //  { description = Some
+                  "§5.2. Who produced this page's current content, and when."
+              }
+        ]
+      , recommended = [] : List FieldRule.Type
+      , optional =
+        [ v02.status
+        , v02.staleAfter
+        ,     v02.sources
+          //  { description = Some
+                  "§5.1. Specifications, source code, or other evidence from which this page was derived."
+              }
+        , v02.usageWindow
+        ,     v02.verified
+          //  { description = Some
+                  "§5.2. Independent confirmations that this page remains accurate."
+              }
+        ,     documentReference
+                "supersedes"
+                "Earlier documentation replaced by this page."
+          //  { cardinality = Cardinality.List }
+        ,     documentReference
+                "supersededBy"
+                "Later documentation replacing this page."
+          //  { cardinality = Cardinality.Scalar }
+        ,     v02.legacyTimestamp
+          //  { description = Some
+                  "Superseded v0.1 revision timestamp. Prefer `generated.at`."
+              }
+        ]
+      }
+    , okfVersion = "0.2"
+    , requireBundleVersion = Some "0.2"
+    , allowUnknownTypes = False
+    , idField = Some "docId"
+    , types =
+      [ documentType
+          "Navigation"
+          "A curated entry point that routes readers to the right documentation."
+      , documentType
+          "Tutorial"
+          "A learning-oriented sequence that helps a reader gain initial working experience."
+      , documentType
+          "Guide"
+          "Goal-oriented instructions that help a reader complete a specific task."
+      , documentType
+          "Explanation"
+          "Conceptual material that builds understanding, context, and decision-making judgment."
+      , documentType
+          "Reference"
+          "Authoritative lookup material describing interfaces, contracts, options, or current state."
+      , documentType
+          "Runbook"
+          "An operational procedure whose ordering, safety conditions, and recovery behavior matter."
+      ]
+    }
diff --git a/test/fixtures/profiles/attested-computation-house.dhall b/test/fixtures/profiles/attested-computation-house.dhall
--- a/test/fixtures/profiles/attested-computation-house.dhall
+++ b/test/fixtures/profiles/attested-computation-house.dhall
@@ -86,6 +86,7 @@
 in    { name = "attested-computation-house"
       , description = Some
           "A house convention for the OKF v0.2 attested computation contract."
+      , guidance = None Text
       , okfVersion = "0.2"
       , frontmatter =
         { required = [ field.plain "type" ]
diff --git a/test/fixtures/profiles/cardinality.dhall b/test/fixtures/profiles/cardinality.dhall
--- a/test/fixtures/profiles/cardinality.dhall
+++ b/test/fixtures/profiles/cardinality.dhall
@@ -8,6 +8,7 @@
 
 in    { name = "cardinality"
       , description = Some "Exercises scalar and list field cardinality."
+      , guidance = None Text
       , okfVersion = "0.1"
       , frontmatter =
         { required =
diff --git a/test/fixtures/profiles/closed-fields.dhall b/test/fixtures/profiles/closed-fields.dhall
--- a/test/fixtures/profiles/closed-fields.dhall
+++ b/test/fixtures/profiles/closed-fields.dhall
@@ -8,6 +8,7 @@
 
 in    { name = "closed-fields"
       , description = Some "Exercises closed field names and value vocabularies."
+      , guidance = None Text
       , okfVersion = "0.1"
       , frontmatter =
         { required =
diff --git a/test/fixtures/profiles/concept-filters.dhall b/test/fixtures/profiles/concept-filters.dhall
--- a/test/fixtures/profiles/concept-filters.dhall
+++ b/test/fixtures/profiles/concept-filters.dhall
@@ -33,6 +33,7 @@
 in    { name = "concept-filters"
       , description = Some
           "Fixture profile for listing and filtering the concepts in a bundle."
+      , guidance = None Text
       , okfVersion = "0.2"
       , frontmatter = FrontmatterRules::{
         , required = [ field.plain "type", field.plain "title" ]
diff --git a/test/fixtures/profiles/decisions.dhall b/test/fixtures/profiles/decisions.dhall
--- a/test/fixtures/profiles/decisions.dhall
+++ b/test/fixtures/profiles/decisions.dhall
@@ -11,6 +11,7 @@
 
 in    { name = "decisions"
       , description = Some "How this team records architectural decisions."
+      , guidance = None Text
       , okfVersion = "0.1"
       , frontmatter =
         { required =
diff --git a/test/fixtures/profiles/document-references-invalid.dhall b/test/fixtures/profiles/document-references-invalid.dhall
--- a/test/fixtures/profiles/document-references-invalid.dhall
+++ b/test/fixtures/profiles/document-references-invalid.dhall
@@ -23,6 +23,7 @@
 
 in    { name = "invalid-document-references"
       , description = None Text
+      , guidance = None Text
       , okfVersion = "0.1"
       , frontmatter =
         { required =
diff --git a/test/fixtures/profiles/document-references.dhall b/test/fixtures/profiles/document-references.dhall
--- a/test/fixtures/profiles/document-references.dhall
+++ b/test/fixtures/profiles/document-references.dhall
@@ -26,6 +26,7 @@
 in    { name = "document-references"
       , description = Some
           "Architecture decisions with bundle-local or explicitly external references."
+      , guidance = None Text
       , okfVersion = "0.1"
       , frontmatter =
         { required = [ field.plain "type", field.plain "title" ]
diff --git a/test/fixtures/profiles/formats.dhall b/test/fixtures/profiles/formats.dhall
--- a/test/fixtures/profiles/formats.dhall
+++ b/test/fixtures/profiles/formats.dhall
@@ -12,6 +12,7 @@
 
 in    { name = "formats"
       , description = Some "Exercises named textual field formats."
+      , guidance = None Text
       , okfVersion = "0.1"
       , frontmatter =
         { required =
diff --git a/test/fixtures/profiles/guidance.dhall b/test/fixtures/profiles/guidance.dhall
new file mode 100644
--- /dev/null
+++ b/test/fixtures/profiles/guidance.dhall
@@ -0,0 +1,51 @@
+--| Focused acceptance fixture for profile-wide and type-specific authoring
+-- guidance. This proves descriptor semantics; it is not a published house QA
+-- profile.
+let okf = ../../../dhall/package.dhall
+
+let Profile = okf.defaults.Profile
+
+let TypeRule = okf.defaults.TypeRule
+
+let FieldRule = okf.FieldRule
+
+in  Profile::{
+    , name = "qa-runbooks"
+    , description = Some "Authoring conventions for executable QA runbooks."
+    , guidance = Some
+        ''
+        Record the setup, cleanup, and evidence for every run.
+
+        Keep supporting checks in source control and make the observed result reproducible.
+        ''
+    , okfVersion = "0.2"
+    , frontmatter =
+      { required = [ okf.mk.FieldRule.plain "type" ]
+      , recommended = [] : List FieldRule
+      , optional = [] : List FieldRule
+      }
+    , allowUnknownTypes = False
+    , allowUnknownFields = True
+    , types =
+      [ TypeRule::{
+        , type = "API"
+        , description = Some "A runbook for one public API behavior."
+        , guidance = Some
+            ''
+            Add a source-controlled Hurl file that exercises the successful response and important failure responses.
+
+            Run the Hurl file and retain the useful output as evidence.
+            ''
+        }
+      , TypeRule::{
+        , type = "Feature"
+        , description = Some "A runbook for one externally visible feature."
+        , guidance = Some
+            ''
+            Exercise the public behavior, then inspect the generated domain-event stream.
+
+            Verify event types, payloads, ordering, and stream identity, then verify the externally observable result.
+            ''
+        }
+      ]
+    }
diff --git a/test/fixtures/profiles/nested-references-and-uniqueness.dhall b/test/fixtures/profiles/nested-references-and-uniqueness.dhall
--- a/test/fixtures/profiles/nested-references-and-uniqueness.dhall
+++ b/test/fixtures/profiles/nested-references-and-uniqueness.dhall
@@ -48,6 +48,7 @@
 in    { name = "nested-references-and-uniqueness"
       , description = Some
           "Exercises external-only nested Mori references and list-local acceptance criterion IDs."
+      , guidance = None Text
       , okfVersion = "0.2"
       , frontmatter =
         { required =
diff --git a/test/fixtures/profiles/nested-reviews.dhall b/test/fixtures/profiles/nested-reviews.dhall
--- a/test/fixtures/profiles/nested-reviews.dhall
+++ b/test/fixtures/profiles/nested-reviews.dhall
@@ -14,6 +14,7 @@
 
 in    { name = "nested-reviews"
       , description = Some "Validates one level of structured review records."
+      , guidance = None Text
       , okfVersion = "0.1"
       , frontmatter =
         { required =
diff --git a/test/fixtures/profiles/postgresql.dhall b/test/fixtures/profiles/postgresql.dhall
--- a/test/fixtures/profiles/postgresql.dhall
+++ b/test/fixtures/profiles/postgresql.dhall
@@ -13,6 +13,7 @@
 in    { name = "shinzui-postgresql"
       , description = Some
           "Conventions for documenting a PostgreSQL database as an OKF bundle."
+      , guidance = None Text
       , okfVersion = "0.1"
       , frontmatter =
         { required =
@@ -52,6 +53,7 @@
       , types =
         [ { type = "PostgreSQL Schema"
           , description = Some "One namespace grouping tables and views."
+          , guidance = None Text
           , frontmatter =
             { required = [] : List FieldRule.Type
             , recommended = [] : List FieldRule.Type
@@ -66,6 +68,7 @@
         , { type = "PostgreSQL Table"
           , description = Some
               "One physical table in a schema, including its column list."
+          , guidance = None Text
           , frontmatter =
             { required = [] : List FieldRule.Type
             , recommended = [] : List FieldRule.Type
@@ -79,6 +82,7 @@
           }
         , { type = "PostgreSQL View"
           , description = Some "One view, including the columns it projects."
+          , guidance = None Text
           , frontmatter =
             { required = [] : List FieldRule.Type
             , recommended = [] : List FieldRule.Type
diff --git a/test/fixtures/profiles/pre-guidance-0.8.0.0.dhall b/test/fixtures/profiles/pre-guidance-0.8.0.0.dhall
new file mode 100644
--- /dev/null
+++ b/test/fixtures/profiles/pre-guidance-0.8.0.0.dhall
@@ -0,0 +1,179 @@
+--| Frozen public descriptor generation from okf-core 0.8.0.0.
+-- Every record and union is inline so this fixture cannot silently acquire new
+-- members from the live schema. The final value is deliberately unannotated.
+-- FROZEN: do not edit after release.
+let Cardinality = < Any | Scalar | List >
+
+let FieldFormat =
+      < Rfc3339Utc
+      | Date
+      | Uri
+      | UriWithScheme : Text
+      | DocumentHandle : Text
+      | Actor
+      | HumanActor
+      | Integer
+      | NonNegativeInteger
+      | Boolean
+      >
+
+let FieldCondition = { field : Text, hasValue : List Text }
+
+let HandleReferenceRule =
+      { localPrefix : Text
+      , externalUriSchemes : List Text
+      , allowSelf : Bool
+      , allowLocal : Bool
+      , externalUriPattern : Optional Text
+      }
+
+let PathReferenceRule = { externalUriSchemes : List Text, allowSelf : Bool }
+
+let NestedFieldRule =
+      { field : Text
+      , description : Optional Text
+      , allowedValues : List Text
+      , cardinality : Cardinality
+      , format : Optional FieldFormat
+      , path : Optional PathReferenceRule
+      , when : Optional FieldCondition
+      , reference : Optional HandleReferenceRule
+      }
+
+let NestedRules =
+      { required : List NestedFieldRule
+      , recommended : List NestedFieldRule
+      , optional : List NestedFieldRule
+      }
+
+let FieldRule =
+      { field : Text
+      , description : Optional Text
+      , allowedValues : List Text
+      , cardinality : Cardinality
+      , format : Optional FieldFormat
+      , elementFields : Optional NestedRules
+      , objectFields : Optional NestedRules
+      , reference : Optional HandleReferenceRule
+      , path : Optional PathReferenceRule
+      , when : Optional FieldCondition
+      , uniqueBy : Optional Text
+      }
+
+let FrontmatterRules =
+      { required : List FieldRule
+      , recommended : List FieldRule
+      , optional : List FieldRule
+      }
+
+let plain =
+      \(field : Text) ->
+        { field
+        , description = None Text
+        , allowedValues = [] : List Text
+        , cardinality = Cardinality.Any
+        , format = None FieldFormat
+        , elementFields = None NestedRules
+        , objectFields = None NestedRules
+        , reference = None HandleReferenceRule
+        , path = None PathReferenceRule
+        , when = None FieldCondition
+        , uniqueBy = None Text
+        }
+
+let nestedPlain =
+      \(field : Text) ->
+        { field
+        , description = None Text
+        , allowedValues = [] : List Text
+        , cardinality = Cardinality.Any
+        , format = None FieldFormat
+        , path = None PathReferenceRule
+        , when = None FieldCondition
+        , reference = None HandleReferenceRule
+        }
+
+in  { name = "pre-guidance-0.8.0.0"
+    , description = Some "The complete public 0.8.0.0 descriptor shape."
+    , okfVersion = "0.2"
+    , frontmatter =
+      { required =
+        [ plain "type"
+        ,     plain "dependencies"
+          //  { cardinality = Cardinality.List
+              , elementFields = Some
+                { required =
+                  [     nestedPlain "id"
+                    //  { cardinality = Cardinality.Scalar }
+                  ]
+                , recommended = [] : List NestedFieldRule
+                , optional =
+                  [     nestedPlain "ref"
+                    //  { cardinality = Cardinality.Scalar
+                        , reference = Some
+                          { localPrefix = "METRIC"
+                          , externalUriSchemes = [ "mori" ]
+                          , allowSelf = False
+                          , allowLocal = False
+                          , externalUriPattern = Some "mori://shinzui/.+"
+                          }
+                        }
+                  ]
+                }
+              , uniqueBy = Some "id"
+              }
+        ,     plain "generated"
+          //  { objectFields = Some
+                { required =
+                  [     nestedPlain "by"
+                    //  { cardinality = Cardinality.Scalar
+                        , format = Some FieldFormat.Actor
+                        }
+                  ,     nestedPlain "at"
+                    //  { cardinality = Cardinality.Scalar
+                        , format = Some FieldFormat.Rfc3339Utc
+                        }
+                  ]
+                , recommended = [] : List NestedFieldRule
+                , optional = [] : List NestedFieldRule
+                }
+              }
+        ]
+      , recommended =
+        [     plain "usage_count"
+          //  { format = Some FieldFormat.NonNegativeInteger }
+        ]
+      , optional =
+        [     plain "resource"
+          //  { path = Some
+                { externalUriSchemes = [ "https" ]
+                , allowSelf = False
+                }
+              }
+        ]
+      }
+    , allowUnknownTypes = False
+    , allowUnknownFields = True
+    , idField = Some "docId"
+    , requireBundleVersion = Some "0.2"
+    , types =
+      [ { type = "Metric"
+        , description = Some "A measured quantity."
+        , frontmatter =
+          { required =
+            [     plain "owner"
+              //  { cardinality = Cardinality.Scalar
+                  , format = Some FieldFormat.HumanActor
+                  }
+            ]
+          , recommended = [] : List FieldRule
+          , optional = [] : List FieldRule
+          }
+        , pathPattern = None Text
+        , resourceScheme = None Text
+        , requireSchemaSection = False
+        , schemaColumns = [] : List Text
+        , idPrefix = Some "METRIC"
+        }
+      ]
+    }
diff --git a/test/fixtures/profiles/type-frontmatter.dhall b/test/fixtures/profiles/type-frontmatter.dhall
--- a/test/fixtures/profiles/type-frontmatter.dhall
+++ b/test/fixtures/profiles/type-frontmatter.dhall
@@ -8,6 +8,7 @@
 
 in    { name = "type-frontmatter"
       , description = Some "Exercises profile-wide and type-specific field rules."
+      , guidance = None Text
       , okfVersion = "0.1"
       , frontmatter =
         { required =
