Creating Types
If you are creating types for your repo, make sure to follow the following order.
Article Types - You will need to make sure you have set up article types before you can set up any other type. This is because both Evidence types and Claim types require you to select the Article Types the evidence or claim will be about.
Evidence Types - To set up evidence types, you will have to define the following:
The properties of the evidence
The about properties, which describe the articles types the evidence will be about
Source Types, which define the properties of the sources that the evidence will be from.
Claim Types - To set up claim types, you will need to define the following:
The properties of the claim
The about properties, which describe the articles types the evidence will be about
The basis properties, which define the Evidence types, that the claim will be based on
WarmHub can compute some claims for you. For more information see Claims Computed on WarmHub
Properties
The main component that helps define all types are their properties. Each property is a specific element of the data that can or must be present whenever someone commits data of that type.
Elements of a property
Name - This is required and identifies the property
Type - This is the primitive type or format of data that this property will be. For example: text, integer, URL, DateTime, etc.
Many of the standard types are available through the automatically imported types from our warmhub/standard repo, but you can add other types that will show up here, by creating Custom Types.
Description - This describes this property and helps others understand how it should be used.
Required - Check this box, if any commit of this type, must contain this property to be valid and accepted into the repo. If the box is unchecked, then commits of that type can be made with or without that property.
List - Check this box if you want to allow a list of items like an array, and not just a single data element for this property. If unchecked, only one data element can be present for the property.
Last updated