LogoLogo
WarmHub Login
  • Welcome to the Trust Revolution!
  • The Language of Digital Trust
    • The Language of Digital Trust
  • Trust Repos
    • Creating a Repo
    • ReadMe
    • Data
      • Templates for Typed Instance Data
    • Types
      • Importing Types From Other Repos
      • Creating Types
      • Claims Computed on WarmHub
    • Events
    • Webhooks
    • About
    • Committing To Your Repo
      • Personal Access Tokens
    • Customizing Templates
      • Template Language Reference
  • Guides
    • Units of Measurement Repo
    • Templates for Units of Measurement
Powered by GitBook

Learn More

  • WarmHub
  • Plans
  • About Us

Legal

  • Terms of Service
  • Privacy Policy

Contact Us

  • support@warmhub.com
On this page
  • Understanding Types
  • Adding Types
  • 1. Importing Types
  • 2. Creating Types
  1. Trust Repos

Types

Understanding Types

All data inside of WarmHub Repos has a type. Types are like templates or blueprints that define the structure and attributes of Assertions and Articles in your repo. Think of them as a way to consistently describe the "kinds of things" in your repo. For Assertions, types specify what properties (like evidence or claims) an assertion can or must have. For Articles, types help define the "things" being talked about (e.g., a software library, a policy document, etc.). Think of types as your way of setting the rules for how information should be structured and validated in your repo. They ensure clarity, consistency, and reusability, making it easier to share and build trust across repositories while maintaining flexibility for your domain-specific needs.

Adding Types

There are two main ways to add types to your Repo:

1. Importing Types

Importing Types From Other Repos - Importing types that have already been created in another repo, is the quickest way to set up a repo. This is very useful if you, or someone else, has already set up a repo that contains the types that you need. Additionally, adhering to well established and adopted types can help your assertions be composable with existing assertions, which will further help build trust.

For more information on importing types from other repos, see: Importing Types From Other Repos

2. Creating Types

Create Types - If there are no existing types that work for you, you can build your own types from scratch with whatever structure you need, to capture your data.

For more information on creating types, see: Creating Types

PreviousTemplates for Typed Instance DataNextImporting Types From Other Repos

Last updated 7 days ago